Biber 后端在 Texpad 中不起作用

Biber 后端在 Texpad 中不起作用

这篇文章类似于这个到目前为止,biber 后端无法正常工作(而 BibTex 后端可以正常工作)。我想在 Texpad 应用程序中解决此问题,该应用程序的设置是自动确定的,如下图所示:

在此处输入图片描述

测试非常简单,我只是使用fullcite宏在 Beamer 演示文稿中显示引用。这是 MWE:

\documentclass{beamer}

\usepackage[backend=biber]{biblatex}
\usepackage{hyperref}
\addbibresource{bibliography.bib}

\begin{document}

\begin{frame}

\begin{itemize}
  \item \fullcite{Simone2006}
\end{itemize}


\end{frame}

\begin{frame}[fragile]

\nocite{*}
\printbibliography
\end{frame}


\end{document}

文件内容bibliography.bib如下:

%% This BibTeX bibliography file was created using BibDesk.
%% https://bibdesk.sourceforge.io/
%% Saved with string encoding Unicode (UTF-8) 

@article{Simone2006,
    Abstract = {Abstract We present a Generalized Finite Element Method for the analysis of polycrystals with explicit treatment of grain boundaries. Grain boundaries and junctions, understood as loci of possible displacement discontinuity, are inserted into finite elements by exploiting the partition of unity property of finite element shape functions. Consequently, the finite element mesh does not need to conform to the polycrystal topology. The formulation is outlined and a numerical example is presented to demonstrate the potential and accuracy of the approach. The proposed methodology can also be used for branched and intersecting cohesive cracks, and comparisons are made to a related approach (Int. J. Numer. Meth. Engng. 2000; 48:1741). Copyright {\copyright} 2006 John Wiley \& Sons, Ltd.},
    Author = {Simone, A. and Duarte, C. A. and Van der Giessen, E.},
    Date-Added = {2018-06-04 14:13:23 +0000},
    Date-Modified = {2020-03-12 09:13:45 +0100},
    Doi = {10.1002/nme.1658},
    Journal = {Int J Numer Meth Eng},
    Keywords = {Generalized Finite Element Method, eXtended Finite Element Method, partition of unity, grain boundary sliding, polycrystals},
    Number = {8},
    Pages = {1122-1145},
    Title = {A Generalized Finite Element Method for polycrystals with discontinuous grain boundaries},
    Volume = {67},
    Year = {2006},
    Bdsk-Url-1 = {https://onlinelibrary.wiley.com/doi/abs/10.1002/nme.1658},
    Bdsk-Url-2 = {https://doi.org/10.1002/nme.1658}}

该代码不起作用,因为未创建引用: 在此处输入图片描述

我得到的错误是

LaTeX Warning: Citation 'Simone2006' on page 1 undefined on input line 17.

[1{/usr/local/texlive/2019/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (/Users/aaragon/Desktop/biblio/.texpadtmp/test.vrb)

LaTeX Warning: Empty bibliography on input line 3.

[2] (/Users/aaragon/Desktop/biblio/.texpadtmp/test.aux)

LaTeX Warning: There were undefined references.


Package biblatex Warning: Please (re)run Biber on the file:
(biblatex)                test
(biblatex)                and rerun LaTeX afterwards.

我需要在配置中做什么特别的事情才能使其工作(也许是脚本)?与 BibTex 相比,使用 biber 后端有什么优势吗?

答案1

除此之外,我在使用 Texpad 时也遇到了类似的问题;我发现使用 Biber 无法编译参考书目。我对 Texpad 所做的不是自动感知,而是手动选择配置设置 - 将中间文件存储在 .texpadtmp 中的设置来自“隐藏中间文件”的选择...

在阅读了上述关于禁用 .texpadtmp 的帖子后,我取消选择了该选项,参考书目完美地编译了。所以这似乎与 Biber 工作所需的这些临时文件有关 - 至少对我来说是这样。谢谢你的信息!

相关内容