[tex-live] changed hyphenation after update to texlive 2012
Mojca Miklavec
mojca.miklavec.lists at gmail.com
Sat Jul 14 21:18:33 CEST 2012
On Sat, Jul 14, 2012 at 8:39 PM, Achim Blumensath wrote:
>
> My language.dat is attached.
Thank you. There is one major difference. In your language.dat there is just
ukenglish ukhyphen.tex
without any additional synonym, while in a recent TeX Live there are
two additional synonyms:
ukenglish loadhyph-en-gb.tex
=british
=UKenglish
Taking a look at the latest version of babel (but I doubt anything has
changed in the meantime):
\ifx\l at english\@undefined
\ifx\l at UKenglish\@undefined
\ifx\l at british\@undefined
\ifx\l at american\@undefined
\ifx\l at USenglish\@undefined
\ifx\l at canadian\@undefined
\ifx\l at australian\@undefined
\ifx\l at newzealand\@undefined
it seems that only "UKenglish" and "british" are recognized keywords,
while "ukenglish" is not.
There is one more thing that you can try: add "=UKenglish" to you
language.dat below ukenglish line, and possibly the following to
language.def:
\addlanguage{UKenglish}{loadhyph-en-gb.tex}{}{2}{3}
Then regenerate the formats ("sudo fmtutil-sys --byfmt pdflatex" or
"fmtutil --byfmt pdflatex", just in case check that "kpsewhich
pdflatex.fmt" returns the right one) and try again.
I'm almost sure that the difference comes from missing British, and as
Karl noted, American patters are used as a consequence.
> If I run the above snipped through pdftex, it complains that
> \uselanguage is undefined. If I run it through pdfetex, it complains
> that the language UKenglish is undefined.
Now I remembered that additional languages have been added to
language.def in 2008 (possibly later), so either the language was not
defined at all, or it was defined with a different capitalization.
Mojca
More information about the tex-live
mailing list