5

When compiling my .tex file, latexmk responds with

  Latexmk: Summary of warnings: Latex failed to resolve 2 reference(s) Latex found 1 multiply defined reference(s)
  1. What excatly does it mean when there are unresolved references?
  2. Is there an easy way of identifying multiply defined references? (I have a 3000 line .bib file)
8
  • 5
    reference are not from the bib, but from \label/\ref commands. The log-file will show you which are undefined and which have been set more then once. Sep 1, 2016 at 12:48
  • 1
    Use JabRef for organizing the references of a database specified in (.bib) format. I guess this will suffice your need by excluding the duplicates.
    – M S
    Sep 1, 2016 at 12:51
  • 2
    What text editor do you use ? How do you compile your .tex file ? Some softwares are more specific about this kind of message (ex: TeXStudio). Sep 1, 2016 at 13:01
  • 2
    I use TeXStudio and Latexmk. The answer of JPi helped me find my multiply defined reference.
    – piptoma
    Sep 1, 2016 at 13:14
  • 2
    I didn't know about refcheck and tried it, but it resulted in all sorts of weird errors, including missing $. There appears to be a conflict, possibly with cleveref or hyperref.
    – JPi
    Sep 1, 2016 at 13:54

1 Answer 1

6
  1. A reference that has not been found, e.g. you've used \ref{ex} without a matching \label{ex} or with a matching \label{ex} that has not been found yet. Another run of LaTeX should resolve the latter.

  2. Look in the log file for the words multiply and undefined.

1
  • 2
    Searching the .log for "undefined" did it for me!
    – mcp
    Apr 7, 2022 at 20:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .