Portál AbcLinuxu, 7. května 2025 20:13
# 10texlive-base.cnf # You can change/add entries to this file and changes will be preserved # over upgrades, even if you have removed the main package prior # (not if you purged it). You should leave the following pseudo comment # present in the file! # -_- DebPkgProvidedMaps -_- # etex pdftex language.def -translate-file=cp227.tcx *etex.ini pdfetex pdftex language.def -translate-file=cp227.tcx *pdfetex.ini luatex luatex language.def luatex.ini dviluatex luatex language.def dviluatex.ini pdftex pdftex - -enc cslatex-utf8.ini mf mf-nowin - -translate-file=cp227.tcx mf.ini tex tex - tex.ini10texlive-latex-base.cnf
# 10texlive-latex-base.cnf # You can change/add entries to this file and changes will be preserved # over upgrades, even if you have removed the main package prior # (not if you purged it). You should leave the following pseudo comment # present in the file! # -_- DebPkgProvidedMaps -_- # latex pdftex language.dat -enc cslatex-utf8.ini dvilualatex luatex language.dat dvilualatex.ini lualatex luatex language.dat lualatex.ini pdflatex pdftex language.dat -enc cslatex-utf8.iniNení mi zde jasné, zda je nutné editovat následující soubor, když používám babel, ale snad ničemu neuškodí, když bude takovýto: 10texlive-lang-czechoslovak.cnf
# 10texlive-lang-czechslovak.cnf # You can change/add entries to this file and changes will be preserved # over upgrades, even if you have removed the main package prior # (not if you purged it). You should leave the following pseudo comment # present in the file! # -_- DebPkgProvidedMaps -_- # csplain pdftex - -etex -enc csplain-utf8.ini pdfcsplain pdftex - -etex -enc csplain-utf8.ini cslatex pdftex - -etex -enc cslatex-utf8.ini pdfcslatex pdftex - -etex -enc cslatex-utf8.iniKdyž to pak aplikuji pomocí:
sudo update-fmtutil sudo dpkg-reconfigure texlive-baseTak mi úplně minimální dokument například:
\documentclass[12pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[utf8]{inputenc} \usepackage[czech]{babel} \usepackage{encxvlna} \begin{document} bla \end{document}Hází následovnou chybu:
! Package encxvlna Error: encTeX of Feb 2003 or later not detected, (encxvlna) the rest of the package will be ignored. See the encxvlna package documentation for explanation. Type H return for immediate help. ... l.40 } % Package error message This package is implemented by new primitives of encTeX of Feb 2003 but this extension was not detected in your system. You can continue but all commands of `encxvlna' will be ignored. If your TeX distribution contains encTeX but does not activate it, you have to create the format using the -enc switch (e.g. in fmtutils.cnf). If you do not have encTeX at all, you have to compile it from the source code. You can find the source code including documentation at http://math.feld.cvut.cz/olsak/enctex.htmlA mně nějak není jasné, co s tím. Následoval jsem návod, ale nefunguje to. Pužíváte to někdo a funguje vám to? Jak? Díky za pomoc, už moc nevím, co s tím.
Řešení dotazu:
sudo dpkg-reconfigure texlive-baseje v Ubuntu 11.10 rozbité a tak jsem po chvíli fidlání objevil ,že stačí spustit namísto dpkg-reconfigure
sudo fmtutil --alla všechno funguje.
latex pdftex language.dat -enc -translate-file=cp227.tcx *latex.ini pdflatex pdftex language.dat -enc -translate-file=cp227.tcx *pdflatex.iniv
/etc/texmf/fmt.d/10texlive-latex-base.cnfa pak spustit prikazy bud
fmtutil-sys --allnebo
fmtutil --allTo znamena, ze to funguje s prikazy latex a pdflatex, csplain atp. nevim, ale to nepouzivam. V řešení mi pomohlo toto.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.