I currently gathering some statistical information about my thesis for reporting purposes. One metric I want to determine is how many sources I have referenced.
I have a BibTeX file with more than 150 sources, but I only use a subset in my thesis. Is there a way to count the used sources (the sources in the source-index, not the \cite commands). I don't use a number based short reference and I don't want to change my citation style.
Is there a count-macro or something else to count referenced sources in LaTeX?
checkcitesscript does what you want. It's in TeX Live 2011. – egreg Jul 02 '12 at 10:07grep '\\bibitem ' jobname.bbl | wc -l? – Jellby Jul 02 '12 at 10:13