Jeroen schrieb am 04.09.2023 um 14:10:
I have a document with the first page in startfrontmatter and all
other pages in startbodymatter. The layout setting is as following
[...]
What would be the easiest way to change the layout only for the first
page since it has no footer. For the first page, I would like to have
the text run all the way to the bottom with \vfill where normally the
footer would be.
You need the two settings
\setupheader[state=high]
\setupfooter[state=high]
to get rid of the header and footer on the page where the commands take
effect.
The nice thing is that both values are reset on the following page and
with \startsectionblockenvironment
you can make this layout change in the style file of your document.
\startsectionblockenvironment[frontpart]
\setupheader[state=high]
\setupfooter[state=high]
\stopsectionblockenvironment
\showframe
\starttext
\startfrontmatter
\samplefile{lorem}
\stopfrontmatter
\startbodymatter
\dorecurse{10}{\samplefile{lorem}}
\stopbodymatter
\stoptext
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________