* temporary changes to the layout - \startlocal undefined
@ 2021-02-16 15:29 Werner Hennrich
2021-02-16 16:21 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Werner Hennrich @ 2021-02-16 15:29 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hello Everybody,
I need to increase my header's space temporarily
and according to pg 99 of context_an_excursion "\startlocal ...
\stoplocal" is the way to go -
unfortunately my LMTX (2021.02.02 15:49) disagrees:
\setuppapersize[A4][A4]
\setuplayout[
...
header=15mm,
...
]
\starttext
\input tufte
\page
\startlocal
\setuplayout[header+=20mm]
\input tufte
\stoplocal
\page
\input tufte
\stoptext
This fails:
tex error > tex error on line XX in file ./local-layout.tex:
Undefined control sequence
XX >> \startlocal
Do I need to load something in order to use this?
Or has it been completely removed?
And if so, is there a new alternative method to do the same thing?
I was unable to find anything on this topic
except https://www.mail-archive.com/ntg-context@ntg.nl/msg63602.html
which raises the same question already in 2012 but never answers it IMHO.
Thank you very much,
Werner
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: temporary changes to the layout - \startlocal undefined
2021-02-16 15:29 temporary changes to the layout - \startlocal undefined Werner Hennrich
@ 2021-02-16 16:21 ` Wolfgang Schuster
2021-02-16 17:54 ` Werner Hennrich
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2021-02-16 16:21 UTC (permalink / raw)
To: mailing list for ConTeXt users
Werner Hennrich schrieb am 16.02.2021 um 16:29:
> Hello Everybody,
>
> I need to increase my header's space temporarily
> and according to pg 99 of context_an_excursion "\startlocal ...
> \stoplocal" is the way to go -
> unfortunately my LMTX (2021.02.02 15:49) disagrees:
>
> \setuppapersize[A4][A4]
> \setuplayout[
> ...
> header=15mm,
> ...
> ]
> \starttext
>
> \input tufte
> \page
>
> \startlocal
> \setuplayout[header+=20mm]
> \input tufte
> \stoplocal
> \page
>
> \input tufte
> \stoptext
>
> This fails:
>
> tex error > tex error on line XX in file ./local-layout.tex:
> Undefined control sequence
> XX >> \startlocal
>
> Do I need to load something in order to use this?
> Or has it been completely removed?
> And if so, is there a new alternative method to do the same thing?
>
> I was unable to find anything on this topic
> except https://www.mail-archive.com/ntg-context@ntg.nl/msg63602.html
> which raises the same question already in 2012 but never answers it IMHO.
Create a named layout (\definelayout[...]) and use it:
\setuplayout
[header=15mm]
\definelayout
[extraheader]
[header=35mm]
\showframe
\starttext
\input tufte
\startlayout[extraheader]
\input tufte
\stoplayout
\input tufte
\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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: temporary changes to the layout - \startlocal undefined
2021-02-16 16:21 ` Wolfgang Schuster
@ 2021-02-16 17:54 ` Werner Hennrich
0 siblings, 0 replies; 3+ messages in thread
From: Werner Hennrich @ 2021-02-16 17:54 UTC (permalink / raw)
To: mailing list for ConTeXt users
*great*, that looks clean and useful -
thank you very much Wolfgang!
cheers, Werner
Am 16.02.21 um 17:21 schrieb Wolfgang Schuster:
> Werner Hennrich schrieb am 16.02.2021 um 16:29:
>> Hello Everybody,
>>
>> I need to increase my header's space temporarily
>> and according to pg 99 of context_an_excursion "\startlocal ...
>> \stoplocal" is the way to go -
>> unfortunately my LMTX (2021.02.02 15:49) disagrees:
>>
>> \setuppapersize[A4][A4]
>> \setuplayout[
>> ...
>> header=15mm,
>> ...
>> ]
>> \starttext
>>
>> \input tufte
>> \page
>>
>> \startlocal
>> \setuplayout[header+=20mm]
>> \input tufte
>> \stoplocal
>> \page
>>
>> \input tufte
>> \stoptext
>>
>> This fails:
>>
>> tex error > tex error on line XX in file ./local-layout.tex:
>> Undefined control sequence
>> XX >> \startlocal
>>
>> Do I need to load something in order to use this?
>> Or has it been completely removed?
>> And if so, is there a new alternative method to do the same thing?
>>
>> I was unable to find anything on this topic
>> except https://www.mail-archive.com/ntg-context@ntg.nl/msg63602.html
>> which raises the same question already in 2012 but never answers it
>> IMHO.
>
> Create a named layout (\definelayout[...]) and use it:
>
> \setuplayout
> [header=15mm]
>
> \definelayout
> [extraheader]
> [header=35mm]
>
> \showframe
>
> \starttext
>
> \input tufte
>
> \startlayout[extraheader]
> \input tufte
> \stoplayout
>
> \input tufte
>
> \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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-16 17:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-16 15:29 temporary changes to the layout - \startlocal undefined Werner Hennrich
2021-02-16 16:21 ` Wolfgang Schuster
2021-02-16 17:54 ` Werner Hennrich
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).