mailing-list for TeXmacs Users

Text archives Help


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 19:28:04 +0200 (CEST)


On Tue, 17 Aug 2004, Michael D. Adams wrote:
> 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.

You should put the text inside the "quote" primitive in order
to delay the evaluation. So you need something like

<assign|page-this-footer|<quote|<page-the-page>/<pageref|lastpage>>>

Best wishes, Joris




Archive powered by MHonArc 2.6.19.

Top of page