LaTeX forum ⇒ 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

Postby alexmccarthy » Wed Apr 15, 2015 4:00 pm

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:

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


This is my main document:

  1. \documentclass[a4paper,11pt,oneside,openany]{book}
  2. \usepackage{amsmath,amssymb,amsthm,booktabs,multirow,float}
  3. \usepackage{mathtools}
  4. \usepackage{graphicx,color}
  5. \usepackage{biblatex}
  6. \usepackage{caption}
  7. \usepackage{wrapfig}
  8. \usepackage{subcaption,subfig}
  9. \usepackage[toc]{glossaries}
  10. \usepackage[titletoc]{appendix}
  11. \bibliography{biblio.bib}
  12.  
  13. \frontmatter
  14.  
  15. \begin{titlepage}
  16.  
  17. \newpage
  18.  
  19. \tableofcontents
  20.  
  21. \mainmatter
  22.  
  23. \setcounter{page}{1}
  24. \pagestyle{headings}
  25.  
  26. \printglossaries
  27. \input{Chapter1.tex} %%% Write Chapter 1 in a file called Chapter1.tex %%%
  28. \input{Chapter2.tex} %%% Write Chapter 2 in a file called Chapter2.tex %%%
  29. \input{Chapter3.tex} %%% Write Chapter 3 in a file called Chapter3.tex %%%
  30. \input{Chapter4.tex} %%% Write Chapter 3 in a file called Chapter3.tex %%%
  31. \input{Chapter5.tex} %%% Write Chapter 3 in a file called Chapter3.tex %%%
  32. \input{Chapter6.tex} %%% Write Chapter 3 in a file called Chapter3.tex %%%
  33.  
  34. \input{Conclusion.tex}
  35.  
  36. \backmatter
  37.  
  38. \nocite{*}
  39. \bibstyle{numeric}
  40. \printbibliography
  41. \addcontentsline{toc}{chapter}{Bibliography}
  42.  
  43. \clearpage
  44.  
  45. \input{Appendix.tex} %%% Only include if you want an appendix %%%
  46.  
  47. \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.
Reason: code marked

Tags:

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

Postby Stefan Kottwitz » Wed Apr 15, 2015 4:38 pm

Hi Alex,

welcome to the forum!

Use \addbibresource instead of \bibliography, such as

  1. \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
Site admin

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

Postby Johannes_B » Wed Apr 15, 2015 5:26 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.

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

Postby Stefan Kottwitz » Wed Apr 15, 2015 6:03 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
Site admin

seiya1988
Posts: 1
Joined: Sat Nov 28, 2015 6:53 pm

Postby seiya1988 » Sat Nov 28, 2015 7:02 pm

I got same problem ... and still cannot find solution :cry: :cry: :cry: ,,hopefully any suggestion ...
  1. \usepackage[style=numeric, sorting=ynt] {biblatex}
  2. \addbibresource{refs.bib}
  3.  
  4.  
  5. \begin{document}
  6. ...
  7.  
  8. \nocite{*}
  9. \printbibliography
  10.  
  11. \end{document}

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

Postby Johannes_B » Sat Nov 28, 2015 11:37 pm

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.


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 1 guest