groff-commit
[Top][All Lists]
Advanced

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

[groff] 03/05: [ms]: Relocate documentation of DA, ND macros.


From: G. Branden Robinson
Subject: [groff] 03/05: [ms]: Relocate documentation of DA, ND macros.
Date: Sat, 20 Mar 2021 06:33:42 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit d95c621db0d728c2f9a36f65bcfcfa3a76655fd0
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Mar 18 00:44:45 2021 +1100

    [ms]: Relocate documentation of DA, ND macros.
    
    ...to the latest possible point in the cover page macro sequence where
    they are effective (they must precede any abstract).
---
 doc/groff.texi      | 24 ++++++++++++------------
 doc/ms.ms           | 44 ++++++++++++++++++++++----------------------
 tmac/groff_ms.7.man | 44 ++++++++++++++++++++++----------------------
 3 files changed, 56 insertions(+), 56 deletions(-)

diff --git a/doc/groff.texi b/doc/groff.texi
index b584ffb..7125b61 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -2929,18 +2929,6 @@ document.
 the header.
 @endDefmac
 
-@Defmac {DA, [@dots{}], ms}
-(optional) Prints the current date, or the arguments to the macro if
-any, on the title page (if specified) and in the footers.  This is the
-default for @code{nroff}.
-@endDefmac
-
-@Defmac {ND, [@dots{}], ms}
-(optional) Prints the current date, or the arguments to the macro if
-any, on the title page (if specified) but not in the footers.  This is
-the default for @code{troff}.
-@endDefmac
-
 @Defmac {TL, , ms}
 Specifies the document title.  @code{groff} collects text following the
 @code{TL} macro into the title, until reaching the author name or
@@ -2970,6 +2958,18 @@ Specifies the author's institution.  You can specify 
multiple
 institutions in the same way that you specify multiple authors.
 @endDefmac
 
+@Defmac {DA, [@dots{}], ms}
+(optional) Prints the current date, or the arguments to the macro if
+any, on the title page (if specified) and in the footers.  This is the
+default for @code{nroff}.
+@endDefmac
+
+@Defmac {ND, [@dots{}], ms}
+(optional) Prints the current date, or the arguments to the macro if
+any, on the title page (if specified) but not in the footers.  This is
+the default for @code{troff}.
+@endDefmac
+
 @Defmac {AB, [@code{no}], ms}
 Begins the abstract.  The default is to print the word
 @acronym{ABSTRACT}, centered and in italics, above the text of the
diff --git a/doc/ms.ms b/doc/ms.ms
index aa7e2c7..c84f412 100644
--- a/doc/ms.ms
+++ b/doc/ms.ms
@@ -401,28 +401,6 @@ does not repeat any of the title page information
 on page 1 of the document.
 T}
 _
-\&.DA [\fIxxx\fP]      T{
-(optional) Print the current date,
-or the arguments to the macro if any,
-on the title page
-(if specified)
-and in the footers.
-.
-This is the default for
-.I nroff .
-T}
-_
-\&.ND xxx [\fIxxx\fP]  T{
-(optional) Print the current date,
-or the arguments to the macro if any,
-on the title page
-(if specified)
-but not in the footers.
-.
-This is the default for
-.I troff .
-T}
-_
 \&.TL  T{
 Specifies the document title.
 .
@@ -463,6 +441,28 @@ You can specify multiple institutions in the same way that 
you specify
 multiple authors.
 T}
 _
+\&.DA [\fIxxx\fP]      T{
+(optional) Print the current date,
+or the arguments to the macro if any,
+on the title page
+(if specified)
+and in the footers.
+.
+This is the default for
+.I nroff .
+T}
+_
+\&.ND xxx [\fIxxx\fP]  T{
+(optional) Print the current date,
+or the arguments to the macro if any,
+on the title page
+(if specified)
+but not in the footers.
+.
+This is the default for
+.I troff .
+T}
+_
 \&.AB [no]     T{
 Begins the abstract.
 .
diff --git a/tmac/groff_ms.7.man b/tmac/groff_ms.7.man
index 3626800..1029330 100644
--- a/tmac/groff_ms.7.man
+++ b/tmac/groff_ms.7.man
@@ -314,28 +314,6 @@ on page\~1 of the document.
 The default is to suppress the header.
 .
 .TP
-.B .DA\c
-.RI " [" xxx ]
-(optional) Print the current date,
-or the arguments to the macro if any,
-on the title page (if specified)
-and in the footers.
-.
-This is the default for
-.IR nroff .
-.
-.TP
-.B .ND\c
-.RI " [" xxx ]
-(optional) Print the current date,
-or the arguments to the macro if any,
-on the title page (if specified)
-but not in the footers.
-.
-This is the default for
-.IR troff .
-.
-.TP
 .B .TL
 Specifies the document title.
 .
@@ -359,6 +337,28 @@ Specifies the author's institution.
 You can specify multiple institutions.
 .
 .TP
+.B .DA\c
+.RI " [" xxx ]
+(optional) Print the current date,
+or the arguments to the macro if any,
+on the title page (if specified)
+and in the footers.
+.
+This is the default for
+.IR nroff .
+.
+.TP
+.B .ND\c
+.RI " [" xxx ]
+(optional) Print the current date,
+or the arguments to the macro if any,
+on the title page (if specified)
+but not in the footers.
+.
+This is the default for
+.IR troff .
+.
+.TP
 .BR ".AB " [ no ]
 Begins the abstract.
 .



reply via email to

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