ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Right float and grid
@ 2011-12-18 19:26 Aditya Mahajan
  2011-12-18 19:40 ` Aditya Mahajan
  0 siblings, 1 reply; 2+ messages in thread
From: Aditya Mahajan @ 2011-12-18 19:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 350 bytes --]

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

[-- Attachment #2: Type: APPLICATION/pdf, Size: 14495 bytes --]

[-- Attachment #3: Type: APPLICATION/pdf, Size: 14480 bytes --]

[-- Attachment #4: Type: text/plain, Size: 485 bytes --]

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

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

* Re: Right float and grid
  2011-12-18 19:26 Right float and grid Aditya Mahajan
@ 2011-12-18 19:40 ` Aditya Mahajan
  0 siblings, 0 replies; 2+ messages in thread
From: Aditya Mahajan @ 2011-12-18 19:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 520 bytes --]

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

[-- Attachment #2: Type: APPLICATION/pdf, Size: 9396 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 bytes --]

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

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

end of thread, other threads:[~2011-12-18 19:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-18 19:26 Right float and grid Aditya Mahajan
2011-12-18 19:40 ` Aditya Mahajan

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).