Skip to content

[BUG][🚨EMERGENCY] 编译报错 \zihao {-4} undefined, 影响 release #48

@jamesnulliu

Description

@jamesnulliu

1. Bug Description

本地和在线 (overleaf) 编译都出现报错.

2. Steps to Reproduce

  1. 本地编译: bash scripts/build.sh 可在终端输出发现错误; 但是 pdf 正常生成.
  2. 本地编译, 利用 wiki 中的方法, 直接报错, 无法生成 pdf.
  3. overleaf 在线编译, 出现报错, 正常生成 pdf.

关键报错:

./contents/chap02.tex:9: Package caption Error: \zihao {-4} undefined.
./contents/cover.tex:24: Package caption Error: \zihao {-4} undefined.
# etc.

3. Expected Behavior

不应该输出报错.

4. Screenshots

Image

5. Environment

Software Version
OS / Docker Image Windows 11
Tex TexLive 2024

6. Additional Context

  1. 对于维护者, 请切换到 hotfix/#48 分支, 对该分支进行 PR.
  2. master 分支已经剥离可能造成问题的 commit, 包括:

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions