You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.导入含该公式的pdf文件
2.使用python demo中的例子转换成md文件
3.打开转换出来的md文件预览,会直接显示ParseError: KaTeX parse error: Undefined control sequence: \upmu at position 68: …thrm{t}]-\frac{\̲u̲p̲m̲u̲\mathrm{P_{b}}(…。
Operating system | 操作系统
Linux
Python version | Python 版本
3.10
Software version | 软件版本 (magic-pdf --version)
1.0.x
Device mode | 设备模式
cpu
The text was updated successfully, but these errors were encountered:
Description of the bug | 错误描述
例如该公式识别出的latex公式如下
$$
\mathsf{b}(\mathrm{t})=\mathsf{E}[\mathrm{V_{i}}|\mathrm{t}]-\frac{\upmu\mathrm{P_{b}}(t)}{\epsilon+\mu P_{b}(t)}(E[V_{i}|t]-\underbar{V}_{i})
$$
但是其中upmu不是一个可用的参数会报错。同样的latex公式中还会出现\upalpha这种不支持的参数
How to reproduce the bug | 如何复现
1.导入含该公式的pdf文件
2.使用python demo中的例子转换成md文件
3.打开转换出来的md文件预览,会直接显示ParseError: KaTeX parse error: Undefined control sequence: \upmu at position 68: …thrm{t}]-\frac{\̲u̲p̲m̲u̲\mathrm{P_{b}}(…。
Operating system | 操作系统
Linux
Python version | Python 版本
3.10
Software version | 软件版本 (magic-pdf --version)
1.0.x
Device mode | 设备模式
cpu
The text was updated successfully, but these errors were encountered: