* regressions in MkIV? (setupstructureblock, setuplayout[right/left])
@ 2011-08-04 8:14 Henning Hraban Ramm
2011-08-04 12:24 ` Wolfgang Schuster
0 siblings, 1 reply; 7+ messages in thread
From: Henning Hraban Ramm @ 2011-08-04 8:14 UTC (permalink / raw)
To: mailing list for ConTeXt users
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)
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: regressions in MkIV? (setupstructureblock, setuplayout[right/left])
2011-08-04 8:14 regressions in MkIV? (setupstructureblock, setuplayout[right/left]) Henning Hraban Ramm
@ 2011-08-04 12:24 ` Wolfgang Schuster
2011-08-04 14:36 ` Henning Hraban Ramm
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2011-08-04 12:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: regressions in MkIV? (setupstructureblock, setuplayout[right/left])
2011-08-04 12:24 ` Wolfgang Schuster
@ 2011-08-04 14:36 ` Henning Hraban Ramm
2011-08-04 14:56 ` Wolfgang Schuster
0 siblings, 1 reply; 7+ messages in thread
From: Henning Hraban Ramm @ 2011-08-04 14:36 UTC (permalink / raw)
To: mailing list for ConTeXt users
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)
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: regressions in MkIV? (setupstructureblock, setuplayout[right/left])
2011-08-04 14:36 ` Henning Hraban Ramm
@ 2011-08-04 14:56 ` Wolfgang Schuster
2011-08-04 21:52 ` Henning Hraban Ramm
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2011-08-04 14:56 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: regressions in MkIV? (setupstructureblock, setuplayout[right/left])
2011-08-04 14:56 ` Wolfgang Schuster
@ 2011-08-04 21:52 ` Henning Hraban Ramm
2011-08-08 20:07 ` Henning Hraban Ramm
0 siblings, 1 reply; 7+ messages in thread
From: Henning Hraban Ramm @ 2011-08-04 21:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
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)
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: regressions in MkIV? (setupstructureblock, setuplayout[right/left])
2011-08-04 21:52 ` Henning Hraban Ramm
@ 2011-08-08 20:07 ` Henning Hraban Ramm
2011-08-08 20:18 ` Wolfgang Schuster
0 siblings, 1 reply; 7+ messages in thread
From: Henning Hraban Ramm @ 2011-08-08 20:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
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)
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: regressions in MkIV? (setupstructureblock, setuplayout[right/left])
2011-08-08 20:07 ` Henning Hraban Ramm
@ 2011-08-08 20:18 ` Wolfgang Schuster
0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2011-08-08 20:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-08-08 20:18 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-04 8:14 regressions in MkIV? (setupstructureblock, setuplayout[right/left]) Henning Hraban Ramm
2011-08-04 12:24 ` Wolfgang Schuster
2011-08-04 14:36 ` Henning Hraban Ramm
2011-08-04 14:56 ` Wolfgang Schuster
2011-08-04 21:52 ` Henning Hraban Ramm
2011-08-08 20:07 ` Henning Hraban Ramm
2011-08-08 20:18 ` Wolfgang Schuster
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).