| 1 |
<?xml version="1.0" encoding="iso-8859-1" ?> |
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
| 3 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 4 |
<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd--> |
| 5 |
<html xmlns="http://www.w3.org/1999/xhtml" |
| 6 |
> |
| 7 |
<head><title>common problems for MathML</title> |
| 8 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> |
| 9 |
<meta name="generator" content="TeX4ht (https://tug.org/tex4ht/)" /> |
| 10 |
<meta name="originator" content="TeX4ht (https://tug.org/tex4ht/)" /> |
| 11 |
<!-- xhtml,th4,index --> |
| 12 |
<meta name="src" content="mn.tex" /> |
| 13 |
<link rel="stylesheet" type="text/css" href="mn.css" /> |
| 14 |
<meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 15 |
</head><body |
| 16 |
> |
| 17 |
<a |
| 18 |
name="index6-30001"></a><p class="rightline"><a |
| 19 |
href="mn.html#mml.html" >up</a></p> <a |
| 20 |
name="mml-prob"> |
| 21 |
<h3 class="SubSectionHead"><a |
| 22 |
name="QQ1-6-31"></a>Some Sources of Problems for MathML</h3> |
| 23 |
<!--l. 4069--><p class="noindent" > |
| 24 |
</p><ol type="a" > |
| 25 |
<li>Broken math formulas, such as ‘<span |
| 26 |
class="cmtt-10">$R=\{x|x$ is real $\}$</span>’ instead of ‘<span |
| 27 |
class="cmtt-10">$R=\{x|x \mbox{ is real } \}$</span>’. |
| 28 |
</li> |
| 29 |
<li>Math mode employment for presenting nonmath content, such as ‘<span |
| 30 |
class="cmtt-10">$$\vbox{...}$$ </span>’ instead of |
| 31 |
‘<span |
| 32 |
class="cmtt-10">\begin{center}\vbox{...}\end{center}</span>’. </li> |
| 33 |
<li>Unmatched parentheses within entries of arrays, such as ‘<span |
| 34 |
class="cmtt-10">\begin{array}...(... & ...)...\end{array}</span>’ instead |
| 35 |
of ‘<span |
| 36 |
class="cmtt-10">\begin{array}...\left(... \right.& \left. ...\right)...\end{array}</span>’. </li> |
| 37 |
<li>Unmatched parentheses within math, such as ‘<span |
| 38 |
class="cmtt-10">$a = b)$</span>’ instead of ‘<span |
| 39 |
class="cmtt-10">$\left.a = b\right)$</span>’. It is also possibl to |
| 40 |
use ‘mathml-’ command line option without need to modify the first form, but it may result in wrong parentheses |
| 41 |
size. </li> |
| 42 |
<li>Incorrect annotation of delimiters, such as ‘<span |
| 43 |
class="cmtt-10">\bigl\{...\bigr|...\bigr\}</span>’ instead of ‘<span |
| 44 |
class="cmtt-10">\bigl\{...\bigg|...\bigr\}</span>’ |
| 45 |
</li> |
| 46 |
<li>Missing grouping for bases of subscripts and superscripts, such as ‘<span |
| 47 |
class="cmtt-10">10^6</span>’ instead of ‘<span |
| 48 |
class="cmtt-10">{10}^6</span>’. (Some fixing of the |
| 49 |
problem can be requested through a ‘-cxhtmml’ command line option for t4ht.c. For instance, ‘<span |
| 50 |
class="cmtt-10">mzlatex file "" ""</span> |
| 51 |
<span |
| 52 |
class="cmtt-10">"-cxhtmml"</span>’.) |
| 53 |
<!--l. 4116--><p class="noindent" ></p></li> |
| 54 |
<li>Missing grouping for subscripts and suprscripts, such as ‘<span |
| 55 |
class="cmtt-10">A_\mathit{...}</span>’ instead of ‘<span |
| 56 |
class="cmtt-10">A_{\mathit{...}}</span>’. (LaTeX |
| 57 |
allows indirect access to the content of the operands; TeX4ht requires direct access.) |
| 58 |
<!--l. 4123--><p class="noindent" ></p></li> |
| 59 |
<li>Use of the operators ‘<span |
| 60 |
class="cmtt-10">^</span>’ and ‘<span |
| 61 |
class="cmtt-10">_</span>’, instead of ‘<span |
| 62 |
class="cmtt-10">\sb</span>’ and ‘<span |
| 63 |
class="cmtt-10">\sp</span>’, outside the presence of TeX4ht. (TeX4ht becomes active |
| 64 |
only at the ‘<span |
| 65 |
class="cmtt-10">\begin{document}</span>’ command. The ‘<span |
| 66 |
class="cmtt-10">early_</span>’ and ‘<span |
| 67 |
class="cmtt-10">early^</span>’ options extend this awareness to the |
| 68 |
preambles of the source latex documents.) |
| 69 |
<!--l. 4129--><p class="noindent" ></p></li> |
| 70 |
<li>If math environments nested within tabular environments cause <a |
| 71 |
href="mml-issues.html" name="mml-issues.html" >problems</a> enclose them within braces (for instance, ‘<span |
| 72 |
class="cmtt-10">\begin{tabular}{c} \begin{minipage}{4in} {</span> |
| 73 |
<span |
| 74 |
class="cmtt-10">\begin{eqnarray} x & = & y \end{eqnarray} } \end{minipage} \end{tabular}</span>’). |
| 75 |
</li></ol> |
| 76 |
|
| 77 |
<hr /> |
| 78 |
<!--l. 4208--><p class="indent" > <small>Generated August 24, 2020 - <a href="/tex4ht/">tex4ht home page</a></small></p> |
| 79 |
</body></html> |