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