On 13 Dec 2021, at 16:15, Jack Hill via ntg-context
wrote: Dear list,
I was playing around and found that nesting $$s inside of \m blocks typesets the code as text. I can't find anything about this on the wiki or in the math-mkiv manual, so I'm asking whether this is supported behaviour or just a bug?
I would say that this is unsupported expected behaviour ;) It is better not to use $ at all (except when using it as a dollar sign when \asciimode is active).
\starttext % All the same \mathematics{math $text here$ math} \\ \math{math $text here$ math} \\ \m{math $text here$ math} \\ \m{math \text{text here} math} \\
A bit over-precise maybe, but while the first three are the same, the last line is actually very subtly different. The first three lines are essentially this in TeX82 : $math $text here$ math\hfill\break while that last line is $math \hbox{text here} math\hfill\break Best wishes, Taco — Taco Hoekwater E: taco@bittext.nl genderfluid (all pronouns)