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?
Asked
Active
Viewed 512 times
6
lockstep
- 250,273
Tobin Fricke
- 2,364
1 Answers
2
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)
Tobin Fricke
- 2,364
biblatex, see http://tex.stackexchange.com/questions/6967/how-to-split-bibliography-into-works-cited-and-works-not-cited. – lockstep Oct 03 '11 at 22:40