groff
[Top][All Lists]
Advanced

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

RE: [Groff] setting page offset on page 1 via pseudo page break?


From: Ted Harding
Subject: RE: [Groff] setting page offset on page 1 via pseudo page break?
Date: Fri, 04 Jan 2008 16:10:09 -0000 (GMT)

On 04-Jan-08 15:24:31, Joerg van den Hoff wrote:
> I thought I had this solved but cannot find it again (neither
> in my stuff nor in the docs):
> 
> `.po' requests (and PO register in `ms' which I actually use)
> do take effect only on the next page, i.e. after page break.
> 
> question: how to enforce some page offset on the very first
> page without either editing the default value in the groff 
> macros (very ugly) or some kludge such as starting the document
> with
> 
> .pn 0
> .bp
> .\"here goes the actual document starting with page no. 1
> 
> I seem to recall that somehow one can enforce a pseudo page
> break so that e.g. the page offset is honored without actually
> emitting a page. or is this wrong?
> 
> joerg

It should work in ms macros if you set it before you do anything
else which would tigger a pafe transition.

For example:

.po 2i
.nr PO 2i
.LP
Your first text ...

You can see that this works by changing "2i" to say "4i".

The first page does not in reality start until the ".LP"
is encountered.

The situation could be different if you have a private set
of macros (or some other set as well as the ms macros)
which are read in before input processing starts, and
somewhere in those occurs a transition to the first page.

Hoping this helps,
Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <address@hidden>
Fax-to-email: +44 (0)870 094 0861
Date: 04-Jan-08                                       Time: 16:10:06
------------------------------ XFMail ------------------------------




reply via email to

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