Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Page Count

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Page Count


Chronological Thread 
  • From: Joris van der Hoeven <address@hidden>
  • To: "Michael D. Adams" <address@hidden>
  • Cc: <address@hidden>
  • Subject: Re: [TeXmacs] Page Count
  • Date: Tue, 17 Aug 2004 16:46:28 +0200 (CEST)


On Mon, 16 Aug 2004, Michael D. Adams wrote:
> I'm sure there is a really simple answer to this
> question but I just can't find it in the
> documentation. How do I embed the total number of
> page into the text of a document? I'm wanting to add
> a page header of the form "Page <m> of <n>".
> <page-the-page> gets me <m>, but I can't figure out <n>.

As a general rule, page numbering primitives are fragile,
since the page numbering cannot be done at typesetting time.

As to your problem, I suggest to put a label on the last page of
your document and use the pageref primitive in order to produce
the corresponding number.

Best wishes, Joris




Archive powered by MHonArc 2.6.19.

Top of Page