groff-commit
[Top][All Lists]
Advanced

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

[groff] 18/19: [ms]: Fix Savannah #62690.


From: G. Branden Robinson
Subject: [groff] 18/19: [ms]: Fix Savannah #62690.
Date: Wed, 6 Jul 2022 15:45:45 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 30ebd9a034bb16290ed5efc3730eaeddaea1aa22
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Jul 6 14:24:17 2022 -0500

    [ms]: Fix Savannah #62690.
    
    * tmac/s.tmac (P1, SC, UC, P2): Drop undocumented support for
      document-private macros used by Kernighan & Cherry's "Typesetting
      Mathematics -- User's Guide (Second Edition)".
---
 ChangeLog   |  8 ++++++++
 tmac/s.tmac | 41 +----------------------------------------
 2 files changed, 9 insertions(+), 40 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 174cf699..c9a5299c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-07-06  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       [ms]: Fix Savannah #62690.
+
+       * tmac/s.tmac (P1, SC, UC, P2): Drop undocumented support for
+       document-private macros used by Kernighan & Cherry's
+       "Typesetting Mathematics -- User's Guide (Second Edition)".
+
 2022-07-06  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [ms]: Fix Savannah #62688.
diff --git a/tmac/s.tmac b/tmac/s.tmac
index d146609e..bc7d3c84 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -534,11 +534,7 @@ along with this program.  If not, see 
<http://www.gnu.org/licenses/>.
 ..
 .nr pg*P1 0
 .de P1
-.ie r bell_localisms \{\
-.      DS L
-.      ft CW
-.\}
-.el .nr pg*P1 1
+.nr pg*P1 1
 ..
 .wh -\n[FM]u pg@bottom
 .wh -\n[FM]u/2u pg*footer
@@ -2142,41 +2138,6 @@ along with this program.  If not, see 
<http://www.gnu.org/licenses/>.
 .\}
 ..
 .par@load-init
-.\" ****************************
-.\" ******** module bell ********
-.\" ****************************
-.\" Emulate Bell Labs localisms. Note, (a) they're not documented, and
-.\" (b) the .P1 and .UC macros collide with different ones in Berkeley
-.\" ms.
-.\"
-.\" [Correction 2022-04-17: 10th Edition AT&T ms also collides with
-.\" Berkeley's (undocumented) FP macro.]
-.\"
-.\" We hack around this by conditionalizing the behavior of P1; UC was
-.\" not defined by groff and will be a no-op if called Berkeley style
-.\" with no arguments, so there is no problem with hijacking it here.
-.\"
-.\" What's done here is sufficient to give back the Guide to EQN (1976)
-.\" its section headings and restore some text that had gone missing as
-.\" macro arguments; no warranty express or implied is given as to how
-.\" well the typographic details these produce match the original Bell
-.\" Labs macros.
-.\"
-.\" P1 is now defined in module pg.
-.de SC
-.nr bell_localisms 1
-.NH 
-\\$*
-..
-.de UC
-.if r bell_localisms \f(CR\\$*\fP
-..
-.de P2
-.if r bell_localisms \{\
-.      ft
-.      DE
-.\}
-..
 .\" Local Variables:
 .\" mode: nroff
 .\" fill-column: 72



reply via email to

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