Fabrice Couvreur via ntg-context schrieb am 26.08.2021 um 19:06:
Hi,
Using this (almost what I'm trying to do) without success
[...]
\startsetups[header]
\doifelse{\totalnumberofpages}{1}
{\setupheadertexts[\setups{header}]}
{}
\stopsetups
This stores the page check in the setups environment but you never call
it. The call from within the environment itself can't work because the
content is never evaluated and even if it would be called you create an
endless loop.
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
___________________________________________________________________________________