groff-commit
[Top][All Lists]
Advanced

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

[groff] 14/14: groff_diff(7): Fix misleading example.


From: G. Branden Robinson
Subject: [groff] 14/14: groff_diff(7): Fix misleading example.
Date: Wed, 20 Oct 2021 00:52:54 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 748900f72ab6c35ab8ef33270e659a785f523145
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Oct 20 11:31:14 2021 +1100

    groff_diff(7): Fix misleading example.
    
    This example can't be copy-and-pasted because I wasn't using `\#`
    "honestly", but rather as a within-page annotation of the strings'
    transformed contents.  But using groff comment syntax for this was
    misleading.  Instead just present the rendered output as we do with
    other examples.
---
 man/groff_diff.7.man | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/man/groff_diff.7.man b/man/groff_diff.7.man
index db45fbf..4f38bd3 100644
--- a/man/groff_diff.7.man
+++ b/man/groff_diff.7.man
@@ -3076,12 +3076,13 @@ due to the regular naming convention of the special 
character escapes.
 .RS
 .RS
 .EX
-\&.ds resume R\e[\[aq]e]sum\e[\[aq]e]\e"
-\e*[resume] \e# R\['e]sum\['e]
-\&.stringdown resume
-\e*[resume] \e# r\['e]sum\['e]
-\&.stringup resume
-\e*[resume] \e# R\['E]SUM\['E]
+.B \&.ds resume R\e[\[aq]e]sum\e[\[aq]e]\e"
+.B \e*[resume]
+.B \&.stringdown resume
+.B \e*[resume]
+.B \&.stringup resume
+.B \e*[resume]
+R\['e]sum\['e] r\['e]sum\['e] R\['E]SUM\['E]
 .EE
 .RE
 .RE



reply via email to

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