When making long documents under book class if one needs 10 or more chapters, something weird happens with the table of contents: the space between the number of the chapter and its title disappears, just like it was trying to preserve a beautiful alignment on the left but leading to an incorrect output.

Here's a MWE:
\documentclass[spanish, 12pt]{book}
\usepackage[spanish]{babel}
\usepackage[utf8]{inputenc}
\begin{document}
\tableofcontents
\chapter{A}
\newpage
\chapter{B}
\newpage
\chapter{C}
\newpage
\chapter{D}
\newpage
\chapter{E}
\newpage
\chapter{F}
\newpage
\chapter{G}
\newpage
\chapter{H}
\newpage
\chapter{I}
\newpage
\chapter{J}
\newpage
\chapter{K}
\end{document}
To be honest, I have no idea how to fix this. I hope you guys do.
\documentclass{...}and ending with\end{document}. – Apr 18 '14 at 11:571.5emby default. You can adjust that to your liking by following theetoolboxpatch suggested in Space length between the chapter number and the chapter title. – Werner Apr 18 '14 at 12:42\newpageis redundant here, as the book chapters start on the right side as default. – LaRiFaRi Apr 18 '14 at 12:44