CTeX-org / ctex-kit

Macro Packages and Scripts for Chinese TeX users
965 stars 124 forks source link

添加 chinese-jfm 为 ctex 的依赖 #685

Open Firestar-Reimu opened 7 months ago

Firestar-Reimu commented 7 months ago

我安装tex live时选择basic-scheme,然后手动安装ctex(这会安装luatex-ja)

tlmgr install ctex

我使用lualatex编译ctexart文档类,结果报错,没有找到chinese-jfm https://github.com/tanukihee/ChineseJFM 结果发现这是luatex-ja的依赖,但是tlmgr不认识 于是我又安装chinese-jfm

tlmgr install chinese-jfm

这才成功编译

muzimuzhi commented 7 months ago

chinese-jfm 依赖是 ctex v2.5.9 (2022-06-04) 新增的,见 dcb710b31864537d9223137f6d4bfd552adf094e (ctex: 依赖 chinese-jfm, 2022-05-26)。

目前的依赖列表只储存在 texlive 仓库,不储存在 ctex-kit 仓库。它是 2020 年 @qinglee 加上的,像是直接给 texlive 维护者 Karl 发邮件加上的,https://www.tug.org/svn/texlive/trunk/Master/tlpkg/tlpsrc/ctex.tlpsrc

长期来看,现在 CTAN 包维护者可以在上传的压缩包里包含 DEPENDS.txt 文件,来向 texlive 更新依赖列表。不过这需要 ctex 发一次版。