bug-groff
[Top][All Lists]
Advanced

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

[bug #60571] Footnote markers defeat end-of-sentence recognition


From: G. Branden Robinson
Subject: [bug #60571] Footnote markers defeat end-of-sentence recognition
Date: Wed, 2 Feb 2022 11:08:23 -0500 (EST)

Follow-up Comment #6, bug #60571 (project groff):

I propose `\]` for this purpose.  Mnemonic: it resembles the closing bracket
of a common footnote or bibliographic citation marker, and those are the
motivating use cases for it.

If you place a `\]` anywhere between a candidate end-of-sentence character and
the next potential sentence boundary (a newline or second consecutive input
space), that boundary token is forcibly recognized as the end of a sentence.

Interaction with \& and \) is to be determined.  Possibly, \& causes no
interference, and \) and \] can override each other ad libitum.  (Imagine
macros that keep tacking stuff on to the end of a string or input text; the
document author may not have any idea what's going on, so we don't necessarily
want to warn.)

Obviously this will need a unit test that exercises some tricky cases as well
as straightforward ones.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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