Document Classesbabel : No hyphenation patterns were loaded for the language

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
aeelmn
Posts: 15
Joined: Tue Apr 10, 2007 4:09 pm

babel : No hyphenation patterns were loaded for the language

Post by aeelmn »

I've just updated MikTeX version 2.4 to MikTeX version 2.6 and everything seems to be working as usual, except I get the warning:

No hyphenation patterns were loaded for the language `Danish'


Did I do something wrong? How can I fix this?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Package babel warning

Post by localghost »

Start a second run on your document. Otherwise erase all the files you didn't create yourself (all files except the TEX file) and start another run.
aeelmn
Posts: 15
Joined: Tue Apr 10, 2007 4:09 pm

Re: Package babel warning

Post by aeelmn »

It doesn't help, even if I create a whole new document I still get the warning. Also, depending on which documentclass I choose it won't even create the Danish characters anymore :(
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Package babel warning

Post by localghost »

Another chance could be to add the danish language in the MiKTeX Settings (tab "Languages").
aeelmn
Posts: 15
Joined: Tue Apr 10, 2007 4:09 pm

Re: Package babel warning

Post by aeelmn »

I did that, but it doesn't seem to make a difference :?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

babel : No hyphenation patterns were loaded for the language

Post by localghost »

Maybe i forgot a detail to mention. You have to build the new formats with MiKTeX Settings (tab "Formats"). Just klick an entry in the list and then the button "Build".

In case that this isn't successful, you have to do a workaround. After searching a little bit in the world wide web, i found a solution (originally worked out for a Linux system). It affects the file "language.dat", which can be found in two different paths.

Code: Select all

C:\Program Files\MiKTeX 2.6\tex\generic\config
C:\Program Files\MiKTeX 2.6\tex\platex\config
Search the file located in the first path and uncomment the line for your language (by deleting the character "%").

Code: Select all

…
%danish dkhyph.tex
…
If that doesn't help, try the same procedure with the file in the second path and don't forget so save the file.

Code: Select all

…
%danish  dkhyphen.tex
…
Please report in every case if this was successful. And which method did the trick.
aeelmn
Posts: 15
Joined: Tue Apr 10, 2007 4:09 pm

Re: Package babel warning

Post by aeelmn »

Thank you for trying to help, but I'm afraid none of it worked for me. I just discovered that I only get the warning when building LaTeX => PDF, and not when using either LaTeX => DVI or LaTeX => PS, though I am only able to view the output when using pdf. So I'm thinking that maybe I just did something wrong when trying to install it or the settings aren't right?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Package babel warning

Post by localghost »

Last chance could be to contact the maintainer of MiKTeX. He's very kind in supporting users, even if they are not registered.
aeelmn
Posts: 15
Joined: Tue Apr 10, 2007 4:09 pm

Re: Package babel warning

Post by aeelmn »

Thank you I will try that :) Funny thing is that I don't even get the warning anymore though, after installing miktex-hyph-danish package, but it still won't show the Danish letters. Strange :?
Post Reply