groff
[Top][All Lists]
Advanced

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

[Groff] Re: ms PL patch


From: Werner LEMBERG
Subject: [Groff] Re: ms PL patch
Date: Sat, 19 Jun 2004 07:28:55 +0200 (CEST)

> RCS file: /var/cvs/groff/tmac/s.tmac,v
> retrieving revision 1.15
> diff -u -r1.15 s.tmac
> --- tmac/s.tmac 16 Apr 2004 04:48:42 -0000      1.15
> +++ tmac/s.tmac 18 Jun 2004 14:11:04 -0000
> @@ -51,6 +51,7 @@
>   ..
>   .de @init
>   .if !rPO .nr PO \\n(.o
> +.if  rPL .pl \\n[PL]u
>   .\" a non-empty environment
>   .ev ne
>   \c
> @@ -161,6 +162,7 @@
>   .nr cov*rp-format 1
>   .if \\n[.$] .if '\\$1'no' .nr cov*rp-no 1
>   .if rPO .po \\n(POu
> +.if rPL .pl \\n[PL]u
>   .pn 0
>   ..
>   .de TL

I'm not sure whether this is the right patch.  Currently, you should
add `-ma4 -P-pa4' to the command line while calling groff to get
proper defaults for page length and line length.  Providing a special
register PL for the page length probably makes the user think that
changing the PL register has an influence on the physical page length
also.  Normally, you won't change the page length at all within a
document (except for suppressing trailing empty lines in TTY output).

Instead, I suggest to add a note to the docs which explain why there
isn't a `PL' register :-)


  Werner


reply via email to

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