[tex4ht] [bug #481] Problem with Braces / Brackets in Maths equations using mk4ht latex->mathml

Ulrike Fischer news3 at nililand.de
Fri Aug 21 10:40:49 CEST 2020

> After changing the command and adding "mathml", now some
> of my latex files no longer compile.

> Please see this MWE

> \documentclass{article}
> \usepackage{amsmath}
> \begin{document}
> $n^\text{th}$
> \end{document}

$n^\text{th}$ is wrong, unsupported syntax. It works (sometimes) but only by 
chance. The correct latex input if you have more than one token in a 
superscript or subscript is to add additional braces:


With them your example compiles. 

Mit freundlichen Grüßen
Ulrike Fischer
mailto:news3 at nililand.de

More information about the tex4ht mailing list.