pensavo di aver risolto leggendo questo topic ma mi vengono fuori degli errori, premetto che uso mintoc e penso che sia quello la causa degli errori e warning
`! LaTeX Error: Command \c@lofdepth already defined.
Or name \end… illegal, see p.192 of the manual.See the LaTeX manual or LaTeX Companion for explanation.
Type Hfor immediate help.
…l.608 \newcounter{lofdepth}
\setcounter{lofdepth}{1}
Your command was ignored.
Type Ito replace it with another command,
orto continue without it. ! LaTeX Error: Command \c@lotdepth already defined.
Or name \end… illegal, see p.192 of the manual.See the LaTeX manual or LaTeX Companion for explanation.
Type Hfor immediate help.
…l.609 \newcounter{lotdepth}
\setcounter{lotdepth}{1}
Your command was ignored.
Type Ito replace it with another command,
orto continue without it.`
e come warning
` Package minitoc(hints) Warning:
(minitoc(hints)) You have used \minitoc but not
(minitoc(hints)) \tableofcontents
(minitoc(hints)) nor \faketableofcontents.Package minitoc(hints) Warning:
(minitoc(hints)) Some hints have been written
(minitoc(hints)) in the tesina*or.log file.`
Il messaggio di warning è chiaro: non puoi usare \minitoc (o \begin{minitoc}, non sono pratico del pacchetto) senza usare \tableofcontents; se non vuoi l’indice globale, devi inserire all’inizio del documento il comando \faketableofcontents.
Per il messaggio di errore direi che il problema nasce dal caricamento di minitoc prima di tocloft. Prova a invertire l’ordine con cui li carichi.
Ciao
Enrico