Skip to content

New Block Undefined Begin The Bibliography Of Scotland

Postby pumpkinegan » Mon May 14, 2007 7:02 pm

When you open the sample article tex file with WinEdt, it is advisable to set it as the main file (there should be an icon with a small green cross on the WinEdt interface). Sometimes BibTeX will not find the file to BibTeX unless WinEdt has a main file set.

After doing this, compile with LaTeX. Then run BibTeX. A bbl file should be generated. Open the bbl file, and it should contain:

\expandafter\ifx\csname urlstyle\endcsname\relax
\providecommand{\doi}[1]{doi: #1}\else
\providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi

Firstname~I. {Surname}.
\newblock Title of article.
\newblock \emph{Journal of Publication}, 1:\penalty0 1--2, May

Firstname~I. {Surname}.
\newblock \emph{Title of Book}.
\newblock Publishing House, Address of Publishing House, 1 edition,


The fact that you are not getting an error, but just getting question marks at the \cite points suggests that the bbl file is not right. Is there a bbl file?
Now compile with LaTeX, and then compile again. The dvi should look like my previous post.


1. WinEdt is just a nice text editor. MiKTeX is your flavor of LaTeX.
2. If you compile with texify.exe (instead of latex.exe) BibTeX will be run automatically, and the resulting dvi will open in YAP. WinEdt has a TeXify icon beside the LaTeX icon (the brownish lion).
Last edited by pumpkinegan on Mon May 14, 2007 10:33 pm, edited 1 time in total.

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:

The.bib file:

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?


asked May 1 '15 at 16:36