I have a problem in compiling my document. It takes much time in compiling and when I stop this this error appear:
! File ended while scanning use of \@writefile.<inserted text>\par \begin{document}
EDIT:
This are the packages that I use
\documentclass[12pt,a4paper]{report}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage{color}
\usepackage{xcolor} %les couleurs
\definecolor{myblue}{rgb}{0.2,0.4,1}
\usepackage{layout}
\usepackage[top=2 cm, bottom=2 cm, left=2 cm, right=2 cm]{geometry}
\usepackage{setspace}
\usepackage[pdftex]{graphicx}
\usepackage{array}
and also i compile this document frequently whith no problem but yesterday this problem appear
\end{document}. Please add a minimal working example (MWE) that illustrates your problem – Marco Daniel Apr 17 '12 at 11:36\@writefile{toc}{\contentsline {section}{abc}{1}}Probably you have added something fragile to one of your titles and now latex chokes on the content in the aux-file. Open the aux-file to find the culprit, correct your code and then delete the broken aux-file. – Ulrike Fischer Apr 17 '12 at 12:14