![](https://secure.gravatar.com/avatar/13a310a9e966d8e50f10029887c37493.jpg?s=120&d=mm&r=g)
All, how do I get rid of the header on the second page of output? \setupwhitespace[medium] \setupindenting[medium,yes] \setupcolors[state=start] \setuppagenumbering [state=start, alternative=doublesided, location=, way=bytext] \definetext[chapter][footer][pagenumber] \setuphead [chapter] [alternative=inmargin, header=high, footer=chapter, page=right] \setuphead [section] [style=\tfc, page=right, continue=no, alternative=inmargin] \setuphead [subsection] [style=\tfb\sl, number=no] \definehead [toc] [section] \setuphead [toc] [number=no, incrementnumber=no, page=no] \def\OddPageHeader{\bold{\pagenumber}\hskip 1em Chapter \headnumber [chapter] \getmarking[chapter][current]} \def\headermarkleft{\bold{\pagenumber}\headerskip{\sc\headerskip Chapter \headnumber[chapter]\headerskip\getmarking[chapter][current]}} \def\headermarkright{{\sc{}Section \headnumber[section]\headerskip \getmarking[section][current]}\headerskip\bold{\pagenumber}} \def\headerskip{\hskip 1em} \setupheadertexts [][\headermarkright] %odd page on right [\headermarkleft][] %even page on left \setuplist [section] [style=bold, color=red, alternative=c] \setuplist [subsection] [alternative=b] \starttext \chapter{A Practice Chapter} \input knuth \toc{Table of Contents} \placecontent \section{First Section} \dorecurse{3}{\input knuth \par} \subsection{First Subsection} \dorecurse{3}{\input knuth \par} \section{Second Section} \dorecurse{3}{\input knuth \par} \subsection{Second Subection} \dorecurse{3}{\input knuth \par} \section{Third Section} \dorecurse{3}{\input knuth \par} \subsection{Third Subection} \dorecurse{3}{\input knuth \par} \stoptext
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
David Arnold wrote:
All, how do I get rid of the header on the second page of output?
I would like to know a clean answer to this as well. I often use code that does something similar to James' solution (posted last week): \startsetups [chapter:before] \page[left] \noheaderandfooterlines \leavevmode \page[right] \stopsetups \setuphead [chapter] [before=\setups{chapter:before}] but that is a bit too hackish for my taste. Cheers, Taco
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Taco Hoekwater wrote:
I would like to know a clean answer to this as well.
I often use code that does something similar to James' solution (posted last week):
\startsetups [chapter:before] \page[left] \noheaderandfooterlines \leavevmode \page[right] \stopsetups
\setuphead [chapter] [before=\setups{chapter:before}]
but that is a bit too hackish for my taste.
From a post by Hans on the dev list: Hans Hagen wrote:
it's \page[empty,right]
or \page[yes,empty,right]
page entries are processed in sequence
\page[something,something,{something,something},something]
Greetings, Taco
participants (2)
-
David Arnold
-
Taco Hoekwater