Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

BibTeX database problems

4,353 views
Skip to first unread message

Richard Lewis

unread,
May 12, 2010, 12:12:09 PM5/12/10
to
Hi there,

I'm very stuck with a BibTeX problem. I have a master BibTeX database
file in:

/home/richard/phd/biblio.bib

Which I want to refer to from .tex files in

/home/richard/phd/papers/*/paper.tex (for example).

I've set the BIBINPUTS and TEXBIB evironment variables both to point
to this file. And RefTex mode (in Emacs) finds and parses my
biblio.bib file perfectly.

But when I try and process a .tex file like the following:

\documentclass[11pt, a4paper]{article}
\usepackage[top=30mm, bottom=35mm, left=30mm, right=30mm]{geometry}
\usepackage[small,compact]{titlesec}
\usepackage{setspace}
\usepackage{natbib}

\begin{document}

\title{.....}
\author{Richard Lewis}
\date{12 May 2010}
\maketitle

\section{....}
....

\bibliographystyle{chicago}
\bibliography{biblio}
\end{document}

using:

$ latex file
$ bibtex file
$ latex file
$ latex file

It ends with the following errors:

...
Package natbib Warning: Citation `Dourish03' on page 4 undefined on input line
196.
...
Package natbib Warning: Empty `thebibliography' environment on input line 3.

)

Package natbib Warning: There were undefined citations.

from latex. And:

This is BibTeX, Version 0.99c (TeX Live 2009/Debian)
The top-level auxiliary file: srw-notes.aux
The style file: chicago.bst
I couldn't open database file biblio.bib
---line 11 of file srw-notes.aux
: \bibdata{biblio
: }
I'm skipping whatever remains of this command
I found no database files---while reading file srw-notes.aux
Warning--I didn't find a database entry for "Wouters06"
Warning--I didn't find a database entry for "Dourish03"
Warning--I didn't find a database entry for "Collins06"
(There were 2 error messages)

from bibtex.

I've tried bibcleaning my biblio.bib file and it's fine. I've tried
symlinking it from, as well as copying it to, the same directory as my
tex source and I get the same error. I've tried making an alternative
.bib file with just the entries that I need for a given .tex document,
but *still* get the same errors.

I even tried updating my Debian texlive versions to the latest in
unstable. Still no joy.

What does bibtex mean what it says

"I couldn't open database file biblio.bib"

Does it mean that it can't find it? Or that there's something wrong
with it? Or what? It's actually a really unhelpful message, especially
when it persists whatever you try doing.

Any ideas?
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard Lewis
ISMS, Computing
Goldsmiths, University of London
JID: ironc...@jabber.earth.li
http://www.richard-lewis.me.uk/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
+----------------------------------------------+
| Support open access to scholarship |
| http://freeculture.org/ http://www.doaj.org/ |
+----------------------------------------------+

Turgut Durduran

unread,
May 12, 2010, 1:07:53 PM5/12/10
to
On 2010-05-12, Richard Lewis <richar...@fastmail.co.uk> wrote:
> Hi there,
>
> I'm very stuck with a BibTeX problem. I have a master BibTeX database
> file in:

can you try:

\bibliography{/home/richard/phd/biblio}

>
> "I couldn't open database file biblio.bib"
>
> Does it mean that it can't find it?

yes. it means that.

Richard Lewis

unread,
May 12, 2010, 7:15:44 PM5/12/10
to
At Wed, 12 May 2010 17:07:53 +0000 (UTC),

Turgut Durduran wrote:
>
> On 2010-05-12, Richard Lewis <richar...@fastmail.co.uk> wrote:
> > Hi there,
> >
> > I'm very stuck with a BibTeX problem. I have a master BibTeX database
> > file in:
>
> can you try:
>
> \bibliography{/home/richard/phd/biblio}
>
Ah good point. It works.

> >
> > "I couldn't open database file biblio.bib"
> >
> > Does it mean that it can't find it?
>
> yes. it means that.
>
Cool. I was beginning to wonder; I've never really got on with TeX's
user interface.
0 new messages