bug-groff
[Top][All Lists]
Advanced

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

[bug #59482] groff -ms missing .EM macro


From: Dorai Sitaram
Subject: [bug #59482] groff -ms missing .EM macro
Date: Wed, 18 Nov 2020 20:04:06 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36

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

                 Summary: groff -ms missing .EM macro
                 Project: GNU troff
            Submitted by: ds26gte
            Submitted on: Thu 19 Nov 2020 01:04:04 AM UTC
                Category: Macro - ms
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

UTP (p. 534) says -ms pre-sets the end-of-input trap .em to a macro called
.EM. The implication is that a user wanting to affect end-of-document behavior
would append to this macro rather than directly calling .em.

I have found that Heirloom troff and Neatroff both allow this. groff does
not.

groff's s.tmac sets .em to a macro called .pg@end-text. There is no .EM. 

Rectifying this would allow the user the standard idiom of extending .EM in
their chosen way, instead of having to deal with the macro .pg@end-text that
looks like it was meant to stay hidden. It would also prevent the error
whereby the user, finding that modifying .EM doesn't work, calls .em directly,
thereby voiding -ms's previous assignment.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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