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: 9593
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
LaTeX.org admin

User avatar
Johannes_B
Site Moderator
Posts: 4173
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: 9593
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
LaTeX.org 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: 4173
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.

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

Postby ujur007 » Thu Jul 09, 2020 1:52 pm

I am having the same issue since many days... attaching the .blg file.. cold you please help?
Attachments
Implementation.blg
(1018 Bytes) Downloaded 6 times

User avatar
Ijon Tichy
Posts: 296
Joined: Mon Dec 24, 2018 10:12 am

Postby Ijon Tichy » Thu Jul 09, 2020 1:57 pm

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.

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

Postby ujur007 » Sun Jul 12, 2020 11:52 am

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] [Expand/Collapse] [Download] ({untitled.tex})
  1. \documentclass[a4paper,11pt]{report}
  2. \usepackage{xcolor}
  3. \usepackage{graphicx}
  4. \usepackage{subcaption}
  5. \usepackage{caption}
  6. \usepackage{glossaries}
  7. \usepackage[english]{babel}
  8. \usepackage[backend=biber]{biblatex}
  9. \usepackage{caption}
  10.  
  11. \addbibresource{./self_text/Reference.bib}
  12. \input{gls}
  13.  
  14. \begin{document}
  15. \input{Relatedwork}
  16. \input{Implementationwork}
  17. \printglossaries
  18. \newpage
  19. \printbibliography
  20. \end{document}

User avatar
Ijon Tichy
Posts: 296
Joined: Mon Dec 24, 2018 10:12 am

Postby Ijon Tichy » Sun Jul 12, 2020 1:06 pm

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).


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 2 guests