|
From: | Keith Marshall |
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 17:45:08 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 |
On 23/08/12 14:42, Anton Shepelev wrote:
You should not need to do this; there surely must be a public interface to support what you are trying to achieve, without subverting package internals?I agree, but I didn't find a public mechanism to do that.
Does the attached achieve the desired effect? Agreed, it isn't intuitive: it's very picky about the placement of the reassignment of register 'P', and you have to set it to less than zero for it, and the effect of the assignment to the 'N' register, to be honoured, but this is achieved using only publicly documented features, (discovered by a search for 'page number' within groff_mm(7)).
-- Regards, Keith.
foo.mm
Description: Text Data
foo.ps
Description: PostScript document
[Prev in Thread] | Current Thread | [Next in Thread] |