> On 13 Dec 2021, at 16:15, Jack Hill via ntg-context <ntg-context@ntg.nl> > 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: t...@bittext.nl genderfluid (all pronouns) ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________