2

This question already has an answer here:

I'm working with TeXShop 3.61 and I'm currently switching from natbib to biblatex. Despite having tried for hours and read through all other entries, I still can't make it work.

.tex Document:

\documentclass{article}
\usepackage[backend=biber]{biblatex}
\bibliography{Ohne-Titel}
\begin{document}
Test test test \cite{Lee2009a}
\printbibliography
\end{document}

.aux File:

\relax 
\abx@aux@sortscheme{nty}
\abx@aux@cite{Lee2009a}
\@writefile{toc}{\boolfalse {citerequest}\boolfalse {citetracker}\boolfalse {pagetracker}\boolfalse {backtracker}\relax }
\@writefile{lof}{\boolfalse {citerequest}\boolfalse {citetracker}\boolfalse {pagetracker}\boolfalse {backtracker}\relax }
\@writefile{lot}{\boolfalse {citerequest}\boolfalse {citetracker}\boolfalse {pagetracker}\boolfalse {backtracker}\relax }

.bib Entry:

@article{Lee2009a,
author = {Lee, Geun},
file = {:Users/JulianLeitner/Library/Application Support/Mendeley Desktop/Downloaded/Lee - 2009 - A Theory of Soft Power and Korea's Soft Power Strategy.pdf:pdf},
journal = {The Korean Journal of Defense Analysis},
number = {2},
pages = {205--218},
title = {{A Theory of Soft Power and Korea's Soft Power Strategy}},
volume = {21},
year = {2009}
}

And here the error message:

 LaTeX Warning: Citation 'Lee2009a' on page 1 undefined on input line 5.

 LaTeX Warning: Empty bibliography on input line 6.

 [1{/usr/local/texlive/2015/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
 (./Ohne-Titel.aux)

 LaTeX Warning: There were undefined references.

To compile I simply use the Macro --> applescript --> bibliography.

Any help would be highly appreciated! Julian

marked as duplicate by moewe biblatex Apr 20 '16 at 18:34

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.

4

Since biblatex is used, the bib-file should be specified with addbibresource{...}.

\bibliography is 'deprecated` and shouldn't be used any longer.

And use biber after pdflatex, compile twice (or better three times!)

\documentclass{article}
\usepackage[backend=biber]{biblatex}
\addbibresource{Ohne-Titel.bib}
\begin{document}
Test test test \cite{Lee2009a}
\printbibliography
\end{document}

Ohne-Titel.bib

@article{Lee2009a,
author = {Lee, Geun},
file = {:Users/JulianLeitner/Library/Application Support/Mendeley Desktop/Downloaded/Lee - 2009 - A Theory of Soft Power and Korea's Soft Power Strategy.pdf:pdf},
journal = {The Korean Journal of Defense Analysis},
number = {2},
pages = {205--218},
title = {{A Theory of Soft Power and Korea's Soft Power Strategy}},
volume = {21},
year = {2009}
}

enter image description here

  • 1
    While \bibliography{<basename>} is deprecated for \addbibresource{<basname>.<ext>}, it should still work here ... I'd hazard the guess that it's a problem of calling Biber and not BibTeX that is at the heart of the issue here. – moewe Apr 20 '16 at 16:54
  • @moewe: You're the bibliography expert here. I think it's still better to refer to \addbibresource, isn't it? – user31729 Apr 20 '16 at 16:57
  • 1
    I certainly prefer \addbibresource over \bibliography, but there are some that like the old way of doing things. For some of the extra functionality (access to remote locations etc.) \addbibresource is required, but most people can get what they need from \bibliography. – moewe Apr 20 '16 at 16:59
  • @moewe: Thanks for explanation -- I changed to shouldn't be used in the post – user31729 Apr 20 '16 at 17:01
  • 1
    @Nicolas: I am pretty sure it's some TeXWorks configuration issue. – user31729 May 23 '16 at 15:05

Not the answer you're looking for? Browse other questions tagged or ask your own question.