1

This question already has an answer here:

I've been encouraged to use BibLaTeX, so I'm trying to, but I'm not meeting much success. I'm sure I'm doing something dumb wrong, but I don't know what. I am using TeXShop on a MacBook Pro running OS X Mavericks, if that's relevant.

I compile the following documents by running LaTeX, then BibTeX, then LaTeX twice more:

 \documentclass[]{article} 
 \usepackage[autostyle]{csquotes}
 \usepackage[
 backend=biber,
 style=authoryear-icomp,
 sortlocale=de_DE,
 natbib=true,
 url=false, 
 doi=true,
 eprint=false ]{biblatex} \addbibresource{bibshort.bib}

 \usepackage[]{hyperref} 
 \hypersetup{colorlinks=true, }

 %% ############################## 
 \begin{document}
 Lorem ipsum dolor sit amet~\citep{kastenholz}.
 At vero eos et accusam et \cite{GGK} justo 
 duo dolores et ea rebum~\citet{sigfridsson}. 
 \printbibliography  
 \end{document}

(taken almost verbatim from How to use biber) and

\documentclass{article} 
\bibliographystyle{amsalpha} 
\begin{document}
\autocite{GGK} 
\bibliography{bibshort}{}
\end{document}

The results are as in this image:

two PDFs

The BibTex version is what I want. BibLaTeX version has no bibliography, parentheses instead of the brackets, and for some reason, unwanted spaces.

What have I done wrong?

marked as duplicate by moewe, Masroor, user13907, Mico, Guido Jan 28 '15 at 8:11

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • The first document works, assuming you use biber instead of bibtex. Depending on your editor (assuming TeXshop), you may need to do this from the command line instead of a menu. Alternatively, if you have pdflatexmk in your menu, it will automatically run biber as needed. – Mike Renfro Jan 25 '15 at 2:54
  • 1
    I don't know TeXShop, but what about this answer? – jon Jan 25 '15 at 4:19
  • 1
    Note that biber and biblatex versions need to match. It looks like you have version 1.6 of biber; that means you need to be using version 2.6 of biblatex (checkable by adding \listfiles to your .tex file, running latex, then looking at the list of files appended to the end of the .log file). – jon Jan 25 '15 at 4:53
  • 3
    It is probably best to make sure both Biber and biblatex are up to date (and that their versions match; the newest is 1.9 for Biber and 2.9a for biblatex). Then you should read this and clear Biber's cache. (It is normal for Biber to take some time on a first run, just wait for it to complete and don't abort it by starting another compilation process.) – moewe Jan 25 '15 at 8:06
  • 1
    @jdc We would need to know your biblatex version (which you could check by opening the file pointed to by kpsewhich biblatex.pdf and read off the version there, or by compiling a file with \usepackage{biblatex} with \listfiles at the beginning and looking at the .log). For Biber 1.6 you need biblatex 2.6 - note though that both versions are outdated, 1.9/2.9a are the current versions. The message you get, though, very, very much suggests a broken Biber cache (this can be fixed as described here). – moewe Jan 27 '15 at 8:36

Browse other questions tagged or ask your own question.