groff-commit
[Top][All Lists]
Advanced

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

[groff] 17/23: [man pages]: Fix unescaped hyphens.


From: G. Branden Robinson
Subject: [groff] 17/23: [man pages]: Fix unescaped hyphens.
Date: Mon, 21 Mar 2022 03:44:56 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 86d151f33829ff65d4152fd97b8f1e319f480230
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Mar 21 12:12:36 2022 +1100

    [man pages]: Fix unescaped hyphens.
    
    * contrib/hdtbl/groff_hdtbl.7.man:
    * man/groff_out.5.man:
    * src/devices/grolbp/grolbp.1.man:
    * src/devices/grops/grops.1.man:
    * src/preproc/refer/refer.1.man:
    * src/preproc/tbl/tbl.1.man:
    * src/roff/troff/troff.1.man: Do it.
---
 contrib/hdtbl/groff_hdtbl.7.man |  2 +-
 man/groff_out.5.man             |  4 ++--
 src/devices/grolbp/grolbp.1.man |  2 +-
 src/devices/grops/grops.1.man   | 12 ++++++------
 src/preproc/refer/refer.1.man   |  2 +-
 src/preproc/tbl/tbl.1.man       |  2 +-
 src/roff/troff/troff.1.man      |  6 +++---
 7 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/contrib/hdtbl/groff_hdtbl.7.man b/contrib/hdtbl/groff_hdtbl.7.man
index 0fd06c59..b286a664 100644
--- a/contrib/hdtbl/groff_hdtbl.7.man
+++ b/contrib/hdtbl/groff_hdtbl.7.man
@@ -1243,7 +1243,7 @@ For example:
 .PP
 .RS
 .EX
-\&.am pg@end-text
+\&.am pg@end\-text
 \&.  t*EM
 \&..
 .EE
diff --git a/man/groff_out.5.man b/man/groff_out.5.man
index 560766d1..31a29399 100644
--- a/man/groff_out.5.man
+++ b/man/groff_out.5.man
@@ -1486,10 +1486,10 @@ In
 .BR groff ,
 this is only used for the devices
 .BR X75 ,
-.BR X75-12 ,
+.BR X75\-12 ,
 .BR X100 ,
 and
-.BR X100-12 .
+.BR X100\-12 .
 .
 For other devices,
 the commands
diff --git a/src/devices/grolbp/grolbp.1.man b/src/devices/grolbp/grolbp.1.man
index 29351b62..fc5cd12f 100644
--- a/src/devices/grolbp/grolbp.1.man
+++ b/src/devices/grolbp/grolbp.1.man
@@ -425,7 +425,7 @@ as \(oqSwiss-Bold\(cq, the required
 command line is
 .sp 1
 .in +2m
-.B lbpname Swiss-Bold
+.B lbpname Swiss\-Bold
 .in -2m
 .sp 1
 .
diff --git a/src/devices/grops/grops.1.man b/src/devices/grops/grops.1.man
index cfc86deb..69958bf6 100644
--- a/src/devices/grops/grops.1.man
+++ b/src/devices/grops/grops.1.man
@@ -220,9 +220,9 @@ comments.
 .
 .IP
 Add\~8 to write
-.B %!PS-Adobe-2.0
+.B %!PS\-Adobe\-2.0
 rather than
-.B %!PS-Adobe-3.0
+.B %!PS\-Adobe\-3.0
 as the first line of the PostScript output;
 this is needed when using Sun's Newsprint with a printer that requires
 page reversal.
@@ -541,7 +541,7 @@ for example by beginning with the following lines.
 .
 .RS
 .EX
-%!PS-Adobe-3.0 Resource-Font
+%!PS\-Adobe\-3.0 Resource\-Font
 %%DocumentNeededResources: font Garamond
 %%EndComments
 %%IncludeResource: font Garamond
@@ -1270,7 +1270,7 @@ produces an EPS file.
 groff \-P\-b16 "$1" > "$1".ps
 gs \-dNOPAUSE \-sDEVICE=bbox \-\- "$1".ps 2> "$1".bbox
 sed \-e "/\[ha]%%Orientation/r $1.bbox" \[rs]
-    \-e "/\[ha]%!PS-Adobe-3.0/s/$/ EPSF-3.0/" "$1".ps > "$1".eps
+    \-e "/\[ha]%!PS\-Adobe\-3.0/s/$/ EPSF\-3.0/" "$1".ps > "$1".eps
 rm "$1".ps "$1".bbox
 .EE
 .RE
@@ -1395,7 +1395,7 @@ A PFA file begins as follows.
 .RS
 .RS \" We need two RS calls to get inboard of the paragraph indentation.
 .EX
-%!PS-AdobeFont-1.0:
+%!PS\-AdobeFont\-1.0:
 .EE
 .RE
 .
@@ -1406,7 +1406,7 @@ A Type\~42 font file begins as follows.
 .
 .RS \" We need two RS calls to get inboard of the paragraph indentation.
 .EX
-%!PS-TrueTypeFont
+%!PS\-TrueTypeFont
 .EE
 .RE
 .
diff --git a/src/preproc/refer/refer.1.man b/src/preproc/refer/refer.1.man
index c51c5666..e0c5a66f 100644
--- a/src/preproc/refer/refer.1.man
+++ b/src/preproc/refer/refer.1.man
@@ -1058,7 +1058,7 @@ The default behavior is as follows.
 .RS \" RS twice to get inboard of the tagged paragraph indentation.
 .RS
 .EX
-.B bracket-label \e*([. \e*(.] \[dq], \[dq]
+.B bracket\-label \e*([. \e*(.] \[dq], \[dq]
 .EE
 .RE
 .RE
diff --git a/src/preproc/tbl/tbl.1.man b/src/preproc/tbl/tbl.1.man
index b46e733a..7808bd63 100644
--- a/src/preproc/tbl/tbl.1.man
+++ b/src/preproc/tbl/tbl.1.man
@@ -1708,7 +1708,7 @@ Protein;3
 \&.T&
 LN,AN.
 Mineral
-Pu-239;14.6
+Pu\-239;14.6
 _
 \&.T&
 LN.
diff --git a/src/roff/troff/troff.1.man b/src/roff/troff/troff.1.man
index ea94b8b6..2c78ee04 100644
--- a/src/roff/troff/troff.1.man
+++ b/src/roff/troff/troff.1.man
@@ -489,7 +489,7 @@ Bit@Code@Category@Bit@Code@Category
 _
 0@1@char@10@1024@reg
 1@2@number@11@2048@tab
-2@4@break@12@4096@right-brace
+2@4@break@12@4096@right\-brace
 3@8@delim@13@8192@missing
 4@16@el@14@16384@input
 5@32@scale@15@32768@escape
@@ -502,7 +502,7 @@ _
 .
 .
 .P
-.nr x \w'\fBright-brace'+1n+\w'00000'u
+.nr x \w'\fBright\-brace'+1n+\w'00000'u
 .ta \nxuR
 .
 .
@@ -648,7 +648,7 @@ So, in most cases, at most one warning is given for each 
name.
 .
 .
 .TP
-.BR right-brace "\t4096"
+.BR right\-brace "\t4096"
 A right brace escape sequence
 .B \[rs]}
 was encountered where a number was expected.



reply via email to

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