Am 24.03.2025 um 05:30 schrieb Jethro Djan:
Dear list,
There seems to be a problem with setuplayout[name][ .. = ..].
I got this problem when I updated to the newest version.
MWE:
\setuplayout[examFirstPage][
topspace=7mm,
top=5mm,
header=10pt,
headerdistance=2pt,
height=280mm,
width=160mm,
margin=20mm,
footerdistance=0pt,
footer=0pt,
]
\definemakeup[examFirstPage][
pagestate=start,
footerstate=start,
top=,
]
\starttext
Hello
\stoptext
When I remove "[examFirstPage]', it works fine.
Has a change been introduced about how to use it this way?
To fix the problem you have to options:
1. Change \setuplayout to \definelayout (or add an additional
\definelayout[examFirstPage] before \setuplayout).
2. Move \definemakeup before \setuplayout (because it does
\definelayout[examFirstPage] by itself).
The error appars because it doesn't know how to resolve missing values
(e.g. leftmargin) for the page layout.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________