0

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?

cfr
  • 198,882
  • 1
    Questions 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 Answers1

0

One can count the number of bibliographic references that are present and used in two LaTeX projects as follows:

  1. 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 yields project2.bib.
  2. Merge project1.bib with project2.bib.
  3. Count the number of unsolved references when compiling project 1 with the new merged .bib file.