Re: \listoffigure in Classic thesis

#31119
Up
0
Down
::


Grazie per la pronta risposta.
Allora, inserisco 3 file utilizzati:

1) il main
`
\documentclass[ twoside,openright,titlepage,fleqn,pointlessnumbers,headinclude,%1headlines,%
10pt,a4paper,BCOR5mm,footinclude,cleardoubleempty,abstractoff % <--- obsolete, remove (todo) ]{scrreprt} \listfiles \newcommand{\myTitle}{Control of ODE systems with actuator or sensor dynamics modelled by PDEs\xspace} \newcommand{\myDegree}{Tesi di Laurea Specialistica\xspace} \newcommand{\myName}{Gian Antonio Susto\xspace} \newcommand{\myProf}{Alessandro Beghi\xspace} \newcommand{\myOtherProf}{Miroslav Krstic\xspace} \newcommand{\myFaculty}{Facolt\'a d'Ingegneria\xspace} \newcommand{\myDepartment}{Dipartimento di Ingegneria dell'Informazione\xspace} \newcommand{\myUny}{Universit\'a degli Studi di Padova\xspace} \newcommand{\myCourse}{\protect{Corso di Laurea Specialistica in Ingegneria dell'Automazione}\xspace} \newcommand{\myLocation}{San Diego\xspace} \newcommand{\myTime}{\today\xspace} \newcommand{\myVersion}{Version 0.1\xspace} \usepackage[latin1]{inputenc} \usepackage[italian,american]{babel} \usepackage[square,numbers]{natbib} \usepackage[fleqn]{amsmath} \usepackage{amsfonts} \usepackage{amsthm} \usepackage{classicthesis-ldpkg} \usepackage[eulerchapternumbers,drafting,%pdfspacing,% subfig,beramono,eulermath,parts]{classicthesis} \newlength{\abcd} % for ab..z string length calculation \newcommand{\myfloatalign}{\centering} \captionsetup{format=hang,font=small} \hypersetup{% colorlinks=true, linktocpage=true, pdfstartpage=3, pdfstartview=FitV, breaklinks=true, pdfpagemode=UseNone, pageanchor=true, pdfpagemode=UseOutlines, plainpages=false, bookmarksnumbered, bookmarksopen=true, bookmarksopenlevel=1, hypertexnames=true, pdfhighlight=/O, urlcolor=webbrown, linkcolor=RoyalBlue, citecolor=webgreen, pdftitle={\myTitle}, pdfauthor={\myName}, pdfsubject={}, pdfkeywords={}, pdfcreator={pdfLaTeX}, pdfproducer={LaTeX with hyperref and classicthesis} } \begin{document} \frenchspacing \raggedbottom \selectlanguage{american} \pagestyle{scrheadings} \pagestyle{scrheadings} \cleardoublepage\include{FrontBackmatter/Contents} \include{Chapters/Introduction} \end{document} ` 2) il file Contents, dove chiamo \listoffigures ` \refstepcounter{dummy} \pdfbookmark[1]{\contentsname}{tableofcontents} \setcounter{tocdepth}{2} \tableofcontents \clearpage \begingroup \let\clearpage\relax \let\cleardoublepage\relax \let\cleardoublepage\relax \refstepcounter{dummy} \pdfbookmark[1]{\listfigurename}{lof} \listoffigures \vspace*{8ex} \refstepcounter{dummy} \pdfbookmark[1]{Acronyms}{acronyms} \markboth{\spacedlowsmallcaps{Acronyms}}{\spacedlowsmallcaps{Acronyms}} \chapter*{Acronyms} \begin{acronym}[UML] \acro{FDM}{Finite Difference Method} \end{acronym} \endgroup \cleardoublepage ` 3) il file Introduction dove includo una figura ` %************************************************ \myChapter{Introduction}\label{ch:intro} %************************************************ This thesis is basically centred on .... \begin{figure}[t] \includegraphics[width=1.00\linewidth]{gfx/FluidFlow_NavierStokeEquation.jpg} \caption{The motion of fluid substances is described by nonlinear $PDE$s, the Navier-Stokes equations.} \label{fig:FluidFlow_NavierStokeEquation} \end{figure} ` Compilando ottengo 2 errori riguardanti la figura che 'puntano' al file main.lof ` \select@language {american} \deactivateaddvspace \select@language {american} \addvspace {10\p@ } \contentsline {figure}{\numberline {1}{\ignorespaces The motion of fluid substances is described by nonlinear $PDE$s, the Navier-Stokes equations.\relax }}{4}{figure.caption.4} ` Gli errori sono: 1) ! Undefined control sequence 2) Missing number, treated as zero La cosa viene iterata per ogni figura che inserisco.

Go to top