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: Dave
Subject: [bug #60571] Footnote markers defeat end-of-sentence recognition
Date: Wed, 2 Feb 2022 15:34:50 -0500 (EST)

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

My fleeting concern with that was potential parsing ambiguity if a long
register name ends in a backslash: are there cases where the \] signifying the
end of the register name in the \n[] escape are confusable with the proposed
\] escape?

To see if this was an actual concern, I first looked in the Identifiers node
of the Texinfo document.  It claims that of printable characters, only those
considered whitespace are ineligible in identifiers.  So the backslash should
be legal.

But it isn't:

$ groff <<< '.nr a\ 1'
troff:<standard input>:1: error: '\ ' is not allowed in a name
troff:<standard input>:1: warning: numeric expression expected (got '\ ')


In conclusion, I'm good with \] as an escape, but need to open a new
documentation bug.

    _______________________________________________________

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]