Biblatex:外部摘要文件放在哪里?

Biblatex:外部摘要文件放在哪里?

在 §3.11.8(“外部摘要和注释”)中biblatex文档,它说可以将摘要放在外部.tex文件中,而不是.bib直接将其存储在文件中。

要做到这一点,它说你必须将.tex文件命名为bibabstract-citekey.tex,其中“ citekey”是文件中关联条目的引用密钥.bib

文档没有提到这些外部摘要文件应该存储在何处。我以为可以将它们保存在本地texmf树中,但事实似乎并非如此。

bibabstract-citekey.tex只有当摘要与主文件位于同一文件夹中时,我才能够打印摘要.tex

我做错了什么吗,或者这是预期的行为?

以下是由三部分组成的 MWE:

main.tex

% arara: pdflatex
% arara: biber
% arara: pdflatex
\documentclass{article}

\usepackage[
    backend=biber,
    style=reading, % a style that prints abstracts
    loadfiles=true % must be set to true for external abstract files
]{biblatex}

\addbibresource{biblatex-example.bib}

\begin{document}

\nocite{chomsky2013}

\printbibliography

\end{document}

biblatex-example.bib

@Article{chomsky2013,
  author                      = {Chomsky, Noam},
  doi                         = {10.1016/j.lingua.2012.12.003},
  langid                      = {american},
  pages                       = {33--49},
  title                       = {Problems of Projection},
  issn                        = {0024-3841},
  journaltitle                = {Lingua},
  date                        = {2013-06},
  editor                      = {Rizzi, Luigi},
  issuetitle                  = {Syntax and Cognition},
  issuesubtitle               = {Core Ideas and Results in Syntax},
  number                      = {1},
  volume                      = {130}
}

bibabstract-chomsky2013.tex

With the crystallization of the ``generative enterprise'' half a century ago, two concepts became salient: the initial state and final states of the language faculty, respectively, UG (the genetic component) and I-languages. Since then inquiry has gained far greater scope and depth. It has also led to sharpening of fundamental principles of language. At first, descriptive adequacy appeared to require rich and complex assumptions about UG. A primary goal has always been to overcome this deficiency. Core properties of concern have included compositionality, order, projection (labeling), and displacement. Early work assigned the first three to phrase structure rules and the last to the transformational component. Simplification of computational procedures suggests that compositionality and displacement (along with the ``copy theory'') fall together while order may be a reflex of sensorimotor externalization, conclusions that have far-reaching consequences. As for labeling, minimal computation restricts options to the few that have considerable empirical support.
\endinput

bibabstract-chomsky2013.tex仅当保存在与 相同的目录中时,我才能打印摘要。当保存在本地树中时(在我的情况下为) main.tex,它不会打印。bibastract-chomsky2013.textexmf~/Library/texmf/bibtex/bib/

答案1

由于这些是.tex文件,biblatex只要外部摘要文件位于<texmf>/tex/不是 <texmf>/bibtex/)。此外,由于这些文件是供 使用的biblatex,因此将它们放入 中可能是最合理的<texmf>/tex/latex/biblatex/

并且,为了组织起见,您不妨为所有外部摘要创建一个专用文件夹,例如<texmf>/tex/latex/biblatex/abstracts/

因此,如果您将其放入bibabstract-chomsky2013.tex其中<texmf>/tex/latex/biblatex/abstracts/,那么biblatex就会正确找到并打印摘要。


<texmf>是本地texmf树的简写。如何设置取决于您的 TeX 发行版(TeX Live/MacTeX 或 MiKTeX)。如果您不知道如何设置本地texmf树,但想设置一个,请参阅我应该将自己的 .sty 或 .cls 文件放在哪里,以使它们可供我的所有 .tex 文件使用?

相关内容