Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

When I reference to non exiting bibliography entry

See \cite{NON EXISTING}

Instead of error, I result in document with

See [?]

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

share|improve this question
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

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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