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