Closed GoogleCodeExporter closed 9 years ago
The error is present whether using Makefile rc6 or not. The bug is in rc6,
which was failing to stop when there was a legitimate error.
So, labeldelim being undefined is still a problem. Note that when rc6 built
your file, it failed to handle the bibliography correctly or to build a correct
document in general. That's why the error is reported correctly in more recent
revisions of the makefile, and you'll have to fix it if you want your document
to build properly.
You'll note that just running
pdflatex ExemploTeseITA
Causes an error to be given, and compilation cannot proceed. That is not the
fault of the makefile, but of the document.
The problem is that in ita.cls, the caption package is used with the option
[labeldelim=\ --]
But the caption package does not understand that option (it is deprecated).
So, instead of using labeldelim, you'll need to edit the .cls file to use a
combination of
\DeclareCaptionLabelFormat{myformat}{#1 --#2}
Then, inside of your figure environment, or wherever you define a caption, you
would use
\captionsetup{myformat}
So, the way to fix the ita.cls file is included in the attached patch, which
defines a "dashlabel" labelformat, which you can use with
\captionsetup{dashlabel}. I hope it helps.
Original comment by shiblon
on 15 Mar 2011 at 2:29
Attachments:
Original issue reported on code.google.com by
carbr...@gmail.com
on 2 Mar 2011 at 7:21Attachments: