0

My question is similar to this post but with biblatex and biber backend. As said in the title I want to generate one unified bibliography from two stand-alone LaTeX files, each of which have their own references. The use case is for grant submission for example, during which, they typically ask for one document for all references.

Thanks for your help.

  • You could use bibtool to extract the citations from each from the bib file or bib files you're using, put them in a single bib file, and then make a new document with \nocite{*} to include everything found in the bib file. Not sure if that matches your workflow, however. – frabjous Sep 22 '22 at 02:29
  • Not sure what exactly you need. If the bibliography of one document is a subset of the other something like https://tex.stackexchange.com/q/426964/35864, https://tex.stackexchange.com/q/473444/35864 might work. – moewe Sep 22 '22 at 06:00
  • Sorry for my late response.
    @frabjous Thanks, I will give bibtool a try. Can you point me to a detailed guide to do so?
    – Kourosh Oct 04 '22 at 02:20
  • @moewe No, they are not necessary subset. They might have common references though. As I mentioned in the OP, the use case is for NIH grant proposal: I have multiple documents (applicant background and goals, research strategy, etc.) and one bibliography document which should list all the references in other documents. – Kourosh Oct 04 '22 at 02:24
  • Bibtool's documentation is pretty exhaustive. But a basic use to extract the bib entries used in a given tex file would be something like bibtool -x filename.aux -o extracted.bib (assuming the tex file is filename.tex and has been processed at least once by LaTeX to create the aux file). To do more than one file bibtool -d -x filename.aux -x filename2.aux -o extracted.bib – frabjous Oct 04 '22 at 02:47
  • @frabjous Great, thanks. One question, how the references will be numbered correctly in the two LaTeX files filename.tex and filename2.tex? – Kourosh Oct 04 '22 at 13:04

0 Answers0