ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* placefigure[hang] in columns
@ 2007-10-01 19:13 Christof Meigen
  2007-10-01 20:55 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Christof Meigen @ 2007-10-01 19:13 UTC (permalink / raw)
  To: ntg-context



Hi,

I'm quite new to ConTeXT, so excuse me if the solution is obvious.  

I'm trying to typeset a document with three columns which contains _a
lot_ of graphics, most of which are pretty small, about one third of a
column.

Unfortunately, while \placefigure[left,hang] works fine with one
column, the text doesn't float around the picture when using two or
more columns, so when I do
------
\starttext
\startcolumns[n=2]
\placefigure[left,hang]{none}{\externalfigure[somepic][width=1.6cm]} 
sometext
\stopcolumns
\stoptext
------
"sometext" appears in the second column, instead of next to the
figure in the first column.

To get an impression of what I want to achive you might try the
following link:

http://213.239.210.141/cgi-bin/lex.pl?titel=David%20Lynch&db=Berlin&id=58,165,166,638,2298,3749,6687,6889,8070,10392,11347,12117,14491,15640

While this comes close to what I mean (it's done in LaTeX), there are
some limitations in LaTeX which make the job very painful, one of which
is that it's impossible to have floats in columns for larger pictures
that span one column (this works fine in Context).

Am I just missing something?

Ok, if that was too easy, here is the tough problem: *Actually* I
would like to let the small pictures float _within_ the paragraph, so
that if, say, the paragraph starts three lines before the end of the
column, the picture would be set after the first three lines of the
paragraph (and thus in the next column). I've experimented with
writing \pdflastypos to logfiles, analysing them with a perl script,
changing automatically the TeX-File and rerunning latex for days, but
the results are ... well, ok, but not perfect.

Thanks in advance for any hints,
       Christof Meigen
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: placefigure[hang] in columns
  2007-10-01 19:13 placefigure[hang] in columns Christof Meigen
@ 2007-10-01 20:55 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2007-10-01 20:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Christof Meigen wrote:
> 
> Hi,
> 
> I'm quite new to ConTeXT, so excuse me if the solution is obvious.  
> 
> I'm trying to typeset a document with three columns which contains _a
> lot_ of graphics, most of which are pretty small, about one third of a
> column.
> 
> Unfortunately, while \placefigure[left,hang] works fine with one
> column, the text doesn't float around the picture when using two or
> more columns, so when I do

this is not supported in column mode

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-01 20:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-01 19:13 placefigure[hang] in columns Christof Meigen
2007-10-01 20:55 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).