I usually use the command
Code: Select all
\usepackage[danish]{babel}
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 lineof your error message was never \def'ed. If you havemisspelled it (e.g., `\hobx'), type `I' and the correctspelling (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)
I've attached the whole log-file and my .tex file with the whole preamble.