[NTG-context] Layout and textwidth/textmargin

nico nicolas.marsgui at libertysurf.fr
Sun Aug 27 21:58:36 CEST 2006


On Sun, 27 Aug 2006 21:10:12 +0200, <wwl at musensturm.de> wrote:

>> What is wrong in there?
>>
>> \definelayout[odd]
>>    [width=middle,
>>     backspace=7cm,
>>     cutspace=5cm]
>>
>> \definelayout[even]
>>    [backspace=8cm,
>>     cutspace=2cm,
>>     width=middle]
>>
>> \setuplayout
>
> Hallo!
>
> This doesn't work here, too!

Yes, Hans sent me off-list a patch that works fine with the beta  
2006.08.22 release. The given example is:

\setuppagenumbering[alternative=doublesided]

\setuplayout         [width=11cm]
\definelayout [odd]  [backspace=1cm]
\definelayout [even] [backspace=4cm]
\definelayout [5]    [backspace=5cm]
\definelayout [6]    [backspace=5cm]
\definelayout [-2]   [backspace=0cm,cutspace=0cm]
\definelayout [last] [backspace=0cm,cutspace=0cm]

\checkcurrentlayout \showframe

\starttext
   \dorecurse{20} {\input knuth \endgraf \input tufte \endgraf}
\stoptext

Thanks again to Hans that I guess will include it in a next release.

Regards,
BG


More information about the ntg-context mailing list