groff-commit
[Top][All Lists]
Advanced

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

[groff] 12/24: src/devices/*/*.man: Fix style and markup nits.


From: G. Branden Robinson
Subject: [groff] 12/24: src/devices/*/*.man: Fix style and markup nits.
Date: Thu, 17 Aug 2023 08:47:31 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit bc3090a60042158a799fe0dedd308772e21aafe7
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Aug 17 00:07:13 2023 -0500

    src/devices/*/*.man: Fix style and markup nits.
    
    This is mainly recovery of good pagination after addition of the `BP`
    and `TS` registers, with their new defaults, altered page layouts.
    
    * Move some short, displayed (yet in-paragraph) examples inline.
    * Protect literals from hyphenation.
    * Use active voice more.
    * Add poor man's keeps.
    * Tighten wording.
    * Annotate manually computed tagged paragraph indentations.
---
 src/devices/grohtml/grohtml.1.man |  6 +++---
 src/devices/grolbp/grolbp.1.man   | 24 ++++++++----------------
 src/devices/grolj4/grolj4.1.man   | 23 +++++++++++------------
 src/devices/gropdf/gropdf.1.man   |  4 ++--
 src/devices/grops/grops.1.man     |  4 ++--
 src/devices/grotty/grotty.1.man   | 10 +++-------
 6 files changed, 29 insertions(+), 42 deletions(-)

diff --git a/src/devices/grohtml/grohtml.1.man 
b/src/devices/grohtml/grohtml.1.man
index 8a55c93dd..b9bd04b31 100644
--- a/src/devices/grohtml/grohtml.1.man
+++ b/src/devices/grohtml/grohtml.1.man
@@ -190,7 +190,7 @@ to HTML.
 .
 .P
 .I \%grohtml
-writes output encoded in \%UTF-8 and has built-in HTML entities for all
+writes \%UTF-8-\:encoded output and has built-in HTML entities for all
 non-composite Unicode characters.
 .
 In spite of this,
@@ -198,8 +198,8 @@ In spite of this,
 may issue warnings about unknown special characters if they can't be
 found during the first pass.
 .
-Such warnings can be safely ignored unless the special characters
-appear inside a table or equation.
+You can ignore these warnings unless the special characters appear
+inside a table or equation.
 .
 .
 .\" ====================================================================
diff --git a/src/devices/grolbp/grolbp.1.man b/src/devices/grolbp/grolbp.1.man
index c8cda762b..c43465b7f 100644
--- a/src/devices/grolbp/grolbp.1.man
+++ b/src/devices/grolbp/grolbp.1.man
@@ -268,11 +268,9 @@ The printer's font names are encoded as follows.
 For bitmapped fonts,
 .I printer-font_name
 has the form
-.RS
-.EX
-.RI N\[la] base-font-name \[ra]\[la] font-style \[ra]
-.EE
-.RE
+.B N\c
+.RI \[la] base-font-name \[ra]\[la] font-style \[ra].
+.
 .I base-font-name
 is the font name as it appears in the printer's font listings without
 the first letter,
@@ -294,15 +292,11 @@ respectively.
 .
 For instance,
 if the printer's \[lq]font listing A\[rq]
-shows \[lq]Nelite12I.ISO_USA\[rq],
+shows \%\[lq]Nelite12I.ISO_USA\[rq],
 the corresponding entry in the
 .I groff
 font description file is
-.RS
-.EX
-lbpname NeliteI
-.EE
-.RE
+.RB \[lq] "lbpname NeliteI" \[rq].
 .
 You may need to modify
 .I grolbp
@@ -312,6 +306,8 @@ since the available font names and font sizes of bitmapped 
fonts
 are hard-coded into the program.
 .
 .
+.br
+.ne 2v
 .P
 For scalable fonts,
 .I printer-font-name
@@ -322,11 +318,7 @@ For instance,
 to select the \[lq]Swiss\[rq] font in bold-italic style,
 which appears in the font listing
 as \%\[lq]Swiss\-BoldOblique\[rq],
-.RS
-.EX
-lbpname Swiss\-BoldOblique
-.EE
-.RE
+.RB \[lq] "lbpname Swiss\-BoldOblique" \[rq]
 is the required directive,
 and this is what we find in the
 .I groff
diff --git a/src/devices/grolj4/grolj4.1.man b/src/devices/grolj4/grolj4.1.man
index 4c1b6d3dd..8e950890c 100644
--- a/src/devices/grolj4/grolj4.1.man
+++ b/src/devices/grolj4/grolj4.1.man
@@ -96,7 +96,7 @@ This GNU
 .I roff
 output driver translates the output of
 .MR @g@troff @MAN1EXT@
-into a PCL5 format suitable for an HP LaserJet 4 printer.
+into a PCL5 format suitable for a Hewlett-Packard LaserJet 4 printer.
 .
 Normally,
 .I grolj4
@@ -125,7 +125,8 @@ is \[lq]\-\[rq],
 .I grolj4
 reads the standard input stream.
 .
-Output is written to the standard output stream.
+.I grolj4
+writes to the standard output stream.
 .
 .
 .\" ====================================================================
@@ -158,7 +159,7 @@ having members in each style.
 .
 .
 .RS
-.TP 14n
+.TP 9n \" "TNRBI" + 2n + hand-tuned for PDF
 .B AB
 .FT AB
 Arial Bold
@@ -380,7 +381,7 @@ The following fonts are not members of a family.
 .
 .
 .RS
-.TP 14n
+.TP 15n \" "CLARENDON" + 2n + hand-tuned for PDF
 .B ALBB
 .FT ALBB
 Albertus Extra Bold
@@ -551,14 +552,12 @@ commands.
 .\" ====================================================================
 .
 Nominally,
-all Hewlett-Packard LaserJet\~\%4-series and newer printers have the
-same internal fonts:
-45 scalable fonts and one bitmapped Lineprinter font.
-.
-The scalable fonts are available in sizes between 0.25 points and 999.75
-points,
-in 0.25-point increments;
-the Lineprinter font is available only in 8.5-point size.
+HP LaserJet\~\%4-series and newer printers have the same internal fonts.
+.
+45 fonts are scalable from 0.25 to 999.75 points in 0.25-point
+increments.
+.
+A Lineprinter font is available only at 8.5 points.
 .
 .
 .P
diff --git a/src/devices/gropdf/gropdf.1.man b/src/devices/gropdf/gropdf.1.man
index b54c6c2bc..5f0b5494c 100644
--- a/src/devices/gropdf/gropdf.1.man
+++ b/src/devices/gropdf/gropdf.1.man
@@ -451,7 +451,7 @@ each having members in each of these styles.
 .
 .
 .RS
-.TP
+.TP 8n \" BMBI + 2n + hand-tuned for PDF
 .B AR
 .FT AR
 AvantGarde-Book
@@ -651,7 +651,7 @@ Times-BoldItalic
 Another text font is not a member of a family.
 .
 .RS
-.TP
+.TP 8n \" BMBI (above) + 2n + hand-tuned for PDF
 .B ZCMI
 .FT ZCMI
 ZapfChancery-MediumItalic
diff --git a/src/devices/grops/grops.1.man b/src/devices/grops/grops.1.man
index 1ca9a3d8f..79dbc9efe 100644
--- a/src/devices/grops/grops.1.man
+++ b/src/devices/grops/grops.1.man
@@ -647,7 +647,7 @@ each having members in each of these styles.
 .
 .
 .RS
-.TP
+.TP 8n \" BMBI + 2n + hand-tuned for PDF
 .B AR
 .FT AR
 AvantGarde-Book
@@ -848,7 +848,7 @@ Another text font is not a member of a family.
 .
 .
 .RS
-.TP
+.TP 8n \" BMBI (above) + 2n + hand-tuned for PDF
 .B ZCMI
 .FT ZCMI
 ZapfChancery-MediumItalic
diff --git a/src/devices/grotty/grotty.1.man b/src/devices/grotty/grotty.1.man
index 0e6d7be86..41eabbcfa 100644
--- a/src/devices/grotty/grotty.1.man
+++ b/src/devices/grotty/grotty.1.man
@@ -292,13 +292,9 @@ There is therefore no need to filter its output through
 .\" ====================================================================
 .
 .I grotty
-supports one device control function,
-accessed with the
-.I groff
-request
-.B device
-or
-.I roff
+supports a device control command accessed with the
+.RB \%\[lq] device \[rq]
+request or
 .B \[rs]X
 escape sequence.
 .



reply via email to

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