regressions in MkIV? (setupstructureblock, setuplayout[right/left])
There seem to be some instabilities in MkIV... For the records: \setupstructureblock was named back to \setupsectionblock At some time in history, I could define different layouts for right and left pages like \setuplayout[right][rightmargin=10mm] This syntax isn't valid any more - what's the new way? Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
Am 04.08.2011 um 10:14 schrieb Henning Hraban Ramm:
There seem to be some instabilities in MkIV...
For the records: \setupstructureblock was named back to \setupsectionblock
It was always \setupsectionblock.
At some time in history, I could define different layouts for right and left pages like \setuplayout[right][rightmargin=10mm] This syntax isn't valid any more - what's the new way?
The keywords for left and right pages are “odd” and “even”. Wolfgang
Am 2011-08-04 um 14:24 schrieb Wolfgang Schuster:
Am 04.08.2011 um 10:14 schrieb Henning Hraban Ramm:
There seem to be some instabilities in MkIV...
For the records: \setupstructureblock was named back to \setupsectionblock
It was always \setupsectionblock.
Not true, see your mail from 2009-04-19: http://archive.contextgarden.net/message/20090419.215130.20d3aa3f.en.html
At some time in history, I could define different layouts for right and left pages like \setuplayout[right][rightmargin=10mm] This syntax isn't valid any more - what's the new way?
The keywords for left and right pages are “odd” and “even”.
If I use \setuplayout with two brackets, I always get: ! Missing number, treated as zero. ... \global \dorecalculatelayout ...meter \c!leftedge \global \rightedgewidth \layoutpar... <inserted text> ...rrentlayout \recalculatelayout \dochecknextlayout \preset... \d@setuplayout ...out ][#2]\the \everysetuplayout \let \currentlayout \saved... l.28 ] Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
Am 04.08.2011 um 16:36 schrieb Henning Hraban Ramm:
At some time in history, I could define different layouts for right and left pages like \setuplayout[right][rightmargin=10mm] This syntax isn't valid any more - what's the new way?
The keywords for left and right pages are “odd” and “even”.
If I use \setuplayout with two brackets, I always get:
You need now \definelayout when you want different layouts for left and right pages. \definelayout[odd] [width=3cm] \definelayout[even][width=6cm] \starttext \input knuth \page \input knuth \stoptext Wolfgang
Am 2011-08-04 um 16:56 schrieb Wolfgang Schuster:
The keywords for left and right pages are “odd” and “even”. If I use \setuplayout with two brackets, I always get:
You need now \definelayout when you want different layouts for left and right pages.
\definelayout[odd] [width=3cm] \definelayout[even][width=6cm]
Ok, so I define them, but how can I activate them automatically for odd and even pages? Or are "odd" and "even" magic keywords? Sorry, can't try ATM, will do tomorrow. That part's missing in http://wiki.contextgarden.net/Layout#Multiple_layouts Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
Am 2011-08-04 um 23:52 schrieb Henning Hraban Ramm:
Am 2011-08-04 um 16:56 schrieb Wolfgang Schuster:
The keywords for left and right pages are “odd” and “even”. If I use \setuplayout with two brackets, I always get:
You need now \definelayout when you want different layouts for left and right pages.
\definelayout[odd] [width=3cm] \definelayout[even][width=6cm]
Ok, so I define them, but how can I activate them automatically for odd and even pages? Or are "odd" and "even" magic keywords? Sorry, can't try ATM, will do tomorrow. That part's missing in http://wiki.contextgarden.net/Layout#Multiple_layouts
I'd appreciate to get that question answered: How should I define different layouts for odd and even pages? As far as I tested, "odd" and "even" aren’t magic keywords, so I can define layouts with these names at will, but without impact. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)
Am 08.08.2011 um 22:07 schrieb Henning Hraban Ramm:
I'd appreciate to get that question answered: How should I define different layouts for odd and even pages? As far as I tested, "odd" and "even" aren’t magic keywords, so I can define layouts with these names at will, but without impact.
Weird because this works for me: \definelayout[odd] [width=3cm] \definelayout[even][width=6cm] \definelayout[5] [width=9cm] \starttext \dorecurse{10}{\input knuth\page} \stoptext Wolfgang
participants (2)
-
Henning Hraban Ramm
-
Wolfgang Schuster