binary-husky / binary-husky/gpt_academic
[Bug]: latex公式环境缩写导致编译问题
- Dominant language
- Python
- Stars
- 71.3k
- Forks
- 8.3k
- PR merge metrics
- No merged PRs in 30d
Description
### 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环境,但丢失了。
### Terminal Traceback & Material to Help Reproduce Bugs | 终端traceback(如有) + 帮助我们复现的测试材料样本(如有)
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Use the linked arXiv paper and the examples \be...\ee, \ba...\ea, and \bea...\eea as reproduction material. Trace the LaTeX translation entry point and verify that shorthand environments are preserved or converted correctly; done means these forms no longer disappear or become incorrect \[ environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- latex, python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100