SainoNamkho
SainoNamkho
> 我的理解是,使用最后一个例子,xetex 在处理到 `a` 时,发现随后是一个特殊的字符类(`4095`),然后插入对应的 toks,然后继续处理,此时 `\tmpb` 已经恢复到了原始的定义,被展开为 `b`,和之后的 `c` 是同一个字符类,所以不插入 toks。 要想得到 “正常的结果”,就暂时取消字符类的功能。 >我也说不清,恢复原始定义的具体触发条件是什么。彻底地搞明白,恐怕要去看 (xe)tex 的源码 (knuth-pdf 包提供了排版了的带注释源码 tex.pdf 和 xetex.pdf)。搜到的一些讨论:tex-sx 问题编号 12482, 387850, 609774;xetex 邮件组的邮件 https://tug.org/pipermail/xetex/2015-May/025984.html 我看了一下代码,大概意思是,tex 展开...
> 我看了一下代码,大概意思是,tex 展开 `\noexpand` 时获取下一个 token 后又放回去了,如果下一个token是一个可以展开的控制序列,就再 push 一个 _frozen_dont_expand_,下次读入的时候遇到这个 _frozen_dont_expand_,再把下一个 token 读为一个特殊的 `\relax`(`cur_cmd` 等于 `\relax`, `cur_chr` 比`\relax` 大1,`cur_tok` 跟 `cur_cs` 为跟原来的 token 一样)。 代码里插入的规则跟我之前自己凭感觉总结的差不多。 1. 如果第一个 token 不是 boundary,插入之后就不在它跟插入的记号之间再插入了,而是虚设...
prop确实慢,如果需要的是属性偏移固定的数据结构,可以用intarray,要求不那么高可以把对象和属性拼成一个名字来。 即使引擎直接实现,求值一个属性还是要哈希一次,跟从变量名计算token在eqtb的位置是一样的,也就是省点内存。 话说吕老师考虑在luatex下用lua重新实现吗?
I noticed that the package has replaced some "spec list" (hash table version) by `intarray` (array version) but prop lists seems not changed. It might help(?) if all prop lists...
> 我想搞明白的是为什么`且`字前后的空格情况会不一样? ```latex %!TEX program=xelatex \documentclass{article} \usepackage{xeCJK} \begin{document} \fbox{ 且 } \end{document} ```  即使直接放盒子,右边都没有间距。 xeCJK 的处理过程大致是: ```latex $A\hbox{ 且 }B$ ``` - `\hbox{` 进入受限水平模式制作盒子 - ` ` 空格,生成一个粘连。 -...
#6442 seems related
> @SainoNamkho Thanks for reporting the issue! This button should help users who navigate using their keyboard. Although we'll add a click handler to help you dismiss it using your...
> Thanks for the update! It does look random in your case. Could you share the list of plugins that you are currently using? I have - [Doc View Exporter](https://github.com/sethyuan/logseq-plugin-doc)...
But it still arises when I disable all the plugins. One possible clue: the button is shown more frequently if the chromium-based edge browser occupies heavy CPU and memory usage,...
If I want to fix it as well as #5854 myself, should I submit a pr to this repository or https://github.com/logseq/mldoc?