Wenjian Chern
Wenjian Chern
环境:Windows11, TexLive 2021, xeCJK: 2021/12/12, v3.8.8 ```tex \documentclass{article} \begin{document} \def\tmpa{b} a\noexpand\tmpa c \end{document} ``` 这样一个 TeX 文件,(在常用编译器下)编译结果显示 `ac`,中间的 `\tmpa` 也就是 `b` 是不显示的。 但是使用 `XeLaTeX`,加载 `xeCJK` 宏包后,则编译结果为 `abc`。 (虽然一般情况下不会这样写就是了)
(The `latexbug` package tells me to report it at [xcolor](https://github.com/latex3/xcolor/issues), but it seems `\mathcolor` is defined in this repo. So I report here.) MWE: ```latex \RequirePackage{latexbug} \documentclass{article} \usepackage{xcolor} \usepackage{amsmath} \begin{document}...
There is a situation where we need to distinguish between a control word and a control symbol. Say, when detokenize the following code: ```tex \quote{paperheight\ is\the\paperheight} ``` the `\tl_to_str:n` will...
关于内容的疑问
书对新手非常友好! 我有几个问题。一是从2020年的某个版本开始(应该是1月份的),LaTeX2e 就已经集成了 expl3(自动加载),xparse 也已并入 LaTeX2e 的开发当中(ltcmd.dtx),xparse 的几乎所有功能都已被 LaTeX2e 加载,新的 hook 机制也完全使用 LaTeX3 开发。书中这一点似乎没有更新? 二个,uptex 和 aptex 会不会有介绍呢?xetex 和 luatex 的速度太感人了。 还有 LaTeX 的一些新特性(hook 之类的)会不会介绍呢? 期待您的书早日出版/上线!
## Brief outline of the enhancement There is a handy command `\__cmd_arg_to_keyvalue:nn`, which can convert a token list to a key-value. It saves the result to `\ProcessedArgument`. I'm not sure...
## Brief outline of the bug Update mark after using `\columnbreak`, the value of `\botmark` is not correct. ## Minimal example showing the bug ```latex \RequirePackage{latexbug} %
Add \token_if_cs_word:NTF and \token_if_control_word:NTF to test if token is a control word. see #1128
## Brief outline of the bug When using `\KeyValue`, `lttemplates` and `xtemplate` have different results. `lttemplates` may cause endless loop. ## Minimal example showing the bug ```latex \RequirePackage{latexbug} \documentclass{article} \ifdefined\NewTemplateType...