[Top][All Lists]

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

[bug #44941] Add a `zh.tmac' file for improved Chinese typesetting

From: Werner LEMBERG
Subject: [bug #44941] Add a `zh.tmac' file for improved Chinese typesetting
Date: Fri, 01 May 2015 13:45:52 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.90 Safari/537.36

Follow-up Comment #7, bug #44941 (project groff):

> [...] at least there should be an entry in tmac/tmac.am
> to install `zh.tmac`.


> Another problem is there should be two files zh_CN.tmac
> and zh_TW.tmac.

Here I disagree.  The `zh' indicates the language, while `CN' and `TW' gives
the country.  The language is the same, even if there are different
conventions, e.g. different punctuation characters and simplified vs.
traditional glyphs.  Your`zh.tmac' covers both, so no need for two separate

> As far as I know the `man` command uses
> the path info to determine what language the
> groff-format file is using.
> eg.
> /usr/share/man/zh_CN/man1/man.1
> It seems the string 'zh_CN' is extracted. 

I consider this a bug.  If there is no `xx_XX.tmac', it should try `xx.tmac'
next.  On the other hand, I would rather expect that the language selection
file is part of the man page itself!
IMHO, it's not the job of the `man' program to supply this data.  Just imagine
to view the man page directly with groff – how shall I know the file's

Colin, can you chime in, please?


Reply to this item at:


  Nachricht gesendet von/durch Savannah

reply via email to

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