On Tue, Aug 5, 2008 at 11:20 AM, Eric DÉTREZ <[EMAIL PROTECTED]> wrote:
> 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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to