latex + utf-8
V13
v13 at priest.com
Sun Sep 12 16:44:52 EEST 2004
On Saturday 11 September 2004 12:32, DJ Art wrote:
> Όμως πλέον δε δείχνει να δουλεύει (βέβαια, ίσως φταίει ότι πλέον το
> locale μου δεν είναι el_GR, αλλά en_US.UTF-8, αν και το πιθανότερο
> είναι πως έχει αλλάξει ο συνδυασμός).
Tora poy eipes gia UTF-8:
Yparxei enas eykolos tropos gia na xrisimopoieis utf-8 sto latex:
Apo edo: http://www.unruh.de/DniQ/latex/unicode
Katebazeis to http://www.unruh.de/DniQ/latex/unicode/unicode.tgz kai
antigrafeis ta arxeia poy anaferei sto /usr/share/texmf/tex/latex/utf8 (h
opoy aloy theleis):
# wget http://www.unruh.de/DniQ/latex/unicode/unicode.tgz
# tar -zfx unicode.tgz
# cd ucs
# mkdir /usr/share/texmf/tex/latex/utf8
# cp -R data /usr/share/texmf/tex/latex/utf8
# cp ucs.sty utf8.def ucsencs.def /usr/share/texmf/tex/latex/utf8
# mktexlsr
kai meta apla bazeis sta .tex tis grammes:
\usepackage{ucs}
\usepackage[utf8]{inputenc}
kai grafeis oti keimeno theleis se utf-8...
An yparxoyn keimena se iso-8859-7 ayta metatrepontai eykola se UTF-8 me:
iconv -f iso88597 -t utf8 < old.tex > new.tex
Fysika ayto proypothetei na exeis idi ellhnika sto latex kai na kaneis tis
sxetikes alages. To mono poy alazei einai to oti mporeis na grafeis utf-8
anti gia iso-8859-7.
O tropos poy protinei gia tin allagi einai kapos etsi:
\foreignlanguage{greek}{κείμενο κείμενο κείμενο}
mono poy sto keimeno mesa mporeis na exeis kai polytoniko.
> Kyritsis Athanasios <djart at linux.gr>
<<V13>>
More information about the Linux-greek-users
mailing list