4
votes
1answer
53 views

Multiply defined labels with \usebox

I want to duplicate some content without re-defining its labels. For example, \newbox{\foobox} \sbox{\foobox}{\vbox{\section{Foo}\label{sec:foo}} \usebox{\foobox} \usebox{\foobox} will emit a ...
14
votes
1answer
173 views

How to diagnose a permanent “Label(s) may have changed” warning?

I'm getting the following warning: LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. The problem is, it doesn't go away after rerunning (any number of times). The ...
5
votes
2answers
217 views

mdframed label multiply defined (with listings and paracol)

I use three packages (in a latex "book" document) to display source files (not only tex and sometimes loaded from external files) and their outputs (sometimes loaded from external files) side by side. ...
8
votes
2answers
175 views

Show reference label when it is undefined

When a reference is undefined, LaTeX shows simply [??] which doesn't give much information. I would like it to show the label instead. This is useful when more collaborators work on the same preprint ...
6
votes
1answer
326 views

What causes those warnings and how can I avoid them?

I have a bunch of warnings as follows: l.3387 \end{align} pdfTeX warning (ext4): destination with the same identifier ( name{equation.0.24}) has been already used, duplicate ignored ...
2
votes
1answer
134 views

How to get rid of “multiply defined” label warning?

I have used \label{rt} command 7 times in my manuscript for seven figures. It is showing a warning message of "LaTeX warning: Label '{rt}' multiply defined". How to remove the warning?
4
votes
1answer
96 views

Hyperref warning when using amsthm and enumerate

hyperref gives the warning that something has been referenced but it doesn't exist. When I use the enumerate (or an itemize) list, I get the warning. Here is the minimal working example (MWE): ...
15
votes
1answer
463 views

Why does the compiler keeps telling me (forever) to rerun because labels have changed?

I have a LaTeX paper (multifile setup, using \input{} statements) that , since a few days ago, keeps telling me at each compile (both with pdflatex or latex): LaTeX Warning: Label(s) may have ...
5
votes
3answers
187 views

Multiple labels warning for exam class with parts

I am writing a document in the exam class. For question with multiple parts (a), (b),... you are supposed to use the parts environment. Using it works fine, until I add a solution to the question that ...
17
votes
1answer
140 views

Floats shortly after they have been \ref-erenced; Warn otherwise

In my thesis I have a many floating figures which I then reference using \ref. I use flafter to ensure that they do not appear before they are defined in the source code (See Force floats to be ...
1
vote
2answers
1k views

\hyperref to a \label doesn't work (“empty destination key”)

In one of my documents, I used the combination of \label with \hyperref. Now, I fail for some reason. I included the package: \usepackage[colorlinks=true,urlcolor=blue,linkcolor=blue]{hyperref} ...
17
votes
2answers
352 views

Is there a way to force LaTeX to issue a warning if a figure is never referenced? [duplicate]

Possible Duplicate: How can I get LaTeX to warn about unreferenced figures? In my document I have several figures, most of which I created references for (using \ref{}) immediately after I ...
5
votes
3answers
14k views

How to understand the LaTeX warning “there were undefined references”?

I am running this LaTeX file through pdflatex and getting these warnings: latex warning: there were undefined references. latex warning: label(s) may have changed. Rerun to get cross-reference ...
34
votes
1answer
2k views

How can I get LaTeX to warn about unreferenced figures?

When writing documents, I consider it to be necessary that all figures and tables are referenced (\ref) in the text, whether or not I've remembered to \label them. LaTeX does not currently warn if a ...
5
votes
1answer
443 views

Multiply defined label warnings when using Subcaption in a Tikz picture

In an earlier question, I asked how to create zoomed highlights of a larger image automatically. User Jake provided an excellent solution using TikZ. However, when subcaptions and hyperref are added ...
19
votes
3answers
11k views

Warning: There were multiply-defined labels

I got a "LaTeX Warning: There were multiply-defined labels", and I know what it means but my document is pretty big and it has various files. So, how can I find the multiply-defined label? I am ...