kpsewhich 找到正确的本地包;pdflatex 没有找到

kpsewhich 找到正确的本地包;pdflatex 没有找到

我正在 OpenBSD-current 上运行 Tex Live 2013。biblatex 和 biblatex-chicago 的版本似乎有点旧,这导致我的一些文档无法编译。

我从 CTAN 下载了这两个包的最新版本并将它们放在我的~/texmf文件夹中。kpsewhich似乎找到了正确的版本:

% kpsewhich biblatex.sty biblatex-chicago.sty
/home/peter/texmf/tex/biblatex/latex/biblatex.sty
/home/peter/texmf/tex/biblatex-chicago/latex/biblatex-chicago.sty

编译导入 biblatex-chicago 的文档失败。我相信这是因为 pdflatex 找到了这些软件包的旧版本,而 kpsewhich 看到的是正确的版本:

% pdflatex summaries.tex                     
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013-OpenBSD_Ports)
 restricted \write18 enabled.
entering extended mode
(./summaries.tex
LaTeX2e <2011/06/27>
Babel <3.9f> and hyphenation patterns for 78 languages loaded.
(/usr/local/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/local/share/texmf-dist/tex/latex/base/size12.clo))
(/usr/local/share/texmf-dist/tex/latex/biblatex-chicago/biblatex-chicago.sty
(/usr/local/share/texmf-dist/tex/latex/etoolbox/etoolbox.sty
(/usr/local/share/texmf-dist/tex/latex/etex-pkg/etex.sty))
(/usr/local/share/texmf-dist/tex/latex/biblatex/biblatex.sty
(/usr/local/share/texmf-dist/tex/latex/biblatex/biblatex1.sty
(/usr/local/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/share/texmf-dist/tex/latex/logreq/logreq.sty
(/usr/local/share/texmf-dist/tex/latex/logreq/logreq.def))
(/usr/local/share/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/local/share/texmf-dist/tex/latex/url/url.sty)
(/usr/local/share/texmf-dist/tex/latex/biblatex/blx-compat.def)
(/usr/local/share/texmf-dist/tex/latex/biblatex/biblatex.def)
(/usr/local/share/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate.bbx)
(/usr/local/share/texmf-dist/tex/latex/biblatex-chicago/chicago-authordate.cbx)
(/usr/local/share/texmf-dist/tex/latex/biblatex/biblatex.cfg)))

Package biblatex Warning: 'labelyear' option is deprecated, use 'labeldate' ins
tead.

! Undefined control sequence.
<argument> \DeclareLabelyear 
                             [music,review,video]{\field {eventyear}\field {...
l.92 \csuse{cms@\cms@style}

我发现这个问题描述了这个问题与修补版本的pdflatex。但是,由于我使用的是 texlive 的打包版本,因此我不确定重建 pdftex 是否是正确的方法。我开始怀疑这是 OpenBSD texlive 包中的一个错误,但我还是将其作为问题发布在这里,以防万一我太愚蠢了。

相关内容