From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: ntg-context@ntg.nl
Subject: Re: Boxed items don't like sidefloats
Date: Tue, 31 Jul 2007 15:34:38 +0200 [thread overview]
Message-ID: <20070731153438.66bafc70.schuster.wolfgang@googlemail.com> (raw)
In-Reply-To: <735155465.20070731131427@iol.it>
On Tue, 31 Jul 2007 13:14:27 +0200
Giuseppe Bilotta <gip.bilotta@iol.it> wrote:
> Hello all,
>
> here's a test document:
>
[test document]
>
> 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
Hi Giuseppe,
you can use ConTeXt's stream mechanism.
\setuppagenumbering[alternative=doublesided]
\usemodule[streams]
\definestreamlayer[giuseppe][width=\textwidth]
\newbox\giuseppe
\starttext
\startstreamlayer[giuseppe]
\placefigure
[outer,none,fit]
{}
{\framed[width=.2\hsize,height=.2\hsize,offset=none]{}}
\startitemize
\item some test
\item \input knuth
\item \input tufte
\stopitemize
\stopstreamlayer
\vbox{\placestreamlayer[giuseppe]}
\page
\startstreamlayer[giuseppe]
\placefigure
[outer,none,fit]
{}
{\framed[width=.2\hsize,height=.2\hsize,offset=none]{}}
\startitemize
\item some test
\item \input knuth
\item \input tufte
\stopitemize
\stopstreamlayer
\vbox{\placestreamlayer[giuseppe]}
\stoptext
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2007-07-31 13:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-31 11:14 Giuseppe Bilotta
2007-07-31 13:34 ` Wolfgang Schuster [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070731153438.66bafc70.schuster.wolfgang@googlemail.com \
--to=schuster.wolfgang@googlemail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).