[NTG-context] pagenumber suppression howto?

Meer, H. van der H.vanderMeer at uva.nl
Sun Jul 20 12:03:08 CEST 2014


My goal is pages without header info at the top and text plus a pagenumber on the bottom. This can be accomplished by:
\setupheader[state=stop]
\setupfooter[text][before=\hairline,style=small,location=left,strut=yes]
\setupfootertexts[some text][pagenumber]

I want the first page without that footer, to be done with:
\noheaderandfooterlines

But then comes the problem, because afterwards the default takes over and on the subsequent pages the pagenumber starts to appear in the header (the default setting apparently). Thus the \noheaderandfooterlines annuls the \setupheader[state=stop]

I did not find out how to get rid of the default pagenumber. 
\setuppagenumber[state=stop] kills all pagenumbering, the programmed one in the leftbottom corner too.
\setuppagenumbering[state=stop] kills all pagenumbers, included the one I want to appear.
\setuppagenumbering[location=none] merely puts the pagenumber in the middle of the footer, obviously location=none has no meaning in ConTeXt.

So, I am at the end of the possibilities I can think of. How to?

Hans van der Meer





More information about the ntg-context mailing list