ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* first page special numbering
@ 2000-11-04 22:33 Ed L Cashin
  2000-11-05 21:17 ` Hans Hagen
  0 siblings, 1 reply; 7+ messages in thread
From: Ed L Cashin @ 2000-11-04 22:33 UTC (permalink / raw)


Hi.  Often, very simple papers will have the first page with a page
number at the bottom and all following pages will have a pagenumber at
the top.  This is how I did it just now:

    \setuppagenumbering [location=]
    \setupheadertexts   [\ifnum\pageno=1\else\pagenumber\fi]
    \setupfootertexts   [\ifnum\pageno=1 1\fi]

(Strangely, if I say, "\ifnum\pageno=1\pagenumber\fi", then nothing is
printed, yet when I use a literal "1" it works as expected.)

Is there a more idiomatic way that I'm missing?    

-- 
--Ed Cashin                     PGP public key:
  ecashin@coe.uga.edu           http://www.coe.uga.edu/~ecashin/pgp/


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-11-07  0:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-04 22:33 first page special numbering Ed L Cashin
2000-11-05 21:17 ` Hans Hagen
2000-11-06 15:26   ` Ed L Cashin
2000-11-06 16:15     ` Hans Hagen
2000-11-06 20:38       ` Ed L Cashin
2000-11-06 22:45         ` Hans Hagen
2000-11-07  0:28           ` Ed L Cashin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).