Fórum Ubuntu CZ/SK
Ostatní => Archiv => Téma založeno: Guido 15 Prosince 2005, 13:43:50
-
Dobrý den
Jak zprovozním v Ubuntu LaTeX, aby mi překládal s češtinou?
Ve Slackwaru a FreeBSD jsem to řešil tím, že jsem si vygeneroval vlastní fmt soubory a napsal skriptík, který spouštěl tex s potřebnými fmt.
Není v Ubuntu nějaká "elegantnější" cesta, nebo se do dělá také tak?
Guido
-
Mne to funguje podla navodu na lokalizaciu na http://www.debian.cz/
-
Tak to funguje. Díky.
Ta adresa je přesně http://www.debian.cz/users/localization.php
Guido
-
Zkusil sem to take podle toho odkazu, ael nejak se to nepovedlo.
některé písmena s akcentama chybí úplně některé jsou jiné např. é=Š atd.
toto je vystupni soubor o prekladu:
/home/vena/Documenty/mujprvni.log
Nevi nahodou nekdo co s tim? Dik za radu
-
totiz toto je obsah toho souboru:
This is pdfTeX, Version 3.14159-1.10b (Web2C 7.4.5) (format=pdfcsplain 2006.4.11) 11 APR 2006 18:03
(/usr/share/texmf/web2c/il2-cs.tcx)
**mujprvni.tex
(./mujprvni.tex{/usr/share/texmf/pdftex/config/pdftex.cfg}
The format: csplain .
The cs-fonts are preloaded and A4 size implicitly defined.
Czech hyphenation used (\language=5). \frenchspacing is set on.
Missing character: There is no ^^af in font csbx10!
Missing character: There is no ^^c3 in font csbx10!
Missing character: There is no ^^c3 in font csbx10!
Missing character: There is no ^^c3 in font csbx10!
Missing character: There is no ^^ad in font csbx10!
Missing character: There is no ^^c3 in font csti10!
Missing character: There is no ^^ad in font csti10!
Missing character: There is no ^^c3 in font csr10!
Missing character: There is no ^^a1 in font csr10!
Missing character: There is no ^^c3 in font csr10!
Missing character: There is no ^^ad in font csr10!
Missing character: There is no ^^a1 in font csr10!
Missing character: There is no ^^9b in font csr10!
Missing character: There is no ^^c3 in font csr10!
Missing character: There is no ^^a1 in font csr10!
Missing character: There is no ^^c3 in font csr10!
Missing character: There is no ^^bd in font csr10!
Missing character: There is no ^^c3 in font csr10!
Missing character: There is no ^^a1 in font csr10!
Missing character: There is no ^^99 in font csr10!
Missing character: There is no ^^99 in font csr10!
Missing character: There is no ^^c3 in font csr10!
Missing character: There is no ^^ad in font csr10!
Missing character: There is no ^^c3 in font csr10!
Missing character: There is no ^^a1 in font csr10!
Missing character: There is no ^^c3 in font csr10!
Missing character: There is no ^^c3 in font csr10!
Missing character: There is no ^^ad in font csr10!
Missing character: There is no ^^99 in font csr10!
Missing character: There is no ^^9b in font csr10!
Missing character: There is no ^^9b in font csr10!
Missing character: There is no ^^c3 in font csr10!
Missing character: There is no ^^c3 in font csr10!
Missing character: There is no ^^ad in font csr10!
Missing character: There is no ^^c3 in font csbx10!
Missing character: There is no ^^a1 in font csbx10!
Missing character: There is no ^^9b in font csbx10!
Missing character: There is no ^^c3 in font csr10!
Missing character: There is no ^^a1 in font csr10!
Missing character: There is no ^^99 in font csr10!
Missing character: There is no ^^c3 in font csr10!
Missing character: There is no ^^ad in font csr10!
Missing character: There is no ^^c3 in font csr10!
Missing character: There is no ^^ad in font csr10!
Missing character: There is no ^^c3 in font csr10!
[1{/var/lib/texmf/dvips/config/pdftex.map}] )lic/cs/csr7.pfb>{/usr/share/texmf/dvips/tetex/aae443f0.enc}nts/type1/bluesky/cm/cmmi10.pfb>pfb>{/usr/share/texmf/dvips/
tetex/bbad153f.enc}are/texmf/fonts/type1/public/cs/csr10.pfb>cs/csbx10.pfb>
Output written on mujprvni.pdf (1 page, 42433 bytes).
-
No já nevím, ale nic takového jsem nemusel dělat...nainstaloval jsem a funguje, samozřejmě s \usepackage[czech]{babel} a \usepackage[utf8]{inputenc}. J
-
Asi máte vstupní soubor v kdování UTF-8? Potom si doinstalujte balík latex-ucf a upravte si hlavičku dokumentu.
-
Vyreseno
prekonfiguroval jsem locales z UTF-8 na ISO-8859-2 a znova vygeneroval formaty csplain a cslatex, ale navic musim i v gedit rucne zadavat ukladani souboru do ISO-8859-2, protoze automaticky uklada do UTF-8 (to budu muset nekde najit a prepnout)
Dik za rady
(balik latex-ucf jsem nenasel pravdepodobne jste mel namysli latex-ucs ktery jsem nainstaloval)
-
Přesně jak píše Botanicus,
\usepackage[utf8]{fontenc}
\usepackage[czech]{babel}
pro české uvozovky ještě:
\catcode`\"=\active
\def"{\bgroup \quotedblbase \def"{\textquotedblleft \egroup}}
přeložit LaTeXem.
-
Jenom bych upřesnil freda:
zafungovalo mi to s
\usepackage[utf8]{inputenc}
namísto
\usepackage[utf8]{fontenc}