Re: texlive 2008/2009, hyphen pattern handling
On Mo, 04 Mai 2009, Norbert Preining wrote:
> - replace /etc/texmf/language.d/ with /etc/texmf/hyphen.d/<snippet>
> - put the tlpdb line into the <snippet>
> AddHyphen name=french synonyms=patois,francais lefthyphenmin=2 righthyphenmin=3 file=loadhyph-fr.tex
> - create with update-language *both* config files language.dat and
> language.def from the information in the snippet.
>
> The reason for switching from language.d to hyphen.d is that the format
> of the files placed there changes completely, it is just a configuration
> file that contains lines like the above.
>
> Any other ideas? And if you agree, anyone willing and able to take a
> look at update-fontlang script???
Here is a patch to update-fontlang that works as follows:
- calling it as update-language calls recursively update-language-dat
and update-language-def
- calling it as one of the -dat -def variants work is done, the include
file function is changed to use another function that reads and works
through the file and echos out the right things.
Tested and working, needs some error cases testing, and some good eyes.
Still, if someone has a better idea ...
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at> Vienna University of Technology
Debian Developer <preining@debian.org> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
SLUGGAN (n.)
A lurid facial bruise which everyone politely omits to mention because
it's obvious that you had a punch-up with your spouse last night - but
which into a door. It is useless to volunteer the true explanation
because nobody will believe it.
--- Douglas Adams, The Meaning of Liff
Reply to: