Am 01.06.2010 11:47, schrieb Mojca Miklavec:
On Tue, Jun 1, 2010 at 11:40, Stephan Hennig wrote:

        ['german-x-2009-06-19'] = {
                loader = 'dehypht-x-2009-06-19.tex',
                lefthyphenmin = 2,
                righthyphenmin = 2,
                synonyms = { 'german-x-latest' },
                patterns = 'hyph-de-1901.pat.txt',
                hyphenation = 'hyph-de-1901.hyp.txt',
        },

won't work for LuaTeX, since the loader 'dehypht-x-2009-06-19.tex' contains
this line

  \input dehypht-x-2009-06-19.pat

That is, it tries to load patterns under the name
'dehypht-x-2009-06-19.pat', a /.tex/ file provided by package dehyph-exptl,
instead of 'hyph-de-1901.pat.txt', the .txt patterns shipped with hyph-utf8.

The new lua scheme doesn't use the loader at all. It just uses the
patterns specified with "patterns=...", so hyph-de-1901.pat.txt in
this case.

OK.  But who uses the 'loader' attribute then?


I cannot suggest a solution, since I don't know the exact relation between
language.dat and language.dat.lua.  Is the former to be automatically
generated from the latter or are they both maintained independently?

They are both auto-generated from tlpsrc files.

This file

  trunk/TL/tlpkg/tlpsrc/hyphen-german.tlpsrc

? I have no idea how this translates to what I can see in language.dat and language.dat.lua. Can you point me to some documentation, please?

Best regards,
Stephan Hennig

Reply via email to