[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] ms macro and PO (left margin)
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] ms macro and PO (left margin) |
Date: |
Thu, 08 May 2003 09:38:17 +0200 (CEST) |
> 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.
Since I'm not a user of -ms I wanted feedback from the list which I
didn't get (probably my mail has been missed by some of you). I'm
repeating my mail from February below -- perhaps this time I get a
reaction from the groff audience :-)
Werner
======================================================================
> [...]
> 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.]
- [Groff] ms macro and PO (left margin), Ralph Graulich, 2003/05/07
- Re: [Groff] ms macro and PO (left margin), Robert D. Goulding, 2003/05/07
- Re: [Groff] ms macro and PO (left margin), Ralph Graulich, 2003/05/07
- Re: [Groff] ms macro and PO (left margin),
Werner LEMBERG <=
- Re: [Groff] ms macro and PO (left margin), Ralph Graulich, 2003/05/08
- Re: [Groff] ms macro and PO (left margin), Jon Snader, 2003/05/08
- Re: [Groff] ms macro and PO (left margin), Jorgen Grahn, 2003/05/08
- Re: [Groff] ms macro and PO (left margin), Jorgen Grahn, 2003/05/08
- Re: [Groff] ms macro and PO (left margin), Jorgen Grahn, 2003/05/08
- Re: [Groff] ms macro and PO (left margin), Heinz-Jürgen Oertel, 2003/05/08