Gentoo Archives: gentoo-user-cs

From: "Petr Kopecký" <kejpi@×××××××.cz>
To: gentoo-user-cs@l.g.o
Subject: Re: [gentoo-user-cs] UNICODE, manualove stranky
Date: Thu, 01 Mar 2007 20:27:57
Message-Id: 200703012127.21037.kejpi@centrum.cz
In Reply to: [gentoo-user-cs] UNICODE, manualove stranky by "paulie.x"
Zkus nastvit v /etc/man.conf tohle ;-)

NROFF           /usr/bin/nroff -Tlatin1 -c -mandoc | iconv -f latin2 -t utf8

P.K.

Dne čt 1. března 2007 paulie.x napsal(a):
> Ahoj. > Prekonvertoval sem svoje Gentoo tak aby pouzivalo UNICODE (podle navodu > http://gentoo-wiki.com/HOWTO_Make_your_system_use_unicode/utf-8 a > http://www.gentoo.org/doc/en/utf-8.xml). Vsechno funguje az na manualovy > stranky. Pismeno 'á' se napriklad zobrazuje jako 'á'. Zkousel sem > odinstalovat ceske manualove stranky, smazat distfile a znova > nainstalovat, ale zustalo to stejne. Problem nastava jak v terminalech > na tty tak v terminalech v X. Font i USE flagy mam nastaveny spravne. > Zkousel sem rozbalit jednu nahodnou manualovou stranku a podivat se na > ni pomoci 'cat man.1 | less'. Mezi formatovacimi sekvencemi sem videl > spravne zobrazeny text manualove stranky s diakritikou. > Todle je originalni cast /etc/man.conf: > > -------------------------------------------------------------------------- > ... > > # Useful paths - note that COL should not be defined when > # NROFF is defined as "groff -Tascii" or "groff -Tlatin1"; > # not only is it superfluous, but it actually damages the output. > # For use with utf-8, NROFF should be "nroff -mandoc" without -T option. > # (Maybe - but today I need -Tlatin1 to prevent double conversion to utf8.) > # > # If you have a new troff (version 1.18.1?) and its colored output > # causes problems, add the -c option to TROFF, NROFF, JNROFF. > # > TROFF /usr/bin/groff -Tps -mandoc > NROFF /usr/bin/nroff -Tascii -c -mandoc > JNROFF /usr/bin/groff -Tnippon -mandocj > EQN /usr/bin/geqn -Tps > NEQN /usr/bin/geqn -Tlatin1 > JNEQN /usr/bin/geqn -Tnippon > TBL /usr/bin/gtbl > # COL /usr/bin/col > REFER /usr/bin/refer > PIC /usr/bin/pic > VGRIND > GRAP > PAGER /usr/bin/less -is > BROWSER /usr/bin/less -is > HTMLPAGER /bin/cat > CAT /bin/cat > ... > -------------------------------------------------------------------------- > > Zkousel sem vsechny tyto zmeny: > > NROFF /usr/bin/nroff -c -mandoc > > TROFF /usr/bin/groff -Tlatin1 -mandoc > NROFF /usr/bin/nroff -c -mandoc > > NROFF /usr/bin/nroff -Tutf8 -c -mandoc > > TROFF /usr/bin/groff -Tlatin1 -mandoc > NROFF /usr/bin/nroff -Tutf8 -c -mandoc > > Pro slovo "zformátuje" vse dava "zformátuje". > > > Uz jsem psal na gentoo-users@g.o ale vsichni to vzdali :]
-- Ing. Petr Kopecky E-mail: kejpi@×××××××.cz _______________________________________________________ OpenDocument is now international standard ISO/IEC 26300. Use OpenOffice! It's free for everyone :-) http://www.openoffice.org http://www.openoffice.cz _______________________________________________________

Replies

Subject Author
Re: [gentoo-user-cs] UNICODE, manualove stranky "Honza Macháček" <Hloupy.Honza@×××××××.cz>
Re: [gentoo-user-cs] UNICODE, manualove stranky "paulie.x" <jcd@××××××.cz>