Miktex 更新后,SIAM Latex 模板停止工作

Miktex 更新后,SIAM Latex 模板停止工作

我最近更新了 MikTeX 软件包,这是我很久没有做过的事情了。

然后,当我编写一篇正在撰写的论文并计划提交给 SIAM 期刊时,我使用了其 LaTeX 模板,但失败了。模板可在此处获取:https://epubs.siam.org/journal-authors#macros

我注意到该文件无法编译。这似乎是 cleverref 包的问题,​​特别是 cref 命令的问题。错误示例如下

! Argument of \@fourthoffive has an extra }.
<inserted text> 
                \par 
l.71 \cref{sec:main}
                    , our new algorithm is in \cref{sec:alg}, experimental
I've run across a `}' that doesn't seem to match anything.
For example, `\def\a#1{...}' and `\a}' would produce
this error. If you simply proceed now, the `\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your `}' was spurious, just type `2' and it will go away.

然后,我尝试编译上面链接中提供的模板文章,也失败了,并出现了同样的错误。我尝试寻找答案,但到目前为止运气不佳。我不知道问题是软件包冲突、MikTex 版本还是 SIAM 模板文件。我尝试编译 ex-article.tex(上面链接中提供)时获得的日志文件可在此处找到:https://drive.google.com/file/d/1eb2qxlkB6aCiMkNwrB8Jsr7NGyTr1uoi/view

答案1

据我了解,该问题似乎是 hyperref 包的问题,​​该包最近才被修补。

而且由于更新时间太新,它尚未显示在 MikTeX-Console 上。

但遗憾的是,Ulrike Fischer 建议在https://github.com/latex3/hyperref/issues/284#issuecomment-1588022830有效!

相关内容