When I reference to non exiting bibliography entry


Instead of error, I result in document with

See [?]

How to do \cite{} checking ? I'd like to prevent citing non-exiting entries.

  • 4
    You get a warning in the log-file. – Marco Daniel Feb 1 '12 at 16:21
  • Maybe the refcheck package can help. :) – Paulo Cereda Feb 1 '12 at 16:25
  • Checking log file solved my problem :) : grep 'LaTeX Warning' *.log . What about refcheck - it's not present in my system so I haven't checked it. – Grzegorz Wierzowiecki Feb 1 '12 at 18:13
  • @MarcoDaniel - Maybe put your answers on bottom , so I could up-vote or select as solving question – Grzegorz Wierzowiecki Feb 1 '12 at 18:25

When you compile with a citation of an entry that doesn't exist, you will get a message in your log as:

LaTeX Warning: Citation `NonExistant' on page 2 undefined on input line 51.

you log file is situated in the same file as your .tex file with the same name and a .log extension

It would be good practise I suppose to search your log file for the LaTeX Warning string.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.