Repository navigation
扩展可视化编辑、多文件工作区及 LaTeX / PostScript PDF 编译 - #2
Merged
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.
延续 VisualLaTeX“导入现有 LaTeX → 可视化修改 → 导出”的主流程,补齐多文件项目、公式与引用的直接编辑,以及真实排版预览和 PDF 导出。本 PR 提议加入完整的 Studio 工作区,已基于最新
main整理提交,并保留原项目 v2.0.3 及此前的版本历史。此前已合并的 #1 修复保留在基线中。主要变化
界面
验证
node --check、node tests/smoke.mjs、node --test,291 项通过,0 失败/跳过。范围与限制
本地编译需要 Node.js 22+ 和工具链;Tectonic 首次获取宏包需要联网。GitHub Pages/file:// 提供静态编辑。PostScript 当前为源码编辑与渲染;复杂 TeX、自定义宏和章节片段仍有源码兜底。服务绑定 loopback 并检查 Host/Origin/令牌,但不是操作系统沙箱,仅面向可信本机项目。图片预览最多显示前 100 页,完整 PDF 导出不受此限制。
尚未实测真实 XeLaTeX 发行版、Safari/Firefox、移动设备或 file:// UI。Tectonic 的默认 ctex/Fandol 字体在测试中中文可见但复制映射异常;Windows 显式 fontset=windows 的样例通过,文档已记录,应用不会自动修改用户字体设置。