LaTeX forum ⇒ BibTeX, biblatex and biberTexStudio won't compile bib files

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Posts: 1
Joined: Tue Jan 14, 2014 8:03 pm

TexStudio won't compile bib files

Postby saudiwin » Tue Jan 14, 2014 8:17 pm

Hello Texperts,

I use TexStudio on Windows 7 and have MikTeX installed as the LaTeX distribution. Per the advice that I read elsewhere online, I set up my own texmf directory and added it to the MikTeX configuration file so that I can use one standard .bib file across LaTeX files. The reason I did this is because it was too hard to come up with a filename path that did not have spaces due to folder names on Windows.

The odd thing is, any .tex file will compile with TexWorks (from the MikTex distribution) and include the proper references and generate a .bib file for the .tex file. However, when I try the same action in TexStudio it fails to generate any Bibtex references (the output shows question marks instead of references). When I scan the log I find warnings that the references are empty but I don't see any errors regarding the \bibliography reference. The code I am using is:

  1. \bibliographystyle{apa}
  2. \clearpage
  3. \bibliography{BibTexDatabase}

and the file BibTexDatabase.bib is located in a filepath ~\Tex\bibtex\misc.

Once I compile the file with TeXWorks and generate a .bib file, I can go back and edit the file further in TeXStudio and it will compile just fine. But TeXStudio can't seem to generate the .bib file on its own, which seems a bit of a mystery as it is using the same backend for compiling. I can't find any details in the log to provide a clue, either. All I can get is this:

  1. Package natbib Warning: Citation `Weyland2012' on page 1 undefined on input lin
  2. e 16.
  5. Package natbib Warning: Citation `kuran1989sparks' on page 1 undefined on input
  6. line 16.
  9. Package natbib Warning: Citation `Howard2011' on page 1 undefined on input line
  10. 20.
  13. Package natbib Warning: Citation `olson2009logic' on page 1 undefined on input
  14. line 22.
  16. [1]
  17. No file Pre-proposalV2.bbl.
  19. Package natbib Warning: There were undefined citations.
Last edited by cgnieder on Thu Jan 16, 2014 8:43 pm, edited 1 time in total.
Reason: added code markup


User avatar
Site Moderator
Posts: 1993
Joined: Sat Apr 16, 2011 7:27 pm

Postby cgnieder » Thu Jan 16, 2014 8:46 pm

Hi saudiwin,

Welcome to the LaTeX community!

I don't know either editor but it seems the one detects that there are bibliography commands in the file and runs bibtex on its own while the other doesn't (which is at least to me the more normal behaviour). It looks to me that you have to run bibtex by yourself then.

site moderator & package author

Posts: 1
Joined: Tue Feb 19, 2019 4:51 pm

Postby msoni » Tue Feb 19, 2019 4:54 pm

Just close your pdf which you have created after running the file. Then that might work hopefully.

Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 1 guest