bug-groff
[Top][All Lists]
Advanced

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

[bug #62690] [ms] drop "bell_localisms" extensions


From: G. Branden Robinson
Subject: [bug #62690] [ms] drop "bell_localisms" extensions
Date: Fri, 1 Jul 2022 00:16:08 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?62690>

                 Summary: [ms] drop "bell_localisms" extensions
                 Project: GNU troff
               Submitter: gbranden
               Submitted: Fri 01 Jul 2022 04:16:06 AM UTC
                Category: Macro ms
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: In Progress
                 Privacy: Public
             Assigned to: gbranden
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 01 Jul 2022 04:16:06 AM UTC By: G. Branden Robinson <gbranden>
The localisms in question were not particular to the Unix V7 ms macro package,
but specific to Kernighan & Cherry's "Typesetting Mathematics" paper.  They
were defined in a file called g.mac which apparently was read before the
g[0-5] files that comprised the document proper.


diff --git a/tmac/s.tmac b/tmac/s.tmac
index f72a8d698..258431e14 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -519,11 +519,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
@@ -2130,41 +2129,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 to this item at:

  <https://savannah.gnu.org/bugs/?62690>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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