[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 36/41: groff_man*(7): Fix content, style, markup nits.
From: |
G. Branden Robinson |
Subject: |
[groff] 36/41: groff_man*(7): Fix content, style, markup nits. |
Date: |
Fri, 18 Mar 2022 00:41:32 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit ea887190f2f00b4a424fef7c5542e8db4089b7c4
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Mar 17 11:47:20 2022 +1100
groff_man*(7): Fix content, style, markup nits.
Content:
* Characterize `SH` and `SS` as taking one argument, to nudge the reader
to quote multi-word ones, as that is good (and portable) practice. It
also saves a compound subject/verb agreement pickle.
* Stop stuggesting that there are multiple kinds of indentation. For
our pedagogical purposes, there aren't.
* Try to clarify why someone would muck with the tab stops or want to
call `DT`, to reinforce our nudge of the reader toward tbl(1).
Style:
* Promote a semicolon to a colon.
* Reduce use of passive voice.
* Tighten wording.
Markup:
* Indent bulleted list only 2n. I mislike putting explicit measurements
in man page text but the default indentation sacrifices too much space
with such short paragraph tags.
* Set inline command example in bold in addition to quoting it.
---
tmac/groff_man.7.man.in | 36 +++++++++++++++---------------------
1 file changed, 15 insertions(+), 21 deletions(-)
diff --git a/tmac/groff_man.7.man.in b/tmac/groff_man.7.man.in
index 73850af7..5c3975d8 100644
--- a/tmac/groff_man.7.man.in
+++ b/tmac/groff_man.7.man.in
@@ -456,12 +456,10 @@ Set
.I heading-text
as a section heading.
.
-The text following
-.B .SH
-up to the end of the line,
+Its argument,
or the text on the next input line if
.B .SH
-is given no arguments,
+is given none,
is set with no indentation,
in bold
(or the font specified by the string
@@ -530,12 +528,10 @@ ordinary paragraph
See subsection \(lqHorizontal and vertical spacing\(rq below for the
indentation amount.
.
-The text following
-.B .SS
-up to the end of the line,
+Its argument,
or the text on the next input line if
.B .SS
-is given no arguments,
+is given none,
is set in bold
(or the font specified by the string
.BR HF ).
@@ -1087,7 +1083,7 @@ produces the following output.
Several features of the above example are of note.
.
.
-.IP \(bu
+.IP \(bu 2n
The empty request (.),
which does nothing,
is used to vertically space the input file for readability by the
@@ -1928,17 +1924,15 @@ and
.BR .SS ,
which reset it to the default).
.
-.
-The other kind of indentation is controlled by the paragraphing macros
+Indentation is controlled by the paragraphing macros
(though,
again,
.\".BR .TH ,
.B .SH
and
.B .SS
-reset it).
-.
-Indentation is imposed by the
+reset it);
+it is imposed by the
.BR .TP ,
.BR .IP ,
and deprecated
@@ -2005,8 +1999,8 @@ the left margin and indentation.
.
.IP \(bu
This indented paragraph has a bullet for a tag,
-making it more obvious that the left margin and the paragraph
-indentation are distinct;
+making it more obvious that the left margin and indentation are
+distinct;
only the former affects the tag,
but both affect the text of the paragraph.
.
@@ -2803,9 +2797,9 @@ administrator in a site's
file
(see section \(lqFiles\(rq below).
.
-The default headers and footers are documented in the description of
+The presentation of
.B .TH
-above.
+above describes the default headers and footers.
.
Because these macros are hooks for
.I groff man
@@ -2918,7 +2912,7 @@ information or distinctions that you use tab stops to
express are likely
to be lost.
.
If you feel tempted to change the tab stops such that calling this macro
-becomes desirable,
+later is desirable to restore them,
you should probably be composing a table using
.MR @g@tbl @MAN1EXT@
instead.
@@ -3488,7 +3482,7 @@ A
.I man
program or user typing,
for example,
-\(lqgroff \-mandoc page.1\(rq,
+.RB \[lq] "groff \-mandoc page.1" \[rq],
need not know which package the file
.I page.1
uses.
@@ -3741,7 +3735,7 @@ instead.
.IP
In the last example,
the empty argument does have a subtly different effect than its
-suggested replacement;
+suggested replacement:
the empty argument causes an additional space character to be
interpolated between the arguments \(lqtwo\(rq and \(lqthree\(rq\(embut
it is a regular breaking space,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 36/41: groff_man*(7): Fix content, style, markup nits.,
G. Branden Robinson <=