elsvier latex在线编译报错:
! Undefined control sequence.
l.84 ...ameters of the model are presented in \qty
{1}{\milli\meter}.
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
! Undefined control sequence.
\milli ->\ERROR
l.84 ... the model are presented in \qty{1}{\milli
\meter}.
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined
本地texlive 2022 + texstudio,和overleaf上均正常。排查后是qty{1}{\milli\metre}
的问题,测试后只要涉及到单位的都报错,(比如\unit{\metre}
),但是不知道怎么解决,仅用了siunitx宏包,也是包含在CTAX database里的啊。附上最小工作实例(里面的pdf是elsvier投稿系统生成的错误pdf文件)。另外还想问下,看elsvier latex instruction里说,可以上传pdf手稿,附上latex源码,是不是就不需要在线编译通过啊,本地正常就行;还是说如果在线编译有问题编辑一样也会退回。
确实是老版的siunitx,但是我上传了最新版的貌似也没调用,还是调用的系统里的,不知道哪里有问题。
附上投稿系统生成的pdf日志。
HE-S-22-05780.pdf
不对,换了后日志也有不同:
是不是sty文件还是老版的,我在 https://github.com/josephwright/siunitx/releases 这里下的,里面的sty难道还是旧版?
@u66889 最新的是3.x,你的是老的,api不对,或者你去tex.se搜一下,老的api我记得是
\si
。