Debian Codegraph @

texmf-dist/tex/generic/tex4ht/mathltx.4ht

raw
1 % mathltx.4ht (2015-01-28-14:59), generated from tex4ht-mathltx.tex
2 % Copyright 2009-2014 TeX Users Group
3 % Copyright 2005-2009 Eitan M. Gurari
4 %
5 % This work may be distributed and/or modified under the
6 % conditions of the LaTeX Project Public License, either
7 % version 1.3c of this license or (at your option) any
8 % later version. The latest version of this license is in
9 % http://www.latex-project.org/lppl.txt
10 % and version 1.3c or later is part of all distributions
11 % of LaTeX version 2005/12/01 or later.
12 %
13 % This work has the LPPL maintenance status "maintained".
14 %
15 % The Current Maintainer of this work
16 % is the TeX4ht Project <http://tug.org/tex4ht>.
17 %
18 % If you modify this program, changing the
19 % version identification would be appreciated.
20 \immediate\write-1{version 2015-01-28-14:59}
21
22 \exit:ifnot{Preamble,%
23 amsfonts,%
24 amsmath,%
25 amsopn,%
26 amssymb,%
27 amstex,%
28 amstex1,%
29 amstext,%
30 array,%
31 etex4ht,%
32 fontmath,%
33 latex,%
34 plain,%
35 rlbabel,%
36 tex4ht,%
37 vanilla}
38
39 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
40 \ConfigureHinput{Preamble}
41 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
42 \ifx \a:mathltx\:UnDef
43 \NewConfigure{mathltx}{1}
44 \Configure{mathltx}{}
45 \fi
46 \def\mml:class{class}
47 \Configure{PROLOG}{VERSION,DOCTYPE,*XML-STYLESHEET}
48 \:CheckOption{no-DOCTYPE} \if:Option
49 \Configure{PROLOG}{VERSION,*XML-STYLESHEET}
50 \fi
51 \bgroup
52 \catcode`\{=12 \catcode`\}=12
53 \catcode`\[=1 \catcode`\]=2
54 \catcode`\/=0 \catcode`\\=12
55 /gdef/l:brace[{]
56 /gdef/r:brace[}]
57 /gdef/back:slash[\]
58 /egroup
59
60 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
61
62 \endinput\empty\empty\empty\empty\empty\empty
63 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
64
65 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
66 \ConfigureHinput{tex4ht}
67 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
68 \Configure{DviMath}
69 {\HCode{<!--l. \the\inputlineno-->}%
70 \a:DviMathltx \mathltxtrue
71 \ifOption{mml-fonts}{}{\NoFonts}%
72 \IgnoreRule \a:math
73 \edef\sv:ignore{\if:nopar
74 \noexpand\IgnorePar\else \noexpand\ShowPar\fi}%
75 \HCode{<![CDATA[}\IgnorePar}
76 {\HCode{]]>}\EndIgnoreRule
77 \ifOption{mml-fonts}{}{\EndNoFonts}%
78 \mathltxfalse \After:Math \b:DviMathltx
79 \sv:ignore
80 }
81 \NewConfigure{DviMathltx}{2}
82 \def\After:Math{\After:EndMath
83 \global\let\After:EndMath=\empty}
84 \let\After:EndMath=\empty
85 \def\AfterMath#1{\append:def\After:EndMath{#1}%
86 \global\let\After:EndMath=\After:EndMath}
87 \newif\ifmathltx \mathltxfalse
88 \newif\ifmtext \mtextfalse
89 \LinkCommand\mtxt:link{mtext, xlink:href, id,,,}
90 \LinkCommand\msp:link{mstyle-3,%
91 xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href,
92 id, \mml:class="label",,}
93 \let\M:Link\Link
94 \def\Link{\ifmathltx
95 \ifmtext \ht:special{t4ht@,}%
96 \HCode{\%\Hnewline\%\string\begin{ref}}%
97 \bgroup \let\:newlnch\space
98 \expandafter\expandafter\expandafter\mtxt:link
99 \else \expandafter\expandafter\expandafter\msp:link\fi
100 \else \expandafter\M:Link\fi}
101 \let\M:EndLink\EndLink
102 \def\EndLink{\ifmathltx
103 \ifmtext \ht:special{t4ht@,}%
104 %
105 \egroup \HCode{\%\Hnewline\%}\Endmtxt:link
106 \HCode{\string\end{ref}\Hnewline}\ht:special{t4ht@,&\#x00A0;}%
107 \ht:special{t4ht@, }%
108 %
109 \else \HCode{</mstyle-5><!--endlabel-->}\fi
110 \else \expandafter\M:EndLink\fi}
111
112 \NewConfigure{math}{1}
113 \NewConfigure{@math}{1}
114 \def\IgnoreRule{\ht:special{t4ht@\string_}}
115 \def\EndIgnoreRule{\ht:special{t4ht@\string_\string_}}
116 \Configure{$$}
117 {\Configure{@math}{display="block"
118 }\IgnorePar
119 \ifvmode\else \HCode{<!--tex4ht:inline-->}\fi
120 \EndP\DviMath
121 \HCode{\string $\string $}}
122 {\HCode{\string $\string $}\EndDviMath
123 \ShowPar\par{\csname HCondtrue\endcsname\noindent}}
124 {\DisplayMathtrue}
125 \Configure{$}
126 {\Configure{@math}{display="inline"
127 }\DviMath
128 \HCode{\string $}}
129 {\HCode{\string $}\EndDviMath}{}
130
131 \newif\ifDisplayMath \DisplayMathfalse
132 \Configure{radical}
133 {\HCode{\string\sqrt}
134 \special{t4ht\string~!e<\string{}%
135 \special{t4ht\string~!e>\string}}%
136 \special{t4ht\string~!ee/}%
137 \special{t4ht\string~!ese-}%
138 }
139 \def\:MT{\ifmathltx m\fi}
140 \Configure{halignTB}{\HCode{<\:MT table }\halignTBL}{\HCode{>}}
141 \Configure{halignTBL}
142 {t}{\ifmathltx \HCode{ align="baseline 1" }\fi}
143 {b}{\ifmathltx \HCode{ align="baseline -1" }\fi}
144 {c}{\ifmathltx \HCode{ align="axis" }\fi}
145 {}
146 \def\t:HA{\HCode{</\:MT table>}}
147 \def\R:HA{\HCode{<\:MT tr \Hnewline style="vertical-align:baseline;">}}
148 \def\r:HA{\HCode{</\:MT tr>}}
149 \def\D:HA{\HCode{<\:MT td \ifnum \HMultispan>1 colspan="\HMultispan"\fi}%
150 \halignTD \HCode{\Hnewline>}}
151 \def\d:HA{\HCode{</\:MT td>}}
152
153 \Configure{SUB}
154 {\Send{BACK}
155 {\l:brace}\HCode{\r:brace\string_\l:brace}\trap:base}
156 {\HCode{\r:brace}}
157 \Configure{SUP}
158 {\Send{BACK}
159 {\l:brace}\HCode{\r:brace\string^\l:brace}\trap:base}
160 {\HCode{\r:brace}}
161 \Configure{SUBSUP}
162 {\Send{BACK}
163 {\l:brace}\HCode{\r:brace\string_\l:brace}\trap:base}
164 {\HCode{\r:brace\string^\l:brace}\trap:base}
165 {\HCode{\r:brace}}
166 \def\trap:base{{\HCode{}}}
167
168 \Configure{nolimits}{\HCode{\string\nolimits\space}}
169 \Configure{limits}
170 {\let\pl:SUB =\:UnDef
171 \let\pl:SUP =\:UnDef
172 \ifx \:temp\sp \def\pl:SUP{\Configure{SUP}}%
173 \expandafter\append:def
174 \expandafter\pl:SUP\expandafter{\expandafter{\a:SUP}}%
175 \expandafter\append:def
176 \expandafter\pl:SUP\expandafter{\expandafter{\b:SUP}}%
177 %
178 \Configure{SUP}
179 {\Send{BACK}{\l:brace}\HCode{\r:brace\string^\l:brace}\trap:base
180 \bgroup
181 \ifx \pl:SUBSUP\:UnDef \else
182 \let\SUBSUP:=\pl:SUBSUP
183 \fi
184 %
185 \Configure{SUP}
186 {\Send{BACK}{\l:brace}\HCode{\r:brace\string^\l:brace}\trap:base
187 \bgroup
188 \Configure{SUP}
189 {\Send{BACK}{\l:brace}\HCode{\r:brace\string^\l:brace}%
190 \bgroup \trap:base}
191 {\egroup \HCode{\r:brace}%
192 }%
193 \trap:base}
194 {\egroup\HCode{\r:brace}\aftergroup\pl:SUP %
195 }%
196 \trap:base}
197 {}%
198 \else
199 \ifx \:temp\sb \def\pl:SUB{\Configure{SUB}}%
200 \expandafter\append:def
201 \expandafter\pl:SUB\expandafter{\expandafter{\a:SUB}}%
202 \expandafter\append:def
203 \expandafter\pl:SUB\expandafter{\expandafter{\b:SUB}}%
204 %
205 \Configure{SUB}
206 {\Send{BACK}{\l:brace}\HCode{\r:brace\string_\l:brace}%
207 \bgroup
208 \ifx \pl:SUBSUP\:UnDef \else
209 \let\SUBSUP:=\pl:SUBSUP
210 \fi
211 %
212 \Configure{SUB}
213 {\Send{BACK}{\l:brace}\HCode{\r:brace\string_\l:brace}%
214 \bgroup
215 \Configure{SUB}
216 {\Send{BACK}{\l:brace}\HCode{\r:brace\string_\l:brace}%
217 \bgroup \trap:base}
218 {\egroup \HCode{\r:brace}%
219 }%
220 \trap:base}
221 {\egroup\HCode{\r:brace}\aftergroup\pl:SUB %
222 }%
223 \trap:base}
224 {}%
225 \fi\fi
226 \let\pl:SUBSUP=\SUBSUP:
227 %
228 \Configure{SUBSUP}
229 {\ifx \pl:SUB \:UnDef\else \pl:SUB \fi
230 \ifx \pl:SUP \:UnDef\else \pl:SUP \fi
231 \ifx \pl:SUBSUP\:UnDef \else
232 \let\SUBSUP:=\pl:SUBSUP
233 \fi
234 %
235 \Send{BACK}{\l:brace}\HCode{\r:brace
236 \string_\l:brace}\trap:base
237 }
238 {\HCode{\r:brace\string^\l:brace}\trap:base}
239 {\HCode{\r:brace}}
240 %
241 }
242 \ifx \a:putSUB\:UnDef \else
243 \pend:def\a:putSUB{\ifx \pl:SUBSUP\:UnDef\else
244 \let\SUBSUP:=\pl:SUBSUP
245 \let\pl:SUBSUP=\:UnDef
246 \fi}%
247 \fi
248 \ifx \a:putSUP\:UnDef \else
249 \pend:def\a:putSUP{\ifx \pl:SUBSUP\:UnDef\else
250 \let\SUBSUP:=\pl:SUBSUP
251 \let\pl:SUBSUP=\:UnDef
252 \fi}%
253 \fi
254
255 \def\mml:htfsym{\Configure
256 {htf}{254}{+}{<mglyph\Hnewline fontfamily="}{\%s"}{
257 index="\%s"}{ mathsize="\%d\%\%"}{}{ alt="}{"/>}}
258 \def\ext:htfsym{\Configure{htf}{254}{+}{}{}{}{}{}{}{}}
259 \NewConfigure{math:amp}{1}
260 \Configure{math:amp}{\string&}
261 \Configure{over}
262 {\Send{GROUP}{0}{\string\bgroup\space}}
263 {\HCode{\string\over\space}\Send{EndGROUP}{0}{\string\egroup\space}}
264 \Configure{atop}
265 {\Send{GROUP}{0}{\string\bgroup\space}}
266 {\HCode{\string\atop\space}\Send{EndGROUP}{0}{\string\egroup\space}}
267 \Configure{above}
268 {\Send{GROUP}{0}{<mfrac-6 linethickness="\the\tmp:dim"><mrow>}%
269 \HCode{</mrow>}\o:over:\:gobbleII}
270 {\HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac>}}
271 \Configure{abovewithdelims}
272 {\abovewithdelims:III}
273 {}
274 \def\abovewithdelims:III#1#2#3{%
275 \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
276 \Send{GROUP}{0}{<mfrac-7 linethickness="\the\tmp:dim"><mrow>}%
277 \HCode{</mrow>}\o:over:
278 \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac>}
279 \else
280 \Send{GROUP}{0}{<mfenced-2 separators=""\Hnewline
281 open="\expandafter
282 \ifx \csname \string#2:lr del\endcsname\relax #2\else
283 \csname \string#2:lr del\endcsname\fi
284 " close="\expandafter
285 \ifx \csname \string#3:lr del\endcsname\relax #3\else
286 \csname \string#3:lr del\endcsname\fi
287 "><mfrac-8
288 linethickness="\the\tmp:dim"><mrow>}%
289 \HCode{</mrow>}\o:over:
290 \HCode{<mrow>}\Send{EndGROUP}{0}{</
291 mrow></mfrac></mfenced>}
292 \fi
293 \tmp:dim
294 }
295 \Configure{atopwithdelims}
296 {\atopwithdelims:III}
297 {}
298 \def\atopwithdelims:III#1#2#3{%
299 \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
300 \Send{GROUP}{0}{<mfrac-9 linethickness="0"><mrow>}%
301 \HCode{</mrow>}\o:atop:
302 \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac>}
303 \else
304 \Send{GROUP}{0}{<mfenced-3 separators=""\Hnewline
305 open="\expandafter
306 \ifx \csname \string#2:lr del\endcsname\relax #2\else
307 \csname \string#2:lr del\endcsname\fi
308 " close="\expandafter
309 \ifx \csname \string#3:lr del\endcsname\relax #3\else
310 \csname \string#3:lr del\endcsname\fi
311 "><mfrac-10
312 linethickness="0"><mrow>}%
313 \HCode{</mrow>}\o:atop:
314 \HCode{<mrow>}\Send{EndGROUP}{0}{</\a:mathltx
315 mrow></mfrac></mfenced>}
316 \fi
317 }
318 \Configure{overwithdelims}
319 {\overwithdelims:III}
320 {}
321 \def\overwithdelims:III#1#2#3{%
322 \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
323 \Send{GROUP}{0}{<mfrac11><mrow>}%
324 \HCode{</mrow>}\o:over:
325 \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac>}
326 \else
327 \Send{GROUP}{0}{<mfenced-4 separators=""\Hnewline
328 open="\expandafter
329 \ifx \csname \string#2:lr del\endcsname\relax #2\else
330 \csname \string#2:lr del\endcsname\fi
331 " close="\expandafter
332 \ifx \csname \string#3:lr del\endcsname\relax #3\else
333 \csname \string#3:lr del\endcsname\fi
334 "><mfrac-12><mrow>}%
335 \HCode{</mrow>}\o:over:
336 \HCode{<mrow>}\Send{EndGROUP}{0}{</
337 mrow></mfrac></mfenced>}
338 \fi
339 }
340 \Configure{halignTD} {}{}
341 {<}{\HCode{ columnalign="left-3"}}
342 {-}{\HCode{ columnalign="center"}}
343 {>}{\HCode{ columnalign="right"}}
344 {^}{\HCode{ rowalign="top"}}
345 {=}{\HCode{ rowalign="baseline"}}
346 {|}{\HCode{ rowalign="center"}}
347 {_}{\HCode{ rowalign="bottom"}}
348 {p}{\HCode{ columnalign="left-4"}}
349 {}
350 \def\math:sym#1#2{{\relax\ifmmode \expandafter#1\fi
351 {\ifmmode\HCode{\string#1\l:brace}\fi
352 \csname a:#2\endcsname
353 \ifmmode\HCode{\r:brace}\fi}}}
354
355 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
356
357 \endinput\empty\empty\empty\empty\empty\empty
358 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
359
360
361
362 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
363 \ConfigureHinput{etex4ht}
364 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
365 \def\:tempc#1{\a:middle\mathrel{\left:right#1\:EMPTY}\b:middle}
366 \HLet\middle=\:tempc
367 \NewConfigure{middle}{2}
368 \Configure{middle}
369 {\bgroup
370 \Configure{mathrel}{*}
371 {<mo \mml:class="MathClass-rel"
372 fence="true" stretchy="true" >}
373 {</mo>}
374 {\Configure{mathrel}{}{}{}{}}%
375 }
376 {\egroup}
377
378 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
379
380 \endinput\empty\empty\empty\empty\empty\empty
381 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
382
383
384 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
385 \ConfigureHinput{latex}
386 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
387 \:CheckOption{core}\if:Option \expandafter\endinput \fi
388 \let\A:equation\a:equation
389 \let\B:equation\b:equation
390 \let\C:equation\c:equation
391 \Configure{equation}
392 {\A:equation\csname a:equation\string$\string$\endcsname
393 }
394 {\B:equation}{\C:equation}
395 \NewConfigure{equation$$}{1}
396 \Configure{equation$$}
397 {\Configure{$$}
398 {\Configure{@math}{div}\IgnorePar\EndP\DviMath}
399 {\EndDviMath\EndP}
400 {\DisplayMathtrue}%
401 }
402 \Configure{hspace}
403 {\ifmathltx\ifmtext\else
404 \HCode{\string\l:brace\the\tmp:dim\r:brace}\fi\fi}{}{ }
405 \Configure{romannumeral}
406 {\ifmathltx\ifmtext\else \HCode{<mrow \mml:class="romannumeral">}\fi\fi}
407 {\ifmathltx\ifmtext\else \HCode{</mrow>}\fi\fi}
408 \Configure{newline}
409 {\ht:special{t4ht@,}%
410 \HCode{</mtext><\a:mathltx
411 mtext\Hnewline \mml:class="newline">}\ht:special{t4ht@,&\#x00A0;}%
412 \ht:special{t4ht@, }%
413 }
414 \Configure{[]}
415 {\Configure{@math}{display="block"
416 }\csname a:mathltx[]\endcsname
417 \DviMath\HCode{\string\[}$$\DisplayMathtrue }
418 {$$\HCode{\string\]}\EndDviMath\csname b:mathltx[]\endcsname}
419 \Configure{()}
420 {\Configure{@math}{display="inline"
421 }\csname a:mathltx()\endcsname
422 \DviMath\HCode{\string\(}$}
423 {$\HCode{\string\)}\EndDviMath\csname b:mathltx()\endcsname}
424 \NewConfigure{mathltx[]}{2}
425 \NewConfigure{mathltx()}{2}
426 \Configure{halignTB<>}{array}{\HCode{\Hnewline
427 equalrows="false"
428 equalcolumns="false" class="array"}<>\HAlign}
429 \Configure{array}
430 {\expandafter\tmp:toks\expandafter{\Clr}%
431 \HCode{\string\begin{array}{\the\tmp:toks}\Hnewline}}
432 {\ifvmode \IgnorePar\fi \HCode{\string\end{array}}}
433 {\ifnum \HRow> 1\HCode{\string\\\Hnewline}\fi}
434 {}
435 {\HCode{\ifnum \HCol>1 \a:math:amp\fi
436 \ifnum 1<\HMultispan
437 \string\multicolumn\l:brace\HMultispan\r:brace \fi}%
438 }
439 {}
440 \ConfigureEnv{array}
441 {\bgroup\Configure{$}{}{}{}}
442 {\egroup}
443 {}{}
444
445 \def\:MM{m}
446 \Configure{HBorder}
447 {<mtr\Hnewline \mml:class="hline">}
448 {<mtd><mo> \string&\#x0332; </mo></mtd>
449 }
450 {</mtr>}
451 {<mtr\Hnewline \mml:class="cline">}
452 {<mtd></mtd>}
453 {<mtd><mo> \string&\#x0332; </mo></mtd>
454 }
455 {</mtr>}
456 {<mtr\Hnewline \mml:class="vspace" style="font-size:\HBorderspace">}
457 {<mtd\Hnewline></mtd>}
458 {</mtr>}
459 \Configure{texttt}
460 {\ifmathltx \Configure{@mtext}{\string\texttt}\fi}
461 {}%
462 \Configure{textit}
463 {\ifmathltx \Configure{@mtext}{\string\textit}\fi}
464 {}%
465 \Configure{textrm}
466 {\ifmathltx \Configure{@mtext}{\string\textrm}\fi}
467 {}%
468 \Configure{textup}
469 {\ifmathltx \Configure{@mtext}{\string\textup}\fi}
470 {}%
471 \Configure{textsl}
472 {\ifmathltx \Configure{@mtext}{\string\textsl}\fi}
473 {}%
474 \Configure{textsf}
475 {\ifmathltx \Configure{@mtext}{\string\textsf}\fi}
476 {}%
477 \Configure{textbf}
478 {\ifmathltx \Configure{@mtext}{\string\textbf}\fi}
479 {}%
480 \Configure{textsc}
481 {\ifmathltx \Configure{@mtext}{\string\textsc}\fi}
482 {}%
483 \Configure{emph}
484 {\ifmathltx \Configure{@mtext}{\string\emph}\fi}
485 {}%
486
487 \let\A:fbox=\a:fbox
488 \let\B:fbox=\b:fbox
489 \let\OLDf:box=\fbox
490 \def\fbox{\relax\ifmmode
491 \Configure{fbox}{\leavevmode\Configure{HtmlPar}{}{}{}{}\IgnoreRule
492 \AA:text{fbox}}{\BB:text\EndIgnoreRule}\else
493 \Configure{fbox}{\leavevmode
494 \IgnoreRule\A:fbox}{\B:fbox\EndIgnoreRule}\fi
495 \OLDf:box}
496 \let\A:mbox\a:mbox
497 \let\B:mbox\b:mbox
498 \let\OLD:mbox\mbox
499 \def\mbox{\relax\ifmmode \Configure{mbox}{\AA:text{mbox}}{\BB:text}\else
500 \Configure{mbox}{\A:mbox}{\B:mbox}\fi\OLD:mbox}
501 \NewConfigure{@mtext}{1}
502 \Configure{@mtext}{\string\text}
503 \def\AA:text#1{\mtexttrue
504 \HCode{\a:@mtext\l:brace}\ht:special{t4ht@,&\#x00A0;}%
505 \ht:special{t4ht@, }%
506 \PauseMathClass
507 \Configure{$}%
508 {\EndPauseMathClass \mtextfalse
509 \ht:special{t4ht@,}%
510 \HCode{\string$}}%
511 {\HCode{\string$}\ht:special{t4ht@,&\#x00A0;}%
512 \ht:special{t4ht@, }%
513 \PauseMathClass \mtexttrue}%
514 {}%
515 %
516 }
517 \def\BB:text{\mtextfalse\EndPauseMathClass\ht:special{t4ht@,}%
518 \HCode
519 {\r:brace}%
520 }
521
522 \Configure{frac}
523 {\HCode{\string\frac\l:brace}}
524 {\HCode{\r:brace}\Configure{over}{}{}}
525 {\HCode{\l:brace}}
526 {\HCode{\r:brace}}
527 \Configure{eqnarray}
528 {\HCode{\string\begin{eqnarray\ifx
529 \@seqncr\@eqncr\else *\fi}}}
530 {\HCode{\string\end{eqnarray\ifx
531 \@seqncr\@eqncr\else *\fi}}}
532 {}
533 {\HCode{\string\\\Hnewline}}
534 {\ifnum \HCol>1
535 \ifnum \HCol=4
536 \HCode{\%}%
537 \ht:special{t4ht@,&\#x00A0;}%
538 \ht:special{t4ht@, }%
539 \PauseMathClass
540 \mtexttrue
541 \fi \HCode{\a:math:amp}%
542 \fi}
543 {\ifnum \HCol=4 \mtextfalse
544 \EndPauseMathClass \ht:special{t4ht@,}%
545 \fi }
546 \def\:temp#1#2{{\a:stackrel{#1}\b:stackrel {#2}\c:stackrel}}
547 \HLet\stackrel\:temp
548 \:CheckOption{stackrel-} \if:Option
549 \Configure{stackrel}
550 {\mathrel\bgroup \HCode{<mglyph\Hnewline
551 alt="\string\stackrel}\afterassignment\put:arg\tmp:toks}
552 {\afterassignment\put:arg\tmp:toks}
553 {\HCode{" />}\egroup}
554 \def\put:arg{\HCode{{\the\tmp:toks}}}
555 \else
556 \Configure{stackrel}
557 {\HCode{\string\stackrel\l:brace}}%
558 {\HCode{\r:brace\l:brace}\Configure{mathop*}{*}
559 {\string\mathop\l:brace}
560 {\r:brace}
561 {\Configure{mathop}{}{}{}{}}%
562 \mathop}
563 {\HCode{\r:brace}}
564 \fi
565 \Configure{overline}
566 {\bgroup \HCode{\string\overline\l:brace}%
567 }
568 {\HCode{\r:brace}%
569 \egroup}
570 \Configure{underline}
571 {\bgroup \ifmmode \HCode{\string\underline\l:brace}%
572 \else
573 \expandafter\everymath
574 \expandafter{\expandafter\everymath
575 \expandafter{\the\everymath}}%
576 \let\o::@underline:\o:@@underline:
577 \def\o:@@underline:{\let\o:@@underline:\o::@underline:}%
578 \fi}
579 {\HCode{\r:brace}%
580 \egroup}
581
582
583
584
585 \let\A:displaylines\a:displaylines
586 \let\B:displaylines\b:displaylines
587 \let\C:displaylines\c:displaylines
588 \let\D:displaylines\d:displaylines
589 \Configure{displaylines}
590 {\ifmmode
591 \def\A:displaylines{\HCode{<mtable
592 \mml:class="displaylines">}}%
593 \def\B:displaylines{\HCode{</mtable>}}%
594 \def\C:displaylines{\HCode{<mtr\Hnewline
595 \mml:class="displaylines"><mtd>}}%
596 \def\D:displaylines{\HCode{</mtd></mtr>}}%
597 \fi
598 \A:displaylines}
599 {\B:displaylines} {\C:displaylines}{\D:displaylines}
600 \let\mathltx:on\relax
601 \Configure{ }
602 {\ifmathltx \ifmtext \space \else\HCode{\string\ }\fi
603 \else \:nbsp\fi}
604 \def\:tempc#1{\HCode{\string\widehat\l:brace}#1\HCode{\r:brace}}
605 \HLet\widehat=\:tempc
606 \def\:tempc#1{\HCode{\string\widetilde\l:brace}#1\HCode{\r:brace}}
607 \HLet\widetilde=\:tempc
608 \:CheckOption{new-accents} \if:Option \else
609 \ifx \mathltx:on\:UnDef
610 \Configure{accents}
611 {\ifmmode \expandafter\mathord\fi
612 {\leavevmode
613 \if !#1!\ht:special{t4ht@+&{35}x#2;}%
614 \else \expandafter \ifx\csname U#2#1\endcsname\relax
615 \ht:special{t4ht@+&{35}x#2;}%
616 \else
617 \ht:special{t4ht@+&{35}x\csname U#2#1\endcsname;}%
618 \fi \fi x%
619 %
620 \ht:special{t4ht@[}\if!#1!x\else#2\fi\ht:special{t4ht@]}}}
621 {\Tg<mrow
622 \mml:class="accent#1">\mathord{#3}\Tg</mrow>%
623 }%
624 \fi
625 \fi
626 \let\mml:TeX\TeX
627 \def\TeX{\ifmathltx
628 \HCode{<mtext
629 \mml:class="TeX">TeX</mtext>}\else \mml:TeX\fi}
630 \Configure{'}
631 {\let\:primes=\empty}
632 {\def\:tempa{\prime\prime}\ifx \:tempa\:primes
633 \HCode{''}\else
634 \def\:tempa{\prime\prime\prime}\ifx \:tempa\:primes
635 \HCode{'''}\else
636 \HCode{\:primes}\fi\fi
637 }
638 {\xdef\:primes{\:primes'}}
639 \def\left#1{\bgroup \a:left{#1}\b:left{#1}}
640 \def\right#1{\a:right{#1}\b:right{#1}\egroup}
641 \Configure{left}
642 {}
643 {\HCode{\string\left\space}#1\bgroup}
644 \Configure{right}
645 {\egroup\HCode{\string\right\space}#1}
646 {}
647 \def\{{{\HCode{\back:slash\l:brace}}}
648 \def\}{{\HCode{\back:slash\r:brace}}}
649 \let\lbrace\{
650 \let\rbrace\}
651 \def\def:DEL#1{\def\:DEL{#1}}
652 \def\check:DEL#1#2{\def\:tempa{#1}\ifx \:tempa\:DEL \def\:DEL{#2}\fi}
653 \NewConfigure{mfenced}[2]{\append:defI\def:DEL{\check:DEL{#1}{#2}}}
654 \def\:tempc#1{\HCode{\l:brace\string\bigl\space\string#1}}
655 \HLet\bigl=\:tempc
656 \def\:tempc#1{\HCode{\string\bigm\space\string#1}}
657 \HLet\bigm=\:tempc
658 \def\:tempc#1{\HCode{\string\bigr\space\string #1\r:brace}}
659 \HLet\bigr=\:tempc
660 \def\:tempc#1{\HCode{\l:brace\string\Bigl\space\string#1}}
661 \HLet\Bigl=\:tempc
662 \def\:tempc#1{\HCode{\string\Bigm\space\string#1}}
663 \HLet\Bigm=\:tempc
664 \def\:tempc#1{\HCode{\string\Bigr\space\string #1\r:brace}}
665 \HLet\Bigr=\:tempc
666 \def\:tempc#1{\HCode{\l:brace\string\biggl\space\string#1}}
667 \HLet\biggl=\:tempc
668 \def\:tempc#1{\HCode{\string\biggm\space\string#1}}
669 \HLet\biggm=\:tempc
670 \def\:tempc#1{\HCode{\string\biggr\space\string #1\r:brace}}
671 \HLet\biggr=\:tempc
672 \def\:tempc#1{\HCode{\l:brace\string\Biggl\space\string#1}}
673 \HLet\Biggl=\:tempc
674 \def\:tempc#1{\HCode{\string\Biggm\space\string#1}}
675 \HLet\Biggm=\:tempc
676 \def\:tempc#1{\HCode{\string\Biggr\space\string #1\r:brace}}
677 \HLet\Biggr=\:tempc
678
679 \:CheckOption{new-accents} \if:Option \else
680
681 \Configure{accents}
682 {\ifmmode \expandafter\mathord\fi
683 {\leavevmode
684 \if !#1!\ht:special{t4ht@+&{35}x#2;}%
685 \else \expandafter \ifx\csname U#2#1\endcsname\relax
686 \ht:special{t4ht@+&{35}x#2;}%
687 \else
688 \ht:special{t4ht@+&{35}x\csname U#2#1\endcsname;}%
689 \fi \fi x%
690 %
691 \ht:special{t4ht@[}\if!#1!x\else#2\fi
692 \ht:special{t4ht@]}}}
693 {\ifmathltx
694 \ifmtext \expandafter\ifx \csname :#1:over\endcsname\relax
695 \expandafter\ifx \csname :#1:under\endcsname\relax
696 \AccentMath{\expandafter\ifx \csname :#1:over\endcsname\relax
697 \HCode{<munder\Hnewline
698 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
699 \csname :#1:under\endcsname
700 \HCode{</munder>}%
701 %
702 \else \expandafter\ifx \csname :#1:under\endcsname\relax
703 \HCode{<mover\Hnewline
704 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
705 \csname :#1:over\endcsname
706 \HCode{</mover-1>}%
707 %
708 \else
709 \HCode{<munderover-3\Hnewline
710 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
711 \csname :#1:under\endcsname
712 \csname :#1:over\endcsname
713 \HCode{</munderover>}%
714 %
715 \fi \fi
716 }%
717 \else #3\csname :#1:under\endcsname \fi
718 \else #3\csname :#1:over\endcsname \fi
719 %
720 \else \AccentMath{\expandafter\ifx \csname :#1:over\endcsname\relax
721 \HCode{<munder\Hnewline
722 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
723 \csname :#1:under\endcsname
724 \HCode{</munder>}%
725 %
726 \else \expandafter\ifx \csname :#1:under\endcsname\relax
727 \HCode{<mover\Hnewline
728 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
729 \csname :#1:over\endcsname
730 \HCode{</mover-1>}%
731 %
732 \else
733 \HCode{<munderover-3\Hnewline
734 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
735 \csname :#1:under\endcsname
736 \csname :#1:over\endcsname
737 \HCode{</munderover>}%
738 %
739 \fi \fi
740 }\fi
741 \else \expandafter\ifx \csname :#1:over\endcsname\relax
742 \expandafter\ifx \csname :#1:under\endcsname\relax
743 \AccentMath{\expandafter\ifx \csname :#1:over\endcsname\relax
744 \HCode{<munder\Hnewline
745 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
746 \csname :#1:under\endcsname
747 \HCode{</munder>}%
748 %
749 \else \expandafter\ifx \csname :#1:under\endcsname\relax
750 \HCode{<mover\Hnewline
751 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
752 \csname :#1:over\endcsname
753 \HCode{</mover-1>}%
754 %
755 \else
756 \HCode{<munderover-3\Hnewline
757 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
758 \csname :#1:under\endcsname
759 \csname :#1:over\endcsname
760 \HCode{</munderover>}%
761 %
762 \fi \fi
763 }%
764 \else #3\csname :#1:under\endcsname \fi
765 \else #3\csname :#1:over\endcsname \fi
766 \fi
767 }
768
769 \fi
770 \def\mathinner#1{\HCode{\string\mathinner\l:brace}#1\HCode{\r:brace}}
771 \Configure{root}{\rev:root}{}{}
772 \def\rev:root #1\b:root#2\c:root{%
773 \HCode{\string\root\l:brace}{#1}%
774 {\HCode{\r:brace\string \of\l:brace}#2}\HCode{\r:brace}}
775 \def\AccentMath#1{\relax\ifmmode #1\else $#1$\fi}
776 \NewConfigure{mfenced}[2]{\expandafter
777 \def\csname \string#1:lr del\endcsname{#2}}
778 \Configure{mfenced}{\|}{\string&\#x2225;}
779 \Configure{mfenced}{.}{}
780 \Configure{mfenced}{\langle}{\string&\#x27E8;}
781 \Configure{mfenced}{\rangle}{\string&\#x27E9;}
782 \Configure{mfenced}{\vert}{|}
783 \edef\:temp{\noexpand\Configure{mfenced}{\noexpand\{}{\string\{}}\:temp
784 \edef\:temp{\noexpand\Configure{mfenced}{\noexpand\}}{\string\}}}\:temp
785 \edef\:temp{\noexpand
786 \Configure{mfenced}{\noexpand\lbrace}{\string\lbrace}}\:temp
787 \edef\:temp{\noexpand
788 \Configure{mfenced}{\noexpand\rbrace}{\string\rbrace}}\:temp
789 \Configure{mfenced}{<}{\string&\#x003C;}
790 \Configure{mfenced}{>}{\string&\#x003E;}
791 \Configure{mfenced}{\lceil}{\string&\#x2308;}
792 \Configure{mfenced}{\rceil}{\string&\#x2309;}
793 \Configure{mfenced}{\lfloor}{\string&\#x230A;}
794 \Configure{mfenced}{\rfloor}{\string&\#x230B;}
795 \Configure{mfenced}{\Vert}{\string&\#x2225;}
796 \Configure{mfenced}{\rgroup}{)}
797 \Configure{mfenced}{\lgroup}{(}
798 \Configure{mfenced}{\bracevert}{|}
799 \Configure{mfenced}{\bracevert}{|}
800 \Configure{mfenced}{\downarrow}{\string&\#x2193;}
801 \Configure{mfenced}{\uparrow}{\string&\#x2191;}
802 \Configure{mfenced}{\Uparrow}{\string&\#x21D1;}
803 \Configure{mfenced}{\updownarrow}{\string&\#x2195;}
804 \Configure{mfenced}{\Updownarrow}{\string&\#x21D5;}
805 \Configure{mfenced}{\Downarrow}{\string&\#x21D3;}
806 \Configure{mfenced}{\backslash}{\string&\#x2216;}
807 \Configure{mfenced}{\rmoustache}{\string&\#x25DD;}
808 \Configure{mfenced}{\lmoustache}{\string&\#x25DC;}
809 \Configure{mfenced}{\Arrowvert}{\string&\#x2225;}
810 \Configure{mfenced}{\arrowvert}{\string&\#x007C;}
811
812 \let\A:oalign\a:oalign
813 \let\B:oalign\b:oalign
814 \Configure{oalign}
815 {\ifmmode \Configure{$}{\Tg<mrow\Hnewline>}{\Tg</mrow>}{}%
816 \let\halign\TeXhalign
817 \Tg<mrow\Hnewline \mml:class="oalign">\else\A:oalign
818 \fi}
819 {\ifmmode \Tg</mrow>\else\B:oalign\fi}
820 \def\mathop:prefix#1{%
821 \Configure{mathop}{*}{}{}%
822 {\Configure{mathop}{*}{\string\mathop\l:brace}{\r:brace}{}}}
823 \def\:nbsp{\ifmtext \leavevmode\special{t4ht@+\string&{35}x00A0{59}}x%
824 \else\ifmathltx
825 \Tg<mspace />\else \leavevmode\special{t4ht@+\string&{35}x00A0{59}}x%
826 \fi\fi}
827 \Configure{cases}
828 {}{}
829 {\HCode{\string\cases\l:brace}}
830 {\ifvmode \IgnorePar\fi \HCode{\r:brace}}
831 {\ifnum \HRow>1 \HCode{\string\cr\space}\fi}
832 {}
833 {\HCode{\ifnum \HCol>1 \a:math:amp\fi
834 \ifnum 1<\HMultispan
835 \string\multicolumn\l:brace\HMultispan\r:brace \fi}%
836 }
837 {}
838 \Configure{matrix}
839 {\HCode{\string\matrix\l:brace}}
840 {\HCode{\r:brace}}
841 {\ifnum \HRow>1 \HCode{\string\cr\space}\fi}
842 {}
843 {\HCode{\ifnum \HCol>1 \a:math:amp\fi
844 \ifnum 1<\HMultispan
845 \string\multicolumn\l:brace\HMultispan\r:brace \fi}%
846 }
847 {}
848 \Configure{pmatrix} {\bgroup} {\egroup}
849 \Configure{quad}{{\ifmathltx \ifmtext \o:quad:\else
850 {\HCode{\string\quad\space}}\fi
851 \else \o:quad: \fi}}
852 \Configure{qquad}{{\ifmathltx \ifmtext \o:qquad:\else
853 {\HCode{\string\qquad\space}}\fi
854 \else \o:qquad: \fi}}
855 \Configure{,}
856 {{\HCode{\string\,}}}
857
858 \let\m:Make:Label\Make:Label
859 \def\Make:Label#1#2{%
860 \ifmathltx \edef\:temp{#1}%
861 \expandafter\AfterMath\expandafter{\expandafter\Make:Label
862 \expandafter{\:temp}{#2}}%
863 \else \m:Make:Label{#1}{#2}%
864 \fi
865 }
866 \def\set:label#1{\ifmathltx
867 \HCode{\%\Hnewline\%\string\begin{label}}%
868 {\ht:special{t4ht@, }\let\:newlnch\space \mathltxfalse #1}%
869 \HCode{\string\end{label}\Hnewline}%
870 \else #1\fi
871 }
872 \def\:tempc#1{\HCode{\string\H\l:brace}#1\HCode{\r:brace}}
873 \HLet\H=\:tempc
874 \def\:tempc#1{\HCode{\string\acute\l:brace}#1\HCode{\r:brace}}
875 \HLet\acute=\:tempc
876 \def\:tempc#1{\HCode{\string\bar\l:brace}#1\HCode{\r:brace}}
877 \HLet\bar=\:tempc
878 \def\:tempc#1{\HCode{\string\breve\l:brace}#1\HCode{\r:brace}}
879 \HLet\breve=\:tempc
880 \def\:tempc#1{\HCode{\string\c\l:brace}#1\HCode{\r:brace}}
881 \HLet\c=\:tempc
882 \def\:tempc#1{\HCode{\string\cedil\l:brace}#1\HCode{\r:brace}}
883 \HLet\cedil=\:tempc
884 \def\:tempc#1{\HCode{\string\check\l:brace}#1\HCode{\r:brace}}
885 \HLet\check=\:tempc
886 \def\:tempc#1{\HCode{\string\d\l:brace}#1\HCode{\r:brace}}
887 \HLet\d=\:tempc
888 \def\:tempc#1{\HCode{\string\ddot\l:brace}#1\HCode{\r:brace}}
889 \HLet\ddot=\:tempc
890 \def\:tempc#1{\HCode{\string\dot\l:brace}#1\HCode{\r:brace}}
891 \HLet\dot=\:tempc
892 \def\:tempc#1{\HCode{\string\grave\l:brace}#1\HCode{\r:brace}}
893 \HLet\grave=\:tempc
894 \def\:tempc#1{\HCode{\string\hat\l:brace}#1\HCode{\r:brace}}
895 \HLet\hat=\:tempc
896 \def\:tempc#1{\HCode{\string\ring\l:brace}#1\HCode{\r:brace}}
897 \HLet\ring=\:tempc
898 \def\:tempc#1{\HCode{\string\t\l:brace}#1\HCode{\r:brace}}
899 \HLet\t=\:tempc
900 \def\:tempc#1{\HCode{\string\tilde\l:brace}#1\HCode{\r:brace}}
901 \HLet\tilde=\:tempc
902 \def\:tempc#1{\HCode{\string\udot\l:brace}#1\HCode{\r:brace}}
903 \HLet\udot=\:tempc
904 \def\:tempc#1{\HCode{\string\uml\l:brace}#1\HCode{\r:brace}}
905 \HLet\uml=\:tempc
906 \def\:tempc#1{\HCode{\string\vec\l:brace}#1\HCode{\r:brace}}
907 \HLet\vec=\:tempc
908 \ifx\jsm:r\:UnDef
909 \let\jsm:r\r
910 \def\:tempc#1{\ifmmode\HCode{\string\r\l:brace}#1\HCode{\r:brace}%
911 \else \jsm:r{#1}\fi }
912 \HLet\r=\:tempc
913 \fi
914
915
916 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
917
918 \endinput\empty\empty\empty\empty\empty\empty
919 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
920
921
922
923
924
925
926
927 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
928 \ConfigureHinput{fontmath}
929 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
930 \expandafter\ifx \csname o@everypar\endcsname\relax \else
931 \expandafter\ifx \csname ht:everypar\endcsname\relax
932 \let\ht:everypar\o@everypar
933 \fi\fi
934
935 \Configure{MathClass}{1}{}{}{}{
936 \mathchar"1360
937 \mathchar"1357
938 \mathchar"1356
939 \mathchar"1355
940 \mathchar"1354
941 \mathchar"1353
942 \mathchar"1352
943 \mathchar"1351
944 \mathchar"1350
945 \mathchar"134E
946 \mathchar"134C
947 \mathchar"134A
948 \mathchar"1348
949 \mathchar"1346
950 \mathchar"1273
951 \mathchar"3234
952 \mathchar"3238
953 \mathchar"3239
954 \mathchar"323A
955 \mathchar"323E
956 \mathchar"323F
957 \mathchar"3272
958 \mathchar"3278
959 \mathchar"327B
960 \mathchar"327C
961 \mathchar"327D
962 \mathchar"327E
963 \mathchar"327F
964 %
965 }
966 \Configure{MathClass}{2}{}{}{}{
967 *-+/
968 \mathchar"212F
969 \mathchar"212E
970 \mathchar"2234
971 \mathchar"2235
972 \mathchar"225E
973 \mathchar"225F
974 \mathchar"225C
975 \mathchar"225B
976 \mathchar"227A
977 \mathchar"2279
978 \mathchar"2275
979 \mathchar"2274
980 \mathchar"225D
981 \mathchar"2271
982 \mathchar"2205
983 \mathchar"220F
984 \mathchar"226F
985 \mathchar"2204
986 \mathchar"220C
987 \mathchar"220B
988 \mathchar"220A
989 \mathchar"2209
990 \mathchar"2208
991 \mathchar"2207
992 \mathchar"2206
993 \mathchar"220E
994 \mathchar"220D
995 \mathchar"226E
996 \mathchar"2201
997 \mathchar"2203
998 \mathchar"2202
999 \mathchar"213F
1000 }
1001 \Configure{MathClass}{3}{}{}{}{
1002 \mathchar"3128
1003 \mathchar"3129
1004 \mathchar"312A
1005 \mathchar"312B
1006 \mathchar"315E
1007 \mathchar"315F
1008 \mathchar"3210
1009 \mathchar"3211
1010 \mathchar"3212
1011 \mathchar"3213
1012 \mathchar"3214
1013 \mathchar"3215
1014 \mathchar"3216
1015 \mathchar"3217
1016 \mathchar"3218
1017 \mathchar"3219
1018 \mathchar"321A
1019 \mathchar"321B
1020 \mathchar"321C
1021 \mathchar"321D
1022 \mathchar"321E
1023 \mathchar"321F
1024 \mathchar"3220
1025 \mathchar"3221
1026 \mathchar"3224
1027 \mathchar"3227
1028 \mathchar"3232
1029 \mathchar"3233
1030 \mathchar"3236
1031 \mathchar"3237
1032 \mathchar"323F
1033 :=><
1034 \mathchar"322F
1035 \mathchar"3276
1036 \mathchar"3277
1037 \mathchar"326B
1038 \mathchar"326A
1039 \mathchar"3261
1040 \mathchar"3260
1041 \mathchar"3225
1042 \mathchar"3226
1043 \mathchar"322D
1044 \mathchar"322E
1045 \mathchar"322C
1046 \mathchar"3228
1047 \mathchar"3229
1048 }
1049 \Configure{MathClass}{4}{}{}{}{}
1050 \Configure{MathDelimiters}{(}{)}
1051 \Configure{MathDelimiters}{[}{]}
1052 \Configure{MathDelimiters}{\mathchar"4262}{\mathchar"5263}
1053 \Configure{MathDelimiters}{\mathchar"4264}{\mathchar"5265}
1054 \Configure{MathDelimiters}{\mathchar"4266}{\mathchar"5267}
1055 \Configure{MathDelimiters}{\mathchar"4268}{\mathchar"5269}
1056 \Configure{MathDelimiters}{\mathchar"4300}{\mathchar"5301}
1057 \Configure{MathDelimiters}{\mathchar"4302}{\mathchar"5303}
1058 \Configure{MathDelimiters}{\mathchar"4304}{\mathchar"5305}
1059 \Configure{MathDelimiters}{\mathchar"4306}{\mathchar"5307}
1060 \Configure{MathDelimiters}{\mathchar"4308}{\mathchar"5309}
1061 \Configure{MathDelimiters}{\mathchar"430A}{\mathchar"530B}
1062 \Configure{MathClass}{6}{}{}{}{
1063 \mathchar"613A % ldot
1064 \mathchar"6201 % cdot
1065 \mathchar"603A % colon
1066 ?; ,
1067 }
1068
1069 \Configure{overrightarrow}
1070 {\HCode{\string\overrightarrow\l:brace}\:gobble}
1071 {\HCode{\r:brace}}
1072 \Configure{overleftarrow}
1073 {\HCode{\string\overleftarrow\l:brace}\:gobble}
1074 {\HCode{\r:brace}}
1075 \def\:tempc#1{{\HCode{\string\big\string{}\string#1\HCode{\string}}}}
1076 \HLet\big=\:tempc
1077 \def\:tempc#1{{\HCode{\string\Big\string{}\string#1\HCode{\string}}}}
1078 \HLet\Big=\:tempc
1079 \def\:tempc#1{{\HCode{\string\bigg\string{}\string#1\HCode{\string}}}}
1080 \HLet\bigg=\:tempc
1081 \def\:tempc#1{{\HCode{\string\Bigg\string{}\string #1\HCode{\string}}}}
1082 \HLet\Bigg=\:tempc
1083 \Configure{overbrace}
1084 {\Configure{mathop*}{*}
1085 {\string\overbrace\l:brace}
1086 {\r:brace}
1087 {\Configure{mathop}{}{}{}{}}%
1088 }
1089 {\let\o:overbrace:=\displaystyle}
1090 {}
1091 \Configure{underbrace}
1092 {\Configure{mathop*}{*}
1093 {\string\underbrace\l:brace}
1094 {\r:brace}
1095 {\Configure{mathop}{}{}{}{}}%
1096 }
1097 {\let\o:underbrace:=\displaystyle}
1098 {}
1099 % \Configure{MathClass}{0}{*}{<mi\Hnewline>}{</mi>}{}
1100 \Configure{MathClass}{1}{*}{\string\mathop\l:brace}{\r:brace}{}
1101 % \Configure{MathClass}{2}{*}{<mo\Hnewline
1102 % \mml:class="MathClass-bin">}{</mo>}{}
1103 % \Configure{MathClass}{3}{*}{<mo\Hnewline
1104 % \mml:class="MathClass-rel">}{</mo>}{}
1105 \:CheckOption{mathltx-} \if:Option
1106 \Configure{MathClass}{4}{*}{}{}{}
1107 \Configure{MathClass}{5}{*}{}{}{}
1108 \else
1109 \Log:Note{for sources failing to produce
1110 clean mathltx code, try the command line option `mathltx-'}%
1111 \fi
1112
1113 %\Configure{MathClass}{6}{*}{<mo\Hnewline
1114 % \mml:class="MathClass-punc">}{</mo>}{}
1115 % \Configure{MathClass}{7}{*}{<mn>}{</mn>}
1116 % {0123456789}
1117 \Configure{FormulaClass}{0}{}{}{}
1118 \Configure{FormulaClass}{1}{}{}{}
1119 \Configure{FormulaClass}{2}{}{}{}
1120 \Configure{FormulaClass}{3}{}{}{}
1121 \Configure{FormulaClass}{4}{}{}{}
1122 \Configure{FormulaClass}{5}{}{}{}
1123 \Configure{FormulaClass}{6}{}{}{}
1124
1125 \def\bold:version{bold}
1126 \Configure{mathbf}%
1127 {\bgroup \HCode{\string\mathbf\l:brace}}%
1128 {\HCode{\r:brace}\egroup }%
1129 \Configure{mathit}%
1130 {\bgroup \HCode{\string\mathit\l:brace}}%
1131 {\HCode{\r:brace}\egroup }%
1132 \Configure{mathrm}%
1133 {\bgroup \HCode{\string\mathrm\l:brace}}%
1134 {\HCode{\r:brace}\egroup }%
1135 \Configure{mathsf}%
1136 {\bgroup \HCode{\string\mathsf\l:brace}}%
1137 {\HCode{\r:brace}\egroup }%
1138 \Configure{mathtt}%
1139 {\bgroup \HCode{\string\mathtt\l:brace}}%
1140 {\HCode{\r:brace}\egroup }%
1141 \def\:tempd#1#2{%
1142 \expandafter\def\csname #1\endcsname{\mathchar"13#2\relax}%
1143 \MathSymbol\mathop{#1}%
1144 \expandafter\def\csname #1:limits\endcsname{\expandafter
1145 \:same \math:sym\mathop{#1}\limits}%
1146 \expandafter\def\csname #1:nolimits\endcsname{\expandafter
1147 \:same \math:sym\mathop{#1}\nolimits}%
1148 \expandafter\edef\csname n:#1:\endcsname{\noexpand\ifDisplayMath
1149 \noexpand\expandafter \expandafter\noexpand
1150 \csname #1:limits\endcsname
1151 \noexpand\else \noexpand\expandafter
1152 \expandafter\noexpand
1153 \csname #1:nolimits\endcsname\noexpand\fi}%
1154 \expandafter\pend:def\csname n:#1:\endcsname{\ifDisplayMath
1155 \mathop:prefix{mathsize="big"}\fi}%
1156 }
1157 \:tempd{bigcap}{54}
1158 \:tempd{bigcup}{53}
1159 \:tempd{bigodot}{4A}
1160 \:tempd{bigoplus}{4C}
1161 \:tempd{bigotimes}{4E}
1162 \:tempd{bigsqcup}{46}
1163 \:tempd{biguplus}{55}
1164 \:tempd{bigvee}{57}
1165 \:tempd{bigwedge}{56}
1166 \:tempd{coprod}{60}
1167 \:tempd{intop}{52}
1168 \:tempd{ointop}{48}
1169 \:tempd{prod}{51}
1170 \:tempd{sum}{50}
1171 \ifx \ilimits@\o:nolimits:
1172 \let\ilimits@\nolimits
1173 \fi
1174 \ifx \ilimits@\o:nolimits:
1175 \let\slimits@\nolimits
1176 \fi
1177
1178 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1179
1180 \endinput\empty\empty\empty\empty\empty\empty
1181 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1203 \ConfigureHinput{amsmath}
1204 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1205 \Configure{underarrow@}
1206 {\Tg<munder>\Tg<mrow\Hnewline>}
1207 {\Tg</mrow>\Tg<mrow\Hnewline>}
1208 {\Tg</mrow>\Tg</munder>}
1209 \Configure{overarrow@}
1210 {\Tg<mover accent="true">\Tg<mrow\Hnewline>}
1211 {\Tg</mrow>\Tg<mrow>}
1212 {\Tg</mrow>\Tg</mover-5>}
1213 \def\:tempc#1#2#3{\a:overarrow@
1214 \hbox{$\m@th#2#3$}\b:overarrow@
1215 \hbox{#1#2}\c:overarrow@
1216 }
1217 \HLet\overarrow@\:tempc
1218
1219 \Configure{equation}
1220 {\Configure{gather}
1221 {\HCode{<mtable\Hnewline
1222 \mml:class="equation"><mtr><mtd>}\IgnorePar }
1223 {\HCode{</mtd></mtr></mtable>}}
1224 {}
1225 {}
1226 {\ifnum\HCol=2 \IgnorePar
1227 \HCode{</mtd><mtd>}\fi }
1228 {}
1229 }{}{}
1230 \Configure{equation*}
1231 {\Configure{gather*}
1232 {\HCode{<mtable\Hnewline
1233 \mml:class="equation-star"><mtr><mtd>}\IgnorePar }
1234 {\HCode{</mtd></mtr></mtable>}}
1235 {}
1236 {}
1237 {\ifnum\HCol=2 \IgnorePar
1238 \HCode{</mtd><mtd>}\fi }
1239 {}
1240 }{}
1241 \Css{.equation-star td{text-align:center; }}
1242 \Css{table.equation-star { width:100\%; }}
1243 \Configure{above}
1244 {\Send{GROUP}{0}{\l:brace}%
1245 \HCode{\string\above\space \the\tmp:dim\space}\o:@@over:\:gobbleII}
1246 {\Send{EndGROUP}{0}{\r:brace}}
1247 \def\overwithdelims:III#1#2#3{%
1248 \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
1249 \Send{GROUP}{0}{<mfrac-4 linethickness="0"><mrow>}%
1250 \HCode{</mrow>}\o:over:
1251 \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac>}
1252 \else
1253 \Send{GROUP}{0}{<mfenced-1 separators=""\Hnewline
1254 open="\expandafter
1255 \ifx \csname \string#2:lr del\endcsname\relax #2\else
1256 \csname \string#2:lr del\endcsname\fi
1257 " close="\expandafter
1258 \ifx \csname \string#3:lr del\endcsname\relax #3\else
1259 \csname \string#3:lr del\endcsname\fi
1260 "><mfrac-5
1261 linethickness="0"><mrow>}%
1262 \HCode{</mrow>}\o:@@over:
1263 \HCode{<mrow>}\Send{EndGROUP}{0}{</\a:mathltx
1264 mrow></mfrac></mfenced>}
1265 \fi
1266 }
1267 \Configure{tmspace}
1268 {\HCode{\string\tmspace{\textspace}}}
1269 \Configure{mfenced}{\lvert}{\string\lvert}
1270 \Configure{mfenced}{\rvert}{\string\rvert}
1271 \Configure{mfenced}{\lVert}{\string\lVert}
1272 \Configure{mfenced}{\rVert}{\string\rVert}
1273 \edef\:tempc{\hskip -\noexpand\arraycolsep
1274 \let\noexpand\@ifnextchar\noexpand\new@ifnextchar
1275 \noexpand\array{*{\the\c@MaxMatrixCols}c}}
1276 \HLet\env@matrix\:tempc
1277 \Configure{split}
1278 {\HCode{\string\begin\l:brace split\r:brace}}
1279 {\ifvmode\IgnorePar\fi
1280 \HCode{\string\end \l:brace split\r:brace}}
1281 {\ifnum \HRow> 1\HCode{\string\\\Hnewline}\fi} {}
1282 {\HCode{\ifnum \HCol>1 \a:math:amp\fi
1283 \ifnum 1<\HMultispan
1284 \string\multicolumn\l:brace\HMultispan\r:brace \fi}%
1285 } {}
1286 \ConfigureEnv{multline}
1287 {\bgroup \Configure{$$}
1288 {\Configure{@math}{display="block"
1289 }\IgnorePar
1290 \ifvmode\else \HCode{<!--tex4ht:inline-->}\fi
1291 \EndP\DviMath }
1292 {\EndDviMath\ShowPar\csname par\endcsname
1293 {\csname HCondtrue\endcsname\noindent}}
1294 {\DisplayMathtrue}%
1295 } {\egroup}
1296 {}{}
1297 \Configure{multline}
1298 {\HCode{\string\begin\l:brace multline\r:brace}}
1299 {\HCode{\string\end \l:brace multline\r:brace}}
1300 {\ifnum \HRow> 1\HCode{\string\\\Hnewline}\fi} {}
1301 {\HCode{\ifnum \HCol>1 \a:math:amp\fi
1302 \ifnum 1<\HMultispan
1303 \string\multicolumn\l:brace\HMultispan\r:brace \fi}%
1304 } {}
1305 \ConfigureEnv{multline*}
1306 {\bgroup \Configure{$$}
1307 {\Configure{@math}{display="block"
1308 }\IgnorePar
1309 \ifvmode\else \HCode{<!--tex4ht:inline-->}\fi
1310 \EndP\DviMath }
1311 {\EndDviMath\ShowPar\csname par\endcsname
1312 {\csname HCondtrue\endcsname\noindent}}
1313 {\DisplayMathtrue}%
1314 } {\egroup}
1315 {}{}
1316 \Configure{multline*}
1317 {\HCode{\string\begin\l:brace multline*\r:brace}}
1318 {\HCode{\string\end \l:brace multline*\r:brace}}
1319 {\ifnum \HRow> 1\HCode{\string\\\Hnewline}\fi}
1320 {}
1321 \ConfigureEnv{gather}
1322 {\bgroup \Configure{$$}
1323 {\Configure{@math}{display="block"
1324 }\IgnorePar
1325 \ifvmode\else \HCode{<!--tex4ht:inline-->}\fi
1326 \EndP\DviMath }
1327 {\EndDviMath\ShowPar\csname par\endcsname
1328 {\csname HCondtrue\endcsname\noindent}}
1329 {\DisplayMathtrue}%
1330 } {\egroup}
1331 {}{}
1332 \Configure{gather}
1333 {\HCode{\string\begin\l:brace gather\r:brace}}
1334 {\HCode{\string\end \l:brace gather\r:brace}}
1335 {\ifnum \HRow> 1\HCode{\string\\\Hnewline}\fi} {}
1336 {\HCode{\ifnum \HCol>1 \a:math:amp\fi
1337 \ifnum 1<\HMultispan
1338 \string\multicolumn\l:brace\HMultispan\r:brace \fi}%
1339 } {}
1340 \ConfigureEnv{gather*}
1341 {\bgroup \Configure{$$}
1342 {\Configure{@math}{display="block"
1343 }\IgnorePar
1344 \ifvmode\else \HCode{<!--tex4ht:inline-->}\fi
1345 \EndP\DviMath }
1346 {\EndDviMath\ShowPar\csname par\endcsname
1347 {\csname HCondtrue\endcsname\noindent}}
1348 {\DisplayMathtrue}%
1349 } {\egroup}
1350 {}{}
1351 \Configure{gather*}
1352 {\HCode{\string\begin\l:brace gather*\r:brace}}
1353 {\HCode{\string\end \l:brace gather*\r:brace}}
1354 {\ifnum \HRow> 1\HCode{\string\\\Hnewline}\fi} {}
1355 {\HCode{\ifnum \HCol>1 \a:math:amp\fi
1356 \ifnum 1<\HMultispan
1357 \string\multicolumn\l:brace\HMultispan\r:brace \fi}%
1358 } {}
1359 \Configure{subarray}
1360 {\HCode{\string\begin\l:brace subarray\r:brace
1361 \l:brace \Hlcr\r:brace}}
1362 {\HCode{\string\end \l:brace subarray\r:brace}}
1363 {\ifnum \HRow> 1\HCode{\string\\\Hnewline}\fi} {}
1364 \Configure{smallmatrix}
1365 {\HCode{\string\begin\l:brace smallmatrix\r:brace}}
1366 {\HCode{\string\end \l:brace smallmatrix\r:brace}}
1367 {\ifnum \HRow> 1\HCode{\string\\\Hnewline}\fi} {}
1368 {\HCode{\ifnum \HCol>1 \a:math:amp\fi
1369 \ifnum 1<\HMultispan
1370 \string\multicolumn\l:brace\HMultispan\r:brace \fi}%
1371 } {}
1372 \def\:tempc#1#2{%
1373 \ConfigureEnv{#1}
1374 {\def\end:al:env{}\ifmmode\else
1375 \ifvmode\else \def\end:al:env{\par\ShowPar\IgnoreIndent}\fi\fi}
1376 {\end:al:env }
1377 {}{}%
1378 \Configure{#1}
1379 {\IgnorePar
1380 \ifvmode \EndP \else \EndP \HCode{<!--tex4ht:inline-->}\fi
1381 \ifmathltx
1382 \Tg<mrow>\def\end:mathalign{\Tg</mrow>}%
1383 \else
1384 \Configure{@math}{display="block"
1385 }\DviMath
1386 \def\end:mathalign{\EndDviMath \DisplayMathfalse}%
1387 \DisplayMathtrue
1388 \fi
1389 \HCode{\string\begin\l:brace #2\r:brace}}
1390 {\HCode{\string\end \l:brace #2\r:brace}\end:mathalign }
1391 {\ifnum \HRow> 1\HCode{\string\\\Hnewline}\fi} {}
1392 {\HCode{\ifnum \HCol>1 \a:math:amp\fi
1393 \ifnum 1<\HMultispan
1394 \string\multicolumn\l:brace\HMultispan\r:brace \fi}%
1395 }
1396 {\HCode{\ifodd\HCol\space\else \string\hspace\l:brace2em\r:brace\fi
1397 }}}
1398 \:tempc{align}{align}
1399 \:tempc{alignat}{alignat}
1400 \:tempc{xalignat}{xalignat}
1401 \:tempc{xxalignat}{xxalignat}
1402 \:tempc{flalign}{flalign}
1403 \:tempc{align*}{align*}
1404 \:tempc{alignat*}{alignat*}
1405 \:tempc{xalignat*}{xalignat*}
1406 \:tempc{flalign*}{flalign*}
1407 \Configure{underrightarrow}
1408 {\HCode{\string\underrightarrow\l:brace}\:gobble}
1409 {\HCode{\r:brace}}
1410 \Configure{underleftarrow}
1411 {\HCode{\string\underleftarrow\l:brace}\:gobble}
1412 {\HCode{\r:brace}}
1413 \Configure{overleftrightarrow}
1414 {\HCode{\string\overleftrightarrow\l:brace}\:gobble}
1415 {\HCode{\r:brace}}
1416 \Configure{underleftrightarrow}
1417 {\HCode{\string\underleftrightarrow\l:brace}\:gobble}
1418 {\HCode{\r:brace}}
1419 \def\m:env#1{\HCode{<mtable
1420 \mml:class="#1"><mtr><mtd>}%
1421 \def\endm:env{\HCode
1422 {</mtd></mtr></mtable>}}}
1423
1424 \renewcommand{\xrightarrow}[2][]{%
1425 \HCode{\string\xrightarrow[}#1\HCode{]\l:brace}%
1426 #2\HCode{\r:brace}}
1427 \renewcommand{\xleftarrow}[2][]{%
1428 \HCode{\string\xleftarrow[}#1\HCode{]\l:brace}%
1429 #2\HCode{\r:brace}}
1430
1431 \def\overset#1#2{{%
1432 \HCode{\string\overset\l:brace}#1\HCode{\r:brace\l:brace}%
1433 #2\HCode{\r:brace}}}
1434 \def\underset#1#2{{%
1435 \HCode{\string\underset\l:brace}#1\HCode{\r:brace\l:brace}%
1436 #2\HCode{\r:brace}}}
1437
1438 \def\sideset#1#2#3{{\HCode{\string\sideset\l:brace}%
1439 {\HCode{}}#1\HCode{\r:brace\l:brace}%
1440 {\HCode{}}#2\HCode{\r:brace}%
1441 {{\HCode{}}#3}%
1442 }}
1443
1444 \renewcommand{\hdotsfor}[1]{%
1445 \ifx[#1\@xp\shdots@for\else\hdots@for\@ne{#1}\fi}
1446 \def\shdots@for#1]{\hdots@for{#1}}
1447 \def\hdots@for#1#2{\multicolumn{#2}c%
1448 {\m@th\[email protected]\mkern-#1\dotsspace@
1449 \xleaders\hbox{$\m@th\mkern#1\dotsspace@.\mkern#1\dotsspace@$}%
1450 \hfill
1451 \mkern-#1\dotsspace@}%
1452 }
1453 \ConfigureEnv{eqxample}{}{}{}{}
1454 \ConfigureEnv{gather*}{}{}{}{}
1455 \ConfigureEnv{gathered}{}{}{}{}
1456 \ConfigureEnv{matrix}{}{}{}{}
1457
1458 \def\:tempc{\DOTSI\protect\:idotsint}
1459 \HLet\idotsint\:tempc
1460 \def\:idotsint{%
1461 \mathop{\intop\cdotp\cdotp\cdotp\intop }\ilimits@
1462 }
1463 \def\:tempc{\HCode{\string\mod\space}}
1464 \HLet\bmod\:tempc
1465 \def\:tempc#1{\HCode{\string\pod\l:brace}#1\HCode{\r:brace}}
1466 \HLet\pod=\:tempc
1467 \def\:tempc#1{\HCode{\string\pmod\l:brace}#1\HCode{\r:brace}}
1468 \HLet\pmod=\:tempc
1469 \def\:tempc#1{\HCode{\string\mod\l:brace}#1\HCode{\r:brace}}
1470 \HLet\mod=\:tempc
1471
1472 \Configure{intertext}
1473 {\IgnorePar \ifinalign@
1474 \HCode{</mtd></mtr><\a:mathltx
1475 mtr><mtd columnspan="\HCol"
1476 \mml:class="intertext">}%
1477 \else \ifingather@
1478 \HCode{<mtr><mtd columnspan="\HCol"
1479 \mml:class="intertext">}%
1480 \fi\fi
1481 \AA:text{intertext}%
1482 }
1483 {\BB:text \ifvmode \IgnorePar \fi \EndP\ifinalign@
1484 \HCode{</mtd></mtr><\a:mathltx
1485 mtr><mtd>}%
1486 \else \ifingather@
1487 \HCode{</mtd></mtr>}%
1488 \fi\fi
1489 }
1490 \Configure{maketag}
1491 {\ifmathltx
1492 \ifmtext \expandafter\expandafter\expandafter\no:maketag\fi
1493 \else \expandafter\no:maketag\fi
1494 \AA:text{maketag}\hbox\bgroup\:gobbleIII :@:}
1495 {\egroup\BB:text }
1496 \def\no:maketag#1:@:#2\b:maketag{\hbox{#2}}
1497 \Configure{abovewithdelims}
1498 {\abovewithdelims:III}
1499 {}
1500 \def\abovewithdelims:III#1#2#3{%
1501 \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
1502 \Send{GROUP}{0}{<mfra-13 linethickness="\the\tmp:dim"><mrow>}%
1503 \HCode{</mrow>}\o:@@over:
1504 \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac>}
1505 \else
1506 \Send{GROUP}{0}{\l:brace}%
1507 \HCode{\string\abovewithdelims
1508 \expandafter
1509 \ifx \csname \string#2:lr del\endcsname\relax #2\else
1510 \csname \string#2:lr del\endcsname\fi
1511 \expandafter
1512 \ifx \csname \string#3:lr del\endcsname\relax #3\else
1513 \csname \string#3:lr del\endcsname\fi
1514 \the\tmp:dim\space}\o:@@over:
1515 \Send{EndGROUP}{0}{\r:brace}%
1516 \fi
1517 \tmp:dim
1518 }
1519 \Configure{atopwithdelims}
1520 {\atopwithdelims:III}
1521 {}
1522 \def\atopwithdelims:III#1#2#3{%
1523 \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
1524 \Send{GROUP}{0}{<mfrac-14 linethickness="0"><mrow>}%
1525 \HCode{</mrow>}\o:@@atop:
1526 \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac>}
1527 \else
1528 \Send{GROUP}{0}{<mfenced-6 separators=""\Hnewline
1529 open="\expandafter
1530 \ifx \csname \string#2:lr del\endcsname\relax #2\else
1531 \csname \string#2:lr del\endcsname\fi
1532 " close="\expandafter
1533 \ifx \csname \string#3:lr del\endcsname\relax #3\else
1534 \csname \string#3:lr del\endcsname\fi
1535 "><mfrac-1
1536 linethickness="0"><mrow>}%
1537 \HCode{</mrow>}\o:@@atop:
1538 \HCode{<mrow>}\Send{EndGROUP}{0}{</\a:mathltx
1539 mrow></mfrac></mfenced>}
1540 \fi
1541 }
1542 \Configure{overwithdelims}
1543 {\overwithdelims:III}
1544 {}
1545 \def\overwithdelims:III#1#2#3{%
1546 \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
1547 \Send{GROUP}{0}{<mfrac-2><mrow>}%
1548 \HCode{</mrow>}\o:@@over:
1549 \HCode{<mrow>}\Send{EndGROUP}{0}{</mrow></mfrac>}
1550 \else
1551 \Send{GROUP}{0}{\l:brace}%
1552 \HCode{\string\overwithdelims
1553 \expandafter
1554 \ifx \csname \string#2:lr del\endcsname\relax #2\else
1555 \csname \string#2:lr del\endcsname\fi
1556 \expandafter
1557 \ifx \csname \string#3:lr del\endcsname\relax #3\else
1558 \csname \string#3:lr del\endcsname\fi
1559 }\o:@@over:
1560 \Send{EndGROUP}{0}{\r:brace}%
1561 \fi
1562 }
1563 \def\:temp{\HCode{\string\firstOfOne}\,\HCode{\string\int
1564 \string\int\space}}
1565 \HLet\iint\:temp
1566 \def\:temp{\HCode{\string\firstOfOne}\,\HCode{\string\int
1567 \string\int\string\int\space}}
1568 \HLet\iiint\:temp
1569 \def\:temp{\HCode{\string\Rightarrow }}
1570 \HLet\implies\:temp
1571 \def\:temp{\HCode{\string\Leftarrow }}
1572 \HLet\impliedby\:temp
1573 \pend:def\n:iint:{\ifDisplayMath\mathop:prefix{mathsize="big"}\fi}
1574 \pend:def\n:iiint:{\ifDisplayMath\mathop:prefix{mathsize="big"}\fi}
1575 \pend:def\n:idotsint:{\ifDisplayMath\mathop:prefix{mathsize="big"}\fi}
1576 \def\:tempc#1{\HCode{\string\H\l:brace}#1\HCode{\r:brace}}
1577 \HLet\H=\:tempc
1578 \def\:tempc#1{\HCode{\string\acute\l:brace}#1\HCode{\r:brace}}
1579 \HLet\acute=\:tempc
1580 \def\:tempc#1{\HCode{\string\bar\l:brace}#1\HCode{\r:brace}}
1581 \HLet\bar=\:tempc
1582 \def\:tempc#1{\HCode{\string\breve\l:brace}#1\HCode{\r:brace}}
1583 \HLet\breve=\:tempc
1584 \def\:tempc#1{\HCode{\string\c\l:brace}#1\HCode{\r:brace}}
1585 \HLet\c=\:tempc
1586 \def\:tempc#1{\HCode{\string\cedil\l:brace}#1\HCode{\r:brace}}
1587 \HLet\cedil=\:tempc
1588 \def\:tempc#1{\HCode{\string\check\l:brace}#1\HCode{\r:brace}}
1589 \HLet\check=\:tempc
1590 \def\:tempc#1{\HCode{\string\d\l:brace}#1\HCode{\r:brace}}
1591 \HLet\d=\:tempc
1592 \def\:tempc#1{\HCode{\string\ddot\l:brace}#1\HCode{\r:brace}}
1593 \HLet\ddot=\:tempc
1594 \def\:tempc#1{\HCode{\string\dot\l:brace}#1\HCode{\r:brace}}
1595 \HLet\dot=\:tempc
1596 \def\:tempc#1{\HCode{\string\grave\l:brace}#1\HCode{\r:brace}}
1597 \HLet\grave=\:tempc
1598 \def\:tempc#1{\HCode{\string\hat\l:brace}#1\HCode{\r:brace}}
1599 \HLet\hat=\:tempc
1600 \def\:tempc#1{\HCode{\string\ring\l:brace}#1\HCode{\r:brace}}
1601 \HLet\ring=\:tempc
1602 \def\:tempc#1{\HCode{\string\t\l:brace}#1\HCode{\r:brace}}
1603 \HLet\t=\:tempc
1604 \def\:tempc#1{\HCode{\string\tilde\l:brace}#1\HCode{\r:brace}}
1605 \HLet\tilde=\:tempc
1606 \def\:tempc#1{\HCode{\string\udot\l:brace}#1\HCode{\r:brace}}
1607 \HLet\udot=\:tempc
1608 \def\:tempc#1{\HCode{\string\uml\l:brace}#1\HCode{\r:brace}}
1609 \HLet\uml=\:tempc
1610 \def\:tempc#1{\HCode{\string\vec\l:brace}#1\HCode{\r:brace}}
1611 \HLet\vec=\:tempc
1612 \ifx\jsm:r\:UnDef
1613 \let\jsm:r\r
1614 \def\:tempc#1{\ifmmode\HCode{\string\r\l:brace}#1\HCode{\r:brace}%
1615 \else \jsm:r{#1}\fi }
1616 \HLet\r=\:tempc
1617 \fi
1618
1619 \def\:tempc#1{\HCode{\string\dddot\l:brace}#1\HCode{\r:brace}}
1620 \HLet\dddot=\:tempc
1621 \def\:tempc#1{\HCode{\string\ddddot\l:brace}#1\HCode{\r:brace}}
1622 \HLet\ddddot=\:tempc
1623 \Configure{aligned}
1624 {\HCode{\string\begin{aligned}}}
1625 {\HCode{\string\end{aligned}}}
1626 {}
1627 {\HCode{\string\\}}
1628 {\ifnum \HCol>1\HCode{\a:math:amp}\fi} {}
1629 \Configure{alignedat}
1630 {\HCode{\string\begin{alignedat}}}
1631 {\HCode{\string\end{alignedat}}}
1632 {}
1633 {\HCode{\string\\}}
1634 {\ifnum \HCol>1\HCode{\a:math:amp}\fi} {}
1635
1636 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1637
1638 \endinput\empty\empty\empty\empty\empty\empty
1639 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1640
1641
1642 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1643 \ConfigureHinput{amsfonts}
1644 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1645 \Configure{mathbb}{}{}
1646 \Configure{mathfrak}{}{}
1647
1648 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1649
1650 \endinput\empty\empty\empty\empty\empty\empty
1651 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1652
1653 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1654 \ConfigureHinput{amstext}
1655 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1656 \Configure{text}{\AA:text{text}}{\BB:text}
1657
1658 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1659
1660 \endinput\empty\empty\empty\empty\empty\empty
1661 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1662
1663 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1664 \ConfigureHinput{amstex1}
1665 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1666 % amstex.sty
1667 \Configure{underarrow@}
1668 {\Tg<munder>\Tg<mrow\Hnewline>}
1669 {\Tg</mrow>\Tg<mrow\Hnewline>}
1670 {\Tg</mrow>\Tg</munder>}
1671 \Configure{overarrow@}
1672 {\Tg<mover accent="true">\Tg<mrow\Hnewline>}
1673 {\Tg</mrow>\Tg<mrow>}
1674 {\Tg</mrow>\Tg</mover-5>}
1675 \def\:tempc#1#2#3{\a:overarrow@
1676 \hbox{$\m@th#2#3$}\b:overarrow@
1677 \hbox{#1#2}\c:overarrow@
1678 }
1679 \HLet\overarrow@\:tempc
1680
1681 \Configure{mfenced}{\lvert}{\string\lvert}
1682 \Configure{mfenced}{\rvert}{\string\rvert}
1683 \Configure{mfenced}{\lVert}{\string\lVert}
1684 \Configure{mfenced}{\rVert}{\string\rVert}
1685 \ConfigureEnv{aligned}{}{}{}{}
1686 \Configure{aligned}
1687 {\HCode{<mtable\Hnewline \mml:class="aligned">}}
1688 {\HCode{</mtable>}}
1689 {\HCode{<mtr\Hnewline>}} {\HCode{</mtr>}}
1690 {\HCode{<mtd>}} {\HCode{</mtd>}}
1691
1692
1693 \def\varinjlim{{\underrightarrow\lim}}
1694 \def\varprojlim{{\underleftarrow\lim}}
1695 \def\varlimsup{{\overline\lim}}
1696 \def\varliminf{{\underline\lim}}
1697 \def\:tempc#1#2#3{\hbox{{\mtexttrue
1698 \HCode{<mrow\Hnewline
1699 \mml:class="text"><mtext
1700 \a:@mtext>}\ht:special{t4ht@,&\#x00A0;}%
1701 \ht:special{t4ht@, }%
1702 \PauseMathClass
1703 \Configure{$}{\EndPauseMathClass\mtextfalse
1704 \ht:special{t4ht@,}%
1705 \HCode{</mtext><\a:mathltx
1706 mrow\Hnewline \mml:class="math">}}
1707 {\ht:special{t4ht@,&\#x00A0;}%
1708 \ht:special{t4ht@, }%
1709 \HCode{</mrow><mtext
1710 \a:@mtext>}\mtexttrue\PauseMathClass}{#1}
1711 \let\f@size#2\selectfont #3}%
1712 \mtextfalse \EndPauseMathClass \ht:special{t4ht@,}%
1713 \HCode
1714 {</mtext></mrow>}}}
1715 \HLet\textdef@\:tempc
1716
1717 \ifx \o:overrightarrow:\:UnDef\else
1718 \HRestore\overrightarrow
1719 \HRestore\overleftarrow
1720 \HRestore\overleftrightarrow
1721 \fi
1722
1723 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1724
1725 \endinput\empty\empty\empty\empty\empty\empty
1726 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1727
1728
1729 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1730 \ConfigureHinput{amstex}
1731 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1732 % amstex.tex
1733 \def\m:env#1{\HCode{<mtable
1734 \mml:class="#1"><mtr><mtd>}%
1735 \def\endm:env{\HCode
1736 {</mtd></mtr></mtable>}}}
1737
1738 \Configure{pmatrix}
1739 {\bgroup\m:env{pmatrix}}
1740 {\endm:env\egroup}
1741 \Configure{multline}
1742 {\HCode{<mtable\mml:class="multline">}} {\HCode{</mtable>}}
1743 {\HCode{<mtr\Hnewline\mml:class="multline"><mtd>}}{\HCode{</mtd></mtr>}}
1744 \Configure{smallmatrix}
1745 {\HCode{<mtable\mml:class="smallmatrix">}}
1746 {\HCode{</mtable>}}
1747 {\HCode{<mtr\Hnewline\mml:class="smallmatrix">}}
1748 {\HCode{</mtr>}}
1749 {\HCode{<mtd\Hnewline\mml:class="smallmatrix">}}
1750 {\HCode{</mtd>}}
1751 \Configure{bmatrix}
1752 {\bgroup\m:env{bmatrix}}
1753 {\endm:env\egroup}
1754 \Configure{vmatrix}{\bgroup\m:env{vmatrix}}{\endm:env\egroup}
1755 \Configure{Vmatrix}{\bgroup\m:env{Vmatrix}}{\endm:env\egroup}
1756 \Configure{aligned}
1757 {\HCode{<mtable\mml:class="aligned">}}
1758 {\HCode{</mtable>}}
1759 {\HCode{<mtr\Hnewline\mml:class="aligned">}}
1760 {\HCode{</mtr>}}
1761 {\HCode{<mtd\Hnewline\mml:class="aligned">}}
1762 {\HCode{</mtd>}}
1763 \Configure{xalignat}
1764 {\HCode{<mtable\mml:class="xalignat">}}
1765 {\HCode{</mtable>}}
1766 {\HCode{<mtr\Hnewline \mml:class="xalignat">}}
1767 {\HCode{</mtr>}}
1768 {\HCode{<mtd\Hnewline \mml:class="xalignat">}}
1769 {\HCode{</mtd>}}
1770 \Configure{xxalignat}
1771 {\HCode{<mtable \mml:class="xxalignat">}}
1772 {\HCode{</mtable>}}
1773 {\HCode{<mtr\Hnewline \mml:class="xxalignat">}}
1774 {\HCode{</mtr>}}
1775 {\HCode{<mtd\Hnewline \mml:class="xxalignat">}}
1776 {\HCode{</mtd>}}
1777 \Configure{alignedat}
1778 {\HCode{<mtable \mml:class="alignedat">}}
1779 {\HCode{</mtable>}}
1780 {\HCode{<mtr\Hnewline \mml:class="alignedat">}}
1781 {\HCode{</mtr>}}
1782 {\HCode{<mtd\Hnewline \mml:class="alignedat">}}
1783 {\HCode{</mtd>}}
1784 \Configure{gathered}
1785 {\HCode{<mtable \mml:class="gathered">}}
1786 {\HCode{</mtable>}}
1787 {\HCode{<mtr\Hnewline \mml:class="gathered">}}
1788 {\HCode{</mtr>}}
1789 {\HCode{<mtd\Hnewline \mml:class="gathered">}}
1790 {\HCode{</mtd>}}
1791 \NewConfigure{@mtext}{1}
1792 \Configure{@mtext}{\string\text}
1793 \def\AA:text#1{\mtexttrue
1794 \HCode{\a:@mtext\l:brace}\ht:special{t4ht@,&\#x00A0;}%
1795 \ht:special{t4ht@, }%
1796 \PauseMathClass
1797 \Configure{$}%
1798 {\EndPauseMathClass \mtextfalse
1799 \ht:special{t4ht@,}%
1800 \HCode{\string$}}%
1801 {\HCode{\string$}\ht:special{t4ht@,&\#x00A0;}%
1802 \ht:special{t4ht@, }%
1803 \PauseMathClass \mtexttrue}%
1804 {}%
1805 %
1806 }
1807 \def\BB:text{\mtextfalse\EndPauseMathClass\ht:special{t4ht@,}%
1808 \HCode
1809 {\r:brace}%
1810 }
1811
1812 \Configure{text}{\AA:text{text}}{\BB:text}
1813 \Configure{format}
1814 {\HCode{<mtable \mml:class="format">}}
1815 {\HCode{</mtable>}}
1816 {\HCode{<mtr\Hnewline \mml:class="format">}}
1817 {\HCode{</mtr>}}
1818 {\HCode{<mtd\Hnewline \mml:class="format">}}
1819 {\HCode{</mtd>}}
1820 \Configure{multilimits}
1821 {\HCode{<mtable\Hnewline \mml:class="multilimits">}}
1822 {\HCode{</mtable>}}
1823 {\HCode{<mtr><mtd\Hnewline>}}
1824 {\HCode{</mtd></mtr>}}
1825 \Configure{smallmatrix}
1826 {\HCode{<mtable\Hnewline \mml:class="smallmatrix">}}
1827 {\HCode{</mtable>}}
1828 {\HCode{<mtr>}}
1829 {\HCode{</mtr>}}
1830 {\HCode{<mtd\Hnewline>}}
1831 {\HCode{</mtd>}}
1832 \Configure{matrix}
1833 {\HCode{<mtable\Hnewline \mml:class="matrix">}}
1834 {\HCode{</mtable>}}
1835 {\HCode{<mtr\Hnewline>}} {\HCode{</mtr>}}
1836 {\HCode{\HCode{\ifnum \HCol>1 \a:math:amp\fi
1837 \ifnum 1<\HMultispan
1838 \string\multicolumn\l:brace\HMultispan\r:brace \fi}%
1839 }} {\HCode{</mtd>}}
1840 \Configure{pmatrix}{\Tg<mrow \mml:class="pmatrix">}
1841 {\Tg</mrow>}
1842 \Configure{align}
1843 {\HCode{<mtable\Hnewline \mml:class="align">}}
1844 {\HCode{</mtable>}}
1845 {\HCode{<mtr\Hnewline>}} {\HCode{</mtr>}}
1846 {\HCode{<mtd>}} {\HCode{</mtd>}}
1847 \Configure{aligned}
1848 {\HCode{<mtable\Hnewline \mml:class="aligned">}}
1849 {\HCode{</mtable>}}
1850 {\HCode{<mtr\Hnewline>}} {\HCode{</mtr>}}
1851 {\HCode{<mtd>}} {\HCode{</mtd>}}
1852 \Configure{cases}
1853 {\Tg<mrow \mml:class="cases">}
1854 {\Tg</mrow>}
1855 \Configure{alignat}
1856 {\HCode{<mtable \mml:class="alignat">}}
1857 {\HCode{</mtable>}}
1858 {\HCode{<mtr\Hnewline \mml:class="alignat">}}
1859 {\HCode{</mtr>}}
1860 {\HCode{<mtd\Hnewline \mml:class="alignat">}}
1861 {\HCode{</mtd>}}
1862 \Configure{gather}
1863 {\HCode{<mtable \mml:class="gather">}}
1864 {\HCode{</mtable>}}
1865 {\HCode{<mtr\Hnewline \mml:class="gather">}}
1866 {\HCode{</mtr>}}
1867 {\HCode{<mtd\Hnewline \mml:class="gather">}}
1868 {\HCode{</mtd>}}
1869
1870
1871 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1872
1873 \endinput\empty\empty\empty\empty\empty\empty
1874 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1875
1876
1877
1878
1879 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1880 \ConfigureHinput{plain}
1881 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1882 \:CheckOption{core}\if:Option \expandafter\endinput \fi
1883 \Configure{eqalign}
1884 {\HCode{<mtable \mml:class="eqalign">}}
1885 {\HCode{</mtable>}}
1886 {\HCode{<mtr \Hnewline \mml:class="eqalign">}}
1887 {\IgnorePar\HCode{</mtr>}}
1888 {\HCode{\ifnum \HCol=3 <mtd\Hnewline
1889 \mml:class="eqalign3"></mtd>\fi
1890 <mtd \Hnewline \mml:class="eqalign\HCol">}}
1891 {\HCode{</mtd>}}
1892 \Configure{overline}
1893 {\bgroup \HCode{\string\overline\l:brace}%
1894 }
1895 {\HCode{\r:brace}%
1896 \egroup}
1897 \Configure{underline}
1898 {\bgroup \ifmmode \HCode{\string\underline\l:brace}%
1899 \else
1900 \expandafter\everymath
1901 \expandafter{\expandafter\everymath
1902 \expandafter{\the\everymath}}%
1903 \let\o::@underline:\o:@@underline:
1904 \def\o:@@underline:{\let\o:@@underline:\o::@underline:}%
1905 \fi}
1906 {\HCode{\r:brace}%
1907 \egroup}
1908
1909
1910 \Configure{eqalignno}
1911 {\HCode{<mtable \mml:class="eqalignno">}}
1912 {\HCode{</mtable>}}
1913 {\HCode{<mtr\Hnewline \mml:class="eqalignno">}}
1914 {\HCode{</mtr>}}
1915 {\HCode{<mtd \Hnewline \mml:class="eqalignno-\HCol">}}
1916 {\HCode{</mtd>}}
1917 \def\:eqalignno:{\Configure{noalign}
1918 {\HCode{<mtr><mtd \mml:class="noalign" colspan="2">}}%
1919 {\HCode{</mtd></mtr>}}}
1920 \Configure{leqalignno}
1921 {\HCode{<mtable \mml:class="leqalignno">}}
1922 {\HCode{</mtable>}}
1923 {\HCode{<mtr\Hnewline \mml:class="leqalignno">}}
1924 {\HCode{</mtr>}}
1925 {\HCode{<mtd \Hnewline \mml:class="leqalignno-\HCol">}}
1926 {\HCode{</mtd>}}
1927 \def\:leqalignno:{\Configure{noalign}
1928 {\HCode{<mtr><mtd \mml:class="noalign" colspan="2">}}%
1929 {\HCode{</mtd></mtr>}}}
1930
1931 \expandafter\ifx \csname o@everypar\endcsname\relax \else
1932 \expandafter\ifx \csname ht:everypar\endcsname\relax
1933 \let\ht:everypar\o@everypar
1934 \fi\fi
1935
1936 \Configure{MathClass}{1}{}{}{}{
1937 \mathchar"1360
1938 \mathchar"1357
1939 \mathchar"1356
1940 \mathchar"1355
1941 \mathchar"1354
1942 \mathchar"1353
1943 \mathchar"1352
1944 \mathchar"1351
1945 \mathchar"1350
1946 \mathchar"134E
1947 \mathchar"134C
1948 \mathchar"134A
1949 \mathchar"1348
1950 \mathchar"1346
1951 \mathchar"1273
1952 \mathchar"3234
1953 \mathchar"3238
1954 \mathchar"3239
1955 \mathchar"323A
1956 \mathchar"323E
1957 \mathchar"323F
1958 \mathchar"3272
1959 \mathchar"3278
1960 \mathchar"327B
1961 \mathchar"327C
1962 \mathchar"327D
1963 \mathchar"327E
1964 \mathchar"327F
1965 %
1966 }
1967 \Configure{MathClass}{2}{}{}{}{
1968 *-+/
1969 \mathchar"212F
1970 \mathchar"212E
1971 \mathchar"2234
1972 \mathchar"2235
1973 \mathchar"225E
1974 \mathchar"225F
1975 \mathchar"225C
1976 \mathchar"225B
1977 \mathchar"227A
1978 \mathchar"2279
1979 \mathchar"2275
1980 \mathchar"2274
1981 \mathchar"225D
1982 \mathchar"2271
1983 \mathchar"2205
1984 \mathchar"220F
1985 \mathchar"226F
1986 \mathchar"2204
1987 \mathchar"220C
1988 \mathchar"220B
1989 \mathchar"220A
1990 \mathchar"2209
1991 \mathchar"2208
1992 \mathchar"2207
1993 \mathchar"2206
1994 \mathchar"220E
1995 \mathchar"220D
1996 \mathchar"226E
1997 \mathchar"2201
1998 \mathchar"2203
1999 \mathchar"2202
2000 \mathchar"213F
2001 }
2002 \Configure{MathClass}{3}{}{}{}{
2003 \mathchar"3128
2004 \mathchar"3129
2005 \mathchar"312A
2006 \mathchar"312B
2007 \mathchar"315E
2008 \mathchar"315F
2009 \mathchar"3210
2010 \mathchar"3211
2011 \mathchar"3212
2012 \mathchar"3213
2013 \mathchar"3214
2014 \mathchar"3215
2015 \mathchar"3216
2016 \mathchar"3217
2017 \mathchar"3218
2018 \mathchar"3219
2019 \mathchar"321A
2020 \mathchar"321B
2021 \mathchar"321C
2022 \mathchar"321D
2023 \mathchar"321E
2024 \mathchar"321F
2025 \mathchar"3220
2026 \mathchar"3221
2027 \mathchar"3224
2028 \mathchar"3227
2029 \mathchar"3232
2030 \mathchar"3233
2031 \mathchar"3236
2032 \mathchar"3237
2033 \mathchar"323F
2034 :=><
2035 \mathchar"322F
2036 \mathchar"3276
2037 \mathchar"3277
2038 \mathchar"326B
2039 \mathchar"326A
2040 \mathchar"3261
2041 \mathchar"3260
2042 \mathchar"3225
2043 \mathchar"3226
2044 \mathchar"322D
2045 \mathchar"322E
2046 \mathchar"322C
2047 \mathchar"3228
2048 \mathchar"3229
2049 }
2050 \Configure{MathClass}{4}{}{}{}{}
2051 \Configure{MathDelimiters}{(}{)}
2052 \Configure{MathDelimiters}{[}{]}
2053 \Configure{MathDelimiters}{\mathchar"4262}{\mathchar"5263}
2054 \Configure{MathDelimiters}{\mathchar"4264}{\mathchar"5265}
2055 \Configure{MathDelimiters}{\mathchar"4266}{\mathchar"5267}
2056 \Configure{MathDelimiters}{\mathchar"4268}{\mathchar"5269}
2057 \Configure{MathDelimiters}{\mathchar"4300}{\mathchar"5301}
2058 \Configure{MathDelimiters}{\mathchar"4302}{\mathchar"5303}
2059 \Configure{MathDelimiters}{\mathchar"4304}{\mathchar"5305}
2060 \Configure{MathDelimiters}{\mathchar"4306}{\mathchar"5307}
2061 \Configure{MathDelimiters}{\mathchar"4308}{\mathchar"5309}
2062 \Configure{MathDelimiters}{\mathchar"430A}{\mathchar"530B}
2063 \Configure{MathClass}{6}{}{}{}{
2064 \mathchar"613A % ldot
2065 \mathchar"6201 % cdot
2066 \mathchar"603A % colon
2067 ?; ,
2068 }
2069
2070 \Configure{overrightarrow}
2071 {\HCode{\string\overrightarrow\l:brace}\:gobble}
2072 {\HCode{\r:brace}}
2073 \Configure{overleftarrow}
2074 {\HCode{\string\overleftarrow\l:brace}\:gobble}
2075 {\HCode{\r:brace}}
2076 \def\:tempc#1{{\HCode{\string\big\string{}\string#1\HCode{\string}}}}
2077 \HLet\big=\:tempc
2078 \def\:tempc#1{{\HCode{\string\Big\string{}\string#1\HCode{\string}}}}
2079 \HLet\Big=\:tempc
2080 \def\:tempc#1{{\HCode{\string\bigg\string{}\string#1\HCode{\string}}}}
2081 \HLet\bigg=\:tempc
2082 \def\:tempc#1{{\HCode{\string\Bigg\string{}\string #1\HCode{\string}}}}
2083 \HLet\Bigg=\:tempc
2084 \Configure{overbrace}
2085 {\Configure{mathop*}{*}
2086 {\string\overbrace\l:brace}
2087 {\r:brace}
2088 {\Configure{mathop}{}{}{}{}}%
2089 }
2090 {\let\o:overbrace:=\displaystyle}
2091 {}
2092 \Configure{underbrace}
2093 {\Configure{mathop*}{*}
2094 {\string\underbrace\l:brace}
2095 {\r:brace}
2096 {\Configure{mathop}{}{}{}{}}%
2097 }
2098 {\let\o:underbrace:=\displaystyle}
2099 {}
2100 % \Configure{MathClass}{0}{*}{<mi\Hnewline>}{</mi>}{}
2101 \Configure{MathClass}{1}{*}{\string\mathop\l:brace}{\r:brace}{}
2102 % \Configure{MathClass}{2}{*}{<mo\Hnewline
2103 % \mml:class="MathClass-bin">}{</mo>}{}
2104 % \Configure{MathClass}{3}{*}{<mo\Hnewline
2105 % \mml:class="MathClass-rel">}{</mo>}{}
2106 \:CheckOption{mathltx-} \if:Option
2107 \Configure{MathClass}{4}{*}{}{}{}
2108 \Configure{MathClass}{5}{*}{}{}{}
2109 \else
2110 \Log:Note{for sources failing to produce
2111 clean mathltx code, try the command line option `mathltx-'}%
2112 \fi
2113
2114 %\Configure{MathClass}{6}{*}{<mo\Hnewline
2115 % \mml:class="MathClass-punc">}{</mo>}{}
2116 % \Configure{MathClass}{7}{*}{<mn>}{</mn>}
2117 % {0123456789}
2118 \Configure{FormulaClass}{0}{}{}{}
2119 \Configure{FormulaClass}{1}{}{}{}
2120 \Configure{FormulaClass}{2}{}{}{}
2121 \Configure{FormulaClass}{3}{}{}{}
2122 \Configure{FormulaClass}{4}{}{}{}
2123 \Configure{FormulaClass}{5}{}{}{}
2124 \Configure{FormulaClass}{6}{}{}{}
2125
2126
2127
2128 \let\A:displaylines\a:displaylines
2129 \let\B:displaylines\b:displaylines
2130 \let\C:displaylines\c:displaylines
2131 \let\D:displaylines\d:displaylines
2132 \Configure{displaylines}
2133 {\ifmmode
2134 \def\A:displaylines{\HCode{<mtable
2135 \mml:class="displaylines">}}%
2136 \def\B:displaylines{\HCode{</mtable>}}%
2137 \def\C:displaylines{\HCode{<mtr\Hnewline
2138 \mml:class="displaylines"><mtd>}}%
2139 \def\D:displaylines{\HCode{</mtd></mtr>}}%
2140 \fi
2141 \A:displaylines}
2142 {\B:displaylines} {\C:displaylines}{\D:displaylines}
2143 \let\mathltx:on\relax
2144 \Configure{ }
2145 {\ifmathltx \ifmtext \space \else\HCode{\string\ }\fi
2146 \else \:nbsp\fi}
2147 \def\:tempc#1{\HCode{\string\widehat\l:brace}#1\HCode{\r:brace}}
2148 \HLet\widehat=\:tempc
2149 \def\:tempc#1{\HCode{\string\widetilde\l:brace}#1\HCode{\r:brace}}
2150 \HLet\widetilde=\:tempc
2151 \:CheckOption{new-accents} \if:Option \else
2152 \ifx \mathltx:on\:UnDef
2153 \Configure{accents}
2154 {\ifmmode \expandafter\mathord\fi
2155 {\leavevmode
2156 \if !#1!\ht:special{t4ht@+&{35}x#2;}%
2157 \else \expandafter \ifx\csname U#2#1\endcsname\relax
2158 \ht:special{t4ht@+&{35}x#2;}%
2159 \else
2160 \ht:special{t4ht@+&{35}x\csname U#2#1\endcsname;}%
2161 \fi \fi x%
2162 %
2163 \ht:special{t4ht@[}\if!#1!x\else#2\fi\ht:special{t4ht@]}}}
2164 {\Tg<mrow
2165 \mml:class="accent#1">\mathord{#3}\Tg</mrow>%
2166 }%
2167 \fi
2168 \fi
2169 \let\mml:TeX\TeX
2170 \def\TeX{\ifmathltx
2171 \HCode{<mtext
2172 \mml:class="TeX">TeX</mtext>}\else \mml:TeX\fi}
2173 \Configure{'}
2174 {\let\:primes=\empty}
2175 {\def\:tempa{\prime\prime}\ifx \:tempa\:primes
2176 \HCode{''}\else
2177 \def\:tempa{\prime\prime\prime}\ifx \:tempa\:primes
2178 \HCode{'''}\else
2179 \HCode{\:primes}\fi\fi
2180 }
2181 {\xdef\:primes{\:primes'}}
2182 \def\left#1{\bgroup \a:left{#1}\b:left{#1}}
2183 \def\right#1{\a:right{#1}\b:right{#1}\egroup}
2184 \Configure{left}
2185 {}
2186 {\HCode{\string\left\space}#1\bgroup}
2187 \Configure{right}
2188 {\egroup\HCode{\string\right\space}#1}
2189 {}
2190 \def\{{{\HCode{\back:slash\l:brace}}}
2191 \def\}{{\HCode{\back:slash\r:brace}}}
2192 \let\lbrace\{
2193 \let\rbrace\}
2194 \def\def:DEL#1{\def\:DEL{#1}}
2195 \def\check:DEL#1#2{\def\:tempa{#1}\ifx \:tempa\:DEL \def\:DEL{#2}\fi}
2196 \NewConfigure{mfenced}[2]{\append:defI\def:DEL{\check:DEL{#1}{#2}}}
2197 \def\:tempc#1{\HCode{\l:brace\string\bigl\space\string#1}}
2198 \HLet\bigl=\:tempc
2199 \def\:tempc#1{\HCode{\string\bigm\space\string#1}}
2200 \HLet\bigm=\:tempc
2201 \def\:tempc#1{\HCode{\string\bigr\space\string #1\r:brace}}
2202 \HLet\bigr=\:tempc
2203 \def\:tempc#1{\HCode{\l:brace\string\Bigl\space\string#1}}
2204 \HLet\Bigl=\:tempc
2205 \def\:tempc#1{\HCode{\string\Bigm\space\string#1}}
2206 \HLet\Bigm=\:tempc
2207 \def\:tempc#1{\HCode{\string\Bigr\space\string #1\r:brace}}
2208 \HLet\Bigr=\:tempc
2209 \def\:tempc#1{\HCode{\l:brace\string\biggl\space\string#1}}
2210 \HLet\biggl=\:tempc
2211 \def\:tempc#1{\HCode{\string\biggm\space\string#1}}
2212 \HLet\biggm=\:tempc
2213 \def\:tempc#1{\HCode{\string\biggr\space\string #1\r:brace}}
2214 \HLet\biggr=\:tempc
2215 \def\:tempc#1{\HCode{\l:brace\string\Biggl\space\string#1}}
2216 \HLet\Biggl=\:tempc
2217 \def\:tempc#1{\HCode{\string\Biggm\space\string#1}}
2218 \HLet\Biggm=\:tempc
2219 \def\:tempc#1{\HCode{\string\Biggr\space\string #1\r:brace}}
2220 \HLet\Biggr=\:tempc
2221
2222 \:CheckOption{new-accents} \if:Option \else
2223
2224 \Configure{accents}
2225 {\ifmmode \expandafter\mathord\fi
2226 {\leavevmode
2227 \if !#1!\ht:special{t4ht@+&{35}x#2;}%
2228 \else \expandafter \ifx\csname U#2#1\endcsname\relax
2229 \ht:special{t4ht@+&{35}x#2;}%
2230 \else
2231 \ht:special{t4ht@+&{35}x\csname U#2#1\endcsname;}%
2232 \fi \fi x%
2233 %
2234 \ht:special{t4ht@[}\if!#1!x\else#2\fi
2235 \ht:special{t4ht@]}}}
2236 {\ifmathltx
2237 \ifmtext \expandafter\ifx \csname :#1:over\endcsname\relax
2238 \expandafter\ifx \csname :#1:under\endcsname\relax
2239 \AccentMath{\expandafter\ifx \csname :#1:over\endcsname\relax
2240 \HCode{<munder\Hnewline
2241 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
2242 \csname :#1:under\endcsname
2243 \HCode{</munder>}%
2244 %
2245 \else \expandafter\ifx \csname :#1:under\endcsname\relax
2246 \HCode{<mover\Hnewline
2247 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
2248 \csname :#1:over\endcsname
2249 \HCode{</mover-1>}%
2250 %
2251 \else
2252 \HCode{<munderover-3\Hnewline
2253 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
2254 \csname :#1:under\endcsname
2255 \csname :#1:over\endcsname
2256 \HCode{</munderover>}%
2257 %
2258 \fi \fi
2259 }%
2260 \else #3\csname :#1:under\endcsname \fi
2261 \else #3\csname :#1:over\endcsname \fi
2262 %
2263 \else \AccentMath{\expandafter\ifx \csname :#1:over\endcsname\relax
2264 \HCode{<munder\Hnewline
2265 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
2266 \csname :#1:under\endcsname
2267 \HCode{</munder>}%
2268 %
2269 \else \expandafter\ifx \csname :#1:under\endcsname\relax
2270 \HCode{<mover\Hnewline
2271 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
2272 \csname :#1:over\endcsname
2273 \HCode{</mover-1>}%
2274 %
2275 \else
2276 \HCode{<munderover-3\Hnewline
2277 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
2278 \csname :#1:under\endcsname
2279 \csname :#1:over\endcsname
2280 \HCode{</munderover>}%
2281 %
2282 \fi \fi
2283 }\fi
2284 \else \expandafter\ifx \csname :#1:over\endcsname\relax
2285 \expandafter\ifx \csname :#1:under\endcsname\relax
2286 \AccentMath{\expandafter\ifx \csname :#1:over\endcsname\relax
2287 \HCode{<munder\Hnewline
2288 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
2289 \csname :#1:under\endcsname
2290 \HCode{</munder>}%
2291 %
2292 \else \expandafter\ifx \csname :#1:under\endcsname\relax
2293 \HCode{<mover\Hnewline
2294 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
2295 \csname :#1:over\endcsname
2296 \HCode{</mover-1>}%
2297 %
2298 \else
2299 \HCode{<munderover-3\Hnewline
2300 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
2301 \csname :#1:under\endcsname
2302 \csname :#1:over\endcsname
2303 \HCode{</munderover>}%
2304 %
2305 \fi \fi
2306 }%
2307 \else #3\csname :#1:under\endcsname \fi
2308 \else #3\csname :#1:over\endcsname \fi
2309 \fi
2310 }
2311
2312 \fi
2313 \def\mathinner#1{\HCode{\string\mathinner\l:brace}#1\HCode{\r:brace}}
2314 \Configure{root}{\rev:root}{}{}
2315 \def\rev:root #1\b:root#2\c:root{%
2316 \HCode{\string\root\l:brace}{#1}%
2317 {\HCode{\r:brace\string \of\l:brace}#2}\HCode{\r:brace}}
2318 \def\AccentMath#1{\relax\ifmmode #1\else $#1$\fi}
2319 \NewConfigure{mfenced}[2]{\expandafter
2320 \def\csname \string#1:lr del\endcsname{#2}}
2321 \Configure{mfenced}{\|}{\string&\#x2225;}
2322 \Configure{mfenced}{.}{}
2323 \Configure{mfenced}{\langle}{\string&\#x27E8;}
2324 \Configure{mfenced}{\rangle}{\string&\#x27E9;}
2325 \Configure{mfenced}{\vert}{|}
2326 \edef\:temp{\noexpand\Configure{mfenced}{\noexpand\{}{\string\{}}\:temp
2327 \edef\:temp{\noexpand\Configure{mfenced}{\noexpand\}}{\string\}}}\:temp
2328 \edef\:temp{\noexpand
2329 \Configure{mfenced}{\noexpand\lbrace}{\string\lbrace}}\:temp
2330 \edef\:temp{\noexpand
2331 \Configure{mfenced}{\noexpand\rbrace}{\string\rbrace}}\:temp
2332 \Configure{mfenced}{<}{\string&\#x003C;}
2333 \Configure{mfenced}{>}{\string&\#x003E;}
2334 \Configure{mfenced}{\lceil}{\string&\#x2308;}
2335 \Configure{mfenced}{\rceil}{\string&\#x2309;}
2336 \Configure{mfenced}{\lfloor}{\string&\#x230A;}
2337 \Configure{mfenced}{\rfloor}{\string&\#x230B;}
2338 \Configure{mfenced}{\Vert}{\string&\#x2225;}
2339 \Configure{mfenced}{\rgroup}{)}
2340 \Configure{mfenced}{\lgroup}{(}
2341 \Configure{mfenced}{\bracevert}{|}
2342 \Configure{mfenced}{\bracevert}{|}
2343 \Configure{mfenced}{\downarrow}{\string&\#x2193;}
2344 \Configure{mfenced}{\uparrow}{\string&\#x2191;}
2345 \Configure{mfenced}{\Uparrow}{\string&\#x21D1;}
2346 \Configure{mfenced}{\updownarrow}{\string&\#x2195;}
2347 \Configure{mfenced}{\Updownarrow}{\string&\#x21D5;}
2348 \Configure{mfenced}{\Downarrow}{\string&\#x21D3;}
2349 \Configure{mfenced}{\backslash}{\string&\#x2216;}
2350 \Configure{mfenced}{\rmoustache}{\string&\#x25DD;}
2351 \Configure{mfenced}{\lmoustache}{\string&\#x25DC;}
2352 \Configure{mfenced}{\Arrowvert}{\string&\#x2225;}
2353 \Configure{mfenced}{\arrowvert}{\string&\#x007C;}
2354
2355 \let\A:oalign\a:oalign
2356 \let\B:oalign\b:oalign
2357 \Configure{oalign}
2358 {\ifmmode \Configure{$}{\Tg<mrow\Hnewline>}{\Tg</mrow>}{}%
2359 \let\halign\TeXhalign
2360 \Tg<mrow\Hnewline \mml:class="oalign">\else\A:oalign
2361 \fi}
2362 {\ifmmode \Tg</mrow>\else\B:oalign\fi}
2363 \def\mathop:prefix#1{%
2364 \Configure{mathop}{*}{}{}%
2365 {\Configure{mathop}{*}{\string\mathop\l:brace}{\r:brace}{}}}
2366 \def\:nbsp{\ifmtext \leavevmode\special{t4ht@+\string&{35}x00A0{59}}x%
2367 \else\ifmathltx
2368 \Tg<mspace />\else \leavevmode\special{t4ht@+\string&{35}x00A0{59}}x%
2369 \fi\fi}
2370 \Configure{cases}
2371 {}{}
2372 {\HCode{\string\cases\l:brace}}
2373 {\ifvmode \IgnorePar\fi \HCode{\r:brace}}
2374 {\ifnum \HRow>1 \HCode{\string\cr\space}\fi}
2375 {}
2376 {\HCode{\ifnum \HCol>1 \a:math:amp\fi
2377 \ifnum 1<\HMultispan
2378 \string\multicolumn\l:brace\HMultispan\r:brace \fi}%
2379 }
2380 {}
2381 \Configure{matrix}
2382 {\HCode{\string\matrix\l:brace}}
2383 {\HCode{\r:brace}}
2384 {\ifnum \HRow>1 \HCode{\string\cr\space}\fi}
2385 {}
2386 {\HCode{\ifnum \HCol>1 \a:math:amp\fi
2387 \ifnum 1<\HMultispan
2388 \string\multicolumn\l:brace\HMultispan\r:brace \fi}%
2389 }
2390 {}
2391 \Configure{pmatrix} {\bgroup} {\egroup}
2392 \Configure{quad}{{\ifmathltx \ifmtext \o:quad:\else
2393 {\HCode{\string\quad\space}}\fi
2394 \else \o:quad: \fi}}
2395 \Configure{qquad}{{\ifmathltx \ifmtext \o:qquad:\else
2396 {\HCode{\string\qquad\space}}\fi
2397 \else \o:qquad: \fi}}
2398 \Configure{,}
2399 {{\HCode{\string\,}}}
2400
2401
2402 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2403
2404 \endinput\empty\empty\empty\empty\empty\empty
2405 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2406
2407
2408 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2409 \ConfigureHinput{amsopn}
2410 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2411 \def\varinjlim{{\underrightarrow\lim}}
2412 \def\varprojlim{{\underleftarrow\lim}}
2413 \def\varlimsup{{\overline\lim}}
2414 \def\varliminf{{\underline\lim}}
2415 \def\:tempc#1#2#3{\hbox{{\mtexttrue
2416 \HCode{<mrow\Hnewline
2417 \mml:class="text"><mtext
2418 \a:@mtext>}\ht:special{t4ht@,&\#x00A0;}%
2419 \ht:special{t4ht@, }%
2420 \PauseMathClass
2421 \Configure{$}{\EndPauseMathClass\mtextfalse
2422 \ht:special{t4ht@,}%
2423 \HCode{</mtext><\a:mathltx
2424 mrow\Hnewline \mml:class="math">}}
2425 {\ht:special{t4ht@,&\#x00A0;}%
2426 \ht:special{t4ht@, }%
2427 \HCode{</mrow><mtext
2428 \a:@mtext>}\mtexttrue\PauseMathClass}{#1}
2429 \let\f@size#2\selectfont #3}%
2430 \mtextfalse \EndPauseMathClass \ht:special{t4ht@,}%
2431 \HCode
2432 {</mtext></mrow>}}}
2433 \HLet\textdef@\:tempc
2434
2435 \def\:tempc{\qopname\relax m{lim inf}}
2436 \HLet\liminf=\:tempc
2437 \def\:tempc{\qopname\relax m{lim sup}}
2438 \HLet\limsup=\:tempc
2439 \def\:tempc{\qopname\relax m{proj lim}}
2440 \HLet\projlim=\:tempc
2441 \def\:tempc{\qopname\relax m{inj lim}}
2442 \HLet\injlim=\:tempc
2443 \Configure{qopname}
2444 {\Configure{mathop}{*}
2445 {\string\mathop\l:brace}
2446 {\r:brace}
2447 {}}
2448
2449 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2450
2451 \endinput\empty\empty\empty\empty\empty\empty
2452 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2475 \ConfigureHinput{array}
2476 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2477 \Configure{halignTB<>}{array}{\HCode{\Hnewline
2478 equalrows="false"
2479 equalcolumns="false" class="array"}<>\HAlign}
2480 \Configure{array}
2481 {\expandafter\tmp:toks\expandafter{\Clr}%
2482 \HCode{\string\begin{array}{\the\tmp:toks}\Hnewline}}
2483 {\ifvmode \IgnorePar\fi \HCode{\string\end{array}}}
2484 {\ifnum \HRow> 1\HCode{\string\\\Hnewline}\fi}
2485 {}
2486 {\HCode{\ifnum \HCol>1 \a:math:amp\fi
2487 \ifnum 1<\HMultispan
2488 \string\multicolumn\l:brace\HMultispan\r:brace \fi}%
2489 }
2490 {}
2491 \ConfigureEnv{array}
2492 {\bgroup\Configure{$}{}{}{}}
2493 {\egroup}
2494 {}{}
2495
2496
2497 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2498
2499 \endinput\empty\empty\empty\empty\empty\empty
2500 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2542 \ConfigureHinput{vanilla}
2543 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2544 \Configure{align}
2545 {\EndP\HCode{<mtable\Hnewline \mml:class="align">}}
2546 {\HCode{</mtable>}}
2547 {\HCode{<mtr>}} {\HCode{</mtr>}}
2548 {\HCode{<mtd>}} {\HCode{</mtd>}}
2549
2550
2551 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2552
2553 \endinput\empty\empty\empty\empty\empty\empty
2554 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2576 \ConfigureHinput{amssymb}
2577 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2578 \def\:tempa#1"#2#3///{\Configure{MathClass}{#2}}
2579 \def\:temp#1{\:tempa#1///{}{}{}{#1}}
2580 \:temp{\mathchar"2400}
2581 \:temp{\mathchar"2401}
2582 \:temp{\mathchar"2402}
2583 \:temp{\mathchar"2405}
2584 \:temp{\mathchar"240C}
2585 \:temp{\mathchar"2459}
2586 \:temp{\mathchar"245A}
2587 \:temp{\mathchar"245B}
2588 \:temp{\mathchar"2464}
2589 \:temp{\mathchar"2465}
2590 \:temp{\mathchar"2466}
2591 \:temp{\mathchar"2467}
2592 \:temp{\mathchar"2468}
2593 \:temp{\mathchar"2469}
2594 \:temp{\mathchar"2475}
2595 \:temp{\mathchar"247C}
2596 \:temp{\mathchar"247D}
2597 \:temp{\mathchar"247E}
2598 \:temp{\mathchar"247F}
2599 \:temp{\mathchar"253E}
2600 \:temp{\mathchar"256C}
2601 \:temp{\mathchar"256D}
2602 \:temp{\mathchar"256E}
2603 \:temp{\mathchar"256F}
2604 \:temp{\mathchar"2572}
2605 \:temp{\mathchar"3408}
2606 \:temp{\mathchar"3409}
2607 \:temp{\mathchar"340A}
2608 \:temp{\mathchar"340B}
2609 \:temp{\mathchar"340D}
2610 \:temp{\mathchar"340E}
2611 \:temp{\mathchar"340F}
2612 \:temp{\mathchar"3410}
2613 \:temp{\mathchar"3411}
2614 \:temp{\mathchar"3412}
2615 \:temp{\mathchar"3413}
2616 \:temp{\mathchar"3414}
2617 \:temp{\mathchar"3415}
2618 \:temp{\mathchar"3416}
2619 \:temp{\mathchar"3417}
2620 \:temp{\mathchar"3418}
2621 \:temp{\mathchar"3419}
2622 \:temp{\mathchar"341A}
2623 \:temp{\mathchar"341B}
2624 \:temp{\mathchar"341C}
2625 \:temp{\mathchar"341D}
2626 \:temp{\mathchar"341E}
2627 \:temp{\mathchar"341F}
2628 \:temp{\mathchar"3420}
2629 \:temp{\mathchar"3421}
2630 \:temp{\mathchar"3422}
2631 \:temp{\mathchar"3423}
2632 \:temp{\mathchar"3424}
2633 \:temp{\mathchar"3425}
2634 \:temp{\mathchar"3426}
2635 \:temp{\mathchar"3427}
2636 \:temp{\mathchar"3428}
2637 \:temp{\mathchar"3429}
2638 \:temp{\mathchar"342A}
2639 \:temp{\mathchar"342B}
2640 \:temp{\mathchar"342C}
2641 \:temp{\mathchar"342D}
2642 \:temp{\mathchar"342E}
2643 \:temp{\mathchar"342F}
2644 \:temp{\mathchar"3430}
2645 \:temp{\mathchar"3431}
2646 \:temp{\mathchar"3432}
2647 \:temp{\mathchar"3433}
2648 \:temp{\mathchar"3434}
2649 \:temp{\mathchar"3435}
2650 \:temp{\mathchar"3436}
2651 \:temp{\mathchar"3437}
2652 \:temp{\mathchar"343A}
2653 \:temp{\mathchar"343B}
2654 \:temp{\mathchar"343C}
2655 \:temp{\mathchar"343D}
2656 \:temp{\mathchar"343E}
2657 \:temp{\mathchar"343F}
2658 \:temp{\mathchar"3442}
2659 \:temp{\mathchar"3443}
2660 \:temp{\mathchar"3444}
2661 \:temp{\mathchar"3445}
2662 \:temp{\mathchar"3447}
2663 \:temp{\mathchar"3449}
2664 \:temp{\mathchar"344A}
2665 \:temp{\mathchar"344D}
2666 \:temp{\mathchar"3450}
2667 \:temp{\mathchar"3451}
2668 \:temp{\mathchar"3452}
2669 \:temp{\mathchar"3453}
2670 \:temp{\mathchar"3454}
2671 \:temp{\mathchar"3456}
2672 \:temp{\mathchar"3457}
2673 \:temp{\mathchar"345F}
2674 \:temp{\mathchar"3460}
2675 \:temp{\mathchar"3461}
2676 \:temp{\mathchar"3462}
2677 \:temp{\mathchar"3463}
2678 \:temp{\mathchar"346A}
2679 \:temp{\mathchar"346B}
2680 \:temp{\mathchar"346C}
2681 \:temp{\mathchar"346D}
2682 \:temp{\mathchar"346E}
2683 \:temp{\mathchar"346F}
2684 \:temp{\mathchar"3474}
2685 \:temp{\mathchar"3476}
2686 \:temp{\mathchar"3477}
2687 \:temp{\mathchar"3500}
2688 \:temp{\mathchar"3501}
2689 \:temp{\mathchar"3502}
2690 \:temp{\mathchar"3503}
2691 \:temp{\mathchar"3504}
2692 \:temp{\mathchar"3505}
2693 \:temp{\mathchar"3506}
2694 \:temp{\mathchar"3507}
2695 \:temp{\mathchar"3508}
2696 \:temp{\mathchar"3509}
2697 \:temp{\mathchar"350A}
2698 \:temp{\mathchar"350B}
2699 \:temp{\mathchar"350C}
2700 \:temp{\mathchar"350D}
2701 \:temp{\mathchar"350E}
2702 \:temp{\mathchar"350F}
2703 \:temp{\mathchar"3510}
2704 \:temp{\mathchar"3511}
2705 \:temp{\mathchar"3512}
2706 \:temp{\mathchar"3513}
2707 \:temp{\mathchar"3514}
2708 \:temp{\mathchar"3515}
2709 \:temp{\mathchar"3516}
2710 \:temp{\mathchar"3517}
2711 \:temp{\mathchar"3518}
2712 \:temp{\mathchar"3519}
2713 \:temp{\mathchar"351A}
2714 \:temp{\mathchar"351B}
2715 \:temp{\mathchar"351C}
2716 \:temp{\mathchar"351D}
2717 \:temp{\mathchar"3520}
2718 \:temp{\mathchar"3521}
2719 \:temp{\mathchar"3522}
2720 \:temp{\mathchar"3523}
2721 \:temp{\mathchar"3524}
2722 \:temp{\mathchar"3525}
2723 \:temp{\mathchar"3526}
2724 \:temp{\mathchar"3527}
2725 \:temp{\mathchar"3528}
2726 \:temp{\mathchar"3529}
2727 \:temp{\mathchar"352A}
2728 \:temp{\mathchar"352B}
2729 \:temp{\mathchar"352C}
2730 \:temp{\mathchar"352D}
2731 \:temp{\mathchar"352E}
2732 \:temp{\mathchar"352F}
2733 \:temp{\mathchar"3530}
2734 \:temp{\mathchar"3531}
2735 \:temp{\mathchar"3532}
2736 \:temp{\mathchar"3533}
2737 \:temp{\mathchar"3534}
2738 \:temp{\mathchar"3535}
2739 \:temp{\mathchar"3536}
2740 \:temp{\mathchar"3537}
2741 \:temp{\mathchar"3538}
2742 \:temp{\mathchar"3539}
2743 \:temp{\mathchar"353A}
2744 \:temp{\mathchar"353B}
2745 \:temp{\mathchar"353C}
2746 \:temp{\mathchar"353D}
2747 \:temp{\mathchar"3568}
2748 \:temp{\mathchar"3570}
2749 \:temp{\mathchar"3571}
2750 \:temp{\mathchar"3573}
2751 \:temp{\mathchar"3574}
2752 \:temp{\mathchar"3575}
2753 \:temp{\mathchar"3576}
2754 \:temp{\mathchar"3577}
2755 \:temp{\mathchar"3578}
2756 \:temp{\mathchar"3579}
2757 \:temp{\mathchar"357F}
2758
2759 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2760
2761 \endinput\empty\empty\empty\empty\empty\empty
2762 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2763
2764
2765
2766
2767
2768
2769 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2770 \ConfigureHinput{rlbabel}
2771 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2772 \Configure{[]}
2773 {\Configure{@math}{display="block"
2774 }\csname a:mathltx[]\endcsname
2775 \DviMath\Tg<mrow\Hnewline>$$\DisplayMathtrue }
2776 {$$\Tg</mrow>\EndDviMath\csname b:mathltx[]\endcsname
2777 \if@rl\else\beginR\fi }
2778
2779 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2780
2781 \endinput\empty\empty\empty\empty\empty\empty
2782 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050 \endinput
3051