groff
[Top][All Lists]
Advanced

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

Re: [Groff] ASCII Minus Sign in man Pages.


From: Carsten Kunze
Subject: Re: [Groff] ASCII Minus Sign in man Pages.
Date: Tue, 25 Apr 2017 12:47:25 +0200 (CEST)

> 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 '\-'.



reply via email to

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