groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: groff_tmac(5): Fix example for Writing Macros


From: Ingo Schwarze
Subject: [groff] 01/01: groff_tmac(5): Fix example for Writing Macros
Date: Mon, 12 Oct 2020 09:33:08 -0400 (EDT)

schwarze pushed a commit to branch master
in repository groff.

commit 8733d3f8fbcfecd83642140f12b20e98a12b4a5f
Author: ivan tkachenko <me@ratijas.tk>
AuthorDate: Mon Oct 12 14:23:56 2020 +0300

    groff_tmac(5): Fix example for Writing Macros
    
    Roff code and its expected output mismatched.
    I'd rather make it longer than strip it down, so
    that duplicated text is so big that it actually
    makes it easier to spot the key points which the
    example focuses on.
    
    Via: https://savannah.gnu.org/bugs/index.php?59251
---
 man/groff_tmac.5.man | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man/groff_tmac.5.man b/man/groff_tmac.5.man
index 6df8698..0e9054a 100644
--- a/man/groff_tmac.5.man
+++ b/man/groff_tmac.5.man
@@ -958,7 +958,7 @@ say.
 .ds @1 \[rs]f[I]\[rs]\[rs]$0\[rs]f[]\"
 .ds @2 arguments:\"
 .EX
-\&.ds midpart was called with
+\&.ds midpart was called with the following
 \&.de print_args
 \&.\ \ tm\ \*[@1]\ \[rs]*[midpart]\ \[rs]\[rs]n[.$]\ \*[@2]
 \&.\ \ tm\ \[rs]\[rs]$*
@@ -1042,7 +1042,7 @@ For example, the code above can be written in a simpler 
way by
 .ds @2 arguments:\"
 .EX
 \&.eo
-\&.ds midpart was called with
+\&.ds midpart was called with the following
 \&.de print_args
 \&.\ \ tm\ \*[@1]\ \[rs]*[midpart]\ \[rs]n[.$]\ \*[@2]
 \&.\ \ tm\ \[rs]$*



reply via email to

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