Repository navigation
[6244] 新增 \varphi / \varpi / \phi LaTeX 导入导出回归测试 - #4786
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.
变更说明
针对任务 6244(反馈「魔法粘贴中
\varphi/\varpi导入变成\phi」)进行了完整排查,并新增回归测试TeXmacs/tests/6244.scm。排查证据(为何本次无生产代码改动)
origin/main上实测parse-latex+latex->texmacs、cpp-latex-document->texmacs、tracked-latex->texmacs、conservative-latex->texmacs及导出tmtex,\varphi、\varpi、\phi均已正确分别映射为<varphi>、<varpi>、<phi>(包含\Delta_{\varphi}与反馈中的 OPE 公式示例)。TeXmacs/plugins/html/progs/html/mathml-drd.scm、htmltm.scm、mathtm.scm)亦已正确区分φ、ϕ、ϕ、ϖ及 KaTeX/MathJax 公式提取。markdown->texmacs转换器(位于非开源仓库,开源版TeXmacs/plugins/markdown/progs/markdown/markdown-format.scm仅声明格式)。因此开源mogan仓库无需改动生产代码,本次仅新增回归测试固化 LaTeX 导入导出行为。验证结果
gf fmt TeXmacs/tests/6244.scm:格式合规~/.local/bin/xmake r 6244(headless 模式):; *** checks *** : 13 correct, 0 failed.