I'm trying to tackle a problem due to the usage of the hyperref package.
Without the usage of the package, everything goes fine with the document and I obtain the PDF I want. When I try to implement hyper links in the document, the compilation crashes and I get this error in the log:
Code: Select all
<inserted text>\parl.4 \contentsline{figure}{\numberline {1.2}{\ignorespaces }}{7}
Code: Select all
Code, edit and compile here:
\documentclass[11pt]{book}%% En 12pt c'est possible aussi%% packages utilises\usepackage[T1]{fontenc}\usepackage[frenchb]{babel}\usepackage{times} %palatino,times\usepackage{lscape,pdflscape}%Rotation landscape\usepackage{graphicx}\graphicspath{{./chapitre1/graph/},{./chapitre2/graph/},{./chapitre3/graph/}}\usepackage{amsmath}\usepackage{amssymb,textcomp,txfonts,amsfonts}\usepackage[compress]{natbib}\usepackage[version=3]{mhchem}\usepackage[hmargin=3cm,vmargin=2cm]{geometry}\usepackage{tabulary}\usepackage{tabularx}\usepackage{array}\usepackage[table,x11names]{xcolor}\usepackage{booktabs}\usepackage[breaklinks=true]{hyperref}
Code: Select all
Code, edit and compile here:
\newpage\cleardoublepage\addcontentsline{toc}{chapter}{Table des figures}\markboth{Table des figures}{Table des figures}\listoffigures
Regards