I recently updated my Miktex 2.9 and when I tried to compile my files I get the following error, which I didn't have before:
package babel error: unknown option spanish. Either you misspelled it
or the language definition file spanish.ldf was not found.
This is a MWE:
\documentclass[12pt]{article}
\usepackage[explicit]{titlesec}
\usepackage[usenames,dvipsnames]{pstricks}
\usepackage{amsfonts,amssymb,amsmath,mathrsfs,enumerate,epsfig,fullpage,pst-grad,pst-plot}
\usepackage[spanish]{babel}
\usepackage[latin1]{inputenc}
\begin{document} Esta es una prueba. \end{document}
Best Answer
The organization of
babel
has changed. The languages has been separated into separate distribution packages and are now independently maintained. In MiKTeX you have to installbabel-spanish
to getbabel
'sspanish
.Related: Package babel Error: Unknown option `francais'