One way to go about it  is to use bibtool to extract all the references
your article/book uses from your aux file and dump them in a new .bib file.
Then you can use grep on the @ character to count them. Not foolproof but
should get you fairly close. Or you can open the new bib file in a bibtex
editor (JabRef, Bibdesk, etc) and let it count them for you.

So, you'd export the file to latex (with file>>export), then run latex on
the exported file (new-file.tex, let's say) in a terminal window, and then
run bibtool on the .aux  file it produced:

bibtool -x my-file.aux -o new-bibliography.bib


Then run grep on the the new bib file:

grep --count @ new-bibliography.bib

Look at this thread on tex.stackexchange for other ideas:

http://tex.stackexchange.com/questions/32032/extract-all-citations-from-tex-file

Cheers,

Stefano



-- 
__________________________________________________
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies            Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

[email protected]
http://stefano.cleinias.org

Reply via email to