mitex
mitex copied to clipboard
Convenient Way to Convert all #mitex(...) and #mi("...") Excerpts in a Typst file to Typst Math?
Does anyone think it'd be neat to have a script that converts #mitex(...) and #mi("...") excerpts in a Typst file to their Typst math equivalents?
In pseudocode, a script like that might perform the following steps:
- Given a Typst file as input, traverse its content.
- During traversal, if a #mitex(...) and #mi("...") string were encountered, use "mitex-convert" to convert into Typst math.
- Replace string with newly obtained Typst math string.
- Repeat steps 2 and 3 until end of document is reached.