groff-commit
[Top][All Lists]
Advanced

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

[groff] 08/10: [ms]: Fix thinko in documentation.


From: G. Branden Robinson
Subject: [groff] 08/10: [ms]: Fix thinko in documentation.
Date: Wed, 12 Jul 2023 11:38:35 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 7b1c7d38dbb94552b30a83d903cfbbbbb191399e
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Tue Jul 11 15:36:15 2023 -0500

    [ms]: Fix thinko in documentation.
---
 doc/groff.texi | 8 ++++----
 doc/ms.ms      | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/groff.texi b/doc/groff.texi
index a271e61ea..e6027b6d7 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -3716,10 +3716,10 @@ A numbered list:
 Here we have employed the @code{nr} request to create a register of our
 own, @samp{step}.  We initialized it to zero and assigned it an
 auto-increment of 1.  Each time we use the escape sequence
-@samp{\n+[PI]} (note the plus sign), the formatter applies the increment
-just before interpolating the register's value.  Preparing the @code{PI}
-register as well enables us to rearrange the list without the tedium of
-updating macro calls.
+@samp{\n+[step]} (note the plus sign), the formatter applies the
+increment just before interpolating the register's value.  Preparing the
+@code{PI} register as well enables us to rearrange the list without the
+tedium of updating macro calls.
 
 The next example illustrates a glossary-style list.
 @cindex example markup, glossary-style list [@file{ms}]
diff --git a/doc/ms.ms b/doc/ms.ms
index 6da149178..9ad900f98 100644
--- a/doc/ms.ms
+++ b/doc/ms.ms
@@ -2020,7 +2020,7 @@ request to create a register of our own,
 We initialized it to zero and assigned it an auto-increment of 1.
 .
 Each time we use the escape sequence
-.CW \[rs]n+[PI]
+.CW \[rs]n+[step]
 (note the plus sign),
 the formatter applies the increment just before interpolating the
 register's value.



reply via email to

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