1

I am not able to create a bibliography with biblatex and can't figure out what the problem might be. Below are the steps I have taken which I thought would work. What am I doing wrong?

  • I am using:
    • MiKTeX 2.9
    • TeXnicCenter 2.0 Beta 1 (64 bit)
    • JabRef 2.10
  • I downloaded and copied manually biber.exe to my MiKTeX directory:
    • this step was advised here
    • C:\Program Files\MiKTeX 2.9\miktex\bin\x64\biber.exe
  • I created a new project in TeXnixCenter and a reference.bib file in JabRef (both in utf-8):

LaTeX

\documentclass{article}
\usepackage[backend=biber]{biblatex}
\addbibresource{reference.bib}

\begin{document}
\cite{ref1}
\printbibliography

\end{document}

Bib-File

% This file was created with JabRef 2.10.
% Encoding: UTF8


@Article{ref1,
  Title                    = {Title},
  Author                   = {Phil},
  Journaltitle             = {Journal},
  Year                     = {2014},

  Owner                    = {Phil},
  Timestamp                = {2014.05.03}
}
  • I set up the output profile in TeXnicCenter: Output Profile
  • I compiled several times in order to create the document but I only recived these warnings:

...

enter image description here

...

Phil
  • 407
  • 1
    What happens if you try to run the commands from the command line? – moewe May 03 '14 at 15:09
  • @moewe: I am sorry. I don't know how to do that. – Phil May 03 '14 at 15:46
  • Is there a biber-logfile .blg in the directory of your example? If yes, does it show errors/warnings? – musicman May 03 '14 at 15:50
  • 1
    Rightclick in the windows exporer on the folder with your tex document and hold down the shift key. You will get "open command line here" in the context menu. In the command line type pdflatex nameofyourdocument" and hit enter. Then typebiber nameofyourdocument` and hit enter. (Don't use the extension ".tex" only the name). – Ulrike Fischer May 03 '14 at 15:52
  • @musicman: No .blg file was created. – Phil May 03 '14 at 15:52
  • It works for me without problem. Here is my setup (even though I'm using TeX Live). – Werner May 03 '14 at 16:01
  • @moewe: There are several warnings. After running pdflatex: 1. Citation 'ref1' on page 1 undefined on input line 7. 2. Empty bibliography on input line 8. 3. There were undefined references. After running biber: 1. data source C:\Useres\Phil\AppData\Local\Temp...\lib\Biber\Latex\recode_data.xml not found in. And I get the same warnings everytime. – Phil May 03 '14 at 16:21
  • 1
    You have to run pdflatex - biber - pdflatex, and maybe again pdflatex. – musicman May 03 '14 at 16:30
  • @musicman: I tried but got the same warnings. – Phil May 03 '14 at 16:50
  • can you post your .bib-file, too? – musicman May 03 '14 at 16:51
  • @moewe: I found this link. I deleted the cache folder and run biber again so the cach folder was recreated. – Phil May 03 '14 at 16:54
  • @musicman: I updated my question with my .bib file. – Phil May 03 '14 at 17:07
  • The cache folder will be recreated automatically, that is not the problem. A corrupted cache folder might be one though. But if you deleted the cache folder and the same problem persist, we can probably eliminate that as the cause. – moewe May 03 '14 at 17:07
  • 1
    Your .bib file looks perfectly fine to me. What happens if you just run biber on the command line (without giving the file name or anything)? What does biber -v output? – moewe May 03 '14 at 17:09
  • @Phil: I know the cache problem, I had this too, when I've started with biblatex/biber. Do you still get the error message with recode_data.xml or did it change? – musicman May 03 '14 at 17:16
  • @moewe: biber 1.8. After deleting the cache folder I recieved different warnings and errors but now it works. I have no idea why. All I did was deleting the folder, create a new minimalized .bib file and run pdflatex and biber again and again with command line. Now it also works in TeXnicCenter. Thanks all of you. – Phil May 03 '14 at 17:17
  • Well, the reason is explained in the link you posted above. Sometimes Biber gets interrupted when creating the cache, if the cache is corrupted Biber does not function properly. Deleting the folder and letting Biber re-create it solves the problem. The first time you run LaTeX on a file with citations, you will receive warnings, if you have not run Biber before, but those warings can safely be ignored. – moewe May 03 '14 at 17:21
  • I feel like wasting your time. I should probably delete this question as it has been answered by the link I posted. – Phil May 03 '14 at 17:23
  • You could do that, but there is no need; we can mark your question as a duplicate of the question you linked to above. – moewe May 03 '14 at 17:24
  • Sounds good. Maybe it helps others to detect this problem quicker. – Phil May 03 '14 at 17:26

0 Answers0