Balthild

Results 46 comments of Balthild

Looks like that it's Apple's fault... https://stackoverflow.com/a/75540727

Some functions in the `objc2-*` crates are no longer `unsafe`. They should work if you upgrade these dependencies.

Should be fixed in v0.9.4 (#73, #74)

You could generate the glyph map at build time. See https://docs.expo.dev/versions/latest/config/metro/#virtual-modules ```sh npm install --save-dev entities ``` tsconfig.json ```jsonc { "compilerOptions": { "paths": { "virtual:*": ["node_modules/.cache/virtual/*"] } } } ```...

No, but the result has changed a little. Tested with the current main branch ([1e645b3](https://github.com/typst/typst/commit/1e645b396429a976fa4c34dffaa578e5c8347f25)). ![图片](https://github.com/typst/typst/assets/2662758/e47b86ec-1b4e-41ce-bb0b-213ab1b0bc60)

我尝试了一些其他的命令,似乎 xeCJK 是有一定的“无视”字符之间的命令的能力的, ```latex \documentclass[b5paper,pagesize,fontsize=14pt,twoside=false]{scrbook} \usepackage[UTF8]{ctex} \usepackage{color} \begin{document} 啊啊啊啊啊(啊啊啊)\begingroup〔啊啊啊啊〕\endgroup。 啊啊啊啊啊(啊啊啊)\begingroup〔啊啊\color{red}啊啊〕\endgroup。 啊啊啊啊啊(啊啊啊){〔啊啊\color{red}啊啊〕}。 啊啊啊啊啊(啊啊啊)\itshape〔啊啊啊啊〕\normalfont。啊啊 \end{document} ``` ![image](https://user-images.githubusercontent.com/2662758/200289493-ef48a5b4-0e54-42a4-9526-2703a7380adf.png) 如图所示,xeCJK 在处理标点时无视了 `\begingroup`、`\endgroup`、`\itshape`、`\normalfont` 命令。此外,当 `\color` 出现在一个 group 中间时,只有与之相关的 `\endgroup` / `\egroup` 附近的标点挤压被破坏了。 这是否说明 xeCJK 针对括号间可以出现的内容有一个内置白名单一类的东西?如果有,那么这个名单能否被配置?

标点挤压失效的原因,我已经大致上明白了,非常感谢各位的解答。 我尝试阅读(之前不会 LaTeX 编程,也不知道理解得对不对)和修改了一下 xeCJK 的代码,发现如果要处理 whatsit,应该是需要在 https://github.com/CTeX-org/ctex-kit/blob/c3d9e851ca84eeb575335b65dd46d00b42a16e83/xeCJK/xeCJK.dtx#L4218-L4219 附近加入这样的代码 ```latex \cs_new_protected:cpn { __xeCJK_bound_type_ 9 _glue:Nn } #1#2 { % 在这里插入适当的 glue } ``` 根据 `\xeCJK_if_last_node:n`,在这些处理各种 node 的 cs 里面,xeCJK 用一些特殊的...

> There are a few workarounds to suppress the "Terminate batch job" prompt documented here: https://superuser.com/questions/1705792/how-to-suppress-windows-batch-job-termination-confirmation This only applies when I'm writing the script. However, in most of the times,...

Maybe a solution is to find out which program that `.ps1` files are associated with, but it requires some extra work to implement. If you think this works, I may...