Closed JoshuaWu1997 closed 4 years ago
xelatex和latexmk编译都出现fatal error: Package caption: bi-first' undefined in familiescap tion'. Package caption: bi-second' undefined in familiesca ption'.
bi-first' undefined in families
bi-second' undefined in families
cquthesis.cls: line 339-348
\captionsetup[bi-first]{bi-first} \captionsetup[bi-second]{bi-second} \DeclareCaptionOption{bi-first}[]{% \def\tablename{\shorttablename} \def\figurename{\shortfigurename} }%bi-first \DeclareCaptionOption{bi-second}[]{% \def\tablename{\shorttablenameEN} \def\figurename{\shortfigurenameEN} }%bi-second
尝试交换DeclareCaptionOption和captionsetup语块位置,error解决。
抱歉,我没法重现这个问题。目前的代码看起来是正常工作的。
下次遇到这个问题,也许你可以运行下make cleanall,有时候异常状态的中间文件(*.aux等)会导致错误。
make cleanall
*.aux
xelatex和latexmk编译都出现fatal error: Package caption:
bi-first' undefined in families
cap tion'. Package caption:bi-second' undefined in families
ca ption'.cquthesis.cls: line 339-348
尝试交换DeclareCaptionOption和captionsetup语块位置,error解决。