Am 28.09.2011 um 14:03 schrieb luigi scarso:

> On Wed, Sep 28, 2011 at 1:54 PM, Wolfgang Schuster
> <schuster.wolfg...@googlemail.com> wrote:
>> \definelayout expects a assignment as argument.
>> 
>> \definelayout[1][topspace=5.2cm,height=fit]
>> \definelayout[2][]
>> 
>> \setuplayout[2][reset]
>> 
>> \starttext
>> \dorecurse{10}{\input knuth\par}
>> \stoptext
>> 
>> or
>> 
>> \definelayout[current][width=12cm]
>> 
>> \definelayout[1][width=12cm,topspace=5.2cm,height=fit]
>> 
>> \starttext
>> \dorecurse{10}{\input knuth\par}
>> \stoptext
>> 
>> Wolfgang
> hm
> http://wiki.contextgarden.net/Layout
> seems to be different.
> Btw, this  works without warnings
> 
> %%%%%%%%%%%%%%%%%%%%%
> \setuptolerance[verytolerant,stretch]
> \setuppapersize[A4][A4]
> 
> 
> \setuplayout[
> backspace=3cm, topspace=1.5cm,
> rightmargin=0cm,leftmargin=1.3cm,
> width=15cm,
> leftmargindistance=0.2cm,
> height=fit,
> header=0cm, footer=1cm,
> ]
> 
> \definelayout[1][
> topspace=5.2cm,
> height=fit,
> ]
> 
> 
> \dorecurse{10000}{\definelayout[\the\numexpr 1+\recurselevel][]}
> 
> \starttext
> \dorecurse{100}{\input knuth}
> \stoptext

Why so many \definelayout calls?

\definelayout[1][topspace=5.2cm,height=fit]
\definelayout[2][]

\starttext
\dorecurse{10}{\input knuth\par}
\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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to