groff
[Top][All Lists]
Advanced

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

Re: [Groff] Apparent weirdness with -ms's PO and LL


From: Werner LEMBERG
Subject: Re: [Groff] Apparent weirdness with -ms's PO and LL
Date: Wed, 26 Feb 2003 18:13:41 +0100 (CET)

> I attached a patch. Apply by cd'ing into the directory
> where s.tmac lies and type "patch < s.tmac.diff".
> 
> The fix is actually really simple; just 1) move the
> line ".nr PO \\n(.o" outside of the @init macro to
> somewhere above any of macro definitions in s.tmac,
> and 2) remove the extra backslash in front of \n(.o. I
> tried it out and it seems to work fine.

Hmm, what about the following instead:

--- s.tmac.old  Fri Jul 19 09:18:22 2002
+++ s.tmac      Wed Feb 26 17:58:58 2003
@@ -50,7 +50,7 @@
 .de @nop
 ..
 .de @init
-.nr PO \\n(.o
+.if !rPO .nr PO \\n(.o
 .\" a non-empty environment
 .ev ne
 \c

This has the advantage that \n[PO] can be set on the command line too,
and you no longer need to use .po directly (which is quite irritating
IMHO).

Larry, looking into s.tmac, I see some variables like FPS and FVS (to
set the footnote size and vertical spacing) which can be set on the
command line but which aren't documented at all.  Can you fix that in
both groff_ms.man and groff.texinfo?  [Look for `if !r' and `if !d' in
s.tmac to find the relevant spots.]


    Werner

reply via email to

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