belerico / py_asciimath

A simple converter from ASCIIMath to LaTeX or MathML and from MathML to LaTeX
MIT License
38 stars 9 forks source link

Also about LaTex translate to AsciiMath #9

Open tomc14-cc opened 3 years ago

tomc14-cc commented 3 years ago

py_asciimath.exe "\[a=60{}^\circ\ ]" from latex to asciimath py_asciimath.exe "\[a=45{}^\circ \]" from latex to asciimath pyasciimath.exe "\[\bar{N}t=m{{v}{0}}\sin \alpha \]" from latex to asciimath pyasciimath.exe "\[\bar{f}t=\mu \bar{N}t=\mu m{{v}{0}}\sin \alpha \approx 0.6m{{v}_{0}}\]" from latex to asciimath py_asciimath.exe "\[\alpha ={{45}^{{}^\circ }},\mu =0.5\]" from latex to asciimath pyasciimath.exe "\[\bar{N}t=m{{v}{0}}\sin \alpha \]" from latex to asciimath pyasciimath.exe "\[\bar{f}t=\mu m{{v}{0}}\sin \alpha =m{{v}_{0}}\cos \alpha -mv\]" from latex to asciimath py_asciimath.exe "\[\alpha ={{30}^{{}^\circ }}\]" from latex to asciimath looks like they dont work.

tomc14-cc commented 3 years ago

here, following commands still dont work, we have added the \ban parsing routine in the latex.py file py_asciimath.exe "\[a=45{}^\circ \]" from latex to asciimath py_asciimath.exe "\[\alpha ={{45}^{{}^\circ }},\mu =0.5\]" from latex to asciimath py_asciimath.exe "\[\alpha ={{30}^{{}^\circ }}\]" from latex to asciimath