I usually use the command
Code: Select all
\usepackage[danish]{babel}
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.
))
I've attached the whole log-file and my .tex file with the whole preamble.