Well, I start from the beginning with odd/even layout setting, and the following does not work. The behaviour I see is that only the odd setting is used. What is wrong in there?
\definelayout[odd] [width=middle, backspace=7cm, cutspace=5cm]
\definelayout[even] [backspace=8cm, cutspace=2cm, width=middle]
\setuplayout
%\showlayout
\starttext \dorecurse{4}{ \section{Hello} \input knuth \endgraf \subsection{Sub Hello} \input tufte \endgraf} \stoptext
Hallo! This doesn't work here, too! The wiki said it should work. So, maybe there ist something broken in the meantime. In 'page-lay.tex' I found something with \setuplayout[odd][state=stop] \setuplayout[even][state=stop] so a.) Not alone \definelayout but also \setuplayout should work with odd|even. b.) Because there is something to stop here, there may be some need to start it? Btw. \definelayout[1][] doesn't work too. Wolfgang
On Sun, 27 Aug 2006 21:10:12 +0200,
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
May I define and setup two diferents layouts and swicht between them? I want a bigger textwidth in the last 6 chapters. Thankyou very much.
From: wwl@musensturm.de Reply-To: mailing list for ConTeXt users
To: ntg-context@ntg.nl Subject: Re: [NTG-context] Layout and textwidth/textmargin Date: Sun, 27 Aug 2006 21:10:12 +0200 Well, I start from the beginning with odd/even layout setting, and the following does not work. The behaviour I see is that only the odd setting is used. What is wrong in there?
\definelayout[odd] [width=middle, backspace=7cm, cutspace=5cm]
\definelayout[even] [backspace=8cm, cutspace=2cm, width=middle]
\setuplayout
%\showlayout
\starttext \dorecurse{4}{ \section{Hello} \input knuth \endgraf \subsection{Sub Hello} \input tufte \endgraf} \stoptext
Hallo!
This doesn't work here, too!
The wiki said it should work. So, maybe there ist something broken in the meantime.
In 'page-lay.tex' I found something with
\setuplayout[odd][state=stop] \setuplayout[even][state=stop]
so
a.) Not alone \definelayout but also \setuplayout should work with odd|even. b.) Because there is something to stop here, there may be some need to start it?
Btw. \definelayout[1][] doesn't work too.
Wolfgang _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
_________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/
Horacio Suarez wrote:
May I define and setup two diferents layouts and swicht between them?
indeed, one can also mix papersizes 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 -----------------------------------------------------------------
participants (4)
-
Hans Hagen
-
Horacio Suarez
-
nico
-
wwl@musensturm.de