bug-groff
[Top][All Lists]
Advanced

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

[bug #59482] [ms] implement .EM macro


From: G. Branden Robinson
Subject: [bug #59482] [ms] implement .EM macro
Date: Tue, 5 Jan 2021 20:18:02 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Update of bug #59482 (project groff):

              Item Group:     Incorrect behaviour => New feature            
                 Summary: groff -ms missing .EM macro => [ms] implement .EM
macro

    _______________________________________________________

Follow-up Comment #1:

.EM is not documented in Lesk 1978-11-13.

It also does not appear in the Berkeley ms manual[1].

It _does_ appear in DWB 3.3 ms[2].

The DWB implementation does the following:

A. Breaks the output line.
B. Checks for and emits a diagnostic for an unclosed abstract (.AB).
C. Checks for and emits a diagnostic for an unclosed footnote (.FS).
D. In troff mode, draws cut marks at (or past?) the page bottom[3].
E. If a keep is pending, starts a new page to flush it (if I follow the logic
of the use of the TB register and KJ diversion correctly).

At first blush, aliasing EM to pg@end-text, documenting EM, and advising the
user to .am (append) to EM if they want to supplement end-of-input behavior,
as UTP and Dorai note, seems like it should resolve the issue.

Comments?

[1] https://www.hactrn.net/ietf/rfcgen/textms.html
[2] https://github.com/n-t-roff/DWB3.3/blob/master/macros/ms/tmac.s.sr
[3] I note this for completeness.  groff_ms(7) already documents that our
implementation does not implement cut marks.

    _______________________________________________________

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]