Am 26.07.26 um 21:18 schrieb Wolfgang Schuster:
Am 26.07.2026 um 15:25 schrieb Henning Hraban Ramm:
Hi,
since "mmodes.pdf" isn’t part of the distribution anymore, where are
modes documented, and is there a current list of system modes?
(Yes, I know https://www.pragma-ade.nl/general/manuals/mmodes.pdf and
https://wiki.contextgarden.net/Input_and_compilation/
Conditional_processing_with_Modes)
This question is still open: Are modes explained in any current
“official” docs? What is outdated in mmodes.pdf?
Are there modes that I can check for a left/right page, or is
\ifodd\pageno the better way?
Modes won't help you in this case because the act like a conditional
check at the place they occur.
When you need an odd even check in header or footer texts you can use
\doifelseoddpage{...}{...}, in the page body the command can fail and
you need \doifelserightpage{...}{...} but you have place
\signalrightpage before it because ConTeXt has to use multipass data.
Thank you, Wolfgang! I’ll add that to the docs.
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
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
___________________________________________________________________________________