UKenglish hyphenation patterns don't work with babel

Bug #240823 reported by Torsten Bronger
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
texlive-base (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: texlive-base

After having installed "texlive-lang-ukenglish", I had to change the file /usr/share/texmf-texlive/tex/generic/config/language.dat in the following way:

ukenglish ukhyphen.tex
=british
=UKenglish

I had to append the last two lines. Otherwise, babel wouldn't switch to UK hyphenation patterns properly because it doesn't know "ukenglish" but only "british" and UKenglish".

Revision history for this message
Norbert Preining (preining) wrote : Re: [Bug 240823] [NEW] UKenglish hyphenation patterns don't work with babel

Hi dear TeX Live Team, especially the babel masters,

on Ubuntu the following bug was filed:

On Mi, 18 Jun 2008, Torsten Bronger wrote:
> After having installed "texlive-lang-ukenglish", I had to change the
> file /usr/share/texmf-texlive/tex/generic/config/language.dat in the
> following way:
>
> ukenglish ukhyphen.tex
> =british
> =UKenglish
>
> I had to append the last two lines. Otherwise, babel wouldn't switch to
> UK hyphenation patterns properly because it doesn't know "ukenglish" but
> only "british" and UKenglish".

Is this still true? Does babel expect british or UKenglish?

That would effect TL2008, too!!

Thanks for any comments!

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <email address hidden> Vienna University of Technology
Debian Developer <email address hidden> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
GLENTIES (pl.n.)
Series of small steps by which someone who has made a serious tactical
error in a conversion or argument moves from complete disagreement to
wholehearted agreement.
   --- Douglas Adams, The Meaning of Liff

Revision history for this message
Xavier Gnata (xavier-gnata-gmail) wrote :

On a fresh intrepid install (not an update), I get this:
test.tex:0: No hyphenation patterns were loaded for(babel) the language `French'(babel) I will use the patterns loaded for \language=0 instead.

Looks like hyphenation is fully broken on intrepid.

sudo update-language
sudo fmtutil-sys --all

do not help.

I hope that there is an easy fix/workaroud because latex without hyphenation is something not really usable.

Xavier

Revision history for this message
Xavier Gnata (xavier-gnata-gmail) wrote :

Oups sorry for the noise.
Please ignore my last comment.

Revision history for this message
vocx (eliudcabrera) wrote :

I can confirm this bug also for "texlive-lang-spanish" in Ubuntu 8.10
    texlive-base: 2007.dfsg.1-2
    texlive-lang-spanish: 2007.dfsg.3-2

The relevant part of /etc/texmf/language.d/10texlive-lang-spanish.cnf
spanish xu-eshyph.tex
=espanol
catalan cahyph.tex
galician xu-glhyph.tex

Can anyone give us an update? What's going on with this problem?
Is there a workaround to manually set the hyphenation patterns?

Changed in texlive-base:
status: New → Confirmed
Revision history for this message
Sur (sur00mx) wrote :

I just had to reinstall texlive-lang-spanish. I works perfectly now.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

\usepackage[english]{babel} works
\usepackage[english,british]{babel} works
\usepackage[english,british,UKenglish]{babel} works

Other combinations - just british or just UKenglish do not work. I don't know what the expected and correct behavior.

Fix your latex documents????

Revision history for this message
vocx (eliudcabrera) wrote :

After upgrading to Ubuntu 9.04, I reinstalled "texlive-lang-spanish" and it didn't seem to work either.

But weeks later I manually ran

    sudo fmtutil --all

and now it works fine.

I say there are some bugs with the Debian scripts that are run when installing the "texlive-*" packages, but I guess not many people can confirm it.

Since this bug hasn't had much activity I guess it may be a non-issue after all.

Besides, Texlive 2008 is already out, and with the new package manager things may be different from now on.

Revision history for this message
jordilin (jordilin) wrote :

Just to confirm what user vocx says. I've had the same problem and spanish hyphen was not loaded after having installed texlive-lang-spanish. After running sudo fmtutil --all works fine and loads spanish and catalan :). What is surprising is that MiKTeX for Win Vista does have the same problem.

Revision history for this message
kavkar (kavkar) wrote :

Same:
Package babel Warning: No hyphenation patterns were loaded for
(babel) the language `Magyar'
(babel) I will use the patterns loaded for \language=0 instead.

Revision history for this message
kavkar (kavkar) wrote :

And 'sudo fmtutil --all' isn't helped me...

Revision history for this message
kavkar (kavkar) wrote :

Sorry, My fault. Now work.
Bye.

Revision history for this message
Anna SdG (anna-granudd) wrote :

Had the same issue with Swedish. Running
sudo aptitude install texlive-lang-swedish
and then
sudo fmtutil --all
does seem to do the trick, however I'd still consider this a bug... Thanks jordilin for the tip! :)

Revision history for this message
Pietro Battiston (toobaz) wrote :

I confim Anna's fix for texlive-lang-italian, and I confirm it's still a bug...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.