groff-commit
[Top][All Lists]
Advanced

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

[groff] 12/16: groff(7): Fix bug in `\?` escape rendering.


From: G. Branden Robinson
Subject: [groff] 12/16: groff(7): Fix bug in `\?` escape rendering.
Date: Mon, 23 Aug 2021 00:06:43 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 65586486e549dd9e34b77e56ae5f0e20c8355edc
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Aug 23 11:38:06 2021 +1000

    groff(7): Fix bug in `\?` escape rendering.
    
    * man/groff.7.man (ESC?): Fix bug in page-private macro: the question
      mark that ends this uniquely-syntaxed escape sequence was not shown
      with the mandatory escape character before it.  Problem dates back at
      least to commit 41b0e794, 19 February 2007, but possiby to f790bc7a9,
      6 January 2002.
---
 ChangeLog       | 10 ++++++++++
 man/groff.7.man |  4 ++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4736169..0e3ad7c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2021-08-23  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       groff(7): Fix bug in `\?` escape rendering.
+
+       * man/groff.7.man (ESC?): Fix bug in page-private macro: the
+       question mark that ends this uniquely-syntaxed escape sequence
+       was not shown with the mandatory escape character before it.
+       Problem dates back at least to commit 41b0e794, 19 February
+       2007, but possiby to f790bc7a9, 6 January 2002.
+
 2021-08-21  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [docs]: Elaborate macro definition discussion.
diff --git a/man/groff.7.man b/man/groff.7.man
index 7a58ec0..b5c1507 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -146,10 +146,10 @@ groff \- GNU roff language reference
 .\" Synopsis for escape sequence with a bracketed long argument
 .\" Args   : 1 obligatory
 .\"   arg  : arbitrary text
-.\" Result : prints '\?arg?', where the '?' are in CB, 'arg' in I
+.\" Result : prints '\?arg\?', where the '\?' are in CB, 'arg' in I
 .\"
 .de ESC?
-.  Text "\f[CB]\e?\,\f[I]\\$1\/\f[CB]?\f[R]"
+.  Text "\f[CB]\e?\,\f[I]\\$1\/\f[CB]\[rs]?\f[R]"
 ..
 .\" ====================================================================
 .\" .esc name [punct]



reply via email to

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