[Top][All Lists]
[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: |
Joerg van den Hoff |
Subject: |
Re: [Groff] setting page offset on page 1 via pseudo page break? |
Date: |
Mon, 7 Jan 2008 12:08:17 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Fri, Jan 04, 2008 at 04:10:09PM -0000, Ted Harding wrote:
> 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.
ted,
yes, thanks. it was something of that kind. stupid me...
best regads,
joerg
>
> Hoping this helps,
> Ted.