Repository navigation
feat(plugins): 自动安装并校验托管 XeLaTeX 运行时 - #775
Merged
endxxxx merged 8 commits intoOct 28, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
文献综述在机器缺少 XeLaTeX、模板包或中文字体时会丢失 Memmy 品牌样式。本改动由客户端管理经过校验的便携 TeX Live 运行时,在系统 TeX 不完整时自动下载并缓存所需依赖,供插件完成品牌 PDF 编译。
fixtures.lock.json下载固定版本,校验字节数、归档及逐文件 SHA-256,并拒绝异常 ZIP 路径与多余文件。客户端仓库不再保存样式、Logo、示例 TeX 或示例图片。Linux 运行包用于 CLI/源码场景,不新增 Linux 桌面发行包。验证:
2026.10.28-1已上传 OSS,匿名下载及全部 9 个文件哈希校验通过;4 项校验测试覆盖归档篡改、大小/逐文件哈希异常、多余文件及 ZIP 路径穿越。1.2.5-texlive.1CN 客户端已签名、公证并通过 Gatekeeper。完整综述流程完成后,显式更新插件至0.5.60,通过正式渲染能力重导出三页 PDF:两遍编译成功、无降级,日志确认使用托管 TeX 路径,Fandol 字体嵌入且品牌元素显示正常。配套发布:需部署 memmy-backend 的运行时接口并上传运行包;文献综述插件
0.5.60包含品牌编译失败时保留源码与诊断、禁止无品牌降级的处理。当前测试 catalog 仍默认0.5.59。样例迁移仅涉及 CI,不要求重新发布客户端或后端。验收另发现检索限流、部分全文主机受限和正文超长问题,本 PR 未处理这些独立问题。