groff
[Top][All Lists]
Advanced

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

[Groff] Re: '-' characters in man-pages when viewed in en_GB.UTF-8 local


From: Mike Fabian
Subject: [Groff] Re: '-' characters in man-pages when viewed in en_GB.UTF-8 locale
Date: Fri, 06 Sep 2002 19:35:42 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.4 (Honest Recruiter, i386-suse-linux)

Werner LEMBERG <address@hidden> writes:

>> > I don't know an easy solution for this problem.  Maybe something like
>> > this:
>> >
>> >   .if '\*[.T]'utf8' \
>> >   .  char \- -
>> >
>> > could be added to man.local
>> 
>> If I add these two lines to
>> 
>>     /usr/share/groff/site-tmac/tmac.andocdb
>> 
>> I get U+2010 (HYPHEN). How to get U+002D (HYPHEN-MINUS)?
>
> Try
>
>   .char \- \N'45'

Thank you, that works nicely.  I'll use that as a workaround for the
moment until the search algorithm in less becomes Unicode aware.

-- 
Mike Fabian   <address@hidden>   http://www.suse.de/~mfabian
睡眠不足はいい仕事の敵だ。

reply via email to

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