[bug #68261] [man] offer advice on (not) using Courier/monospace/typewritten font in man pages

Deri James <[email protected]>
Newsgroups gmane.comp.printing.groff.bugs
Message-ID <[email protected]>
Follow-up Comment #7, bug #68261 (group groff):


> 3.  Use a GNU troff feature to remap the font to something that > will work
> better in context.  This too can be done in "man.local".  You could also do
> it in the document itself, but that would override user preferences that
> might be configured in "man.local" on a target system.

> .if n if \n(.g .do .ftr C B \" bold on terminals
> .if t if \n(.g .do .ftr C CR \" Courier roman on typesetters

I don't think this works (to suppress the warning).

[derij@pip build (master)]$ printf ".ftr C HR\n\\\fCHello\\\fP\n"|groff -Z
troff:<standard input>:2: warning: font name 'C' is deprecated [-w font]
x T ps
x res 72000 1 1
x init
p1
x font 25 HR
f25
s10000
md
DFd
V12000
H72000
tHello
n12000 0
x trailer
V792000
x stop

It works for nroff though.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?68261>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCagNLRwAKCRCqLAuaBUf3
Ttl0AP0YUvf0BY6yyY++soQau03Y2aQMwhfJrwQK8omNvlwXzQEAvsy1glIFMrHa
PzQ7JOF/3Pv9XjAHETeJOQ44EXCuhA8=
=dtEh
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.