rioxwang / BUPTGraduateThesis

396 stars 113 forks source link

运行bat文件时出现 Command \glsdisplayfirst undefined. #99

Open 1540647851 opened 1 year ago

cactusfzx commented 1 year ago

在buptgraduatethesis.cls中找到\RequirePackage[toc,section=chapter]{glossaries} 改为 \RequirePackage[toc,section=chapter]{glossaries}[=v4.49] 查了一晚上才发现是因为在新的glossaries中把这个命令删除了,这个后面是使用回滚版本可以解决

wodaka commented 1 year ago

在buptgraduatethesis.cls中找到\RequirePackage[toc,section=chapter]{glossaries} 改为 \RequirePackage[toc,section=chapter]{glossaries}[=v4.49] 查了一晚上才发现是因为在新的glossaries中把这个命令删除了,这个后面是使用回滚版本可以解决

原来的报错Command \glsdisplayfirst undefined,能生成出pdf。 用你的方法试过之后,也有错误信息,也能生成出pdf。最终s生成出的pdf有啥区别吗 image

Xiexiaqing commented 6 months ago

感谢楼主。同样的方法解决。 补充一些错误日志。 日志: buptgraduatethesis.cls:1207: LaTeX Error: Command \glsdisplayfirst undefined.

See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ...

l.1207 \renewcommand{\glsdisplayfirst} [4]{ ) (buptgraduatethesis.cfg) (metadata.tex) (acronyms.tex) (jrnl.aux)

Package natbib Warning: Citation `BSTcontrol' undefined on input line 40.

(conf.aux)

Package natbib Warning: Citation `BSTcontrol' undefined on input line 41.

(patent.aux)

修改以前PDF也可以生成,但是编译过程报错。