BibLaTex 空书目

BibLaTex 空书目

我正在使用 TeXShop 3.61,目前正在从 natbib 切换到 biblatex。尽管尝试了几个小时并阅读了所有其他条目,但我仍然无法让它工作。

.tex 文档:

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

.aux 文件:

\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 条目:

@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}
}

错误信息如下:

 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.

为了编译,我只需使用宏 --> applescript --> 书目。

任何帮助都将不胜感激!朱利安

答案1

由于biblatex使用了,因此应该用 指定 bib 文件addbibresource{...}

\bibliography已“弃用”且不应再使用。

并使用biber之后pdflatex,编译两次(或者最好三次!)

\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}
}

在此处输入图片描述

相关内容