groff-commit
[Top][All Lists]
Advanced

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

[groff] 07/17: [ms]: Sync presentations of TOC macros in docs.


From: G. Branden Robinson
Subject: [groff] 07/17: [ms]: Sync presentations of TOC macros in docs.
Date: Sat, 23 Jul 2022 12:40:45 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 79da7bc970f84a9629164180504f264b4674f1b1
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Jul 17 20:13:08 2022 -0500

    [ms]: Sync presentations of TOC macros in docs.
    
    Except for Keith Marshall's new XH/XN stuff only in the man page; that
    still needs to be done per Savannah #58946.
---
 doc/groff.texi      | 15 ++++++---------
 doc/ms.ms           |  2 --
 tmac/groff_ms.7.man |  2 ++
 3 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/doc/groff.texi b/doc/groff.texi
index fd322ab1..344f9109 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -4324,15 +4324,12 @@ to fit or because style dictates that page numbers not 
be repeated.  You
 may wish to indent the text thus wrapped to correspond to its heading
 depth; this can be done in the entry text by prefixing it with tabs or
 horizontal motion escape sequences, or by providing a second argument to
-the @code{XA} macro.
-
-@code{XS} and @code{XA} automatically associate the page number where
-they are called with the text following them, but they accept arguments
-to override this behavior.  At the end of the document, call @code{TC}
-or @code{PX} to emit the table of contents; @code{TC} resets the page
-number to @samp{i} (Roman numeral one), and then calls @code{PX}.
-
-All of these macros are Berkeley extensions.
+the @code{XA} macro.  @code{XS} and @code{XA} automatically associate
+the page number where they are called with the text following them, but
+they accept arguments to override this behavior.  At the end of the
+document, call @code{TC} or @code{PX} to emit the table of contents;
+@code{TC} resets the page number to @samp{i} (Roman numeral one), and
+then calls @code{PX}.  All of these macros are Berkeley extensions.
 
 @DefmacList {XS, [@Var{page-number}], ms}
 @DefmacItemx {XA, [@Var{page-number} [@Var{indentation}]], ms}
diff --git a/doc/ms.ms b/doc/ms.ms
index b0737b4d..68556021 100644
--- a/doc/ms.ms
+++ b/doc/ms.ms
@@ -3359,8 +3359,6 @@ resets the page number
 and then calls
 .CW PX .
 .
-.
-.PP
 All of these macros are Berkeley extensions.
 .
 .TS
diff --git a/tmac/groff_ms.7.man b/tmac/groff_ms.7.man
index 888fe918..dc91b4de 100644
--- a/tmac/groff_ms.7.man
+++ b/tmac/groff_ms.7.man
@@ -2035,6 +2035,8 @@ resets the page number
 and then calls
 .BR PX .
 .
+All of these macros are Berkeley extensions.
+.
 .
 .TP
 .BR .XS \~[\c



reply via email to

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