ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Boxed items don't like sidefloats
@ 2007-07-31 11:14 Giuseppe Bilotta
  2007-07-31 13:34 ` Wolfgang Schuster
  0 siblings, 1 reply; 10+ messages in thread
From: Giuseppe Bilotta @ 2007-07-31 11:14 UTC (permalink / raw)
  To: ntg-context

Hello all,

here's a test document:

================
\setuppagenumbering[alternative=doublesided]

\newbox\testbox

\starttext

\setbox\testbox\vbox{%
\placefigure[outer,none,fit]{}{%
  \framed[width=.2\hsize,height=.2\hsize,offset=none]{}%
}%

\startitemize
\item some test
\item \input knuth
\item \input tufte
\stopitemize
}

\box\testbox

\page

\setbox\testbox\vbox{%
\placefigure[outer,none,fit]{}{%
  \framed[width=.2\hsize,height=.2\hsize,offset=none]{}%
}%

\startitemize
\item some test
\item \input knuth
\item \input tufte
\stopitemize
}


\box\testbox
\stoptext
============

As you may notice, items think the placefigure refers to all
of them, so that if a particular item is bigger than the
figure height, it will wrap correctly around the
(inexistent) box, otherwise it will just side it.

Interesting, the same thing does *not* happen when not going
through a box, but typesetting things directly in the page.
However, for my application I need to typeset the sidefloat
and the itemization in a box, so I hit the bug ...

Suggestions?

-- 
Giuseppe "Oblomov" Bilotta

___________________________________________________________________________________
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] 10+ messages in thread

end of thread, other threads:[~2007-08-02 13:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-31 11:14 Boxed items don't like sidefloats Giuseppe Bilotta
2007-07-31 13:34 ` Wolfgang Schuster
2007-07-31 16:51   ` Giuseppe Bilotta
2007-07-31 17:43     ` Hans Hagen
2007-07-31 20:35       ` Giuseppe Bilotta
2007-08-01 12:24         ` Hans Hagen
2007-08-01 18:34           ` Giuseppe Bilotta
2007-08-01 20:06             ` Hans Hagen
2007-08-02 13:27               ` Giuseppe Bilotta
2007-07-31 20:30   ` Giuseppe Bilotta

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