使用 publist 时 plauthorname 未定义

使用 publist 时 plauthorname 未定义

我想使用 为自己建立一个出版物列表biblatex-publist。我按照文档版本 1.11 中的说明进行操作,但收到错误消息

未定义的控制序列。l.4 \plauthorname {Frank} 错误消息顶行末尾的控制序列从未被 \def'ed。

我的琐碎小例子是:

\documentclass{article}
\usepackage[bibstyle=publist]{biblatex}

\plauthorname{Frank}
\addbibresource{AFcleanarticles.bib}

\begin{document}

\title{Andrew U. Frank's publications}
\date{\today}
\maketitle


\section{Articles}
\newrefsection[AFcleanarticles]
\nocite{*}
\printbibliography[heading=none] 

\end{document}

日志文件-按照建议-显示:

(/usr/share/texlive/texmf-dist/tex/latex/biblatex/blx-dm.def)
Package biblatex Info: Trying to load biblatex bibstyle data model...
Package biblatex Info: ... file 'publist.dbx' not found.
Package biblatex Info: Trying to load biblatex custom data model...
Package biblatex Info: ... file 'biblatex-dm.cfg' not found.

而我确实没有 biblatex-dm.cfg 并且有 /usr/share/texlive/texmf-dist/tex/latex/biblatex-publist/publist.cbx 相应的dbx

日志中还有更多内容:

Package biblatex Info: Trying to load bibliography style 'publist'...
Package biblatex Info: ... file 'publist.bbx' found.

(/usr/share/texlive/texmf-dist/tex/latex/biblatex-publist/publist.bbx
File: publist.bbx 2016/08/06 v.1.3 biblatex bibliography style (JSP)
Package biblatex Info: Trying to load bibliography style 'authoryear'...
Package biblatex Info: ... file 'authoryear.bbx' found.

(/usr/share/texlive/texmf-dist/tex/latex/biblatex/bbx/authoryear.bbx
File: authoryear.bbx 2016/12/05 v3.7 biblatex bibliography style (PK/JW/AB)
Package biblatex Info: Trying to load bibliography style 'standard'...
Package biblatex Info: ... file 'standard.bbx' found.

(/usr/share/texlive/texmf-dist/tex/latex/biblatex/bbx/standard.bbx
File: standard.bbx 2016/12/05 v3.7 biblatex bibliography style (PK/JW/AB)
\c@bbx:relatedcount=\count271
\c@bbx:relatedtotal=\count272
))
\extralabelnumberwidth=\skip57
)

安装是在 linux-debian(stretch) 系统上使用 debian 软件包进行的。

我做错了什么?非常感谢您的帮助!

答案1

这些.log代码片段显示,您的 TeX 发行版具有 1.3 版biblatex-publist,该版本可以追溯到 2016 年 8 月。

根据https://github.com/jspitz/biblatex-publist/tree/0dae8f681c61524aa6c492d926b1b9062af30d26现在调用的宏在当时\plauthorname被调用过。因此,当你在上面的例子中用\omitname替换时,你可能会更幸运。\plauthorname\omitname

texdoc <package>通常,您可以通过在命令行中输入来访问安装在您机器上的软件包版本的文档。 在您的情况下texdoc biblatex-publist,应该会显示版本 1.3 的文档。 通常,查阅您已安装版本的文档比查阅 CTAN 上最新版本的文档更安全(尽管我承认我已经习惯了在 Google 上搜索所有内容,因此阅读 CTAN 上的文档比转到命令行并调用 更自然texdoc,但我正在努力做得更好)。

如果你想更新你的 TeX 系统,请查看我如何更新我的 TeX 发行版?。如果您正在运行通过 Linux 发行版的软件包存储库安装的 TeX live,则可能无法更新。在这种情况下,如果您想处于开发的最前沿,您必须从 TUG 安装 vanilla TeX live(请参阅如何在 Debian 或 Ubuntu 上安装“原始” TeXLive?)通常是非常非常手动更新 CTAN 软件包是个坏主意。尤其是使用biblatexBiber 时,很容易遇到不兼容问题。

相关内容