mitex-rs / mitex

LaTeX support for Typst, powered by Rust and WASM. https://mitex-rs.github.io/mitex/
https://mitex-rs.github.io/mitex/tools/underleaf.html
Apache License 2.0
287 stars 10 forks source link

Convert result for `\left\lbrack\lbrack x\rbrack\right\rbrack` is broken #143

Closed Enter-tainer closed 6 months ago

Enter-tainer commented 6 months ago
\left\lbrack\lbrack x\rbrack\right\rbrack

becomes

lr(bracket.lbracket.l  x bracket.r bracket.r)

Note the consecutive bracket.l, this triggers compile error.

related: https://github.com/OI-wiki/OI-wiki/pull/5475