Giuseppe Bilotta wrote:
> Tuesday, July 31, 2007 Wolfgang Schuster wrote:
> 
>> 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]}
> 
>> \stoptext
> 
> Ah, excellent, it works perfectly, thanks a lot! Of course,
> I'm still curious about the reason why a standard vbox
> wouldn't do it ...

sidefloats hook into the output routine and that does ot work in a box; 
streams intercept the page stream (nasty but neat); expect more of that 
kind of stuff

Hans



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

Reply via email to