Portál AbcLinuxu, 7. května 2025 20:13

Dotaz: Použití balíku encxvlna v LaTeXu v Ubuntu 10.10

27.12.2010 13:51 Drew | skóre: 15 | blog: Supi_hnizdo | Praha
Použití balíku encxvlna v LaTeXu v Ubuntu 10.10
Přečteno: 1096×
Odpovědět | Admin
Ahoj, snažím se zprovoznit balík encxlna podle tohoto návodu a nějak se mi to nedaří.

Používám kódování utf8 (tedy \usepackage[utf8]{inputenc} ), pro které jsou tam jenom kusé informace.

Jestli to správně chápu, měl bych mít následovné obsahy těchto souborů:

10texlive-base.cnf
# 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.ini

10texlive-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.ini
Není 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.ini
Když to pak aplikuji pomocí:
sudo update-fmtutil
sudo dpkg-reconfigure texlive-base
Tak 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.html
A 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:


Nástroje: Začni sledovat (2) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

7.5.2011 18:15 Drew | skóre: 15 | blog: Supi_hnizdo | Praha
Rozbalit Rozbalit vše Re: Použití balíku encxvlna v LaTeXu v Ubuntu 10.10
Odpovědět | | Sbalit | Link | Blokovat | Admin
Tak se zdá, že to nefunguje kvůli nějakému neznámému bugu.
Řešení 1× (Drew (tazatel))
6.2.2012 16:57 Drew | skóre: 15 | blog: Supi_hnizdo | Praha
Rozbalit Rozbalit vše Re: Použití balíku encxvlna v LaTeXu v Ubuntu 10.10
sudo dpkg-reconfigure texlive-base
je v Ubuntu 11.10 rozbité a tak jsem po chvíli fidlání objevil ,že stačí spustit namísto dpkg-reconfigure
sudo fmtutil --all
a všechno funguje.
Řešení 1× (Drew (tazatel))
27.4.2012 22:32 Drew | skóre: 15 | blog: Supi_hnizdo | Praha
Rozbalit Rozbalit vše Re: Použití balíku encxvlna v LaTeXu v Ubuntu 10.10
Odpovědět | | Sbalit | Link | Blokovat | Admin
A v 12.04 to už funguje samo od sebe.
22.5.2014 15:59 Drew | skóre: 15 | blog: Supi_hnizdo | Praha
Rozbalit Rozbalit vše Re: Použití balíku encxvlna v LaTeXu v Ubuntu 10.10
Tak v 13.10 a 14.04 už to zas nefunguje, řešením se zdá mít řádky
latex pdftex language.dat -enc -translate-file=cp227.tcx *latex.ini 
pdflatex pdftex language.dat -enc -translate-file=cp227.tcx *pdflatex.ini
v
/etc/texmf/fmt.d/10texlive-latex-base.cnf
a pak spustit prikazy bud
fmtutil-sys --all
nebo
fmtutil --all
To znamena, ze to funguje s prikazy latex a pdflatex, csplain atp. nevim, ale to nepouzivam. V řešení mi pomohlo toto.
3.5.2015 17:43 Drew | skóre: 15 | blog: Supi_hnizdo | Praha
Rozbalit Rozbalit vše Re: Použití balíku encxvlna v LaTeXu v Ubuntu 10.10
Tak na 15.04 to bylo pouze fmutil --all a bez práv roota.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.