[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] ASCII Minus Sign in man Pages.
From: |
G. Branden Robinson |
Subject: |
Re: [Groff] ASCII Minus Sign in man Pages. |
Date: |
Tue, 25 Apr 2017 07:26:32 -0400 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
At 2017-04-25T12:47:25+0200, Carsten Kunze wrote:
> > Ingo Schwarze <address@hidden> hat am 24. April 2017 um 16:39 geschrieben:
> >
> > Assuming this is considered the right direction, how would one
> > best implement, in doc.tmac-u and an-old.tmac, - == \- == U+002D
> > for all devices?
>
> Isn't it already done for UTF-8 in the files you mentioned?
> Both contain:
>
> .if '\*[.T]'utf8' \{\
> . rchar \- - ' `
> .
> . char \- \N'45'
> . char - \N'45'
> . char ' \N'39'
> . char ` \N'96'
> .\}
>
> Tests did show that groff's HTML output of manpages does not look good
> and has bugs (results in wrong formatting). Well HTML formatted
> manpages are often processed by other tools (non-roff tools which just
> know the -man and -mdoc language). So changing groff's HTML should not
> be necessary--or there would be much more work to do beyond '-' and
> '\-'.
"hm" appears to be available in the namespace for short character
escapes. Would "\(hm)" be a good way to offer people U+002D for when
they're absolutely sure they mean it?
In any event, grohtml seems to be mapping all of -, \-, and \(hy to
U+002D (see attachments), which doesn't seem ideal to me given the
capabilities and character repetoire of most HTML renderers.
Regards,
Branden
foo.man
Description: Unix manual page
- Re: [Groff] ASCII Minus Sign in man Pages., (continued)
- Re: [Groff] ASCII Minus Sign in man Pages., Doug McIlroy, 2017/04/23
- Re: [Groff] ASCII Minus Sign in man Pages., G. Branden Robinson, 2017/04/24
- Re: [Groff] ASCII Minus Sign in man Pages., Ralph Corderoy, 2017/04/24
- Re: [Groff] ASCII Minus Sign in man Pages., G. Branden Robinson, 2017/04/24
- Re: [Groff] ASCII Minus Sign in man Pages., Ralph Corderoy, 2017/04/24
- Re: [Groff] ASCII Minus Sign in man Pages., G. Branden Robinson, 2017/04/24
- Re: [Groff] ASCII Minus Sign in man Pages., Ingo Schwarze, 2017/04/24
- Re: [Groff] ASCII Minus Sign in man Pages., Carsten Kunze, 2017/04/25
- Re: [Groff] ASCII Minus Sign in man Pages.,
G. Branden Robinson <=
- Re: [Groff] ASCII Minus Sign in man Pages., Ingo Schwarze, 2017/04/25
- Re: [Groff] ASCII Minus Sign in man Pages., G. Branden Robinson, 2017/04/25
- Re: [Groff] ASCII Minus Sign in man Pages., Ralph Corderoy, 2017/04/26
- Re: [Groff] ASCII Minus Sign in man Pages., G. Branden Robinson, 2017/04/26
- Re: [Groff] bug in macro '.IR' (was ASCII Minus Sign in man Pages)., Bjarni Ingi Gislason, 2017/04/27
- Re: [Groff] bug in macro '.IR' (was ASCII Minus Sign in man Pages)., G. Branden Robinson, 2017/04/28
- Re: [Groff] bug in macro '.IR' (was ASCII Minus Sign in man Pages)., Werner LEMBERG, 2017/04/28
- Re: [Groff] bug in macro '.IR' (was ASCII Minus Sign in man Pages)., Ingo Schwarze, 2017/04/28
- Re: [Groff] bug in macro '.IR' (was ASCII Minus Sign in man Pages)., John Gardner, 2017/04/28
- Re: [Groff] bug in macro '.IR' (was ASCII Minus Sign in man Pages)., Ingo Schwarze, 2017/04/28