LaTeX forum ⇒ BibTeX, biblatex and bibercompiling bibtex file

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Posts: 3
Joined: Sun Jul 01, 2018 5:41 pm

compiling bibtex file

Postby afrancese » Sun Jul 01, 2018 5:56 pm

Hello everyone,
compiling bibtex file in TexMaker as:


\title{Literature Review}
\author{A. Francese}


Books and Notes, \cite{fischer2007introduction}\\

\bibliography{Books and Notes}


get the following error:
Package natbib Warning: Citation `fischer2007introduction' on page 1 undefined

Could you please advice?

Thank you.

Posts: 649
Joined: Tue Mar 25, 2008 5:02 pm

Postby kaiserkarl13 » Sun Jul 01, 2018 6:05 pm

It will always give you this warning the first time running LaTeX; you then run BibTeX on the .aux file, then run LaTeX again (twice) to resolve the links. Think of LaTeX runs this way: the first reads which citation keys it needs from BibTeX. BibTeX then operates on the notes LaTeX left for it, turning those .aux entries into .bbl entries (the bibliography). LaTeX's second run parses both the original citations and the .bbl file, which results in further entries in the .aux file about which number/etc. corresponds to the entries the \cite commands left. The third run of LaTeX results in actual substitution of the numbers/etc. in the original location.

If it doesn't show it after the sequence above (LaTeX, BibTeX, LaTeX, LaTeX), then there is likely something else wrong (e.g., the spaces in your BibTeX database are confusing it). If that's the case, post the relevant parts of your BibTeX file, too.

Posts: 3
Joined: Sun Jul 01, 2018 5:41 pm

Postby afrancese » Sun Jul 01, 2018 6:14 pm

thank you for your answer.

Please have a look to the bib file:

%Linear Elastic Fracture Mechanics
title={Introduction to contact mechanics},
author={Fischer-Cripps, Anthony C},
%Fracture mechanics fundamentals & applications
title={Fracture mechanics: fundamentals and applications},
author={Anderson, Ted L},
publisher={CRC press}

Thank you.

Posts: 3
Joined: Sun Jul 01, 2018 5:41 pm

Postby afrancese » Sun Jul 01, 2018 6:36 pm

can't believe...
changed the name of the file from
Books and notes.bib

it all works now!!!
Should be no space in the name of the bib-file, why??

User avatar
Stefan Kottwitz
Site Admin
Posts: 9567
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sun Jul 01, 2018 7:49 pm

Historically, spaces were not allowed in file names in file systems many years ago, that's why. TeX is more than 30 years old.

Better never use spaces in file names, also in graphics files. For images, the grffile packages fixes it.

Stefan admin

Return to “BibTeX, biblatex and biber”

Who is online

Users browsing this forum: No registered users and 4 guests