[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 06/09: gropdf(1), grops(1): Kill off more bullet strings.
From: |
G. Branden Robinson |
Subject: |
[groff] 06/09: gropdf(1), grops(1): Kill off more bullet strings. |
Date: |
Sat, 15 Aug 2020 13:15:54 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit b21c2aed716bff4f94dcadd43e878ec3063a132c
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Aug 16 01:21:35 2020 +1000
gropdf(1), grops(1): Kill off more bullet strings.
* src/devices/gropdf/gropdf.1.man:
* src/devices/grops/grops.1.man: Delete page-local BU string defining a
bullet character. Delete page-local LI macro which appears to have
attempted to work around the problem described in commit
56aa34189b265bd2ff1b3d9fa3886cfec98b20e2 by calling .IP with the
desired indentation, a null tag, and then using negative horizontal
motion and width escapes to overprint the "empty" tag area. Good
grief. Do away with all this nonsense in favor of plain \bu and the
default fat indentation. Shouldn't we just root-cause the but in .IP
and fix it, instead?
A page-local macro, .FT, remains. However, this one I believe
justifies its existence, in these pages only. Add comment to explain.
---
src/devices/gropdf/gropdf.1.man | 17 ++++++++---------
src/devices/grops/grops.1.man | 17 ++++++++---------
2 files changed, 16 insertions(+), 18 deletions(-)
diff --git a/src/devices/gropdf/gropdf.1.man b/src/devices/gropdf/gropdf.1.man
index 602f280..076fd05 100644
--- a/src/devices/gropdf/gropdf.1.man
+++ b/src/devices/gropdf/gropdf.1.man
@@ -30,6 +30,10 @@ gropdf \- PDF driver for groff
.\" instead of in the original English.
.
.
+.\" This macro definition is poor style from a portability standpoint,
+.\" but it's a good test and demonstration of the standard font
+.\" repertoire for the devices where it has any effect at all, and so
+.\" should be retained.
.de FT
. if '\\*(.T'ps' .ft \\$1
. if '\\*(.T'pdf' .ft \\$1
@@ -1176,12 +1180,7 @@ This section gives a summary of the above explanations;
it can serve
as a step-by-step font installation guide for
.BR gropdf .
.
-.ds BU \[bu]\ \ \"
-.de LI
-.IP "" 4
-\h'-\w'\*[BU]'u'\*[BU]\c
-..
-.LI
+.IP \(bu
Convert your font to something groff understands.
.
This is either a PostScript Type\~1 font in either PFA or PFB,
@@ -1199,7 +1198,7 @@ The very first line in a PFA/PFB file contains this:
A PFB file has this also in the first line, but the string is
preceded with some binary bytes.
.
-.LI
+.IP \(bu
Convert the AFM file to a groff font description file with the
.BR \%afmtodit (@MAN1EXT@)
program.
@@ -1235,7 +1234,7 @@ and the groff font names are
and
.BR TBI .
.
-.LI
+.IP \(bu
Install both the groff font description files and the fonts in a
\[oq]devpdf\[cq] subdirectory of the font path which groff finds.
.
@@ -1246,7 +1245,7 @@ for the actual value of the font path.
Note that groff doesn't use the AFM files (but it is a good idea to
store them anyway).
.
-.LI
+.IP \(bu
Register all fonts which must be downloaded to the printer in the
.I devpdf/download
file.
diff --git a/src/devices/grops/grops.1.man b/src/devices/grops/grops.1.man
index 9730eb9..6468afa 100644
--- a/src/devices/grops/grops.1.man
+++ b/src/devices/grops/grops.1.man
@@ -30,6 +30,10 @@ grops \- PostScript driver for groff
.\" instead of in the original English.
.
.
+.\" This macro definition is poor style from a portability standpoint,
+.\" but it's a good test and demonstration of the standard font
+.\" repertoire for the devices where it has any effect at all, and so
+.\" should be retained.
.de FT
. if '\\*(.T'ps' .ft \\$1
. if '\\*(.T'pdf' .ft \\$1
@@ -1224,12 +1228,7 @@ This section gives a summary of the above explanations;
it can serve
as a step-by-step font installation guide for
.BR grops .
.
-.ds BU \[bu]\ \ \"
-.de LI
-.IP "" 4
-\h'-\w'\*[BU]'u'\*[BU]\c
-..
-.LI
+.IP \(bu
Convert your font to something groff understands.
.
This is either a PostScript Type\~1 font in PFA format or a PostScript
@@ -1276,7 +1275,7 @@ For all other font formats use
.B fontforge
which can convert most outline font formats.
.
-.LI
+.IP \(bu
Convert the AFM file to a groff font description file with the
.BR \%afmtodit (@MAN1EXT@)
program.
@@ -1315,7 +1314,7 @@ and the groff font names are
and
.BR TBI .
.
-.LI
+.IP \(bu
Install both the groff font description files and the fonts in a
.I devps
subdirectory of the font path which groff finds.
@@ -1327,7 +1326,7 @@ for the actual value of the font path.
Note that groff doesn't use the AFM files (but it is a good idea
to store them anyway).
.
-.LI
+.IP \(bu
Register all fonts which must be downloaded to the printer in the
.I devps/download
file.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 06/09: gropdf(1), grops(1): Kill off more bullet strings.,
G. Branden Robinson <=