LaTeX forum ⇒ BibTeX, biblatex and biberNeither Bibliography Data nor Style found

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
ajayram198
Posts: 3
Joined: Mon Feb 25, 2013 8:37 pm

Neither Bibliography Data nor Style found

Postby ajayram198 » Mon Feb 25, 2013 8:43 pm

Hello,

I am trying to write my references in an external file and use BibTeX for my LaTeX Document. I am using Ubuntu 12.04 .

First I ran the LaTeX compiler.
  1. latex Section2.tex

Then I ran BibTeX on the .aux file
  1. bibtex Section2.aux

But I am getting this error message.
  1. I found no \bibdata command---while reading file Section2.aux
  2. I found no \bibstyle command---while reading file Section2.aux

I also tried to run it in the Software TexMaker but I am still getting the same error.

Could someone please help me out?

Tags:

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Mon Feb 25, 2013 8:54 pm

Provide a self-contained and minimal example that exactly reproduces the issue.


Addendum:
Could be caused by a PDF viewer that locks opened files.


Best regards and welcome to the board
Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

ajayram198
Posts: 3
Joined: Mon Feb 25, 2013 8:37 pm

Postby ajayram198 » Tue Feb 26, 2013 2:32 pm

This is the simple Code I have written

  1. \documentclass[titlepage,a4paper,12pt]{report}
  2. \begin{document}
  3.  
  4. I want to cite \cite{de2005multilevel} amd \cite{timmerman2006multilevel}
  5.  
  6. \bibliographystyle{plain}
  7. \bibliography{Section2_ref}
  8.  
  9. \end{document}



and then I ran this
  1. latex error.tex

This is what I got as output
  1. This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
  2. entering extended mode
  3. (./error.tex
  4. LaTeX2e <2009/09/24>
  5. Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
  6. yphenation, finnish, french, basque, ngerman, german, german-x-2009-06-19, nger
  7. man-x-2009-06-19, swedish, loaded.
  8. (/usr/share/texmf-texlive/tex/latex/base/report.cls
  9. Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
  10. (/usr/share/texmf-texlive/tex/latex/base/size12.clo)) (./error.aux)
  11.  
  12. LaTeX Warning: Citation `de2005multilevel' on page 1 undefined on input line 4.
  13.  
  14.  
  15.  
  16. LaTeX Warning: Citation `timmerman2006multilevel' on page 1 undefined on input
  17. line 4.
  18.  
  19. No file error.bbl.
  20. [1] (./error.aux)
  21.  
  22. LaTeX Warning: There were undefined references.
  23.  
  24. )
  25. Output written on error.dvi (1 page, 304 bytes).
  26. Transcript written on error.log.
  27.  


Then I knew that you have to run the bibtex on the aux file also, so I ran this
  1. bibtex error.aux


and this is what I get
  1. This is BibTeX, Version 0.99c (TeX Live 2009/Debian)
  2. The top-level auxiliary file: error.aux
  3. The style file: plain.bst
  4. I couldn't open database file Section2_ref.bib
  5. ---line 5 of file error.aux
  6. : \bibdata{Section2_ref
  7. : }
  8. I'm skipping whatever remains of this command
  9. I found no database files---while reading file error.aux
  10. Warning--I didn't find a database entry for "de2005multilevel"
  11. Warning--I didn't find a database entry for "timmerman2006multilevel"
  12. (There were 2 error messages)
  13. ajayram@pc228:~/Documents/MusicWork/ThesisReport/Part2-Methodology$ bibtex error.aux
  14. This is BibTeX, Version 0.99c (TeX Live 2009/Debian)
  15. The top-level auxiliary file: error.aux
  16. The style file: plain.bst
  17. I couldn't open database file Section2_ref.bib
  18. ---line 5 of file error.aux
  19. : \bibdata{Section2_ref
  20. : }
  21. I'm skipping whatever remains of this command
  22. I found no database files---while reading file error.aux
  23. Warning--I didn't find a database entry for "de2005multilevel"
  24. Warning--I didn't find a database entry for "timmerman2006multilevel"
  25. (There were 2 error messages)
  26.  


and in the bibtex file - Section2_ref.bib I have taken all the Bibtex entries and written them one below the other....

User avatar
localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Tue Feb 26, 2013 5:47 pm

Your example is not self-contained and therefore not compilable out of the box.
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1


Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 1 guest