groff
[Top][All Lists]
Advanced

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

Re: [Groff] how not to number the cover page? and not to show page numbe


From: Ralph Corderoy
Subject: Re: [Groff] how not to number the cover page? and not to show page number on the front page?
Date: Thu, 23 Aug 2012 18:20:00 +0100

Hi,

> Yes, and this is exactly what address@hidden does.  The documentation
> doesn't say that P is not read-only.  I consider address@hidden as a
> setter of the field P and therefore preferable to setting P directly.
> If it was not so trivial my method would be less likely to break
> anything.

To my mind as it does more than just set P so it's worth poking about
under the covers.

    .de address@hidden
    .\"
    .ie \\n[.$]>0 .nr P \\$1
    .el .nr P +1
    .\" Set section-page-string
    .ds hd*sect-pg \\n[H1]-\\n[P]
    .if \\n[Sectp]>1 .if '\\n[H1]'0' .ds hd*sect-pg "
    ..

Cheers, Ralph.



reply via email to

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