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

ctex: 兼容较早版本的 LaTeX #507

Closed
qinglee opened this issue May 5, 2020 · 0 comments
Closed

ctex: 兼容较早版本的 LaTeX #507

qinglee opened this issue May 5, 2020 · 0 comments
Assignees
Milestone

Comments

@qinglee
Copy link
Member

qinglee commented May 5, 2020

目前,ctex v2.5 直接使用了 LaTeX 2020-02-02 中才定义的 \@rmfamilyhook 等字体钩子。这可能导致问题。

比如查看今天 latex3 的测试日志发现 https://travis-ci.org/github/latex3/latex3/jobs/683310001#L1359-L1363

! Undefined control sequence.
<argument> \@rmfamilyhook 
                          
l.126 ...ook      { \CJKfamily { \CJKrmdefault } }

如果用户使用 latexrelease 包回滚内核,也会触发这一错误。我们需要像在 xeCJK 中那样比较保险地处理这些字体钩子。

@qinglee qinglee self-assigned this May 5, 2020
@qinglee qinglee added this to the ctex v2.5.2 milestone May 5, 2020
@qinglee qinglee closed this as completed in 6d4cb80 May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant