This question already has an answer here:

This is the first time I try to use Bibtex for my thesis and I am quite desperate because I cannot get it running. Despite the many post about the undefined references error in this forum, I still am not able to solve this matter.

I have created a very simple .bib and .tex file:

The .tex file:

% test.tex

\title{Bibtex Test}


Cite this\cite{testcite}


The.bib file:

% references.bib
   author = "Mustermann Max and Kraut Karl",
   title = "Fixing Bibtex",
   publisher = "Springer",
   year = "2015"

Both files are located in the same folder and I run my mainfile multiple time. I use TexMaker combined with MikTeX2.9.

There is no error but the simple warning sequence:

LaTeX Warning: Citation `testcite' on page 1 undefined on input line 10 LaTeX Warning: There were undefined references.

I assume the error occurs somewhere in my TexMaker settings. Could you please help me?

marked as duplicate by Johannes_B, moewe, Werner, Paul Gessler, egreg May 1 '15 at 18:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 5
    You need to execute bibtex an external program. In TeXmaker, I guess, F10 or F11. Do F6+F10+F6+F6+F7 – Sigur May 1 '15 at 16:38
  • Thank you very much! I really didn't know I had to run bibtex separately. It worked on the first try with F6+F11+F6+F6+F7 . You are my hero of the day! ;) – Marc K. May 1 '15 at 16:44

The answer is as @Sigur wrote: run

(pdf)latex + bibtex + (pdf)latex + (pdf)latex [+ preview]

In TeXmaker, this can be done using shortcuts F6 + F11 + F6 + F6 [+ F7].

  • while it's commendable that you've clarified what the solution is to the problem, the alternate approach of asking @Sigur (in a comment) to post an answer is the preferred method here. – barbara beeton May 1 '15 at 17:36
  • @barbarabeeton, thanks. I edited to improve it. – Sigur May 1 '15 at 17:45

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