Hello Is it any way to get a different page numbering for the first page (and different heads and foots). I used to do in plain tex with a test : ********************************************* \newif\ifpageun \ifnum\pageno=1 \pageuntrue \else \pageunfalse \fi \footline={\ifpageun \hfil \global \pageunfalse \else \numpage=\pageno \advance\numpage by \decale \ifodd\numpage\rm \the\nom \hfill --page \the\numpage-- \else \rm --page \the\numpage--\hfill\the \nom \fi \fi} ********************************************* (names are french) but maybe there is a simpler way in Context.
On Tue, Aug 5, 2008 at 11:20 AM, Eric DÉTREZ
Hello
Is it any way to get a different page numbering for the first page (and different heads and foots). I used to do in plain tex with a test : ********************************************* \newif\ifpageun
\ifnum\pageno=1 \pageuntrue \else \pageunfalse \fi
\footline={\ifpageun \hfil \global \pageunfalse \else \numpage=\pageno \advance\numpage by \decale \ifodd\numpage\rm \the\nom \hfill --page \the\numpage-- \else \rm --page \the\numpage--\hfill\the \nom \fi \fi} ********************************************* (names are french) but maybe there is a simpler way in Context.
Adapt this: \startsectionblockenvironment[frontpart] \setuppagenumbering[location=footer] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setuppagenumbering[location=header] \stopsectionblockenvironment \starttext \startfrontmatter \input tufte \stopfrontmatter \startbodymatter \dorecurse{12}{\input knuth\par} \stopbodymatter \stoptext Wolfgang
participants (2)
-
Eric DÉTREZ
-
Wolfgang Schuster