[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 33/35: [mm]: Fix another cover sheet nit.
From: |
G. Branden Robinson |
Subject: |
[groff] 33/35: [mm]: Fix another cover sheet nit. |
Date: |
Fri, 16 Jul 2021 20:39:49 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 981df0e96de433fe867e5fbaa0d745d39ac6e8a4
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Jul 17 09:47:21 2021 +1000
[mm]: Fix another cover sheet nit.
* contrib/mm/mm/ms.cov (COVEND): Fix thinko; test for existence of
`cov*abs-arg` register with `r` conditional operator, not `d`.
Also fix style nit; wrap excessively long line.
* contrib/mm/groff_mm.7.man (Macros) <AS>: Describe operation more
accurately.
---
contrib/mm/ChangeLog | 5 ++++
contrib/mm/groff_mm.7.man | 65 ++++++++++++++++++++++++++++++++++-------------
contrib/mm/mm/ms.cov | 11 ++++++--
3 files changed, 62 insertions(+), 19 deletions(-)
diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index f0c9a2e..d59835d 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,5 +1,10 @@
2021-07-17 G. Branden Robinson <g.branden.robinson@gmail.com>
+ * mm/ms.cov (COVEND): Fix thinko; test for existence of
+ `cov*abs-arg` register with `r` conditional operator, not `d`.
+
+2021-07-17 G. Branden Robinson <g.branden.robinson@gmail.com>
+
* m.tmac: Stop emitting debugging diagnostic using undefined
string. Problem exposed by commit
d6d98d2b3e0ad070037073bb288bbaee3fc04cf0, 8 December 2013.
diff --git a/contrib/mm/groff_mm.7.man b/contrib/mm/groff_mm.7.man
index fdd7ed0..51624c9 100644
--- a/contrib/mm/groff_mm.7.man
+++ b/contrib/mm/groff_mm.7.man
@@ -474,42 +474,73 @@ This is used when diagrams or other non-formatted
documents are
included as appendices.
.
.TP
-.BI AS\ "\fR[\fParg \fR[\fPindent\fR]]\fP"
+.B AS\~\c
+.RI [ arg \~[ indent ]]
Abstract start.
.
-Indentation is specified in \[lq]ens\[rq],
-but scaling is allowed.
+Depending on the cover sheet macros used,
+.I arg
+influences the placement of the abstract.
.
-Argument
+The default cover sheet style used when
+.B .COVER
+is called without arguments
+(and
+.B .MT
+is not called at all)
+places the abstract on the cover sheet and ignores
+.IR arg .
+.
+.
+.IP
+The memorandum types interpret
.I arg
-controls where the abstract is printed.
+as follows.
.
+.
+.IP
.RS
.TS
tab(@);
-lb lb
+lf(BI) lb
l lx.
-\fBArg@Placement\fP
+arg@Placement
0@T{
-Abstract is printed on page\~1 and on the cover sheet if used in the
-released-paper style (\fBMT 4\fP),
-otherwise it is printed on page\~1 without a cover sheet.
+The abstract is printed on page\~1 and on the cover sheet if used in the
+released-paper style
+.RB ( "MT 4" );
+otherwise,
+it is printed on page\~1 without a cover sheet.
T}
-1@Abstract is only printed on the cover sheet (\fBMT 4\fP only).
-2@T{
-Abstract is printed only on the cover sheet (if not \fBMT 4\fP).
-The cover sheet is printed without a need for \fBCS\fP.
+1@T{
+The abstract is printed only on the cover sheet
+.RB ( "MT 4"
+only).
T}
+.\" XXX: This does not appear to be implemented.
+.\"2@T{
+.\"The abstract is printed only on the cover sheet (if not
+.\".BR "MT 4" )
+.\".
+.\"The cover sheet is printed without a need for \fBCS\fP.
+.\"T}
.TE
.RE
.
+.
.IP
-An abstract is not printed at all in external letters (\fBMT 5\fP).
+An abstract is not printed at all in external letters
+.RB ( "MT 5" ).
.
+.
+.IP
The
.I indent
-parameter controls the indentation of both margins, otherwise normal
-text indentation is used.
+parameter controls the indentation of both margins;
+otherwise normal text indentation is used.
+.
+Its value is interpreted in ens by default.
+.
.
.TP
.BI AST\ \fR[\fPtitle\fR]\fP
diff --git a/contrib/mm/mm/ms.cov b/contrib/mm/mm/ms.cov
index 2d1cf7c..9b53c37 100644
--- a/contrib/mm/mm/ms.cov
+++ b/contrib/mm/mm/ms.cov
@@ -91,7 +91,8 @@ http://savannah.gnu.org/bugs/?group=groff.
.\"-----------------
.de COVEND
.br
-.if d cov*default-firm .if !d cov*firm .ds cov*firm \\*[cov*default-firm]
+.if d cov*default-firm \
+. if !d cov*firm .ds cov*firm \\*[cov*default-firm]
.sp |4.2c
.cov@print-title
.cov@print-authors
@@ -101,8 +102,14 @@ http://savannah.gnu.org/bugs/?group=groff.
.pg@enable-top-trap
.bp 1
.pg@enable-trap
-.if d cov*abs-arg .if \\n[cov*abs-arg] \{\
+.if r cov*abs-arg .if \\n[cov*abs-arg] \{\
. cov@print-abstract ABSTRACT
. SP 2
.\}
..
+.
+.\" Local Variables:
+.\" mode: nroff
+.\" fill-column: 72
+.\" End:
+.\" vim: set filetype=groff textwidth=72:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 33/35: [mm]: Fix another cover sheet nit.,
G. Branden Robinson <=