Re: [NTG-context] [***SPAM***] Float placement

2013-06-15 Thread Peter Rolf
Hi,

adding 'force' ([here,force]) should help 'here'. (sorry for the pun)

http://wiki.contextgarden.net/Command/placefloat


Peter


Am 15.06.2013 00:31, schrieb Tethys:
> 
> I'm trying to typeset a book. It has two columns, and some floating
> diagrams. My problem is that the floats aren't going where I want
> them to and I can't work out how to fix it. My input source looks
> something like:
> 
>   \startcolumnset[foo]
>   \subject{Blah}
> 
>         
> 
>   \placefigure[here]{First diagram}
>   {\externalfigure[diagram1.jpg][width=2.3in]}
> 
>         
> 
>   \placefigure[here]{Second diagram}
>   {\externalfigure[diagram2.jpg][width=2.3in]}
> 
>         
> 
>   \placefigure[here]{Third diagram}
>   {\externalfigure[diagram3.jpg][width=2.3in]}
> 
>         
> 
> What I expect to get out is a page something like this (excuse the
> ASCII graphics):
> 
>   +-+
>   | |
>   |  Blah       |
>   |         |
>   |     |
>   |         |
>   |       +--+  |
>   |   |  |  |
>   |   |  |  |
>   |  +--+ |  |  |
>   |  |  | |  |  |
>   |  |  | |  |  |
>   |  |  | |  |  |
>   |  +--+ |  |  |
>   |   First diagram   |  |  |
>   |   +--+  |
>   |         Third diagram   |
>   |         |
>   |             |
>   |         |
>   |  +--+       |
>   |  |  |       |
>   |  |  |       |
>   |  |  |       |
>   |  +--+   |
>   |   Second diagram|
>   | |
>   |         |
>   |         |
>   | |
>   +-+
> 
> What I'm actually getting out is this:
> 
>   +-+
>   | |
>   |  Blah +--+  |
>   |   |  |  |
>   |   |  |  |
>   |       |  |  |
>   |       +--+  |
>   |    Second diagram   |
>   | |
>   |  +--+ +--+  |
>   |  |  | |  |  |
>   |  |  | |  |  |
>   |  |  | |  |  |
>   |  +--+ |  |  |
>   |   First diagram   |  |  |
>   |   |  |  |
>   |       |  |  |
>   |       |  |  |
>   |       +--+  |
>   | Third diagram   |
>   |         |
>   |             |
>   |             |
>   |             |
>   |         |
>   | |
>   |         |
>   |         |
>   |         |
>   | |
>   +-+
> 
> Even though there is sufficient space in the first
> column, the second float is always being moved up
> to the top of the second column. I've tried pretty
> much every combination of here, force and always
> as the location keyword for the \placefloat, but
> it doesn't make any difference.
> 
> Any idea what I can do to get the placement I
> want? The deadline for going to press is rapidly
> approaching and I'm getting a little concerned!
> 
> Thanks,
> 
> Tet
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg

[NTG-context] [***SPAM***] Float placement

2013-06-14 Thread Tethys

I'm trying to typeset a book. It has two columns, and some floating
diagrams. My problem is that the floats aren't going where I want
them to and I can't work out how to fix it. My input source looks
something like:

\startcolumnset[foo]
\subject{Blah}

      

\placefigure[here]{First diagram}
{\externalfigure[diagram1.jpg][width=2.3in]}

      

\placefigure[here]{Second diagram}
{\externalfigure[diagram2.jpg][width=2.3in]}

      

\placefigure[here]{Third diagram}
{\externalfigure[diagram3.jpg][width=2.3in]}

      

What I expect to get out is a page something like this (excuse the
ASCII graphics):

+-+
| |
|  Blah       |
|         |
|     |
|         |
|       +--+  |
|   |  |  |
|   |  |  |
|  +--+ |  |  |
|  |  | |  |  |
|  |  | |  |  |
|  |  | |  |  |
|  +--+ |  |  |
|   First diagram   |  |  |
|   +--+  |
|         Third diagram   |
|         |
|             |
|         |
|  +--+       |
|  |  |       |
|  |  |       |
|  |  |       |
|  +--+   |
|   Second diagram|
| |
|         |
|         |
| |
+-+

What I'm actually getting out is this:

+-+
| |
|  Blah +--+  |
|   |  |  |
|   |  |  |
|       |  |  |
|       +--+  |
|    Second diagram   |
| |
|  +--+ +--+  |
|  |  | |  |  |
|  |  | |  |  |
|  |  | |  |  |
|  +--+ |  |  |
|   First diagram   |  |  |
|   |  |  |
|       |  |  |
|       |  |  |
|       +--+  |
| Third diagram   |
|         |
|             |
|             |
|             |
|         |
| |
|         |
|         |
|         |
| |
+-+

Even though there is sufficient space in the first
column, the second float is always being moved up
to the top of the second column. I've tried pretty
much every combination of here, force and always
as the location keyword for the \placefloat, but
it doesn't make any difference.

Any idea what I can do to get the placement I
want? The deadline for going to press is rapidly
approaching and I'm getting a little concerned!

Thanks,

Tet
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
_

[NTG-context] [***SPAM***] float placement riddle

2013-03-01 Thread Meer, H. van der
Please can someone explain why the column before the floating figure is empty?

I thought that the figure would float through the text to the first location 
with sufficient space. That appears not te be the case: the input behind the 
figure does not typeset before it although there is ample space for the text 
that now follows the picture.

The code is roughly:
\setupcolumns[n=2]
\startcolumns

\placefigure[][figuur:zw]{Street.}
{\externalfigure[zw][width=0.8\textwidth]}
\par


\stopcolumns

How to get
Hans van der Meer


[cid:796264A3-FA21-43EB-894F-3C74D1E4D519@fritz.box]
<>___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___