## LaTeX forum ⇒ General ⇒ no .bbl file generated

LaTeX specific issues not fitting into one of the other forums of this category.
philipmach
Posts: 6
Joined: Fri Oct 26, 2007 12:46 pm

### no .bbl file generated

I have a multichapter document, using \include for each chapter, and have just started to add in references, and no .bbl file is generated despite running LaTeX repeatedly. Here is an edited down version of the master file -- any ideas on what may be preventing the bbl file being generated?

In case it makes a difference, I'm using TeXshop 2.14 on Mac OS X.


Stefan Kottwitz
Posts: 8075
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:
Hi,

did you use \cite inside your document? Try \nocite{*} to get all references of the bib file listed.

Stefan

Ted
Posts: 94
Joined: Sat Jun 23, 2007 4:11 pm
Location: Columbus, OH
Contact:
philipmach wrote:I have a multichapter document, using \include for each chapter, and have just started to add in references, and no .bbl file is generated despite running LaTeX repeatedly. Here is an edited down version of the master file -- any ideas on what may be preventing the bbl file being generated?

Remember that it's not LaTeX that generates the BBL, it's BibTeX.

1. Run LaTeX to generate the AUX file. It adds a line every time it finds a cite.
2. Then run BibTeX (executable: bibtex) to generate the BBL (from the AUX lines).
3. Then run LaTeX again, which will include the BBL.
4. Then run LaTeX again to make any updates corresponding to including the possibly massive BBL (e.g., updating your final page count on each of your pages, updating your ToC, etc.).

I don't recall if TeXShop attempts to do this automatically. If it doesn't, you need to make sure you run BibTeX whenever you need to update your BBL.
-- Ted [home/blog]

Stefan Kottwitz
Posts: 8075
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:
Hi,

perhaps have a look at this tutorial: Getting to Grips with Latex - Bibliography Management, section Why won't Latex generate any output?.

Stefan

philipmach
Posts: 6
Joined: Fri Oct 26, 2007 12:46 pm
Thanks for all the tutorial stuff. I don't know how often I've done exactly this in past but somehow the fact that TexShop doesn't understand when to invoke Bibtex had escaped me.

Ted
Posts: 94
Joined: Sat Jun 23, 2007 4:11 pm
Location: Columbus, OH
Contact:
philipmach wrote:Thanks for all the tutorial stuff. I don't know how often I've done exactly this in past but somehow the fact that TexShop doesn't understand when to invoke Bibtex had escaped me.

You might consider using the Perl script latexmk. I've never used it myself, but I know lots of people who seem to like it. It runs in the background and runs LaTeX, BibTeX, makeindex, etc. whenever necessary.

While TeXShop and the OS X 10.5 version of Preview auto-refresh, lots of other PDF viewers do not. Additionally, neither program are exceptional PDF viewers. You might want to give Skim a shot (ESPECIALLY if you stop using TeXShop (personally, I use Vim with the Vim-LaTeX suite to do my editing)). It's a terrific viewer, and it has lots of features that will make LaTeXers happy (support for inverse searching is one example).
-- Ted [home/blog]

LauraVosje
Posts: 1
Joined: Wed Aug 27, 2008 2:01 pm
Hi,

I had a similar problem. I use WinEdt/LEd + Miktex. My .bbl file did not contain any references so was practically empty and the \cite{} comments I added resulted in questionmarks like this: "[?]". For me, the problem was solved when I specified the whole path to the .bib file and did not add ".bib" behind the filename. Example:
\bibliography{D:/.../filename}

It's a little late to post this but I hope someone will benefit from it.

Laura

Stefan Kottwitz
Posts: 8075
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:
Hi Laura,

welcome to the board and thank you for contributing your solution!

Stefan

localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany
LauraVosje wrote:[...] It's a little late to post this but I hope someone will benefit from it. [...]

It's never to late to post a useful solution for a problem. Thanks for this initial contribution.

Best regards and welcome to the board
Thorsten¹
LaTeX Community Moderator

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

ashwini
Posts: 1
Joined: Thu Sep 18, 2008 10:03 am
Hi,

I am using Miktex + Texmaker and even i faced the same problem while using the bibtex.

After running latex on the .tex file, .aux file was generated. But running Bibtex on the .tex file now did not generate the .bbl file.

The workaround:

1) Run Latex on the btest.tex file
Latex btest.tex
The following files are generated
btest.aux
btest.dvi
btest.log

2) Rename the btest.aux file to btest.tex.aux

3) Run Bibtex on the .tex file
bibtex btest.tex
The following files are generated:
btest.tex.bbl
btest.tex.blg

4) Rename the btest.tex.bbl file to btest.bbl.tex (probably you can skip this step)
5) Run Latex on the btest.tex file twice

The problem is fixed.

I am not sure if it works in your environment.