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

l3kernel 更新后在 ctexart 里不能使用 unicode-math #384

Closed
RuixiZhang42 opened this issue Oct 19, 2018 · 3 comments
Closed

l3kernel 更新后在 ctexart 里不能使用 unicode-math #384

RuixiZhang42 opened this issue Oct 19, 2018 · 3 comments
Labels

Comments

@RuixiZhang42
Copy link
Member

l3kernel 于 2018 年 10 月 17 日更新,次日上传至 CTAN。更新之后在 CTeX 各文档类中一旦使用 unicode-math 就报错,并且不能生成 PDF。

% !TeX program = XeLaTeX
% l3kernel update, 2018-10-17:
% https://ctan.org/ctan-ann/id/mailman.549.1539893624.4481.ctan-ann@ctan.org
\documentclass{ctexart}
\usepackage{unicode-math}
\begin{document}
$e^{i\pi} = -1$
\end{document}

相关错误信息:

...
("C:\Program Files\MiKTeX 2.9\tex\latex\ctex\ctex-c5size.clo")
("C:\Program Files\MiKTeX 2.9\tex\latex\ctex\fontset\ctex-fontset-windows.def"
("C:\Program Files\MiKTeX 2.9\tex\latex\ctex\fontset\ctex-fontset-windowsnew.de
f"))) ("C:\Program Files\MiKTeX 2.9\tex\latex\ctex\config\ctex.cfg")
("C:\Program Files\MiKTeX 2.9\tex\latex\unicode-math\unicode-math.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\unicode-math\unicode-math-xetex.sty"
("C:\Program Files\MiKTeX 2.9\tex\latex\filehook\filehook.sty")
("C:\Program Files\MiKTeX 2.9\tex\latex\unicode-math\unicode-math-table.tex")))
(test-ctex-unicode-math.aux) ABD: EverySelectfont initializing macros)
Runaway argument?
76543210\q_stop newline - 'bold' (bx/n) with NFSS spec.: <->s*[0.9999\ETC.
! File ended while scanning use of \__iow_wrap_end_chunk:w.
<inserted text> 
                \par 
<*> ./test-ctex-unicode-math.tex
                                
?
@stone-zeng
Copy link
Member

latex3/latex3#491

@RuixiZhang42
Copy link
Member Author

@stone-zeng 只测试了 ctexart 等文档类与 article 等文档类,英文文档类没有出现 unicode-math 的问题,中文文档类出现了,所以以为是 CTeX 的 issue。现在看起来,英文文档类也会出问题,应该就只是 l3kernel 更新造成的吧。

@RuixiZhang42
Copy link
Member Author

RuixiZhang42 commented Oct 19, 2018

l3kernel 的命令 \iow_wrap:nnnN 处理宏展开出了问题,CTeX 并无 bug。参见 latex3/latex3@eff6093

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

No branches or pull requests

2 participants