I have two LaTeX projects: LaTeX project 1, LaTeX project 2. How can I see the number of bibliographic references that are present and used in both LaTeX projects?
Asked
Active
Viewed 44 times
0
-
1Questions shouldn't depend on external links. Nor should they demand people parse whole projects. Please provide a minimal working example that illustrates your problem. Then people will be happy to help. Do they both use the same bibliography backend? Which? – cfr Mar 26 '24 at 03:55
-
@cfr thanks, I found a generic solution that works on any project size. – Franck Dernoncourt Mar 29 '24 at 01:21
1 Answers
0
One can count the number of bibliographic references that are present and used in two LaTeX projects as follows:
- Take project 1, remove (script) all unused entries in the .bib file: let's call that cleaned file
project1.bib. Do the same bib cleaning operation for project 2, which yieldsproject2.bib. - Merge
project1.bibwithproject2.bib. - Count the number of unsolved references when compiling project 1 with the new merged .bib file.
Franck Dernoncourt
- 2,040