\{left,right} can take |.
don’t load amsmath form math snippets as it breaks \matrix{...};
see if not loading it breaks something else.
call-tex should call appropriate latex executable when needed
\frac{...}{...} made similar to ... \over ...
{array}: like {tabular} but in math mode.
use Unicode for \{,c,d,v}dots
...