Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1540647851 opened this issue Nov 30, 2022 · 3 comments
Open

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

1540647851 opened this issue Nov 30, 2022 · 3 comments

Comments

@1540647851
Copy link

No description provided.

@cactusfzx
Copy link

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

@wodaka
Copy link

wodaka commented Mar 28, 2023

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

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

@Xiexiaqing
Copy link

Xiexiaqing commented Feb 12, 2024

感谢楼主。同样的方法解决。
补充一些错误日志。
日志:
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也可以生成,但是编译过程报错。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants