2017 年新版 ACM 主文章模板存在问题

2017 年新版 ACM 主文章模板存在问题

我正在用新的2017 ACM 主条目模板,我还收到过这样的Undefined control sequence信息:

  1. \orcid— 这个不太重要,我可以省略我的orcid
  2. \@currentaffiliation ->\institution
  3. …->\streetaddress,,,,…->\city…->state…->postcode
  4. 我不需要的其他东西
  5. <argument> [\protect \citeauthoryear这一点至关重要

请注意,我在运行他们的例子 sample-sigconf.tex

虽然第二和第三个有点烦人,但如果忽略控制序列,它只会打印机构、城市、州等,我可以接受。然而,最后一个问题导致我的参考书目无法正确打印

我看过这个听起来类似的问题/答案,但这个答案对我不起作用(这并不奇怪,因为我没有使用named书目风格)。我还尝试了这种方法,这似乎有效,但我不认为它提供的参考书目样式符合 ACM 标准。

有其他人成功使用此模板了吗?这是我用来编译它的命令:

latexmk -pdf -pdflatex="pdflatex -interaction=nonstopmode" -use-make sample-sigconf.tex

这是我的pdflatex版本:

▶ pdflatex --version                                                                     
pdfTeX 3.14159265-2.6-1.40.17 (TeX Live 2016)
kpathsea version 6.2.2
Copyright 2016 Han The Thanh (pdfTeX) et al.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.21; using libpng 1.6.21
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with xpdf version 3.04

答案1

您需要更新acmart。我\orcid在 2016/06/25 的 v1.15 中引入了它。

当前版本在 CTAN、TeXLive、MikTeX 等上。开发版本位于https://github.com/borisveytsman/acmart/,但您可能希望坚持使用已发布的版本。

相关内容