- Questo topic ha 5 risposte, 4 partecipanti ed è stato aggiornato l'ultima volta 14 anni, 4 mesi fa da .
-
Topic
-
Ciao a tutti, ho un problema con la compilazione dell’indice con il comando \tableofcontents.
Tale comando ha sempre funzionato correttamente fin quando non ho inserito un’appendice contenente molte tabelle che mi dava dei problemi di compilazione, ho risolto questi problemi con il pacchetto \usepackage[section] {placeins}, che però mi blocca la compilazione dell’indice e dell’elenco delle figure e delle tabelle.
I messaggi di errore sono i seguenti:`
! File ended while scanning text of \write.
}
l.29 \tableofcontents
I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.! Undefined control sequence.
…\protect \edef m{bx}\protect \xdef \OT
1/cmr/bx/n/9 {\OT 1/cmr/m/…
l.29 \tableofcontents
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
`Questi errori sono riferiri alla linea dove compare il comando \tableofcontents, prima di questi errori mi compare però un’altro errore su una riga successiva, lo riporto:
`
! Missing { inserted.
\def
l.47 …begingroup \immediate \write \@unused \def
\MessageBreak \let \prote…
A left brace was mandatory here, so I've put one in.
You might want to delete and/or insert some corrections
so that I will find a matching right brace soon.
(If you're confused by all this, try typing `I}' now.)
)
Runaway text?
\def \MessageBreak \let \protect \edef Try typingto proceed\ETC.
`ciò ha poco senso in quanto se tolgo \tableofcontents, in quella riga non ho più alcun tipo di errore.
Non so proprio come risolvere questo problema non capendo da cosa sia causato l’errore.
Spero mi possiate aiutare
Grazie in anticipo!
- Devi essere connesso per rispondere a questo topic.