mitex
mitex copied to clipboard
LaTeX support for Typst, powered by Rust and WASM. https://mitex-rs.github.io/mitex/
I have a large, complicated document that I didn't expect would compile, but I was hoping MiTeX would tell me _what_ it couldn't handle. Instead I was met with this...
It would be useful if the CLI had a watch command to automatically update the .typ file when the .tex file changes.
Previous issue: https://github.com/mitex-rs/mitex/issues/35 + [ ] update README.md to clarify that for #130: > mitex is well tested by fixtures extracted from oiwiki, which always use mimath (math mode), while...
Mitex cli should be able to support ctan, as most latex documents use a lot of packages. The initial possible implementation could include just outputting `packages.typ` file alongside the converted...
The minimal example for align environment is: ```typst #import "@preview/mitex:0.2.1": * #set math.equation(numbering: "(1)", supplement: [#text(blue)[*Eq.*]]) #mitext(` This is \emph{math} \textbf{equation} test for \eqref{eq:1}. \begin{align} \text{Stokes formula}\quad \int_{\mathcal M}\mathrm{d}\omega&=\int_{\partial\mathcal M}\omega\nonumber\\...
No plan, but some direction: + find a way of ignoring all box related commands, so that it just compiles in typst instead of really layout something. + implement kern...
`flalign` can not be parsed correctly. - [x] using the latest version
``` #mitex(` \lvert a \rvert ` ) $ abs(a) $ ``` ![image](https://github.com/OrangeX4/mitex/assets/25521218/8597df41-e3b6-466b-b3ba-02977ee76ee6) might be hard to handle