## LaTeX forum ⇒ BibTeX, biblatex and biber ⇒ Biblatex - why does the bibliography not appear

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
alexmccarthy
Posts: 1
Joined: Wed Apr 15, 2015 3:53 pm

### Biblatex - why does the bibliography not appear

Hi all,

Could you please help. I am writing my dissertation. I'm nearly done but struggling to include my references. I am using WinEdt (book). When I compile latex, bibtex and latex twice again my bibliography still does not appear (it is on the table of contents though). Also when I run bibtex I get an error messages:

Command Line:   bibtex.exe "Project_main"Startup Folder: C:\Users\Alex Uni\Documents\Third year\PROJECT\LATEX This is BibTeX, Version 0.99d (MiKTeX 2.9 64-bit)The top-level auxiliary file: Project_main.auxI found no \citation commands---while reading file Project_main.auxI found no \bibdata command---while reading file Project_main.auxI found no \bibstyle command---while reading file Project_main.aux(There were 3 error messages)

This is my main document:

\documentclass[a4paper,11pt,oneside,openany]{book}\usepackage{amsmath,amssymb,amsthm,booktabs,multirow,float}\usepackage{mathtools}\usepackage{graphicx,color}\usepackage{biblatex}\usepackage{caption}\usepackage{wrapfig}\usepackage{subcaption,subfig}\usepackage[toc]{glossaries}\usepackage[titletoc]{appendix}\bibliography{biblio.bib}     \frontmatter \begin{titlepage} \newpage \tableofcontents \mainmatter \setcounter{page}{1}\pagestyle{headings} \printglossaries\input{Chapter1.tex}  %%% Write Chapter 1 in a file called Chapter1.tex %%%\input{Chapter2.tex}  %%% Write Chapter 2 in a file called Chapter2.tex %%%\input{Chapter3.tex}  %%% Write Chapter 3 in a file called Chapter3.tex %%%\input{Chapter4.tex}  %%% Write Chapter 3 in a file called Chapter3.tex %%%\input{Chapter5.tex}  %%% Write Chapter 3 in a file called Chapter3.tex %%%\input{Chapter6.tex}  %%% Write Chapter 3 in a file called Chapter3.tex %%% \input{Conclusion.tex} \backmatter \nocite{*}\bibstyle{numeric}\printbibliography\addcontentsline{toc}{chapter}{Bibliography} \clearpage \input{Appendix.tex}   %%% Only include if you want an appendix %%% \end{document}

Alex
Last edited by Stefan Kottwitz on Sat Nov 28, 2015 7:58 pm, edited 3 times in total.
Reason: code marked

Tags:

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

welcome to the forum!

Use \addbibresource instead of \bibliography, such as

\addbibresource{biblio.bib}

And use \cite commands, to let cited references appear. If you want to let appear all references, even if not cited, use \nocite{*}.

Stefan

Johannes_B
Site Moderator
Posts: 4044
Joined: Thu Nov 01, 2012 4:08 pm
Hi and welcome,

also, and more importantly, you need to run biber (not BibTeX) on the basename of your main file.

We should also mention, that addbibresource{\filename.bib} needs to go to the preamble.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

Stefan Kottwitz
Posts: 9416
Joined: Mon Mar 10, 2008 9:44 pm
Btw. what Johannes said is because biber is the default backend for biblatex, in newer versions. You could still change to the older Bibtex, but biber is more recommendable.

Stefan

seiya1988
Posts: 1
Joined: Sat Nov 28, 2015 6:53 pm
I got same problem ... and still cannot find solution ,,hopefully any suggestion ...
\usepackage[style=numeric, sorting=ynt] {biblatex}\addbibresource{refs.bib}  \begin{document}... \nocite{*}\printbibliography \end{document}

Johannes_B
Site Moderator
Posts: 4044
Joined: Thu Nov 01, 2012 4:08 pm
Welcome,