BibTeX, biblatex and biberProblem with generating Reference list (no bbl file?)

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
CorneliusJack
Posts: 4
Joined: Wed Mar 09, 2011 4:07 am

Problem with generating Reference list (no bbl file?)

Post by CorneliusJack »

Hi everyone, I am just starting with LaTeX so I am sure I have made a bunch of silly mistake on the way. But as of yesterday I am stuck with no solution. So here is a bit of background:

Win7, installed MikeTex (with auto-installed package setting) and using TexMaker for editing, and installed JabRef for creating bib-files.

So I have created a .bib file with several entries, and put it in the same directory as my .tex file. And yet when I try to generate the reference list by invoking /cite{...}, the result list it is empty, and there was warning of:
LaTeX Warning: Citation `Duffie2001' on page 1 undefined on input line 8.
No file foo.bbl.
I also tried /nocite to find the whole list but to no avail.

I read some of the older posts here with similar problem and I used the MWA, foo.tex to try to work with it. And I encountered similar problem.

I have also read that for everytime the .bib is read into the TexMaker, an aux file will be introduced with the citation appended to it. And indeed there is such file, but I still can't generate .bbl file. Please help.

I noticed that aux files are not allowed here on forum. So I will put it in quote, here is the .aux file that's generated:
\relax
\citation{Duffie2001}
\bibstyle{plain}
\bibdata{foo}
I have attached several files(MWA that was used here before, log file, and the bib file)

Here is the screen-cap of the setting and quick-build screen:

http://i.imgur.com/A4YtB.png
http://i.imgur.com/fCWYu.png

(the image size are too big, so I hyperlinked them as url instead of img)
Attachments
foo.log
the log file
(4.36 KiB) Downloaded 414 times
foo.tex
MWA file
(288 Bytes) Downloaded 416 times
foo.bib
bib file
(2.3 KiB) Downloaded 457 times
Last edited by CorneliusJack on Wed Mar 09, 2011 11:29 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Frits
Posts: 169
Joined: Wed Feb 02, 2011 6:02 pm

Problem with generating Reference list (no bbl file?)

Post by Frits »

The example you posted works fine here. Note that, when adding a new citation to your document, you have to compile it as follows:

Code: Select all

latex foo
bibtex foo
latex foo
latex foo
So first compile normal, then compile bibtex, then latex two more times. You'll notice that the warning(s) disappear that last time.
howtoTeX.com - Your LaTeX resource site (Tips, Tricks, Templates and more!)
Follow howtoTeX on twitter
CorneliusJack
Posts: 4
Joined: Wed Mar 09, 2011 4:07 am

Problem with generating Reference list (no bbl file?)

Post by CorneliusJack »

Frits wrote:The example you posted works fine here. Note that, when adding a new citation to your document, you have to compile it as follows:

Code: Select all

latex foo
bibtex foo
latex foo
latex foo
So first compile normal, then compile bibtex, then latex two more times. You'll notice that the warning(s) disappear that last time.

Thank you for the reply!
How do I go about doing that with MikeTex+TexMaker+JabRef?
Frits
Posts: 169
Joined: Wed Feb 02, 2011 6:02 pm

Re: Problem with generating Reference list (no bbl file?)

Post by Frits »

To compile the LaTex part in Texmaker you probably use the Quick Build button. That's fine.
To compile the BibTeX part, click Tools -> BibTeX (F11).
howtoTeX.com - Your LaTeX resource site (Tips, Tricks, Templates and more!)
Follow howtoTeX on twitter
CorneliusJack
Posts: 4
Joined: Wed Mar 09, 2011 4:07 am

Re: Problem with generating Reference list (no bbl file?)

Post by CorneliusJack »

Oh, I had the wrong setting in the TexMaker.
I changed it back to "bibtex %.aux" and now it works!

And I also set the quickBuild to

latex
bibtex
latex
pdfLatex
Pdf Viewer


now it builds the bll and view the pdf automatically. Thank you so much!
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problem with generating Reference list (no bbl file?)

Post by localghost »

CorneliusJack wrote:[…]I changed it back to "bibtex %.aux" and now it works![…]
Then please mark the topic (not the last post) accordingly as written in Section 3 of the Board Rules (to be read before posting).


Thorsten
CorneliusJack
Posts: 4
Joined: Wed Mar 09, 2011 4:07 am

Problem with generating Reference list (no bbl file?)

Post by CorneliusJack »

localghost wrote:
CorneliusJack wrote:[…]I changed it back to "bibtex %.aux" and now it works![…]
Then please mark the topic (not the last post) accordingly as written in Section 3 of the Board Rules (to be read before posting).


Thorsten

Done. Thank you for the assistance. :)
Post Reply