I would like to list all items in my .bib database which are not cited by a particular document, to make sure I have not overlooked citing anything that I intended to cite. Is there an easy way to do this?
1 Answer
Here's a quick and dirty way to get the job done in the unix shell:
comm -13 <(sed -n 's/^\\bibitem{\(.*\)}/\1/p' < document.bbl | sort) \ <(sed -n 's/^@\(.*\){\(.*\),/\2/p' < myrefs.bib | sort)
biblatex, see tex.stackexchange.com/questions/6967/….