[Top][All Lists]

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

Re: [Groff] Understanding the ms macros

From: Werner LEMBERG
Subject: Re: [Groff] Understanding the ms macros
Date: Fri, 29 Mar 2002 18:00:26 +0100 (CET)

> To modify page margins, the easy way is to set the PO and LL
> registers at the beginning of your document.

This doesn't work reliably in all cases since PO will be overwritten
if nothing has been printed before -- ms sets a trap at the very
beginning of the document calling `cov*first-page-init'; this macro
then removes itself, replacing the trap with address@hidden'.  The former
macro initializes PO with the current offset.

With other words, setting the PO register should be done after
printing the cover sheet (but before emitting it):

  .nr PO 2i

> If that doesn't have what you're looking for, let me know.
> I want groff_ms to be definitive.

I suggest you document this.


reply via email to

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