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: Anton Shepelev
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 21:26:15 +0400

Ralph Corderoy:

> > 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  set-
> > ting  P  directly.   If it was not so trivial my
> > mehtod would be less likely to  break  anything.
> > But you are right that your version does not re-
> > quire knowledge of mm's internals.
>
> 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
>   .
>   .ds hd*sect-pg \n[H1]-\n[P]
>   .if \n[Sectp]>1 .if '\n[H1]'0' .ds hd*sect-pg "
>   ..

Thanks,  I  missed  the  piece about hd*sect-pg.  My
version is definitely better then.

-- 
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments



reply via email to

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