Some of the page numbers listed in my table of contents are long roman numerals. For some reason, these long page numbers get pushed into the right margin.
Here is a screenshot of the table of contents. Note that the "xviii" page number gets pushed into the right margin, creating a black "warning blot".

How can I fix this? Below is some minimal code that recreates this problem:
\documentclass[12pt,draft,letterpaper]{report}
\usepackage{tocloft}
\begin{document}
\pagenumbering{roman}
% PROBLEM: In the table of contents here, the abstract's page number is pushed
% into the right margin.
\tableofcontents
\newpage .
\section*{Acknowledgements}\addcontentsline{toc}{section}{Acknowledgements}
Here are the acknowledgements.
% a bunch of blank pages, to place the abstract on page xviii
\newpage . \newpage . \newpage . \newpage . \newpage .
\newpage . \newpage . \newpage . \newpage . \newpage .
\newpage . \newpage . \newpage . \newpage . \newpage .
\chapter*{Abstract}\addcontentsline{toc}{section}{Abstract}
This is the abstract.
\end{document}


\makeatletter \def\@pnumwidth{50pt}\makeatother– yannisl Apr 27 '12 at 19:15