[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 27/53: tmac/e.tmac: Trivially refactor.
From: |
G. Branden Robinson |
Subject: |
[groff] 27/53: tmac/e.tmac: Trivially refactor. |
Date: |
Tue, 14 Dec 2021 01:21:54 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit 92f0aefd1125b45a9efc50ee9155d691a027d63e
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Dec 8 10:33:30 2021 +1100
tmac/e.tmac: Trivially refactor.
Drop cruft lines restoring the default escape character when it was
never changed or disabled, and remove register `x` that was de-supported
many years ago[1] (one-sixth vertical spacing for daisy wheel printers).
[1] as far back as commit 351da0dc (1991-06-02), the dawn of our repo
history
---
tmac/e.tmac | 7 -------
1 file changed, 7 deletions(-)
diff --git a/tmac/e.tmac b/tmac/e.tmac
index 804c56d..7c337b5 100644
--- a/tmac/e.tmac
+++ b/tmac/e.tmac
@@ -380,7 +380,6 @@
.if \n@>2 .nr __ \\n(.pu-\\n(nlu
.if \n@>2 .tm @f bm=\\n(bm _B=\\n(_B _b=\\n(_b .p-nl=\\n(__
.if \n@>2 .rr __
-.ec
.if \\n(?T \
\{\
. nr T. 1 \" for tbl commands (to output bottom line)
@@ -1024,7 +1023,6 @@
.if \n@>4 .tm -- )z >> \\*(|x
\!.if \\\\n(nl>(\\\\n(tm+2v) .ne \\n(dnu-\\n(zsu
.|k\" \" and the body
-.ec
.if \n@>4 .tm -- )z << \\*(|x, .z=\\n(.z
.nr ?k 0
.rm |k\" \" remove the temp macro
@@ -1048,7 +1046,6 @@
.\\$1
.if \\n(?n \
. nm
-.ec
.br
.rm \\$1
.ev
@@ -1141,7 +1138,6 @@
. nm \\n(ln
.nf
.|c
-.ec
.in
.ls
.if \\n(?n \
@@ -1207,7 +1203,6 @@
.de EQ \" *** equation start
.do if \\n[devtag-needs-end-of-heading] .do DEVTAG-EO-H
.do nr devtag-needs-end-of-heading 0
-.ec
.if "\*(.T"html" \
\{\
. do nr e-EQ-ll \\n(.l
@@ -1567,7 +1562,6 @@
.
.
.de (f \" *** begin footnote
-.ec
.if "\\n(.z"|f" .do @err footnotes cannot be nested
.ie "\\n(.z"" \
\{\
@@ -1971,7 +1965,6 @@
.\" *** PARAMETRIC INITIALIZATIONS ***
.
.
-.rr x
.nr $v \n(.v00+\n(.sp-1/\n(.sp \" vs as % of ps for .sz request
.nr $V \n($v \" same for displays & footnotes
.nr hm 4v \" header margin
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 27/53: tmac/e.tmac: Trivially refactor.,
G. Branden Robinson <=