Repository navigation
xeCJK/DEPENDS.txt似乎未正常更新到CTAN #1078
Description
Activity
github-actions commented
on Aug 13, 2026 on Aug 13, 2026 – with GitHub ActionsContributorMore actions🐛 Bug 分析 #1078
项目 结果 根因 xeCJKfntef无条件加载l3draw,但DEPENDS.txt将其所属的l3experimental标成了 TeX Live 不处理的soft依赖。严重程度 🟡 medium 适合后续自动实现 ✅ 是 📋 详细分析
复现路径:
- 使用未安装
l3experimental的精简 TeX Live 环境。 - 安装
xecjk后编译 Issue 中加载xeCJKfntef的文档。 xeCJKfntef执行\RequirePackage { l3draw },因缺少l3draw.sty而终止编译。
代码定位:
问题原因:
DEPENDS.txt已随 xeCJK v3.10.5 包含l3experimental,因此并非单纯遗漏提交或遗漏打包;真正的问题是该依赖被写成了soft。TeX Live 目前忽略soft依赖,只把hard依赖转换成tlmgr的自动安装关系,所以tlmgr info xecjk --data depends中不会出现l3experimental。后续修复可以把这一行改为
hard l3experimental。仓库改动只有一行且含义明确;但修复还需重新投递 CTAN 并等待 TeX Live 更新元数据后才会对用户生效。在此之前,用户可以运行tlmgr install l3experimental规避问题。
由 codex / gpt-5.6-sol 生成;本流程只分析,不自动修改代码。
- 使用未安装
TeX Live 目前忽略
soft依赖确实可能是 soft/hard 的问题。
Package dependencies - TeX Live - TeX Users Group
The
softdirective means the following package(s) may be needed, but are not required. As in the example above, perhaps they are only needed when running XeTeX (or some other specific engine). These must be listed assoftbecause not every installation wants or needs (for example) XeTeX. Similarly with packages that are only conditionally required, e.g., if some option to your package is specified. As far as tlmgr goes, soft dependencies are currently ignored, but they may serve as useful documentation. Your choice.- changed the title
[-]`xeCJK/DEPENDS.txt`似乎未更新到CTAN[/-][+]`xeCJK/DEPENDS.txt`似乎未正常更新到CTAN[/+]on Aug 13, 2026 @YDX-2147483647 已知问题。
更早的 xeCJKfntef 的依赖,也写作 soft。本次更新沿用。不打算改。可是之前能编译,现在不能了啊——现在把
\RequirePackage{l3draw}写死了。@YDX-2147483647 大概因为除了 l3draw 之外的其它 soft 依赖,都恰好被你已安装/其他包的依赖所覆盖了。
唔,那我再测试测试……感谢回复。
补充:TeX Live revision 79910 有收到
xeCJK/DEPENDS.txt的更改,见Reacted by Y.D.X.我查了下。
之前
xeCJKfntef.sty只有三个\RequirePackage,分别是expl3、xeCJK、ulem。expl3、xeCJK自不必说,而ulem被列为ctex的hard依赖,因此xeCJKfntef没问题。
#1024 向
xeCJK/DEPENDS.txt添加了 l3experimental,以使用 l3draw。不过似乎忘记发邮件告知CTAN更新了?根据以下输出,目前安装 xecjk 并不会自动安装 l3experimental。
日期及版本
后果
只装scheme-minimal、collection-xetex、ctex等少量内容时,以下文档能用TeX Live 2021至2026-07-02的TeX Live 2026正常编译,但用当前最新TeX Live 2026会报错 ! LaTeX Error: File
l3draw.stynot found。详情:https://github.com/BITNP/BIThesis/actions/runs/31688308437?pr=758