Re: [NTG-context] Columnsets: bug in current beta?

2011-11-29 Thread Hans Hagen

On 27-11-2011 19:58, Jaroslav Hajtmar wrote:

Hello Peter.
I have a similar experience. If image width is greater than the width of
one column and at the same time is a picture with the caption then text
does not wrap around the image. If the picture is without caption (for
example \placefigure[btrl,none]{}{...}) then everything works fine.
I deal this with emergency so that the caption I incorporate into the
PDF picture and then place figure without caption.


I'm not sure when/how this was introduced (too many changes in the mkiv 
code). I have a patch but it needs checking with the normal (one column) 
mode so some patience is needed.


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Columnsets: bug in current beta?

2011-11-27 Thread Jaroslav Hajtmar

Hello Peter.
I have a similar experience. If image width is greater than the width of 
one column and at the same time is a picture with the caption then text 
does not wrap around the image. If the picture is without caption (for 
example \placefigure[btrl,none]{}{...}) then everything works fine.
I deal this with emergency so that the caption I incorporate into the 
PDF picture and then place figure without caption.


Jaroslav



Dne 26.11.2011 22:29, Peter Park Nelson napsal(a):

Hello,

Following the example in the Columns manual, the following works with 
TeXLive 2011 but not with the current context suite beta (25 nov 2011):


\definecolumnset[body][n=2]
\definecolumnsethsize{body}{1}{1}\One
\definecolumnsethsize{body}{1}{2}\Two

\starttext
\startcolumnset[body]

\dorecurse{5}{\input tufte\par}

\startbuffer
\placefigure[btlr]{A placeholder 
figure.}{\externalfigure[widefigure][width=\Two]}

\stopbuffer

\dorecurse{5}{\input tufte\par}

\getbuffer

\stopcolumnset
\stoptext

Using the current beta, the figure only cleanly spans one column -- 
vertical space for the graphic and caption is reserved in one column; 
in the other column, text flows on beneath the graphic, which is 
superimposed.


Using TeXLive 2011, the wide figure spans both columns correctly.

Thanks,
PPN
--
Peter Park Nelson
peter.park.nel...@gmail.com mailto:peter.park.nel...@gmail.com


___
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
___


___
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
___