### Who is online

In total there are 7 users online :: 0 registered, 0 hidden and 7 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 7 guests

## catalan/babel -> hyphenation + fontenc warnings

Add tags LaTeX specific issues not fitting into one of the other forums of this category.

### catalan/babel -> hyphenation + fontenc warnings

Hi,

I have this code, where I tell babel I want to use Catalan and English:

Code: Select all  •  Open in writeLaTeX
\documentclass{book}\usepackage[catalan,english]{babel}\usepackage[T1]{fontenc}\begin{document}blah\end{document}

which gives this output:

Code: Select all  •  Open in writeLaTeX
Package babel Warning: No hyphenation patterns were loaded for(babel)                the language Catalan'(babel)                I will use the patterns loaded for \language=0 instead.\l@catalan = a dialect from \language0Package babel Info: Making " an active character on input line 91.Warning: You are using encoding OT1 instead of T1.Some word breaks will not be found.

1) Hyphenation patterns: I have installed the catalan hyphenations package, so I don't see why I get the first warning; if I explicitly specify \usepackage{catalan}, I get an error (below), so it can't be that I need to do that.

Code: Select all  •  Open in writeLaTeX
! Package babel Error: You have used an old interface to call babel(babel)                You may expect compatibility problems wit other packages.See the babel package documentation for explanation.Type  H <return>  for immediate help. ...                                              l.73     \bblstyerror? hYou could proceed but don't complain if you run into errors

2) Font encoding: I added the lmodern package after reading Stefan_K's post in this thread, as shown below, but it makes no difference to the result.

Code: Select all  •  Open in writeLaTeX
\documentclass{book}\usepackage[catalan,english]{babel}\usepackage{lmodern}\usepackage[T1]{fontenc}\begin{document}blah\end{document}`

Removing the catalan option from the babel package is the only way I've found that removes this problem---this is deeply unsatisfactory!

Does anyone know what's going on with this and how it can be resolved?

Any time you spend on this is much appreciated.
Last edited by pandammonium on Thu Feb 19th, 2009, edited 1 time in total.

pandammonium

Posts: 55
Joined: Thu Oct 30th, 2008

### Re: catalan/babel -> hyphenation + fontenc warnings

Hi,

just load fontenc before babel and you will not get that warning about OT1 encoding.
I don't get the warning concerning hyphenation patterns for catalan. What version of babel do you use? Perhaps consider to update it.

Stefan

Stefan_K

Posts: 6392
Joined: Mon Mar 10th, 2008
Location: Hamburg, Germany

### Re: catalan/babel -> hyphenation + fontenc warnings

The hyphenation problem seems to have gone away, now actually. Most odd---I deleted all the output files before running pdflatex to make sure it wasn't just getting confused after installing the Catalan hyphenation package. Still, I'm not complaining!

Putting the font encoding before babel as you suggested worked a treat - now no more font encoding warnings, with or without the Latin Modern fonts. Thanks, Stefan. I maybe should have thought of changing the order of packages because it does make such a difference!

Thanks again,

pandammonium

pandammonium

Posts: 55
Joined: Thu Oct 30th, 2008