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

Fix inconsistent local/global assignment #331

Closed

Conversation

muzimuzhi
Copy link
Contributor

@muzimuzhi muzimuzhi commented Mar 20, 2024

Fixes #329.

目前,前两个提交是与主题无关的,一个是为了让 l3build check 通过,一个是维护性工作。我想等 #330 解决后,rebase 并 squash 提交。

在解决 inconsistent local/global assignment 报错时,我选择了「总是遵照变量命名里的 l/g 而改动对变量赋值的函数」。

fduthesis-regression-test.tex 为所有测试设置 \debug_on:n { check-declarations },虽然现在能通过 CI,但这有赖于目前的测试覆盖不完整、没有大量使用 ctex 功能。实际上 ctex/xecjk 本身目前通不过 check-declarations

% !TeX program = xelatex
\ExplSyntaxOn
\debug_on:n { check-declarations }
\ExplSyntaxOff
\documentclass{ctexart}

\begin{document}
\end{document}

@stone-zeng stone-zeng closed this May 6, 2024
@stone-zeng
Copy link
Owner

stone-zeng commented May 6, 2024

手动做了一部分的 squash 所以好像没有自动合并。

@muzimuzhi muzimuzhi deleted the fix/inconsistent-assignment branch May 6, 2024 05:18
@muzimuzhi
Copy link
Contributor Author

手动做了一部分的 squash 所以好像没有自动合并。

没事。

好诶 copyright 更新到 2024 了( af18bb3 ),我当时纠结过要不要改。

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

Successfully merging this pull request may close these issues.

! LaTeX Error: Inconsistent local/global assignment
2 participants