# [Tex/LaTex] Cannot generate bibliography using TeXworks from MiKTeX

bibtexmiktextexworks

I am trying to generate a bibliography with no luck until now. I get an empty one.
Here is my code.

\documentclass[12pt,twoside, openright, a4paper]{report}

\usepackage{fontspec}

\usepackage{cite}
\usepackage{fancyhdr}

\begin{document}

\title{test}
\author{test}
\maketitle

\tableofcontents{}
\listoffigures
\listoftables

\input{chapters/c1/chapter1.tex}

\input{chapters/c2/chapter2.tex}

\bibliographystyle{plain}
\bibliography{biblio}

\end{document}


my biblio.bib is

@conference{tess,
author = "test",
title = "test",
year = 2010,
}


and in TeXworks I use the option "XeLaTeX+MakeIndex+BibTeX". I read somewhere that I had to include the plain.bst file. Did it but didn't work. I tried everything. Any ideas?

Too long for a comment: Let's try us another way. Can you please compile the following MWE on your system? It works for me with pdflatex -- bibtex -- pdflatex -- pdflatex.

%File mb-bibtex.tex, then \jobname = mb-bibtex
% writing file \jobname.bib, for example mb-bibtex.bib.
\begin{filecontents*}{\jobname.bib}
@Book{companion,
author    = {Goossens, Michel and Mittelbach, Frank and Samarin, Alexander},
title     = {The LaTeX Companion},
edition   = {1},
location  = {Reading, Mass.},
year       = {1994}
}
title     = {The Restaurant at the End of the Universe},
author    = {Douglas Adams},
series    = {The Hitchhiker's Guide to the Galaxy},
publisher = {Pan Macmillan},
year      = {1980}
}
\end{filecontents*}

\documentclass{article}

\usepackage[numbers]{natbib}         % bibliography style
\usepackage[colorlinks]{hyperref}    % better urls in bibliography

\begin{document}
Test of bibliography:
The \LaTeX{} companion~\cite{companion}, the funny book of Adams~\cite{adams}.

\bibliographystyle{plainnat}  % needs package natbib
\bibliography{\jobname}       % uses \jobname.bib, according to \jobname.tex
\end{document}


To be sure (that there is no error in your config of your editor) please use the terminal/console.