bug-groff
[Top][All Lists]
Advanced

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

[bug #59738] mdoc: .Lk suppresses end-of-sentence recognition


From: G. Branden Robinson
Subject: [bug #59738] mdoc: .Lk suppresses end-of-sentence recognition
Date: Sun, 20 Dec 2020 02:48:36 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

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

                 Summary: mdoc: .Lk suppresses end-of-sentence recognition
                 Project: GNU troff
            Submitted by: gbranden
            Submitted on: Sun 20 Dec 2020 07:48:34 AM UTC
                Category: Macro - mdoc
                Severity: 2 - Minor
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Probably need Ingo's input for this one.

The attached example renders incorrectly in both mandoc(1) and groff -mdoc;
trailing punctuation does not undergo end-of-sentence recognition.

The .Lk implementation is a bit complex, but I'm guessing the problem has to
do with indiscriminate usage of


.nop \&


after the trailing punctuation.  I may not understand the use of the word
"delimiter" in the macro definition--is it for the angle bracket macros (Ao,
Ac) or does it refer to the terminating punctuation argument?  If the latter,
I don't think it should be called a "delimiter".



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 20 Dec 2020 07:48:34 AM UTC  Name: sample.mdoc  Size: 380B   By:
gbranden

<http://savannah.gnu.org/bugs/download.php?file_id=50528>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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