## LaTeX forum ⇒ BibTeX, biblatex and biber ⇒ References show as question marks (Bibtex and Latexian)

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
da908
Posts: 2
Joined: Thu Feb 07, 2013 12:52 pm

### References show as question marks (Bibtex and Latexian)

I am using Latexian to compile the pdf. When I compile the pdf I get question marks instead of references as well as no bibliography produced (just a title and an empty page). My document looks as follows:

\documentclass[]{report} %Packages\usepackage{graphicx} \begin{document} %Title page\title{SEM}\author{xxx}\date{\today}\maketitle %Content\section{SEM} 	\subsection{Theory}		\subsubsection{What is SEM?} 		\begin{figure}			\begin{center}				\includegraphics[keepaspectratio=true, width=8cm] {SEMold}				\caption{"Stereoscan" Mk 1 prototype (Stewart and Snelling 1965) \cite{Oatley}}			\end{center}		\end{figure} \section{Practical}\cite{UniofG}	\subsection{Adjustments and focusing}		\subsubsection{Focus}		\subsubsection{Beam allignment}		\subsubsection{Astigmatism} 	\subsection{Artefacts}		\subsubsection{Charging}		\subsubsection{Beam damage}		\subsubsection{Contamination} \nocite{*}%Bibliography\bibliography{Bibliography}{}\bibliographystyle{plain}		 \end{document}

And my .bib file is in the same directory:

%% This BibTeX bibliography file was created using BibDesk.%% http://bibdesk.sourceforge.net/  %% Created for xxx at 2013-02-07 11:44:07 +0100   %% Saved with string encoding Unicode (UTF-8)    @article{Oatley,	Author = {C. W. Oatley},	Journal = {J. Appl. Phys.},	Number = {1},	Title = {The early history of the scanning electron microscope},	Volume = {53},	Year = {1982}} @url{UniofG,	Author = {http://www.gla.ac.uk/},	Date-Modified = {2013-02-07 09:59:26 +0000},	Institution = {University of Glasgow},	Title = {SEM interaction volume},	Year = {2012}}

The log file is also attached. I used export option as well as trying to change the number of passes and enabling Bibtex in Preview, but all leads to the same result. If someone could tell me what am I doing wrong, that would be grand...

Attachments
TSWLatexianTemp_000047.log
The log file

Tags:

Stefan Kottwitz
Posts: 9440
Joined: Mon Mar 10, 2008 9:44 pm
Hi,

welcome to the board!

Use \bibliographystyle before \bibliography. If this doesn't help, check if a .blg file has bee produced and post this as attachment. Btw. the plain style doesn't define @url.

Stefan

da908
Posts: 2
Joined: Thu Feb 07, 2013 12:52 pm
Thanks for quick reply. Tried switching /bibliography and /bibliographystyle, no luck. I have also tried removing either of the references and it still doesn't work.
Attachments
TSWLatexianTemp_000053.blg
.blg

Stefan Kottwitz
Posts: 9440
Joined: Mon Mar 10, 2008 9:44 pm
Have a look into this .blg log file:

I couldn't open database file Bibliography.bib---line 6 of file TSWLatexianTemp_000053.aux  : \bibdata{Bibliography  :                      }I'm skipping whatever remains of this commandI found no database files---while reading file TSWLatexianTemp_000053.aux

The file Bibliography.bib could not be found. It's not in that directory, or the name doesn't match. Note, the name is case sensitive. Ensure that the .bib file name exactly matches the name for the bibliography you specified in the .tex document.

Stefan