BibTeX, biblatex and biberBiblatex - 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

Post by alexmccarthy »

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:

Code: Select all

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.aux
I found no \citation commands---while reading file Project_main.aux
I found no \bibdata command---while reading file Project_main.aux
I found no \bibstyle command---while reading file Project_main.aux
(There were 3 error messages)
This is my main document:

Code: Select all

\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}
Please help. I am running out of time. Thanks in advance
Alex
Last edited by Stefan Kottwitz on Sat Nov 28, 2015 7:58 pm, edited 3 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Biblatex - why does the bibliography not appear

Post by Stefan Kottwitz »

Hi Alex,

welcome to the forum!

Use \addbibresource instead of \bibliography, such as

Code: Select all

\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
LaTeX.org admin
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Biblatex - why does the bibliography not appear

Post by Johannes_B »

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.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Biblatex - why does the bibliography not appear

Post by Stefan Kottwitz »

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
LaTeX.org admin
seiya1988
Posts: 1
Joined: Sat Nov 28, 2015 6:53 pm

Biblatex - why does the bibliography not appear

Post by seiya1988 »

I got same problem ... and still cannot find solution :cry: :cry: :cry: ,,hopefully any suggestion ...

Code: Select all

\usepackage[style=numeric, sorting=ynt] {biblatex}
\addbibresource{refs.bib}


\begin{document}
...

\nocite{*}
\printbibliography

\end{document}
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Re: Biblatex - why does the bibliography not appear

Post by Johannes_B »

Welcome,

the suggestions are above. Please show us your blg-file.
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

Biblatex - why does the bibliography not appear

Post by ujur007 »

I am having the same issue since many days... attaching the .blg file.. cold you please help?
Attachments
Implementation.blg
(1018 Bytes) Downloaded 539 times
User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Biblatex - why does the bibliography not appear

Post by Ijon Tichy »

Without a Infominimal 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 Infominimal working example.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
ujur007
Posts: 9
Joined: Mon May 04, 2020 11:58 am

Biblatex - why does the bibliography not appear

Post by ujur007 »

Hi,

Here is my exact latax code. I tried to configure both biber and bib latex in the build option of textstudio

Code: Select all

\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}
User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Biblatex - why does the bibliography not appear

Post by Ijon Tichy »

Yes, you should run biber. Please configure your editor to use biber (← this is a link, please follow it).

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).
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Post Reply