## 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

Stefan Kottwitz
Posts: 9617
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: 4185
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: 9617
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: 4185
Joined: Thu Nov 01, 2012 4:08 pm
Welcome,

The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

ujur007
Posts: 9
Joined: Mon May 04, 2020 11:58 am
I am having the same issue since many days... attaching the .blg file.. cold you please help?
Attachments
Implementation.blg

Ijon Tichy
Posts: 393
Joined: Mon Dec 24, 2018 10:12 am
Without a minimal working example I would speculate that you are using biblatex and should configure the editor to run biber instead of bibtex. If I'm wrong, please show us a minimal working example.

ujur007
Posts: 9
Joined: Mon May 04, 2020 11:58 am
Hi,

Here is my exact latax code. I tried to configure both biber and bib latex in the build option of textstudio
\documentclass[a4paper,11pt]{report}\usepackage{xcolor}\usepackage{graphicx}\usepackage{subcaption}\usepackage{caption}\usepackage{glossaries}\usepackage[english]{babel}\usepackage[backend=biber]{biblatex}\usepackage{caption} \addbibresource{./self_text/Reference.bib}\input{gls} \begin{document}\input{Relatedwork}\input{Implementationwork}\printglossaries\newpage\printbibliography\end{document}

Ijon Tichy
Posts: 393
Joined: Mon Dec 24, 2018 10:12 am
BTW: The shown code was not complete, because you have used external files with \input and an external bib-file we do not have. For a minimal working example with bibliography and biblatex the usage of bibliography database biblatex-examples.bib is recommended, because it is part if biblatex and therefore available with all TeX distributions. If a problem is part of a particular bib-file, you should add this.
And please note, that extension .tex is not optional for \input, because several modern TeX implementations are able to read files without extension and use .tex only as a (compatibility) fallback. For \include extension .tex indeed should be omitted, because LaTeX adds the extension on its own (and also extension .aux to read and write another auxiliary file).