[tex-live] Languages and Luatex
Manuel Pégourié-Gonnard
mpg at elzevir.fr
Sun Jun 13 01:07:34 CEST 2010
Le 13/06/2010 00:56, Peter Dyballa a écrit :
> I tried to update the language files today to get rid of the armenian,
> kannada, lao, and mongolianlmc additions in TL '10 (compared to TL
> '09). I finally used
>
> fmtutil-sys --byhyphen /usr/local/texlive/2010/texmf-var/tex/generic/
> config/language.dat.lua
>
> The builds of dvilualatex and lualatex formats go very straight while
> that of the luatex and dviluatex formats has a large block which lists
> 70 hyphenation files
How does you language.def file look?
> (a 'sort | uniq -d' on these lines in GNU Emacs
> left these duplicates:
>
The duplicates are OK. etex.src has no support for synonyms, so the languages
are duplicated.
> although I can see also /usr/local/texlive/2010/texmf/tex/generic/
> hyphen/zerohyph.tex mentioned more than once) while I am interested in
> only one tenth, for which I created in /usr/local/texlive/texmf-local/
> tex/generic/config the file language-local.dat.lua (same contents as
> language-local.dat, but leading '%!' converted to '--!' as tlmgr's
> manual page suggests) and then (re-)generated the language files.
>
You can't disable languages in language-local.dat.lua: language.dat.lua controls
dynamic loading of the language, as opposed to its definition, which is
controlled by language.dat for latex-based formats and language.def for
plain-based formats (with etex.src). So I recommend you use only
langage-local.{dat,def} but leave .dat.lua empty if your goal is to disable
languages.
> Why are during the builds of the luatex and dviluatex formats so many
> language/hyphenation files listed? Why isn't it possible to use the
> same syntax in both local files?
>
Did you disable the languages in language.def? Btw, this is not specific to
luatex: for pdftex too, languages are controlled by language.def for plain-based
formats.
Manuel.
More information about the tex-live
mailing list