[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 04/12: man pages: Use configured suffix for groff pages.
From: |
G. Branden Robinson |
Subject: |
[groff] 04/12: man pages: Use configured suffix for groff pages. |
Date: |
Mon, 24 Aug 2020 08:15:37 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 94ea850b4ef36515100c95b59c88435f71cb6549
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Aug 22 16:50:04 2020 +1000
man pages: Use configured suffix for groff pages.
Use strings replaced by sed at build time for section numbers of groff
man pages.
---
contrib/gdiffmk/gdiffmk.1.man | 6 +++---
contrib/gperl/gperl.1.man | 2 +-
contrib/gpinyin/gpinyin.1.man | 2 +-
contrib/hdtbl/groff_hdtbl.7.man | 6 +++---
man/groff.7.man | 4 ++--
man/groff_out.5.man | 2 +-
man/roff.7.man | 3 ++-
src/devices/grotty/grotty.1.man | 2 +-
src/utils/hpftodit/hpftodit.1.man | 2 +-
tmac/groff_me.7.man | 14 +++++++-------
10 files changed, 22 insertions(+), 21 deletions(-)
diff --git a/contrib/gdiffmk/gdiffmk.1.man b/contrib/gdiffmk/gdiffmk.1.man
index be4b807..dfbdc43 100644
--- a/contrib/gdiffmk/gdiffmk.1.man
+++ b/contrib/gdiffmk/gdiffmk.1.man
@@ -68,10 +68,10 @@ gdiffmk \- mark differences between groff/nroff/troff files
.
.B gdiffmk
compares two
-.BR groff (1),
-.BR nroff (1),
+.BR groff (@MAN1EXT@),
+.BR nroff (@MAN1EXT@),
or
-.BR troff (1)
+.BR troff (@MAN1EXT@)
documents,
.I file1
and
diff --git a/contrib/gperl/gperl.1.man b/contrib/gperl/gperl.1.man
index e11db22..5ba7cb8 100644
--- a/contrib/gperl/gperl.1.man
+++ b/contrib/gperl/gperl.1.man
@@ -60,7 +60,7 @@ This is a preprocessor for
It allows the use of
.BR perl (7)
code in
-.BR groff (7)
+.BR groff (@MAN7EXT@)
files.
.
The result of a
diff --git a/contrib/gpinyin/gpinyin.1.man b/contrib/gpinyin/gpinyin.1.man
index fce3337..2845c07 100644
--- a/contrib/gpinyin/gpinyin.1.man
+++ b/contrib/gpinyin/gpinyin.1.man
@@ -66,7 +66,7 @@ gpinyin \- use Hanyu Pinyin Chinese in roff
is a preprocessor for
.BR \%groff (@MAN1EXT@)
that facilitates use of the Hanyu Pinyin
-.BR groff (7)
+.BR groff (@MAN7EXT@)
files.
.
Pinyin is a method for writing the Chinese language with the Latin
diff --git a/contrib/hdtbl/groff_hdtbl.7.man b/contrib/hdtbl/groff_hdtbl.7.man
index df60df7..bcac99b 100644
--- a/contrib/hdtbl/groff_hdtbl.7.man
+++ b/contrib/hdtbl/groff_hdtbl.7.man
@@ -1280,19 +1280,19 @@ Joachim Walsdorff
.SH "See Also"
.\" ====================================================================
.TP
-.BR groff (1)
+.BR groff (@MAN1EXT@)
provides an overview of GNU
.I roff
and details how to invoke
.I groff
at the command line.
.TP
-.BR groff (7)
+.BR groff (@MAN7EXT@)
summarizes the
.I roff
language and GNU extensions to it.
.TP
-.BR tbl (1)
+.BR tbl (@MAN1EXT@)
describes the traditional
.I roff
preprocessor for tables.
diff --git a/man/groff.7.man b/man/groff.7.man
index 435e16b..666343d 100644
--- a/man/groff.7.man
+++ b/man/groff.7.man
@@ -529,7 +529,7 @@ and the tilde
.
All are available if required;
see
-.IR groff_char (7).
+.IR groff_char (@MAN7EXT@).
.
.
.P
@@ -3868,7 +3868,7 @@ is
which can also be specified as
.BR \['A] ;
see
-.BR groff_char (7).
+.BR groff_char (@MAN7EXT@).
.
.
.P
diff --git a/man/groff_out.5.man b/man/groff_out.5.man
index a1fe538..654de82 100644
--- a/man/groff_out.5.man
+++ b/man/groff_out.5.man
@@ -1846,7 +1846,7 @@ format.
.
James Clark wrote an early version of this document, which described
only the differences between
-.BR ditroff (7)'s
+.BR ditroff (@MAN7EXT@)'s
output format and that of GNU
.IR roff .
.
diff --git a/man/roff.7.man b/man/roff.7.man
index d975f52..286805b 100644
--- a/man/roff.7.man
+++ b/man/roff.7.man
@@ -956,7 +956,7 @@ is either a system supplied command or a shell script of
your own.
More details for
.I file name extensions
can be found at
-.BR groff_filenames (5).
+.BR groff_filenames (@MAN5EXT@).
.
.
.\" ====================================================================
@@ -1388,6 +1388,7 @@ contains a survey of all documentation available in
.
.P
On other systems, you are on your own, but
+.\" page maintainers: don't @MAN1EXT@ this reference to a foreign troff.
.BR troff (1)
might be a good starting point.
.
diff --git a/src/devices/grotty/grotty.1.man b/src/devices/grotty/grotty.1.man
index 698f0ad..d59d81c 100644
--- a/src/devices/grotty/grotty.1.man
+++ b/src/devices/grotty/grotty.1.man
@@ -680,7 +680,7 @@ Some implementations of
completely disable them.
.
See subsection \[lq]Portability\[rq] of
-.IR groff_man (7)
+.IR groff_man (@MAN7EXT@)
for guidance on writing man pages that are viewable by as many readers
as possible.
.
diff --git a/src/utils/hpftodit/hpftodit.1.man
b/src/utils/hpftodit/hpftodit.1.man
index 6350ebc..4c43677 100644
--- a/src/utils/hpftodit/hpftodit.1.man
+++ b/src/utils/hpftodit/hpftodit.1.man
@@ -101,7 +101,7 @@ are the
.I groff
names of the character
(see
-.BR groff_char (7)
+.BR groff_char (@MAN7EXT@)
for a list).
.
The values can be separated by any whitespace;
diff --git a/tmac/groff_me.7.man b/tmac/groff_me.7.man
index ed1ec0a..cf5c62d 100644
--- a/tmac/groff_me.7.man
+++ b/tmac/groff_me.7.man
@@ -484,8 +484,8 @@ documenting it while an undergraduate at the University of
California.
.SH "See Also"
.\" ====================================================================
.
-.BR groff (1),
-.BR troff (1)
+.BR groff (@MAN1EXT@),
+.BR troff (@MAN1EXT@)
.
.
.PP
@@ -517,12 +517,12 @@ by Eric P.\& Allman and James Clark.
For preprocessors supported by
.IR me ,
see
-.BR eqn (1),
-.BR grn (1),
-.BR pic (1),
-.BR refer (1),
+.BR eqn (@MAN1EXT@),
+.BR grn (@MAN1EXT@),
+.BR pic (@MAN1EXT@),
+.BR refer (@MAN1EXT@),
and
-.BR tbl (1).
+.BR tbl (@MAN1EXT@).
.
.
.\" Restore compatibility mode (for, e.g., Solaris 10/11).
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 04/12: man pages: Use configured suffix for groff pages.,
G. Branden Robinson <=