On 12/13/2016 10:54 PM, Herbert Voss wrote:
Is it possible to set only the textwidth and the inner margin
for a twosided layout?

As far as I can see, backspace sets only the _left_ margin
of odd _and_ even pages.


\definepapersize[new][height=240mm,width=165mm]
\setuppapersize[new]

\definelayout[odd][
  topspace=14pt, header=14pt, headerdistance=22pt, height=20.2cm,
  backspace=1.9cm, width=12.4cm]
\definelayout[even][
  topspace=14pt, header=14pt, headerdistance=22pt, height=20.2cm,
  backspace=2.2cm, width=12.4cm]
\setuplayout

\starttext
\showframe
\dorecurse{10} {\input knuth \endgraf \input tufte \endgraf}
\showlayout[1,pt,cm]
\dorecurse{10} {\input knuth \endgraf \input tufte \endgraf}
\stoptext

\setuppagenumbering[alternative=singlesided]
\setuppagenumbering[alternative=doublesided]
\setuppagenumbering[alternative={singlesided,doublesided}]

the last one will not swap dimensions

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to