[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 29/49: [me]: groffify an old BSD patch.
From: |
G. Branden Robinson |
Subject: |
[groff] 29/49: [me]: groffify an old BSD patch. |
Date: |
Wed, 16 Jun 2021 19:53:23 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit c1a670c34bba842e4a787e1609d242896a48cc7e
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Jun 17 05:31:13 2021 +1000
[me]: groffify an old BSD patch.
* tmac/e.tmac-u (@h): Migrate SCCS revision 2.37 to be idiomatic for
groff (and not throw warnings of type 'mac').
---
ChangeLog | 5 +++++
tmac/e.tmac-u | 8 ++++----
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a8f8877..2ba102b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2021-06-17 G. Branden Robinson <g.branden.robinson@gmail.com>
+ * tmac/e.tmac-u (@h): Migrate SCCS revision 2.37 to be idiomatic
+ for groff (and not throw warnings of type 'mac').
+
+2021-06-17 G. Branden Robinson <g.branden.robinson@gmail.com>
+
* doc/doc.am: Improve diagnostics during documentation
generation; none should occur normally, but when they do, seeing
troff complain about "<standard input>" is disheartening.
diff --git a/tmac/e.tmac-u b/tmac/e.tmac-u
index 94594e6..44cef70 100644
--- a/tmac/e.tmac-u
+++ b/tmac/e.tmac-u
@@ -268,10 +268,10 @@
.nr ?H 0
.nr ?c \\n(?C
.nr ?C 0
-.if !"\\*(|4"" .rn |4 |0
-.if !"\\*(|5"" .rn |5 |1
-.if !"\\*(|6"" .rn |6 |2
-.if !"\\*(|7"" .rn |7 |3
+.do if d |4 .rn |4 |0
+.do if d |5 .rn |5 |1
+.do if d |6 .rn |6 |2
+.do if d |7 .rn |7 |3
.nr _w 0 \" reset max footnote width
.nr ?W 0 \" no wide floats this page (yet)
.nr ?I 1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 29/49: [me]: groffify an old BSD patch.,
G. Branden Robinson <=