Closed JannesAlthoff closed 1 year ago
And
❯ utftex '\frac {1}{\alpha^2}'
ERROR: Too few mandatory arguments to command (1x)
spaces between command and arguments don't work, while being valid LaTeX syntax.
Hi, you found two bugs, I did not skip spaces between the command and its arguments, and I did not properly handle multi-byte UTF-8 arguments without brackets (a pre-processor replaces the '\alpha' with α before I parse the arguments). I pushed a fix to dev branch. Thanks
Stuff like
\frac 1\alpha
or\frac {1}\alpha
, which is valid LaTeX math produce errors: