When I compile my code, I get some errors. Then it turns out that the pdf is not built. The errors occur several times, for different lines. Here are some examples of these errors :
It seems to me that these errors are related while I can't figure out the origin.\! Use of \@undeclaredcolor doesn't match its definition.
\@ifnextchar ... \reserved@d =#1\def \reserved@a {
#2}\def \reserved@b {#3}\f...
l.89 ...ntsline {part}{Glossaire}{129}{appendix.B}
! Argument of \HyColor@@@@UseColor has an extra }.
<inserted text>
\par
l.89 ...ntsline {part}{Glossaire}{129}{appendix.B}
! Paragraph ended before \HyColor@@@@UseColor was complete.
<to be read again>
\par
l.89 ...ntsline {part}{Glossaire}{129}{appendix.B}
It's strange because everything was working before. I just included new text and figures and then I obtained the errors.
Here is the code in the begining of my document (which is long as it's a thesis manuscript, and it's in french):
Thanks a lot for your help.\documentclass[12pt,a4paper, titlepage, openright]{book}
\usepackage[latin9]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{garamond}
\usepackage{geometry}
\usepackage[english,french]{babel}
\usepackage{graphics}
\usepackage{graphicx}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\newcommand{\clearemptydoublepage}{%
\newpage{\pagestyle{empty}\cleardoublepage}}
\usepackage{pdfpages}
\usepackage{appendix}
\usepackage[pdffitwindow=false,
pdfview=FitH,
pdfstartview=FitH,
plainpages=false,colorlinks=true]{hyperref}
\hypersetup{urlcolor=blue,linkcolor=black,citecolor=black,colorlinks=true, pdfauthor={Moi},
pdftitle={La vie},
pdfsubject={Thèse de doctorat},
pdfkeywords={mots-clés}}
\usepackage{caption}
\captionsetup{figurewithin=none}
\captionsetup{tablewithin=none}
\makeglossary
\usepackage{csquotes}
Best
-nicolas-