xiaoyuleiba

Results 16 comments of xiaoyuleiba

> > log 里有一串找不到字体的 fontspec error,STKaiti, STHeiti, STSong 通通找不到/无法解析。 > > > 现在直接调用了 `ctex-fontset-macold.def` > > > > > > 新旧判断的依据是 `/System/Library/Fonts/PingFang.ttc` 文件是否存在: > > https://github.com/CTeX-org/ctex-kit/blob/0fb196c42c56287403fecca6eb6b137c00167f40/ctex/ctex.dtx#L10814-L10816 > > > >...

> 我又重新测试了,结果如下: > > 1. 判断`macnew`的逻辑有问题, 默认必定是使用`macold`的,所以`macnew`是不会被使用的,除非手动设定`fontset=macnew`。 > 2. 无论是`macold`还是`macnew`,`xelatex`都不会报错,但`lualatex`都会报错, 无法运行。 > > ## 结论 > 1. mac下,`ctex`的`macnew`的判断逻辑有问题,需要更新。 > 2. `xelatex`可以正常运行,说明字体本身是没有问题的,可能是`lualatex`的问题。 > > ## 附:强制使用`macnew`的方法 > 测试的时候,使用了2种强制`macnew`方法: > > **1....

> [test_xelatex.log](https://github.com/user-attachments/files/17199496/test_xelatex.log) > [test_lualatex.log](https://github.com/user-attachments/files/17199497/test_lualatex.log) 在 lualatex 版 log 第 531 行, 和 xelatex 版的 log 第 239行, 都有相同的一句话: ``` LaTeX Info: Package 'ctex.sty' has been disabled. ``` 而这也都是 `ctex` 字段在各自的...

> 没影响,我现在在写毕业论文,xelatex可以正常编译。 确实不影响, 但是现在并不是说有没有影响的事情, 而是要解决这个问题. 非要用 ctex + lualatex + macos15的人几乎没有.

> ``` > \documentclass[fontset=macnew]{ctexbook} > \usepackage{ctex} > ``` 这两个 log 我之前说过了, 在 xelatex log 的第 239 行, lualatex log 的第 531 行, 都有一个同样的内容 > LaTeX Info: Package 'ctex.sty' has been...

Thanks for your advice, but it does not work on my device,,, But I just found that official is maybe enough for me, so...