groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] add extra footer with running page numbers


From: Ralph Corderoy
Subject: Re: [Groff] add extra footer with running page numbers
Date: Sat, 06 Sep 2008 12:21:42 +0100

Hi Jeremy,

> >    1. create a file called "last_page" which has the following 2 lines:
> >     .bp
> >     .tm .pn %

Try changing that to

    .tm .pn \n%

I think the number register `%' is the current page number, so you need
the \n escape to get its value.

Cheers,


Ralph.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]