BibTeX, biblatex and biberNeither Bibliography Data nor Style found

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

Neither Bibliography Data nor Style found

Post by ajayram198 »

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.

Code: Select all

latex Section2.tex
Then I ran BibTeX on the .aux file

Code: Select all

bibtex Section2.aux
But I am getting this error message.

Code: Select all

I found no \bibdata command---while reading file Section2.aux
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?

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Neither Bibliography Data nor Style found

Post by localghost »

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
ajayram198
Posts: 3
Joined: Mon Feb 25, 2013 8:37 pm

Neither Bibliography Data nor Style found

Post by ajayram198 »

This is the simple Code I have written

Code: Select all

\documentclass[titlepage,a4paper,12pt]{report}
\begin{document}

I want to cite \cite{de2005multilevel} amd \cite{timmerman2006multilevel}

\bibliographystyle{plain}
\bibliography{Section2_ref}

\end{document}

and then I ran this

Code: Select all

latex error.tex
This is what I got as output

Code: Select all

This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
(./error.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, finnish, french, basque, ngerman, german, german-x-2009-06-19, nger
man-x-2009-06-19, swedish, loaded.
(/usr/share/texmf-texlive/tex/latex/base/report.cls
Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size12.clo)) (./error.aux)

LaTeX Warning: Citation `de2005multilevel' on page 1 undefined on input line 4.



LaTeX Warning: Citation `timmerman2006multilevel' on page 1 undefined on input 
line 4.

No file error.bbl.
[1] (./error.aux)

LaTeX Warning: There were undefined references.

 )
Output written on error.dvi (1 page, 304 bytes).
Transcript written on error.log.

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

Code: Select all

bibtex error.aux
and this is what I get

Code: Select all

This is BibTeX, Version 0.99c (TeX Live 2009/Debian)
The top-level auxiliary file: error.aux
The style file: plain.bst
I couldn't open database file Section2_ref.bib
---line 5 of file error.aux
 : \bibdata{Section2_ref
 :                      }
I'm skipping whatever remains of this command
I found no database files---while reading file error.aux
Warning--I didn't find a database entry for "de2005multilevel"
Warning--I didn't find a database entry for "timmerman2006multilevel"
(There were 2 error messages)
ajayram@pc228:~/Documents/MusicWork/ThesisReport/Part2-Methodology$ bibtex error.aux
This is BibTeX, Version 0.99c (TeX Live 2009/Debian)
The top-level auxiliary file: error.aux
The style file: plain.bst
I couldn't open database file Section2_ref.bib
---line 5 of file error.aux
 : \bibdata{Section2_ref
 :                      }
I'm skipping whatever remains of this command
I found no database files---while reading file error.aux
Warning--I didn't find a database entry for "de2005multilevel"
Warning--I didn't find a database entry for "timmerman2006multilevel"
(There were 2 error messages)

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: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Neither Bibliography Data nor Style found

Post by localghost »

Your example is not self-contained and therefore not compilable out of the box.
Post Reply