Commit 249300a
authored
fix(ci): tl_packages 加 docext + xurl, 修 release.yml zhlineskip typeset (#906)
* fix(ci): tl_packages 加 docext + xurl, 修 release.yml zhlineskip.dtx typeset
PR #905 之后 zhlineskip-v1.0f tag release.yml 走 fallback 装 TL 完整后,
Build CTAN zip 在 typeset zhlineskip.pdf 时报:
! LaTeX Error: File `docext.sty' not found.
zhlineskip.dtx driver 部分:
\usepackage{caption, docext, xurl, booktabs, hyperref}
其中 caption / booktabs / hyperref 在 tl_packages 已有; docext / xurl 缺.
- docext: myhsia 自己写的 doc 扩展包, 2026-06-13 上 CTAN
- xurl: URL 任意字符断行, 独立小包
LaTeX 第一个 missing 就抛错退出, 没暴露 xurl 的 missing. 同时加上避免下
轮 release fail 再炸一次.
tabularx / fancyvrb-ex / zref-base 看似缺其实在 tools / fancyvrb / zref 集合
里, 已经会跟着装. 不重复加.
* test(ci): zhlineskip caller 临时加跑 l3build doc 暴露 typeset 缺包
PR #906 加 docext + xurl 后, l3build check 不 typeset, 看不出 zhlineskip.dtx
driver 部分还缺什么 TL 包. release.yml 真去 typeset 才暴露, 但 release 在
push tag 时才跑, 反馈太慢, force-push 来回试错成本高.
临时改: zhlineskip caller 在 check 之后跟跑 l3build doc, fail 时 dump
build/local 和 build/doc 下的 .log 帮诊断. 验证 docext/xurl + release 字体
配置真能 typeset 通过后改回 (l3build doc 比 check 慢一些, 字体 fc-cache 也
得装 — 但本来 caller 就装了 NotoCJK + fc-cache).
PR #906 / #907 验证完毕后 revert 这个 commit.
* fix(zhlineskip): sans/mono 不显式 UprightFont, fontconfig 查不到 "Regular"
PR #904 把 setCJKsansfont 改 fontconfig 风格时给了 `UprightFont = * Regular`,
test caller 跑 l3build doc 暴露 fontspec 报:
The font "Noto Sans CJK SC Regular" cannot be found
Noto Sans CJK OTC 集合里 fontconfig 没暴露 "Noto Sans CJK SC Regular" 这个
全名 — Regular 是默认 weight, 隐含在 family 名里. xeCJK 也是直接
`\setCJKsansfont{Noto Sans CJK SC}` 不带 weight.
Main 是 Medium 不能省, 保留. Sans/Mono 去掉 UprightFont, fontspec 默认就
是 Regular. BoldFont = * Bold 保留 (Bold 不是默认, 要显式指定).
* revert(ci): 撤销 zhlineskip caller 跑 l3build doc 临时验证
a3287d6 临时让 caller 跑 l3build doc 暴露 release.yml typeset 路径缺包.
已确认两个根因:
- 0941890 之后 fontspec 报 'Noto Sans CJK SC Regular' not found 修好
- docext / xurl 在本 PR 加进 tl_packages
- zhlineskip.pdf 11 pages 正常输出 (zhmakeindex 在 caller 里没装是预期,
test caller 不该装 zhmakeindex, 那是 release.yml 专用)
恢复 caller 只跑 l3build check.1 parent 1630004 commit 249300a
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| 168 | + | |
167 | 169 | | |
168 | 170 | | |
169 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
204 | 207 | | |
205 | | - | |
206 | 208 | | |
207 | 209 | | |
208 | 210 | | |
209 | | - | |
210 | 211 | | |
211 | 212 | | |
212 | 213 | | |
| |||
0 commit comments