Skip to content

[Bug]: latex公式环境缩写导致编译问题 #2240

@grothen

Description

@grothen

Installation Method | 安装方法与平台

Pip Install (I used latest requirements.txt)

Version | 版本

Latest | 最新版

OS | 操作系统

Mac

Describe the bug | 简述

部分物理论文经常采用一种变态的公式缩写方法,比如

\def\be{\begin{equation}}
\def\ee{\end{equation}}

我发现的有"\be\ee""\ba\ea""\bea\eea",而目前的latex翻译无法识别这些命令,经常出现遗漏或替换成[等错误。不知道有什么方法可以解决。

Screen Shot | 有帮助的截图

https://arxiv.org/abs/2512.13800
比如此处应有前后的\be \ee环境,但丢失了。
Image

Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions