[NTG-context] Right float and grid

2011-12-18 Thread Aditya Mahajan
When using right float with grid, paragraphs do not wrap correctly arround 
the figure. Consider the following example and compare the output with and 
without \setuplayout[grid=on]


\setuplayout[grid=on]
\starttext
\startplacefigure[location={right,none}]
  \externalfigure[cow][width=0.3\textwidth]
\stopplacefigure
\input knuth

\stoptext

Aditya

test-grid.pdf
Description: Adobe PDF document


test-nogrid.pdf
Description: Adobe PDF document
___
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] Right float and grid

2011-12-18 Thread Aditya Mahajan

On Sun, 18 Dec 2011, Aditya Mahajan wrote:

When using right float with grid, paragraphs do not wrap correctly arround 
the figure.


Another bug with floats. Using \definetextbackground goobles all floats!

\definetextbackground
  [whatever]
  [
background=color,
backgroundcolor=lightblue,
location=paragraph,
  ]

\starttext
\startplacefigure[location={right,none}]
  \externalfigure[cow][width=0.3\textwidth]
\stopplacefigure
\input knuth

\stoptext

gives the attached file (No float!)

Aditya

test.pdf
Description: Adobe PDF document
___
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
___