summaryrefslogtreecommitdiff
path: root/tmac
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2023-02-06 12:11:43 -0600
committerG. Branden Robinson <g.branden.robinson@gmail.com>2023-02-09 10:33:56 -0600
commit5278dee79a180a453a73d54ec4cc7e164dafcdd5 (patch)
treeb59d250ecbd484ec57c1400c612fbdaab98f2ec7 /tmac
parent9f9937195d04e74846ced2420f3f4a6631cbe425 (diff)
downloadgroff-git-5278dee79a180a453a73d54ec4cc7e164dafcdd5.tar.gz
tmac/{man,mdoc}.local: Add "CW" font advice.
Add commented-out technique for coping with this unportable font name. Prompted by Bjarni Ingi Gislason in <https://savannah.gnu.org/bugs/?63768>.
Diffstat (limited to 'tmac')
-rw-r--r--tmac/man.local6
-rw-r--r--tmac/mdoc.local6
2 files changed, 12 insertions, 0 deletions
diff --git a/tmac/man.local b/tmac/man.local
index da7cd6c9c..ed5706b41 100644
--- a/tmac/man.local
+++ b/tmac/man.local
@@ -8,6 +8,12 @@
. if !r U \
. nr U 0
.\"
+.\" "CW" is not a portable font name, but some man pages use it anyway.
+.\" Uncomment this to suppress warnings produced by such pages. This
+.\" test remaps the font to roman ("R") on nroff (terminal) devices. You
+.\" might prefer to remap it to bold ("B") instead.
+.\" .if n .ftr CW R
+.\"
.\" Local Variables:
.\" mode: nroff
.\" fill-column: 72
diff --git a/tmac/mdoc.local b/tmac/mdoc.local
index b219285d1..94688aba0 100644
--- a/tmac/mdoc.local
+++ b/tmac/mdoc.local
@@ -2,6 +2,12 @@
.\"
.\" Put local modifications to groff_mdoc(7)'s behavior here.
.\"
+.\" "CW" is not a portable font name, but some man pages use it anyway.
+.\" Uncomment this to suppress warnings produced by such pages. This
+.\" test remaps the font to roman ("R") on nroff (terminal) devices. You
+.\" might prefer to remap it to bold ("B") instead.
+.\" .if n .ftr CW R
+.\"
.\" Local Variables:
.\" mode: nroff
.\" fill-column: 72