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}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
to load babel, and it used to work. But now it gives med the error messages

Code: Select all

Code, edit and compile here:
("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
)
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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 398 times
main.log
The log-file
(24.94 KiB) Downloaded 419 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
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
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¹
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
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