slatex / sTeX

A semantic Extension of TeX/LaTeX
49 stars 9 forks source link

MathML Intent from sTeX #341

Closed Jazzpirate closed 1 year ago

Jazzpirate commented 2 years ago

Grammar would need to be slightly extended. First draft:

Namespace?Module?Symbolname("["argumentstring"]")?["@"hint](args*) | Namespace?Module?Symbolname

args = number | $argname | (args"+") (+ for a/B-mode arguments)

argname => symbol
hints
Jazzpirate commented 2 years ago

Just noticed that argumentstring technically subsumes "+" already - but the latter is more explicit, whereas the former is very sTeX-argument-mode-specific, so maybe we don't need to care about that

Jazzpirate commented 2 years ago

a first version of this exists. The rest needs design wrt MathML intent

Jazzpirate commented 1 year ago

obsolete