Subject: mailing-list for TeXmacs Users
List archive
From : "Michael D. Adams" <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] Page Count
- Date: Tue, 17 Aug 2004 09:47:14 -0700 (PDT)
Thanks that worked perfectly for the <n> part (i.e.
total pages/last page).
I thought I understood how to to the <m> part (the
number of the _current_ page), but I guess not because
<page-the-page> just always returns "0" or "?". So my
next question is how do I get the current page number
in a header? The label/page-ref trick didn't work for
the current page.
Michael D. Adams
address@hidden
> Joris van der Hoeven <address@hidden> wrote:
> 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
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
- Page Count, Michael D. Adams, 08/17/2004
- Re: [TeXmacs] Page Count, Joris van der Hoeven, 08/17/2004
- Re: [TeXmacs] Page Count, Michael D. Adams, 08/17/2004
- Re: [TeXmacs] Page Count, Joris van der Hoeven, 08/17/2004
- Re: [TeXmacs] Page Count, Michael D. Adams, 08/17/2004
- Re: [TeXmacs] Page Count, Joris van der Hoeven, 08/17/2004
Archive powered by MHonArc 2.6.19.