## LaTeX forum ⇒ BibTeX, biblatex and biber ⇒ Persistent BibTeX Errors

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
compengr
Posts: 1
Joined: Sat Sep 28, 2013 1:50 am

### Persistent BibTeX Errors

I'm using BibTeX with TeXShop on Mac OS X 10.4. I added four things to get the references.

2. kept the .bib file in the same folder as .tex file.
3. added `\bibliographystyle{plain}`
4. added `\bibliography{ref}` which is my imported references file from BibTeX.

The sequence of typesetting I followed is:
`latexbibtexlatexlatex`

When I typeset the first time, a PDF file is created with reference heading at the end and [?] at the positions where I cited. When I run BibTeX, the following message appears.
`This is BibTeX, Version 0.99d (TeX Live 2012)The top-level auxiliary file: test-survey-tpns.auxThe style file: plain.bstWhite space in argument---line 5 of file test-survey-tpns.aux  : \bibdata{ref  :              for paper.bib}I'm skipping whatever remains of this commandI found no database files---while reading file test.auxWarning--I didn't find a database entry for "citekey"(There were 2 error messages)`

I cant figure out the problem, i am new to latex and bibtex. It is the first time i am using it. Any help is appreciated.I have uploaded the .tex and .bib file
Attachments
paper.tex
ref for survey.bib
Last edited by localghost on Sat Sep 28, 2013 9:43 am, edited 2 times in total.
Reason: Posts are formatted properly for more clarity and better readability.

Tags:

localghost
Site Moderator
Posts: 9204
Joined: Fri Feb 02, 2007 12:06 pm
Just for information to other users for awareness of possibly already existing solutions. The question has also been posted to {TeX} SX.
Board Rules wrote:A crossposting is always contra-productive. But there is nothing really against it as long as it is mentioned. This means that a direct link has to be added. So other users who want to help are preserved from double efforts and waste of time.

Avoid special characters (blank spaces, underscores, …) in the path and the name of the bibliography database file. This is the cause of the problem.
LaTeX Community Moderator

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

TorsenIansen
Posts: 1
Joined: Sat Nov 25, 2017 7:24 pm
localghost wrote:Just for information to other users for awareness of possibly already existing solutions. The question has also been posted to {TeX} SX.
Board Rules wrote:A crossposting is always contra-productive. But there is nothing really against it as long as it is mentioned. This means that a direct link has to be added. So other users who want to help are preserved from double efforts and waste of time.

Avoid special characters (blank spaces, underscores, …) in the path and the name of the bibliography database file. This is the cause of the problem.

This problem it is not an avoid special characters .... Before answering to someone about a Latex problem, test what you say on your computer ...

This problem is caused by a missing natbib bibtex styles so you have to use \usepackage{natbib}

For other problem : Sometimes, logfile say that it look for a style file ".bst". This file has no name because you have forgotten to precise the style so you have to add "plain" in the {}. So for someone who have a persistent problem it can be due to this forget "plain" (Not in this post because the author has correctly entered 'plain')