1

I've looked over other questions, but none of them seem to solve my problem.

I have a document and would like to do the following with biblatex:

  1. Use the bibtex backend
  2. Compile my (long) bibliography
  3. Never bother again with bibtex and just use PdfLaTeX for further edits

I use Texmaker, Windows 7 and the MikTeX bundle. All used files (*.tex, *.aux, *.bib, ...) are in the same directory under "C:\Users\UserName\Desktop\test".

I constructed a minimum working example:

\documentclass[12pt,a4paper]{scrartcl}

\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}

\usepackage[babel,german=quotes]{csquotes}
\usepackage[backend=bibtex,bibencoding=ascii,style=numeric-comp]{biblatex}
\addbibresource{source.bib}

\begin{document}

\cite{Shirley65}
{\nocite{*} \printbibliography }

\end{document}

with source.bib:

@article{Shirley65,
 title = {Solution of the Schr\"odinger Equation with a Hamiltonian Periodic in Time},
 author = {Shirley, Jon H.},
 journal = {Phys. Rev.},
 volume = {138},
 issue = {4B},
 pages = {B979--B987},
 numpages = {0},
 year = {1965},
 month = {May},
 publisher = {American Physical Society},
 doi = {10.1103/PhysRev.138.B979},
 url = {http://link.aps.org/doi/10.1103/PhysRev.138.B979}
}

Now, I tried to compile it with Texmaker using "bibtex %" and I get an error. The complete log is:

This is BibTeX, Version 0.99d (MiKTeX 2.9) The top-level auxiliary file: test.aux The style file: biblatex.bst 
I couldn't open database file source.bib ---line 4 of file test.aux : \bibdata{test-blx,source : } 
I'm skipping whatever remains of this command Database file #1: test-blx.bib 
Warning--I didn't find a database entry for "Shirley65" Biblatex version: 2.6 (There was 1 error message) 
Process exited normally

When I run PdfLaTeX again I get the warning that my bibliography is empty and Shirley65 is not found.

I don't know how I could fix this. Any help is appreciated.

closed as off-topic by Joseph Wright Jul 6 '15 at 14:55

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 5
    bibtex can't find or open source.bib. So check very carefully the name and location of the file. Btw: When you remove or add citations you will have to call bibtex again, so imho 3. is not possible. – Ulrike Fischer Jul 4 '15 at 13:35
  • @ChristianHupfer: Do you really believe, bibtex would report on any system "I couldn't open database file source.bib" when encountering an invalid field? – Ulrike Fischer Jul 4 '15 at 13:38
  • @Ulrike Fischer Could you give a more detailed description how I check the name and location of the file? Because I have no idea what would be the first step to do so. – BlueLemon Jul 4 '15 at 13:47
  • 4
    Use the windows explorer and your eyes. Is your bib-file opened in some other application which could block it? – Ulrike Fischer Jul 4 '15 at 13:50
  • 2
    Also, check that the extension is really .bib and not, say .bib.tex or .tex. – cfr Jul 4 '15 at 13:55