ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ed L Cashin <ecashin@coe.uga.edu>
Subject: first page special numbering
Date: 04 Nov 2000 17:33:34 -0500	[thread overview]
Message-ID: <m3lmuzbc5d.fsf@coe.uga.edu> (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/


             reply	other threads:[~2000-11-04 22:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-04 22:33 Ed L Cashin [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3lmuzbc5d.fsf@coe.uga.edu \
    --to=ecashin@coe.uga.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).