# bibliography not working - references not showing up [closed]

Bibliography is not showing up:

\documentclass[a4paper,12pt,times,numbered,print,index]{Classes/PhDThesisPSnPDF}

\usepackage[utf8]{inputenc}
\usepackage{amsmath, amsthm, amssymb}
\usepackage[table,xcdraw]{xcolor}
\usepackage{hyperref}
\usepackage{booktabs}

\bibliographystyle{apalike}
\cleardoublepage
\bibliography{library}


Absolutely nothing happens. Not even a .blg file is produced. Running with pdflatex, bibtex, pdflatex, pdflatex. The bib file is produces by Mendeley. And .bbl is empty.

In Winedt I get:

I found no \bibdata command---while reading file thesis.aux I found no \bibstyle command---while reading file thesis.aux (There were 2 error messages)

There is not \bibstyle{...} or \bibdata{...} in my .aux file.

## closed as off-topic by moewe, Mike Renfro, Svend Tveskæg, user11232, user31729 Sep 1 '15 at 15:29

• This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

• Welcome to TeX.SE. Since you've specified backend=biber, you should biber instead of bibtex. – Mico Sep 1 '15 at 13:38
• Thank you. I changed to \RequirePackage[backend=biber, style=numeric-comp, citestyle=numeric, sorting=nty, natbib=true]{biber}. Nothing happens. – Iroxk Sep 1 '15 at 13:45
• style=numeric-comp, citestyle=numeric seems odd to me, it will produce exactly the output of style=numeric (as numeric and numeric-comp differ only in their cite styles), or did you want style=numeric-comp. You will have to run Biber steadiness of BibTeX, see Biblatex with Biber: Configuring my editor to avoid undefined citations for help on the configuration of your editor. – moewe Sep 1 '15 at 13:47
• You should probably get rid of the temporary/auxiliary files afterwards to make sure you don't get spurious errors/warnings – moewe Sep 1 '15 at 13:48
• I'm voting to close this question as off-topic because it was about a stray \end{document} left in one of the \input/\included chapters blocking further execution of bibliography commands at the end. (See self-answer below.) – moewe Sep 1 '15 at 14:56

Problem found. There was an \end{document} in one of the chapters. References were not even called.