BibTeX, biblatex and biberPersistent BibTeX Errors

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

Persistent BibTeX Errors

Post by compengr »

I'm using BibTeX with TeXShop on Mac OS X 10.4. I added four things to get the references.
  1. added package cite
  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:

Code: Select all

latex
bibtex
latex
latex
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.

Code: Select all

This is BibTeX, Version 0.99d (TeX Live 2012)
The top-level auxiliary file: test-survey-tpns.aux
The style file: plain.bst
White space in argument---line 5 of file test-survey-tpns.aux
 : \bibdata{ref
 :              for paper.bib}
I'm skipping whatever remains of this command
I found no database files---while reading file test.aux
Warning--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
(1.7 KiB) Downloaded 495 times
ref for survey.bib
(1.46 KiB) Downloaded 483 times
Last edited by localghost on Sat Sep 28, 2013 9:43 am, edited 2 times in total.

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

Persistent BibTeX Errors

Post by localghost »

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.
TorsenIansen
Posts: 1
Joined: Sat Nov 25, 2017 7:24 pm

Persistent BibTeX Errors

Post by TorsenIansen »

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')
Post Reply