groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: www.tmac: Rename font 'C' to 'CR'; define 'CR'.


From: G. Branden Robinson
Subject: [groff] 01/01: www.tmac: Rename font 'C' to 'CR'; define 'CR'.
Date: Sun, 22 Oct 2017 04:41:06 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 0de1d6d79cdb959ffa7dac3af77c2a36ef31873f
Author: G. Branden Robinson <address@hidden>
Date:   Sun Oct 22 04:33:46 2017 -0400

    www.tmac: Rename font 'C' to 'CR'; define 'CR'.
    
    The font name 'C' ('CW') is not a part of groff's fonts.
    
    Fixes Savannah #51417 and half of #51426.
    
    Signed-off-by: Bjarni Ingi Gislason <address@hidden>
    Signed-off-by: G. Branden Robinson <address@hidden>
---
 tmac/groff_www.7.man |  4 ++--
 tmac/www.tmac.in     | 13 +++++++++++--
 2 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/tmac/groff_www.7.man b/tmac/groff_www.7.man
index fe20eeb..c6e1273 100644
--- a/tmac/groff_www.7.man
+++ b/tmac/groff_www.7.man
@@ -233,7 +233,7 @@ or
 it appears as:
 .RS
 .IP
-foo \[la]\f[C]http://foo.org\f[]\[ra]:
+foo \[la]\f[CR]http://foo.org\f[]\[ra]:
 .RE
 .
 .IP
@@ -646,7 +646,7 @@ The macro set initializes itself with the following call
 .IP
 .nf
 .ft B
-\&.LINKSTYLE blue C \e[la] \e[ra]
+\&.LINKSTYLE blue CR \e[la] \e[ra]
 .ft P
 .fi
 .RE
diff --git a/tmac/www.tmac.in b/tmac/www.tmac.in
index ccc2399..98542e3 100644
--- a/tmac/www.tmac.in
+++ b/tmac/www.tmac.in
@@ -51,6 +51,15 @@ HTML always denotes XHTML also.
 .cp 0
 .
 .
+.\" Taken from tmac/an-ext.tmac
+.\" Map mono-width fonts to standard fonts for groff's TTY device.
+.if n \{\
+.  do ftr CR R
+.  do ftr CW R
+.  do ftr CI I
+.  do ftr CB B
+.\}
+.
 .ie r xhtml \
 .  ds www-> />\"
 .el \
@@ -1472,7 +1481,7 @@ HTML always denotes XHTML also.
 .\" start of some code
 .\"
 .de CDS
-.  ft C
+.  ft CR
 .  nf
 ..
 .
@@ -1603,7 +1612,7 @@ HTML always denotes XHTML also.
 .\" final setup
 .\" --------------------------------------------------------------------
 .
-.LINKSTYLE blue C \[la] \[ra]
+.LINKSTYLE blue CR \[la] \[ra]
 .
 .if \n[www-html] \{\
 .  nh



reply via email to

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