13

How can I tell LaTeX that it should use an existing bbl file foo.bbl, say, without running bibtex?

20

OK, I see, just use \input{foo.bbl}. The bbl file just contains the bibitems and thus can be included like any other content.

  • maybe \InputIfFileExists{foo.bbl} ? – yo' Feb 25 '13 at 22:21
  • This is a great solution for making the "References cited" file for an NSF grant proposal. – Bjørn Kjos-Hanssen Sep 22 '14 at 0:10
  • How to get citation numbers? Like [2]. – WindChaser Jul 23 '17 at 10:05
  • 1
    This seems to be the best solution for arXiv manuscripts. – omerbp Sep 9 '18 at 5:56
10

LaTeX attempts to read a .bbl file when you use the \bibliography command. If the file does not exist, you get an empty bibliography. LaTeX doesn't 'know' if you run BibTeX, it only knows if a .bbl file exists. (You can make a .bbl file by hand, and it will work.)

  • Yes that's exactly what I meant. I have a .bbl file (created "somehow", let's say) and I want LaTeX to use it without biblatex coming into play. – lpdbw Feb 24 '13 at 17:16
  • Some systems (e.g. LaTeXtools for Sublime Text) automatically run pdflatex, bibtex and pdflatex again during a 'Build', so note that in this answer the idea is to NOT run bibtex as this creates a new .bbl file. This means any \bibliography{foo} will be ignored. If nothing else, you can use the CLI to just run pdflatex once, if your editor of choice runs biblatex by default. The good thing about this approach is that the source .tex file does not need to be modified. – BrechtDeMan Jul 14 '16 at 13:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.