1

I use textmaker and I have a problem. The bbl file is not generated from the bib file. How can I solve that?

3
  • 4
    bbl files are generated by bibtex or biber, have you run either of those?, if there are errors they will be recorded in their log files (.blg for bibtex) Commented Feb 16, 2017 at 14:49
  • Crosspost on LaTeX-community.
    – Johannes_B
    Commented Feb 16, 2017 at 14:59
  • 2
    If you are using biblatex with Biber, please refer to Biblatex with Biber: Configuring my editor to avoid undefined citations. If you need more help we need to see an MWE an explanation on how you compile your file as well as warning/error messages you get. Note that you do not compile the .bib file, you run BibTeX on the .aux file and Biber on the .bcf - although it is better to run biber <basename>/bibitex <basename> without file extension.
    – moewe
    Commented Feb 16, 2017 at 16:51

2 Answers 2

7

If you use TeXMaker, you should run bibtex or biblatex to generate the bbl file. It is not done automatically.

What I used to do, is first run pdflatex and then bibtex followed by two times pdflatex. Because Bibtex needs the auxiliary file to generate the bbl file.

1
  • What you used to works today, too. 1-) Run pdfLaTeX alone and generate aux 2-) Run bibtex alone and generate .bbl 3-) Run pdfLaTeX alone and retrieve list of references 4-) Run pdfLaTeX finally and alone, and put in-text citations. Commented Mar 31, 2023 at 18:53
3

Not familiar with this IDE but in kile I use a separate hotkey Alt+- to the one for PDFLaTeX: Alt+6

This may be a related issue. Failing that, run in the console or command-line:

bibtex file.tex #generates a bbl
latex file.tex #generates aux,dvi etc
pdflatex file.tex # generates a PDF

Running BibTeX on a .tex file will generate a bbl based on the bibliography and citation inputs called within the .tex file (as it only lists those cited).

2
  • BibTeX without using latex before is pointless. The other answer explains why.
    – Johannes_B
    Commented Feb 16, 2017 at 17:08
  • Indeed but I presume the OP has already run LaTeX if they know that a .bbl file isn't generated. They should already have an .aux file. So they run BibTeX to generate a bibliography and the update the PDF to include it. This should suffice to typeset an existing document after updating it. Commented Feb 16, 2017 at 20:55

Not the answer you're looking for? Browse other questions tagged .