[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Macro "itc" is needed to make escape "\c" useful
From: |
G. Branden Robinson |
Subject: |
Re: [Groff] Macro "itc" is needed to make escape "\c" useful |
Date: |
Tue, 2 May 2017 12:47:43 -0400 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
At 2017-05-02T18:34:50+0200, Ingo Schwarze wrote:
> But you are right that i should probably adjust the in-line macros
> (that is, .B, .I, .SM, .SB) as well, even though for them, the
> damage is minor, wrong font at the worst - and even that is unlikely
> to happen in practice, because why would anybody do something like
>
> .B
> three \c
> bold \c
> words
> and then back to the default font.
>
> rather than simply
>
> .B three bold words
> and then back to the default font.
>
> ?
Or even
.B
three bold words
> I really hope that in manual pages, nobody does stunts like
>
> .TH TEST 1 2017-05-02
> .SH NAME
> test \- descr
> .SH DESCRIPTION
> .B
> three \c
> .gcolor red
> bold \c
> .gcolor
> words
> and then back to the default font.
On my (Debian stretch) system, no one uses .gcolor requests in _any_ man
page--thank God.
find /usr/share/man/man* -type f -and -not -type l | xargs zgrep
'^\.\s*gcolor'
$ find /usr/share/man/man* -type f -and -not -type l \
| xargs zgrep '^\.\s*gcolor' || echo none
none
Regards,
Branden
signature.asc
Description: PGP signature