Debian Codegraph @

texmf-dist/doc/generic/tex4ht/mml.html

raw
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 &#8216;<span
26 class="cmtt-10">$R=\{x|x$ is real $\}$</span>&#8217; instead of &#8216;<span
27 class="cmtt-10">$R=\{x|x \mbox{ is real } \}$</span>&#8217;.
28 </li>
29 <li>Math mode employment for presenting nonmath content, such as &#8216;<span
30 class="cmtt-10">$$\vbox{...}$$ </span>&#8217; instead of
31 &#8216;<span
32 class="cmtt-10">\begin{center}\vbox{...}\end{center}</span>&#8217;. </li>
33 <li>Unmatched parentheses within entries of arrays, such as &#8216;<span
34 class="cmtt-10">\begin{array}...(... &amp; ...)...\end{array}</span>&#8217; instead
35 of &#8216;<span
36 class="cmtt-10">\begin{array}...\left(... \right.&amp; \left. ...\right)...\end{array}</span>&#8217;. </li>
37 <li>Unmatched parentheses within math, such as &#8216;<span
38 class="cmtt-10">$a = b)$</span>&#8217; instead of &#8216;<span
39 class="cmtt-10">$\left.a = b\right)$</span>&#8217;. It is also possibl to
40 use &#8216;mathml-&#8217; 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 &#8216;<span
43 class="cmtt-10">\bigl\{...\bigr|...\bigr\}</span>&#8217; instead of &#8216;<span
44 class="cmtt-10">\bigl\{...\bigg|...\bigr\}</span>&#8217;
45 </li>
46 <li>Missing grouping for bases of subscripts and superscripts, such as &#8216;<span
47 class="cmtt-10">10^6</span>&#8217; instead of &#8216;<span
48 class="cmtt-10">{10}^6</span>&#8217;. (Some fixing of the
49 problem can be requested through a &#8216;-cxhtmml&#8217; command line option for t4ht.c. For instance, &#8216;<span
50 class="cmtt-10">mzlatex file "" ""</span>
51 <span
52 class="cmtt-10">"-cxhtmml"</span>&#8217;.)
53 <!--l. 4116--><p class="noindent" ></p></li>
54 <li>Missing grouping for subscripts and suprscripts, such as &#8216;<span
55 class="cmtt-10">A_\mathit{...}</span>&#8217; instead of &#8216;<span
56 class="cmtt-10">A_{\mathit{...}}</span>&#8217;. (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 &#8216;<span
60 class="cmtt-10">^</span>&#8217; and &#8216;<span
61 class="cmtt-10">_</span>&#8217;, instead of &#8216;<span
62 class="cmtt-10">\sb</span>&#8217; and &#8216;<span
63 class="cmtt-10">\sp</span>&#8217;, outside the presence of TeX4ht. (TeX4ht becomes active
64 only at the &#8216;<span
65 class="cmtt-10">\begin{document}</span>&#8217; command. The &#8216;<span
66 class="cmtt-10">early_</span>&#8217; and &#8216;<span
67 class="cmtt-10">early^</span>&#8217; 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, &#8216;<span
72 class="cmtt-10">\begin{tabular}{c} \begin{minipage}{4in} {</span>
73 <span
74 class="cmtt-10">\begin{eqnarray} x &amp; = &amp; y \end{eqnarray} } \end{minipage} \end{tabular}</span>&#8217;).
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>