mitex-rs/mitex

`[ ,dots.down ]` is identified as content in typst

Closed this issue · 1 comments

This could be a bug in typst, with minimal reproducibility like this:

$mat(; ,x)$
// Err: expected array, found content

Specific reasons:

#let mymat = (..args) => repr(args)
$mymat(; ,x)$
// Output: (([],), [], ([x],))
// Expected: (([],), ([], [x]))

I'll try to output pmatrix(zws; zws,x) to avoid this bug.