MiKTeX and proTeXtProblem with babel and danish

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
User avatar
Bozack
Posts: 117
Joined: Wed Feb 06, 2008 4:21 pm

Problem with babel and danish

Post by Bozack »

I just updated my MikTeX distribution, and now errors show up! My babel doesn't seem to understand that I want to write in danish.

I usually use the command

Code: Select all

\usepackage[danish]{babel}
to load babel, and it used to work. But now it gives med the error messages

Code: Select all

("C:\Program Files\MiKTeX 2.5\tex\generic\babel\babel.sty"
Package: babel 2008/07/06 v3.8l The Babel package

*************************************
* Local config file bblopts.cfg used
*
("C:\Program Files\MiKTeX 2.5\tex\latex\00miktex\bblopts.cfg"
File: bblopts.cfg 2006/07/31 v1.0 MiKTeX 'babel' configuration
)
("C:\Program Files\MiKTeX 2.5\tex\generic\babel\danish.ldf"
Language: danish 2008/07/06 v1.3q Danish support from the babel system

("C:\Program Files\MiKTeX 2.5\tex\generic\babel\babel.def"
File: babel.def 2008/07/06 v3.8l Babel common definitions

! Undefined control sequence.
\main@language ...bbl@main@language \bbl@patterns 
                                                  {\languagename }
l.131 \main@language{english}
                             
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.131 \main@language{english}
                             
You're in trouble here.  Try typing  <return>  to proceed.
If that doesn't work, type  X <return>  to quit.

\babel@savecnt=\count87
\U@D=\dimen103
)
Package babel Info: Making " an active character on input line 82.

! Undefined control sequence.
\main@language ...bbl@main@language \bbl@patterns 
                                                  {\languagename }
l.106 \ldf@finish{danish}
                         
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

)) ("C:\Program Files\MiKTeX 2.5\tex\latex\base\inputenc.sty"
Overfull \hbox (110.60973pt too wide) in paragraph at lines 131--54
[][]\OT1/cmr/m/n/10 english                                                    
                                                                               
                                             dan-
 []

Package: inputenc 2006/05/05 v1.1b Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15
("C:\Program Files\MiKTeX 2.5\tex\latex\base\latin1.def"
File: latin1.def 2006/05/05 v1.1b Input encoding file
))
("C:\Program Files\MiKTeX 2.5\tex\latex\base\fontenc.sty"
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package

("C:\Program Files\MiKTeX 2.5\tex\latex\base\t1enc.def"
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info:    Redeclaring font encoding T1 on input line 43.
))
Does anyone have an idea why this is happening?

I've attached the whole log-file and my .tex file with the whole preamble.
Attachments
temp.tex
The .tex file
(79.69 KiB) Downloaded 412 times
main.log
The log-file
(24.94 KiB) Downloaded 434 times
OS, LaTeX-system, editor: Arch Linux 64bit, TeXlive, Kile | Windows 10 Professional 64bit, MikTeX 4.9, TeXnicCenter 2.02 64bit

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: Problem with babel and danish

Post by localghost »

Go to the MiKTeX Options, choose Danish as additional language and rebuild the format files. I wonder how you did that update. The repositories have been closed for MiKTeX 2.5 some time ago.


Best regards
Thorsten¹
User avatar
Bozack
Posts: 117
Joined: Wed Feb 06, 2008 4:21 pm

Problem with babel and danish

Post by Bozack »

I already had danish as an additional language - but did the format update, and it worked :) thanks for the help.

As an answer to your question: I did the update via the update wizard in MikTeX. Apparently I hadn't updated for quite some time... There was a lot of packages that had to be updated according to that wizard... :?

But thanks again, now it works like it should :geek:
OS, LaTeX-system, editor: Arch Linux 64bit, TeXlive, Kile | Windows 10 Professional 64bit, MikTeX 4.9, TeXnicCenter 2.02 64bit
Post Reply