groff-commit
[Top][All Lists]
Advanced

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

[groff] 02/11: tmac/{man,mdoc}.local: Add "CW" font advice.


From: G. Branden Robinson
Subject: [groff] 02/11: tmac/{man,mdoc}.local: Add "CW" font advice.
Date: Thu, 9 Feb 2023 19:43:52 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 5278dee79a180a453a73d54ec4cc7e164dafcdd5
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Feb 6 12:11:43 2023 -0600

    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>.
---
 tmac/man.local  | 6 ++++++
 tmac/mdoc.local | 6 ++++++
 2 files changed, 12 insertions(+)

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



reply via email to

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