up
Some Sources of Problems for MathML
- Broken math formulas, such as ‘$R=\{x|x$ is real $\}$’ instead of ‘$R=\{x|x \mbox{ is real } \}$’.
- Math mode employment for presenting nonmath content, such as ‘$$\vbox{...}$$ ’ instead of
‘\begin{center}\vbox{...}\end{center}’.
- Unmatched parentheses within entries of arrays, such as ‘\begin{array}...(... & ...)...\end{array}’ instead
of ‘\begin{array}...\left(\right. ... & ...\left.\right)...\end{array}’.
- Incorrect annotation of delimiters, such as ‘\bigl\{...\bigr|...\bigr\}’ instead of ‘\bigl\{...\bigg|...\bigr\}’
- Empty bases for subscripts and superscripts, such as ‘{}^{...}, {}_{...}’ instead of ‘{\csname
HCode\endcsname{}}^{...}, {\csname HCode\endcsname{}}_{...}’.
- Missing grouping for bases of subscripts and suprscripts, such as ‘10^6’ instead of ‘{10}^6’.
- Missing grouping for subscripts and suprscripts, such as ‘A_\mathit{...}’ instead of ‘A_{\mathit{...}}’. (LaTeX
allows indirect access to the content of the operands; TeX4ht requires direct access.)
- Use of the operators ‘^’ and ‘_’, instead of ‘\sb’ and ‘\sp’, outside the presence of TeX4ht. (TeX4ht becomes active
only at the ‘\begin{document}’ command. The ‘early_’ and ‘early^’ options extend this awareness to the
preambles of the source latex documents.)
- If math environments nested within tabular environments cause problems enclose them within braces (for instance, ‘\begin{tabular}{c} \begin{minipage}{4in} {
\begin{eqnarray} x & = & y \end{eqnarray} } \end{minipage} \end{tabular}’).