[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 05/05: grodvi(1): Fix page-local .FT macro usage.
From: |
G. Branden Robinson |
Subject: |
[groff] 05/05: grodvi(1): Fix page-local .FT macro usage. |
Date: |
Fri, 21 Aug 2020 06:12:17 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 50e1e83d66e67dc5479017d3f82daf962c940c72
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Aug 21 18:10:24 2020 +1000
grodvi(1): Fix page-local .FT macro usage.
...and comment it.
* src/devices/grodvi/grodvi.1.man: Comment .FT. We look at most
page-local macros with a jaundiced eye, but like its counterparts in
gropdf(1) and grops(1), this one pays its freight (also see
b21c2aed716bff4f94dcadd43e878ec3063a132c, 16 August 2020).
(Usage): In the case of the CW and CWI fonts, the lines were
incorrectly ordered so these fonts did not appear in the rendered
document. (Note: you have to generate the page with -Tdvi and then
use dvips or dvipdf for _any_ of the font switches intended by .FT.)
Problem dates back to 16f754849f33318320f0d06c4d303b1b1df524f4, 26
February 2002).
---
src/devices/grodvi/grodvi.1.man | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/devices/grodvi/grodvi.1.man b/src/devices/grodvi/grodvi.1.man
index 1d42550..d6eaaf3 100644
--- a/src/devices/grodvi/grodvi.1.man
+++ b/src/devices/grodvi/grodvi.1.man
@@ -33,6 +33,10 @@ grodvi \- convert groff output to TeX DVI format
.ie t .ds tx T\h'-.1667m'\v'.224m'E\v'-.224m'\h'-.125m'X
.el .ds tx TeX
.
+.\" 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'dvi' .ft \\$1
..
@@ -335,14 +339,14 @@ There are also the following fonts which are not members
of a family:
.RS
.TP
.B CW
-CM Typewriter Text (cmtt10)
.FT CW
+CM Typewriter Text (cmtt10)
.FT
.
.TQ
.B CWI
-CM Italic Typewriter Text (cmitt10)
.FT CWI
+CM Italic Typewriter Text (cmitt10)
.FT
.RE
.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 05/05: grodvi(1): Fix page-local .FT macro usage.,
G. Branden Robinson <=