[NTG-context] Alternating left and right margins

2009-03-30 Thread Vyatcheslav Yatskovsky

Hello

How to setup the layout where each even page has right and left margins 
swapped (for booklet-like printing)


E.g. if I have 1 cm right margin and 2cm left, second, forth and so on 
pages should have 2 cm right margin and 1cm left.


My current layout is

\setuppapersize [A5][A5]
\setuplayout[topspace=1.5cm, header=0cm, footer=0.7cm, 
bottomspace=0.7cm, height=fit,

  leftmargin=1.5cm, rightmargin=1.5cm, backspace=1.5cm, width=fit]
\showframe

Best,
Vyatcheslav


___
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
___


Re: [NTG-context] Alternating left and right margins

2009-03-30 Thread Wolfgang Schuster


Am 30.03.2009 um 19:56 schrieb Vyatcheslav Yatskovsky:


Hello

How to setup the layout where each even page has right and left  
margins swapped (for booklet-like printing)


\setuppagenumbering[alternative=doublesided]

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
___