groff
[Top][All Lists]
Advanced

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

Re: [Groff] ms macro and PO (left margin)


From: Robert D. Goulding
Subject: Re: [Groff] ms macro and PO (left margin)
Date: Wed, 7 May 2003 10:33:09 -0400 (EDT)

On Wed, 7 May 2003, Ralph Graulich wrote:

> I am converting the documents needing rotated text (see other thread) from
> mm to ms. Carefully changed the document's setup, concerning setting the
> corresponding number registers. However I can't set the PO (left margin)
> to zero or any other than the predefined value.
>
> For example:
>
> .nr LL 17c
> .nr HM 2c
> .nr FM 2c
> .nr PS 9
> .nr VS 9.8
> .nr PO 0c
> This is just some text for internal testing. Be prepared, as this text
> ...
>
> produces the same left offset no matter what value is used for "PO".
>
> What am I doing wrong here?

This is a bug in -ms which was discussed here a while ago; Werner (I
think) provided a patch, but I guess it wasn't incorporated into the
source.  But all you need to do, if you're setting the page-offset to X,
is:

.nr PO X
.po X

making sure you both set the -ms register and explicitly change the offset
yourself.

R.

-- 
Robert Goulding
Society of Fellows
Joseph Henry House
Princeton NJ 08544


reply via email to

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