Gentoo Archives: gentoo-user-cs

From: "paulie.x" <jcd@××××××.cz>
To: gentoo-user-cs@l.g.o
Subject: Re: [gentoo-user-cs] UNICODE, manualove stranky
Date: Sat, 03 Mar 2007 20:55:23
Message-Id: 45E9E09E.1040105@seznam.cz
In Reply to: Re: [gentoo-user-cs] UNICODE, manualove stranky by "Petr Kopecký"
Zkusil jsem:

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

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

Vsechno je porad stejne :(

Petr Kopecký napsal(a):
> 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 :] > >
-- gentoo-user-cs@g.o mailing list

Replies

Subject Author
Re: [gentoo-user-cs] UNICODE, manualove stranky "Petr Kopecký" <kejpi@×××××××.cz>