Sophanatprime / cus

CusTeX
8 stars 4 forks source link

`\changes` 报错 #56

Closed xkwxdyy closed 3 weeks ago

xkwxdyy commented 3 weeks ago
\DocumentMetadata{}
\documentclass{cusdoc}

\newindextype[auto=true,filename=\jobname.idx,heading*={\section}]{\empty}
\setupindex[\empty,docchange]{auto=true}

\usepackage{biblatex}

\begin{document}
\changes{v0.0.1}{2024-04-25}{基于重新整理手册代码}

\changes{v0.0.1}{2024-04-26}{增加本科模板参考}

\PrintChanges 

\end{document}

xelatex 编译后报错

! Missing = inserted for \ifnum.
<to be read again> 
                   -
l.16 \changes{v0.0.1}{2024-04-26}
                                 {增加本科模板参考}
? 

去掉 \usepackage{biblatex} 包 xelatex 编译后报错

! Undefined control sequence.
l.6 \abx@aux@refcontext
                       {nty/global//global/global/global}
? 
Sophanatprime commented 3 weeks ago
  1. \changes 不支持 yyyy-mm-dd 的写法,只能写 yyyy/mm/dd,未来的版本会支持两种写法。
  2. cus 无关。删掉 .aux 再编译即可。
Sophanatprime commented 3 weeks ago

dev 版(https://github.com/Sophanatprime/cus/commit/c32554e1fad67079f66fbd8328cc80917264b03b )已支持 yyyy-mm-dd 的写法。

xkwxdyy commented 3 weeks ago

非常感谢