[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 17/35: [man pages]: Fix markup nit.
From: |
G. Branden Robinson |
Subject: |
[groff] 17/35: [man pages]: Fix markup nit. |
Date: |
Mon, 21 Feb 2022 06:15:55 -0500 (EST) |
gbranden pushed a commit to branch master
in repository groff.
commit 56d384c2e27398ae96c4947cdd17937ba9c28406
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Feb 16 20:33:20 2022 +1100
[man pages]: Fix markup nit.
Add hyphenation control characters to prevent hyphenation of file names.
---
contrib/chem/chem.1.man | 4 ++--
contrib/mm/groff_mm.7.man | 4 ++--
contrib/pdfmark/pdfroff.1.man | 20 +++++---------------
man/groff_tmac.5.man | 4 ++--
src/devices/grolj4/lj4_font.5.man | 6 +++---
src/devices/gropdf/gropdf.1.man | 8 ++++----
src/roff/nroff/nroff.1.man | 2 +-
src/utils/afmtodit/afmtodit.1.man | 2 +-
tmac/groff_man.7.man.in | 18 +++++++++---------
tmac/groff_ms.7.man | 4 ++--
10 files changed, 31 insertions(+), 41 deletions(-)
diff --git a/contrib/chem/chem.1.man b/contrib/chem/chem.1.man
index 83c4d1a2..d4ed5cc5 100644
--- a/contrib/chem/chem.1.man
+++ b/contrib/chem/chem.1.man
@@ -843,12 +843,12 @@ to center
diagrams.
.
.TP
-.IR @DOCDIR@/\:examples/\:chem/\: * .chem
+.IR @DOCDIR@/\:\%examples/\:chem/\: * .chem
Example files for
.IR chem .
.
.TP
-.IR @DOCDIR@/\:examples/\:chem/\:122/\: * .chem
+.IR @DOCDIR@/\:\%examples/\:chem/\:122/\: * .chem
Example files from the
.I chem
article by its authors,
diff --git a/contrib/mm/groff_mm.7.man b/contrib/mm/groff_mm.7.man
index 21866f91..d83139f8 100644
--- a/contrib/mm/groff_mm.7.man
+++ b/contrib/mm/groff_mm.7.man
@@ -118,11 +118,11 @@ illustrates how to adapt the output to a national
standard using its ISO
3166 territory code.
.
Such a package can define a string that causes a macro file
-.IR \%@MACRODIR@/\:mm/\: territory _locale
+.IR \%@MACRODIR@/\:mm/\:\% territory _locale
to be loaded at package initialization.
.
If this mechanism is not used,
-.I \%@MACRODIR@/\:mm/\:locale
+.I \%@MACRODIR@/\:mm/\:\%locale
is loaded instead.
.
No diagnostic is produced if these files do not exist.
diff --git a/contrib/pdfmark/pdfroff.1.man b/contrib/pdfmark/pdfroff.1.man
index ed16fff2..b9e504e9 100644
--- a/contrib/pdfmark/pdfroff.1.man
+++ b/contrib/pdfmark/pdfroff.1.man
@@ -27,16 +27,6 @@ pdfroff \- construct files in Portable Document Format using
groff
.
.
.\" ====================================================================
-.\" Local macro definitions
-.
-.hw pdfmark
-.
-.
-.\" ====================================================================
-.
-.
-.
-.\" ====================================================================
.SH Synopsis
.\" ====================================================================
.
@@ -137,7 +127,7 @@ however,
it
.I does
include specific built in support for the
-.I pdfmark
+.I \%pdfmark
macro package,
should the user choose to employ it.
.
@@ -146,7 +136,7 @@ if the
.I pdfhref
macro,
defined in the
-.I pdfmark.tmac
+.I \%pdfmark.tmac
package,
is used to define public reference marks,
or dynamic links to such reference marks,
@@ -932,14 +922,14 @@ the use of any specific
macro package,
a number of supplied macro packages,
and in particular those associated with the package
-.IR pdfmark.tmac ,
+.IR \%pdfmark.tmac ,
are best suited for use with
.I pdfroff
as the preferred formatter.
.
.
.TP
-.I @PDFDOCDIR@/\:pdfmark.pdf
+.I @PDFDOCDIR@/\:\%pdfmark.pdf
\[lq]Portable Document Format Publishing with GNU
.IR Troff \[rq],
by Keith Marshall,
@@ -947,7 +937,7 @@ offers detailed documentation on the use of these packages.
.
This file,
together with its source,
-.IR pdfmark.ms ,
+.IR \%pdfmark.ms ,
is part of the
.I groff
distribution.
diff --git a/man/groff_tmac.5.man b/man/groff_tmac.5.man
index 2599e071..0576274c 100644
--- a/man/groff_tmac.5.man
+++ b/man/groff_tmac.5.man
@@ -852,7 +852,7 @@ above the footnote separator and re-open them on the next
page.
.
.IP
See
-.UR file://\%@DOCDIR@/\:msboxes\:.pdf
+.UR file://\%@DOCDIR@/\:\%msboxes\:.pdf
\[lq]Using PDF boxes with
.I groff
and the
@@ -1083,7 +1083,7 @@ automatically.
For example, suppose a macro file is stored as
.
.IP
-.I @MACRODIR@/\:macros\:.tmac
+.I @MACRODIR@/\:\%macros\:.tmac
.
.P
and is used in some document called
diff --git a/src/devices/grolj4/lj4_font.5.man
b/src/devices/grolj4/lj4_font.5.man
index 75763ba6..e07d49b8 100644
--- a/src/devices/grolj4/lj4_font.5.man
+++ b/src/devices/grolj4/lj4_font.5.man
@@ -202,7 +202,7 @@ and braces used by
.
A script,
located in
-.IR \%@FONTDIR@/\:devlj4/\:generate ,
+.IR \%@FONTDIR@/\:\%devlj4/\:generate ,
can be used to adjust the metrics for these glyphs in the special font
\[lq]S\[rq] for use with printers that have all TrueType fonts.
.
@@ -233,14 +233,14 @@ and one for more recent TFM files.
.\" ====================================================================
.
.TP
-.I \%@FONTDIR@/\:devlj4/\:DESC
+.I \%@FONTDIR@/\:\%devlj4/\:DESC
describes the
.B lj4
output device.
.
.
.TP
-.IR \%@FONTDIR@/\:devlj4/\: F
+.IR \%@FONTDIR@/\:\%devlj4/\: F
describes the font known
.RI as\~ F
on device
diff --git a/src/devices/gropdf/gropdf.1.man b/src/devices/gropdf/gropdf.1.man
index ce321e97..b132929a 100644
--- a/src/devices/gropdf/gropdf.1.man
+++ b/src/devices/gropdf/gropdf.1.man
@@ -350,7 +350,7 @@ Fonts may be in PFA or PFB format.
Any downloadable fonts which should, when required, be included by
.B gropdf
must be listed in the file
-.IR @FONTDIR@/\:devpdf/\:download ;
+.IR @FONTDIR@/\:\%devpdf/\:\%download ;
this should consist of lines of the form
.
.IP
@@ -1561,7 +1561,7 @@ output device is selected.
.
.
.TP
-.I \%@MACRODIR@/\:pdfpic\:.tmac
+.I \%@MACRODIR@/\:\%pdfpic\:.tmac
defines the
.B PDFPIC
macro for embedding images in a document;
@@ -1587,9 +1587,9 @@ It is automatically loaded by
.\" ====================================================================
.
.TP
-.I \%@DOCDIR@/\:sboxes/\:msboxes\:.ms
+.I \%@DOCDIR@/\:\%sboxes/\:\%msboxes\:.ms
.TQ
-.I \%@DOCDIR@/\:sboxes/\:msboxes\:.pdf
+.I \%@DOCDIR@/\:\%sboxes/\:\%msboxes\:.pdf
\[lq]Using PDF boxes with
.I groff
and the
diff --git a/src/roff/nroff/nroff.1.man b/src/roff/nroff/nroff.1.man
index 0b7a35d3..2f134316 100644
--- a/src/roff/nroff/nroff.1.man
+++ b/src/roff/nroff/nroff.1.man
@@ -290,7 +290,7 @@ or the values specified are invalid.
.\" ====================================================================
.
.TP
-.I \%@MACRODIR@/\:tty\-char\:.tmac
+.I \%@MACRODIR@/\:\%tty\-char\:.tmac
Character definitions from this file are loaded to replace
unrepresentable glyphs.
.
diff --git a/src/utils/afmtodit/afmtodit.1.man
b/src/utils/afmtodit/afmtodit.1.man
index 2b3746c9..6c2ced4d 100644
--- a/src/utils/afmtodit/afmtodit.1.man
+++ b/src/utils/afmtodit/afmtodit.1.man
@@ -466,7 +466,7 @@ device refers to it.
.
.
.TP
-.I \%@FONTDIR@/\:\%devps/\:\%generate/\:textmap
+.I \%@FONTDIR@/\:\%devps/\:\%generate/\:\%textmap
maps names in the Adobe Glyph List to
.I groff
special character identifiers.
diff --git a/tmac/groff_man.7.man.in b/tmac/groff_man.7.man.in
index 373fb8e3..da16f0da 100644
--- a/tmac/groff_man.7.man.in
+++ b/tmac/groff_man.7.man.in
@@ -603,7 +603,7 @@ support them.
.
To be certain your page will be portable to systems that do not,
copy their definitions from the
-.I an\-ext.tmac
+.I \%an\-ext.tmac
file of a
.I groff
installation.
@@ -773,7 +773,7 @@ or
Solaris
.IR troff ;
see
-.I an\-ext.tmac
+.I \%an\-ext.tmac
in section \(lqFiles\(rq below.
_ifstyle()dnl
.
@@ -874,7 +874,7 @@ or
Solaris
.IR troff ;
see
-.I an\-ext.tmac
+.I \%an\-ext.tmac
in section \(lqFiles\(rq below.
.
.
@@ -1175,7 +1175,7 @@ or
Solaris
.IR troff ; \" Solaris
see
-.I an\-ext.tmac
+.I \%an\-ext.tmac
in section \(lqFiles\(rq below.
.
The plan9port project's
@@ -2306,7 +2306,7 @@ as they may not yet be built in to some viewer that is
important to your
audience.
.
See
-.I an\-ext.tmac
+.I \%an\-ext.tmac
in section \(lqFiles\(rq below.
.
.
@@ -3436,12 +3436,12 @@ Most
macros are contained in this file.
.
It also loads the extensions from
-.I an\-ext.tmac
+.I \%an\-ext.tmac
(see below).
.
.
.TP
-.I \%@MACRODIR@/\:andoc\:.tmac
+.I \%@MACRODIR@/\:\%andoc\:.tmac
This brief
.I groff
program detects whether the
@@ -3474,7 +3474,7 @@ reloads each macro package as necessary.
.
.
.TP
-.I \%@MACRODIR@/\:an\-ext\:.tmac
+.I \%@MACRODIR@/\:\%an\-ext\:.tmac
Definitions of macros described above as extensions
.RB ( .SY ,
.BR .YS ,
@@ -3533,7 +3533,7 @@ This is a wrapper that loads
.
.
.TP
-.I \%@MACRODIR@/\:mandoc\:.tmac
+.I \%@MACRODIR@/\:\%mandoc\:.tmac
This is a wrapper that loads
.IR \%andoc.tmac .
.
diff --git a/tmac/groff_ms.7.man b/tmac/groff_ms.7.man
index 2db807c6..108f980d 100644
--- a/tmac/groff_ms.7.man
+++ b/tmac/groff_ms.7.man
@@ -2618,9 +2618,9 @@ Larry Kollar.
.
.
.TP
-.I \%@DOCDIR@/\:msboxes\:.ms
+.I \%@DOCDIR@/\:\%msboxes\:.ms
.TQ
-.I \%@DOCDIR@/\:msboxes\:.pdf
+.I \%@DOCDIR@/\:\%msboxes\:.pdf
\[lq]Using PDF boxes with
.I groff
and the
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 17/35: [man pages]: Fix markup nit.,
G. Branden Robinson <=