Debian Codegraph @

texmf-dist/tex/generic/tex4ht/html-speech-math.4ht

raw
1 % html-speech-math.4ht (2015-01-28-14:59), generated from tex4ht-html-speech.tex
2 % Copyright 2009-2015 TeX Users Group
3 % Copyright 2006-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{amsmath,%
23 amsopn,%
24 array,%
25 fontmath,%
26 latex,%
27 plain,%
28 tex4ht}
29
30
31 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
32 \ConfigureHinput{tex4ht}
33 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
34 \Configure{SUB}
35 {\Send{BACK}
36 {<span class="msub"><span class="mrow-base"\Hnewline>%
37 }\HCode{</span><span class="mrow-sub"\Hnewline
38 >\add:description{begin-script}{\a:speak:subsup}}\trap:base
39 }
40 {\HCode{\add:description{end-script}{\c:speak:subsup}</span></span\Hnewline>}%
41 }
42 \Configure{SUP}
43 {\Send{BACK}
44 {<span class="msup"><span class="mrow-base"\Hnewline>%
45 }\HCode{</span><span class="mrow-super"\Hnewline
46 >\add:description{begin-script}{\b:speak:subsup}}\trap:base
47 }
48 {\HCode{\add:description{end-script}{\c:speak:subsup}</span></span\Hnewline>}%
49 }
50 \Configure{SUBSUP}
51 {\Send{BACK}
52 {<span class="msubsup"><span class="mrow-base"\Hnewline>%
53 }\HCode{</span><span class="mrow-sub"\Hnewline
54 >\add:description{begin-script}{\a:speak:subsup}}\trap:base
55 }
56 {\HCode{</span><span class="mrow-super"\Hnewline
57 >\add:description{mid-script}{\b:speak:subsup}}\trap:base
58 }
59 {\HCode{\add:description{end-script}{\c:speak:subsup}</span></span\Hnewline>}%
60 }
61 \def\trap:base{{\HCode{}}}
62
63 \Configure{limits}{\let\pl:SUB =\:UnDef
64 \let\pl:SUP =\:UnDef
65 \ifx \:temp\sp \def\pl:SUP{\Configure{SUP}}%
66 \expandafter\append:def
67 \expandafter\pl:SUP\expandafter{\expandafter{\a:SUP}}%
68 \expandafter\append:def
69 \expandafter\pl:SUP\expandafter{\expandafter{\b:SUP}}%
70 %
71 \Configure{SUP}
72 {\Send{BACK}{<span
73 class="limits-msub-msup"><span
74 class="limits-mrow-base"\Hnewline>%
75 }%
76 \HCode{</span><span class="limits-mrow-super"\Hnewline
77 >\add:description{begin-limits-script}{\b:speak:underover}}\trap:base
78 %
79 \bgroup
80 \ifx \pl:SUBSUP\:UnDef \else
81 \let\SUBSUP:=\pl:SUBSUP
82 \fi
83 %
84 \Configure{SUP}
85 {\Send{BACK}
86 {<span class="msup"><span class="mrow-base"\Hnewline>%
87 }\HCode{</span><span class="mrow-super"\Hnewline
88 >\add:description{begin-script}{\b:speak:subsup}}\trap:base
89 %
90 \bgroup
91 \Configure{SUP}
92 {\Send{BACK}
93 {<span class="msup"><span class="mrow-base"\Hnewline>%
94 }\HCode{</span><span class="mrow-super"\Hnewline
95 >\add:description{begin-script}{\b:speak:subsup}}\trap:base
96 %
97 \bgroup \trap:base}
98 {\egroup \HCode{\add:description{end-script}{\c:speak:subsup}</span></span\Hnewline>}%
99 %
100 }%
101 \trap:base}
102 {\egroup\HCode{\add:description{end-limits-script}{\c:speak:underover}</span></span\Hnewline
103 >}\aftergroup\pl:SUP %
104 }%
105 \trap:base}
106 {}%
107 \else
108 \ifx \:temp\sb \def\pl:SUB{\Configure{SUB}}%
109 \expandafter\append:def
110 \expandafter\pl:SUB\expandafter{\expandafter{\a:SUB}}%
111 \expandafter\append:def
112 \expandafter\pl:SUB\expandafter{\expandafter{\b:SUB}}%
113 %
114 \Configure{SUB}
115 {\Send{BACK}{<span
116 class="limits-msub-msup"><span
117 class="limits-mrow-base"\Hnewline>%
118 }%
119 \HCode{</span><span class="limits-mrow-sub"\Hnewline
120 >\add:description{begin-limits-script}{\a:speak:underover}}\trap:base
121 %
122 \bgroup
123 \ifx \pl:SUBSUP\:UnDef \else
124 \let\SUBSUP:=\pl:SUBSUP
125 \fi
126 %
127 \Configure{SUB}
128 {\Send{BACK}
129 {<span class="msub"><span class="mrow-base"\Hnewline>%
130 }\HCode{</span><span class="mrow-sub"\Hnewline
131 >\add:description{begin-script}{\a:speak:subsup}}\trap:base
132 %
133 \bgroup
134 \Configure{SUB}
135 {\Send{BACK}
136 {<span class="msub"><span class="mrow-base"\Hnewline>%
137 }\HCode{</span><span class="mrow-sub"\Hnewline
138 >\add:description{begin-script}{\a:speak:subsup}}\trap:base
139 %
140 \bgroup \trap:base}
141 {\egroup \HCode{\add:description{end-script}{\c:speak:subsup}</span></span\Hnewline>}%
142 %
143 }%
144 \trap:base}
145 {\egroup\HCode{\add:description{end-limits-script}{\c:speak:underover}</span></span\Hnewline
146 >}\aftergroup\pl:SUB %
147 }%
148 \trap:base}
149 {}%
150 \fi\fi
151 \let\pl:SUBSUP=\SUBSUP:
152 %
153 \Configure{SUBSUP}
154 {\ifx \pl:SUB \:UnDef\else \pl:SUB \fi
155 \ifx \pl:SUP \:UnDef\else \pl:SUP \fi
156 \ifx \pl:SUBSUP\:UnDef \else
157 \let\SUBSUP:=\pl:SUBSUP
158 \fi
159 %
160 \Send{BACK}
161 {<span class="limits-msub-msup"><span class="limits-mrow-base"\Hnewline>%
162 }\HCode{</span><span class="limits-mrow-sub"\Hnewline
163 >\add:description{begin-limits-script}{\a:speak:underover}}\trap:base
164 }
165 {\HCode{</span><span class="limits-mrow-super"\Hnewline
166 >\add:description{mid-limits-script}{\b:speak:underover}}\trap:base
167 }
168 {\HCode{\add:description{end-limits-script}{\c:speak:underover}</span></span\Hnewline>}%
169 }
170 %
171 }
172 \def\disp:limits{\let\pl:SUB =\:UnDef
173 \let\pl:SUP =\:UnDef
174 \ifx \:temp\sp \def\pl:SUP{\Configure{SUP}}%
175 \expandafter\append:def
176 \expandafter\pl:SUP\expandafter{\expandafter{\a:SUP}}%
177 \expandafter\append:def
178 \expandafter\pl:SUP\expandafter{\expandafter{\b:SUP}}%
179 %
180 \Configure{SUP}
181 {\Send{BACK}{<span
182 class="limits-msub-msup"><span
183 class="limits-mrow-base"\Hnewline>%
184 }%
185 \HCode{</span><span class="limits-mrow-super"\Hnewline
186 >\add:description{begin-limits-script}{\b:speak:underover}}\trap:base
187 %
188 \bgroup
189 \ifx \pl:SUBSUP\:UnDef \else
190 \let\SUBSUP:=\pl:SUBSUP
191 \fi
192 %
193 \Configure{SUP}
194 {\Send{BACK}
195 {<span class="msup"><span class="mrow-base"\Hnewline>%
196 }\HCode{</span><span class="mrow-super"\Hnewline
197 >\add:description{begin-script}{\b:speak:subsup}}\trap:base
198 %
199 \bgroup
200 \Configure{SUP}
201 {\Send{BACK}
202 {<span class="msup"><span class="mrow-base"\Hnewline>%
203 }\HCode{</span><span class="mrow-super"\Hnewline
204 >\add:description{begin-script}{\b:speak:subsup}}\trap:base
205 %
206 \bgroup \trap:base}
207 {\egroup \HCode{\add:description{end-script}{\c:speak:subsup}</span></span\Hnewline>}%
208 %
209 }%
210 \trap:base}
211 {\egroup\HCode{\add:description{end-limits-script}{\c:speak:underover}</span></span\Hnewline
212 >}\aftergroup\pl:SUP %
213 }%
214 \trap:base}
215 {}%
216 \else
217 \ifx \:temp\sb \def\pl:SUB{\Configure{SUB}}%
218 \expandafter\append:def
219 \expandafter\pl:SUB\expandafter{\expandafter{\a:SUB}}%
220 \expandafter\append:def
221 \expandafter\pl:SUB\expandafter{\expandafter{\b:SUB}}%
222 %
223 \Configure{SUB}
224 {\Send{BACK}{<span
225 class="limits-msub-msup"><span
226 class="limits-mrow-base"\Hnewline>%
227 }%
228 \HCode{</span><span class="limits-mrow-sub"\Hnewline
229 >\add:description{begin-limits-script}{\a:speak:underover}}\trap:base
230 %
231 \bgroup
232 \ifx \pl:SUBSUP\:UnDef \else
233 \let\SUBSUP:=\pl:SUBSUP
234 \fi
235 %
236 \Configure{SUB}
237 {\Send{BACK}
238 {<span class="msub"><span class="mrow-base"\Hnewline>%
239 }\HCode{</span><span class="mrow-sub"\Hnewline
240 >\add:description{begin-script}{\a:speak:subsup}}\trap:base
241 %
242 \bgroup
243 \Configure{SUB}
244 {\Send{BACK}
245 {<span class="msub"><span class="mrow-base"\Hnewline>%
246 }\HCode{</span><span class="mrow-sub"\Hnewline
247 >\add:description{begin-script}{\a:speak:subsup}}\trap:base
248 %
249 \bgroup \trap:base}
250 {\egroup \HCode{\add:description{end-script}{\c:speak:subsup}</span></span\Hnewline>}%
251 %
252 }%
253 \trap:base}
254 {\egroup\HCode{\add:description{end-limits-script}{\c:speak:underover}</span></span\Hnewline
255 >}\aftergroup\pl:SUB %
256 }%
257 \trap:base}
258 {}%
259 \fi\fi
260 \let\pl:SUBSUP=\SUBSUP:
261 %
262 \Configure{SUBSUP}
263 {\ifx \pl:SUB \:UnDef\else \pl:SUB \fi
264 \ifx \pl:SUP \:UnDef\else \pl:SUP \fi
265 \ifx \pl:SUBSUP\:UnDef \else
266 \let\SUBSUP:=\pl:SUBSUP
267 \fi
268 %
269 \Send{BACK}
270 {<span class="limits-msub-msup"><span class="limits-mrow-base"\Hnewline>%
271 }\HCode{</span><span class="limits-mrow-sub"\Hnewline
272 >\add:description{begin-limits-script}{\a:speak:underover}}\trap:base
273 }
274 {\HCode{</span><span class="limits-mrow-super"\Hnewline
275 >\add:description{mid-limits-script}{\b:speak:underover}}\trap:base
276 }
277 {\HCode{\add:description{end-limits-script}{\c:speak:underover}</span></span\Hnewline>}%
278 }
279 %
280 }
281 \ifx \a:putSUB\:UnDef \else
282 \pend:def\a:putSUB{\ifx \pl:SUBSUP\:UnDef\else
283 \let\SUBSUP:=\pl:SUBSUP
284 \let\pl:SUBSUP=\:UnDef
285 \fi}%
286 \fi
287 \ifx \a:putSUP\:UnDef \else
288 \pend:def\a:putSUP{\ifx \pl:SUBSUP\:UnDef\else
289 \let\SUBSUP:=\pl:SUBSUP
290 \let\pl:SUBSUP=\:UnDef
291 \fi}%
292 \fi
293
294 \Configure{radical}
295 {\HCode{<span class="msqrt">%
296 \add:description{begin-root}{\a:speak:radical}}%
297 \special{t4ht\string~!e<<span>}%
298 \special{t4ht\string~!e></span>%
299 \add:description{end-root}{\b:speak:radical}</span>}%
300 \special{t4ht\string~!ee/}%
301 \special{t4ht\string~!ese-}%
302 }
303 \NewConfigure{speak:radical}{2}
304 \Configure{speak:radical}
305 {begin root}
306 {end root}
307
308 \NewConfigure{speak:description}{3}
309 \Configure{speak:description}
310 {begin \ifcase\csname @listdepth\endcsname
311 \or \or sub \or sub sub \or sub sub sub \else\fi
312 list}
313 {end \ifcase\csname @listdepth\endcsname
314 \or sub \or sub sub \or sub sub sub \else\fi
315 list}
316 {
317 item}
318 \Configure{DviMath}
319 {\a:DviMathSpk \mathmltrue
320 \ifOption{mml-fonts}{}{\NoFonts}%
321 \IgnoreRule \HCode{<!--l.
322 \the\inputlineno-->}\a:math
323 \edef\sv:ignore{\if:nopar
324 \noexpand\IgnorePar\else \noexpand\ShowPar\fi}%
325 \IgnorePar}
326 {\EndIgnoreRule
327 \mathmlfalse \b:DviMathSpk \sv:ignore
328 }
329 \NewConfigure{DviMathSpk}{2}
330 \Configure{math}{}
331 \Configure{$}
332 {\Configure{DviMathSpk}
333 {\HCode{<span class="inline-math">%
334 \add:description{begin-math}{\a:speak:math}}}
335 {\HCode{\add:description{end-math}{\b:speak:math}</span>}}%
336 \DviMath}
337 {\EndDviMath}{}
338 \Configure{$$}
339 {\Configure{@math}{div}\IgnorePar
340 \ifvmode\else \HCode{<!--tex4ht:inline-->}\fi
341 \EndP
342 \Configure{DviMathSpk}
343 {\HCode{<div class="display-math">%
344 \add:description{begin-math}{\a:speak:math}}}
345 {\HCode{\add:description{end-math}{\b:speak:math}</div>}}%
346 \DviMath}
347 {\EndDviMath
348 \ShowPar\par{\csname HCondtrue\endcsname\noindent}}
349 {\DisplayMathtrue}
350 \NewConfigure{speak:math}{2}
351 \Configure{speak:math}
352 {begin math}
353 {end math}
354 \Configure{over}
355 {\Send{GROUP}{0}{<span class="mfrac">\add:description{begin-end}{\a:speak:fraction}%
356 <span class="mrow-numerator"\Hnewline>%
357 }\HCode{</span>}%
358 }
359 {\HCode{\add:description{begin-end}{\c:speak:fraction}
360 <span class="mrow-enumerator"\Hnewline>}%
361 \Send{EndGROUP}{0}{</span>\add:description{begin-end}{\b:speak:fraction}</span>%
362 }}
363 \Configure{atop}
364 {\Send{GROUP}{0}{<span class="atop">%
365 \add:description{begin-stack}{\a:speak:atop}%
366 <span class="mrow-upper">%
367 }\HCode{</span>}%
368 }
369 {\HCode{\add:description{added-description}{\c:speak:atop}<span class="mrow-under">}%
370 \Send{EndGROUP}{0}{</span>\add:description{end-stack}{\b:speak:atop}</span>%
371 }}
372 \Configure{above}
373 {\Send{GROUP}{0}{<span class="mfrac">\add:description{begin-end}{\a:speak:fraction}%
374 <span class="mrow-numerator"\Hnewline>%
375 %
376 }%
377 \HCode{</span>}%
378 %
379 \o:over:\:gobbleII}
380 {\HCode{\add:description{begin-end}{\c:speak:fraction}
381 <span class="mrow-enumerator"\Hnewline>}%
382 %
383 \Send{EndGROUP}{0}{</span>\add:description{begin-end}{\b:speak:fraction}</span>%
384 %
385 }}
386 \def\abovewithdelims:III#1#2#3{%
387 \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
388 \Send{GROUP}{0}{<span class="mfrac">\add:description{begin-end}{\a:speak:fraction}%
389 <span class="mrow-numerator"\Hnewline>%
390 %
391 }%
392 \HCode{</span>}%
393 %
394 \o:over:
395 \HCode{\add:description{begin-end}{\c:speak:fraction}
396 <span class="mrow-enumerator"\Hnewline>}%
397 %
398 \Send{EndGROUP}{0}{</span>\add:description{begin-end}{\b:speak:fraction}</span>%
399 %
400 }
401 \else
402 \Send{GROUP}{0}%
403 {<span class="mfenced-open">\expandafter
404 \ifx \csname \string#2:lr del\endcsname\relax #2\else
405 \csname \string#2:lr del\endcsname\fi
406 </span>%
407 <span class="mfrac">\add:description{begin-end}{\a:speak:fraction}%
408 <span class="mrow-numerator"\Hnewline>%
409 %
410 }%
411 \HCode{</span>}%
412 %
413 \o:over:
414 \HCode{\add:description{begin-end}{\c:speak:fraction}
415 <span class="mrow-enumerator"\Hnewline>}%
416 %
417 \Send{EndGROUP}{0}{</span>\add:description{begin-end}{\b:speak:fraction}</span>%
418 %
419 %
420 <span class="mfenced-close">\expandafter
421 \ifx \csname \string#3:lr del\endcsname\relax #3\else
422 \csname \string#3:lr del\endcsname\fi
423 </span>}
424 \fi
425 \tmp:dim
426 }
427 \def\atopwithdelims:III#1#2#3{%
428 \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
429 \Send{GROUP}{0}{<span class="atop">%
430 \add:description{begin-stack}{\a:speak:atop}%
431 <span class="mrow-upper">%
432 }%
433 \HCode{</span>}%
434 \o:atop:
435 \HCode{\add:description{added-description}{\c:speak:atop}<span class="mrow-under">}%
436 \Send{EndGROUP}{0}{</span>\add:description{end-stack}{\b:speak:atop}</span>%
437 }
438 \else
439 \Send{GROUP}{0}%
440 {<span class="mfenced-open">\expandafter
441 \ifx \csname \string#2:lr del\endcsname\relax #2\else
442 \csname \string#2:lr del\endcsname\fi
443 </span>%
444 <span class="atop">%
445 \add:description{begin-stack}{\a:speak:atop}%
446 <span class="mrow-upper">%
447 }%
448 \HCode{</span>}%
449 \o:atop:
450 \HCode{\add:description{added-description}{\c:speak:atop}<span class="mrow-under">}%
451 %
452 \Send{EndGROUP}{0}{</span>\add:description{end-stack}{\b:speak:atop}</span>%
453 %
454 <span class="mfenced-close">\expandafter
455 \ifx \csname \string#3:lr del\endcsname\relax #3\else
456 \csname \string#3:lr del\endcsname\fi
457 </span>}
458 \fi
459 }
460 \def\overwithdelims:III#1#2#3{%
461 \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
462 \Send{GROUP}{0}{<span class="mfrac">\add:description{begin-end}{\a:speak:fraction}%
463 <span class="mrow-numerator"\Hnewline>%
464 }\HCode{</span>}%
465 \o:over:
466 \HCode{\add:description{begin-end}{\c:speak:fraction}
467 <span class="mrow-enumerator"\Hnewline>}%
468 \Send{EndGROUP}{0}{</span>\add:description{begin-end}{\b:speak:fraction}</span>%
469 }
470 \else
471 \Send{GROUP}{0}%
472 {<span class="mfenced-open">\expandafter
473 \ifx \csname \string#2:lr del\endcsname\relax #2\else
474 \csname \string#2:lr del\endcsname\fi
475 </span>%
476 <span class="mfrac">\add:description{begin-end}{\a:speak:fraction}%
477 <span class="mrow-numerator"\Hnewline>%
478 }%
479 \HCode{</span>}%
480 \o:over:
481 \HCode{\add:description{begin-end}{\c:speak:fraction}
482 <span class="mrow-enumerator"\Hnewline>}%
483 \Send{EndGROUP}{0}{</span>\add:description{begin-end}{\b:speak:fraction}</span>%
484 %
485 <span class="mfenced-close">\expandafter
486 \ifx \csname \string#3:lr del\endcsname\relax #3\else
487 \csname \string#3:lr del\endcsname\fi
488 </span>}
489 \fi
490 }
491 \NewConfigure{speak:fraction}{3}
492 \Configure{speak:fraction}
493 {begin fraction}
494 {end fraction}
495 {over}
496 \NewConfigure{speak:atop}{3}
497 \Configure{speak:atop}
498 {begin stack}
499 {end stack}
500 {over}
501 \NewConfigure{speak:subsup}{3}
502 \Configure{speak:subsup}
503 {subscript}
504 {superscript}
505 {baseline}
506 \NewConfigure{speak:underover}{3}
507 \Configure{speak:underover}
508 {under script}
509 {over script}
510 {end scripts}
511
512 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
513
514 \endinput\empty\empty\empty\empty\empty\empty
515 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
516
517
518
519
520
521 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
522 \ConfigureHinput{latex}
523 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
524 \Configure{cases}
525 {}{} {\Tg<mtable>}{\Tg</mtable>}
526 {\Tg<mtr>}{\Tg</mtr>}
527 {\Tg<mtd class="cases">}{\Tg</mtd>}
528 \Configure{matrix}
529 {\PushStack\Table:Stck\TableNo
530 \gHAdvance\Next:TableNo by 1
531 \global\let\TableNo=\Next:TableNo
532 %
533 \PushStack\Row:Stck\HRow \HAssign\HRow=0\relax
534 %
535 \HCode{<div class="array">}%
536 \HCode{\add:vdescription{begin-array}{\a:speak:array}}}
537 {\Tag{array-\TableNo}{\hrow:s}%
538 \HCode{<!--l. \the\inputlineno-->%
539 %
540 \add:vdescription{end-array}{\b:speak:array}}%
541 \ifvmode \IgnorePar\fi \Tg</div>%
542 \PopStack\Row:Stck\HRow
543 %
544 \PopStack\Table:Stck\TableNo
545 }
546 {\HCode{<div class="tr">}\c:speak:array}%
547 {\xdef\hrow:s{\HRow}\HCode{</div>}}%
548 {\HCode{<div class="td" >}%
549 \e:speak:array\HCode{<div>}}
550 {\HCode{</div>}\f:speak:array
551 \HCode{</div>\Hnewline}}
552 \Configure{pmatrix}
553 {\bgroup\Tg<div class="pmatrix">}
554 {\Tg</div>\egroup}
555 \NewConfigure{speak:array}{6}
556 \Configure{speak:array}
557 {begin array with
558 \ifTag{array-\TableNo}{\LikeRef{array-\TableNo}}{}
559 rows}
560 {end array}
561 {\HCode{\add:vdescription{begin-end}{<span class="ord-row">\ord:pos{\HRow}</span>%
562 row}}%
563 }
564 {}
565 {\HCode{%
566 \add:vdescription{added-description}{%
567 \ifnum \HMultispan>1 \ord:pos{\HCol}%
568 cell, spans
569 \HMultispan \space columns
570 \else
571 \ifnum \HCol>1 \ord:pos{\HCol}%
572 cell \fi
573 \fi
574 }}%
575 }
576 {}
577 \NewConfigure{speak:smallmatrix}{6}
578 \Configure{speak:smallmatrix}
579 {begin matrix with
580 \ifTag{smallmatrix-\TableNo}{\LikeRef{smallmatrix-\TableNo}}{}
581 rows}
582 {end matrix}
583 {\HCode{\add:vdescription{begin-end}{<span class="ord-row">\ord:pos{\HRow}</span>%
584 row}}%
585 }
586 {}
587 {\HCode{%
588 \add:vdescription{added-description}{%
589 \ifnum \HMultispan>1 \ord:pos{\HCol}%
590 cell, spans
591 \HMultispan \space columns
592 \else
593 \ifnum \HCol>1 \ord:pos{\HCol}%
594 cell \fi
595 \fi
596 }}%
597 }
598 {}
599 \Configure{left}
600 {}
601 {\HCode{<span class="mfenced-open">%
602 <span>\expandafter
603 \ifx \csname \string#1:lr del\endcsname\relax #1\else
604 \csname \string#1:lr del\endcsname\fi
605 </span>}\bgroup}
606 \Configure{right}
607 {\egroup}
608 {\HCode{<span class="mfenced-close">%
609 \expandafter
610 \ifx \csname \string#1:lr del\endcsname\relax #1\else
611 \csname \string#1:lr del\endcsname\fi
612 </span></span>}}
613 \Configure{mfenced}{\vert}{|}
614 \edef\:temp{\noexpand\Configure{mfenced}{\noexpand\{}{\string&\#x007B;}}\:temp
615 \edef\:temp{\noexpand\Configure{mfenced}{\noexpand\}}{\string&\#x007D;}}\:temp
616 \edef\:temp{\noexpand
617 \Configure{mfenced}{\noexpand\lbrace}{\string&\#x007B;}}\:temp
618 \edef\:temp{\noexpand
619 \Configure{mfenced}{\noexpand\rbrace}{\string&\#x007D;}}\:temp
620 \def\mathinner#1{\Tg<span
621 class="mathinner">#1\Tg</span>}
622 \def\mathop:prefix#1{%
623 \Configure{mathop}{*}{<span class="mo-op"
624 title="#1"\Hnewline>}{</span>}%
625 {\Configure{mathop}{*}{<span class="mo-op">}{</span>}{}}}
626 \Configure{quad}{\HCode{<span class="space"> </span>%
627 }}
628 \Configure{qquad}{\HCode{<span class="space"> </span>%
629 }}
630 \Configure{,}{\HCode{<span class="space"> </span>%
631 }}
632 \Configure{ }{\:nbsp}
633 \def\:nbsp{\leavevmode\special{t4ht@+\string&{35}x00A0{59}}x}
634 \Configure{choose}
635 {\Send{GROUP}{0}{<span class="choose">%
636 \add:description{begin-stack}{\a:speak:choose}%
637 <span class="mrow-upper">}%
638 \HCode{</span>}\o:atop:
639 \HCode{\add:description{added-description}%
640 {\c:speak:choose}<span class="mrow-under">}%
641 \Send{EndGROUP}{0}%
642 {</span>\add:description{end-stack}{\b:speak:choose}</span>}%
643 }
644 \NewConfigure{speak:choose}{3}
645 \Configure{speak:choose}
646 {begin binomial coefficient}
647 {end binomial coefficient}
648 {choose}
649 \Configure{mfenced}{\vert}{\string&\#x007C;}
650 \Configure{mfenced}{\{}{\string&\#x007B;}
651 \Configure{mfenced}{\}}{\string&\#x007D;}
652 \Configure{mfenced}{\lbrace}{\string&\#x007B;}
653 \Configure{mfenced}{\rbrace}{\string&\#x007D;}
654 \Configure{mfenced}{\rgroup}{\string&\#x0028;}
655 \Configure{mfenced}{\lgroup}{\string&\#x0029;}
656 \Configure{mfenced}{(}{\string&\#x0028;}
657 \Configure{mfenced}{)}{\string&\#x0029;}
658 \Configure{mfenced}{[}{\string&\#x0058;}
659 \Configure{mfenced}{]}{\string&\#x0059;}
660 \Configure{mfenced}{|}{\string&\#x007C;}
661 \Configure{mfenced}{\bracevert}{\string&\#x007C;}
662 \Configure{mfenced}{\bracevert}{\string&\#x007C;}
663 \Configure{root}
664 {\HCode{<span class="root">%
665 \add:description{begin-root}{\a:speak:root}<span class="root-index">}}
666 {\HCode{</span>\add:description{mid-root}{\b:speak:root}%
667 <span class="root-base">}}
668 {\HCode{</span>\add:description{end-root}{\c:speak:root}</span>}}
669 \NewConfigure{speak:root}{3}
670 \Configure{speak:root}
671 {root index}
672 {begin root}
673 {end root}
674 \:CheckOption{new-accents} \if:Option \else
675 \Configure{accents}
676 {\ifmmode \expandafter\mathord\fi
677 {\leavevmode
678 \if !#1!\ht:special{t4ht@+&{35}x#2;}%
679 \else \expandafter \ifx\csname U#2#1\endcsname\relax
680 \ht:special{t4ht@+&{35}x#2;}%
681 \else
682 \ht:special{t4ht@+&{35}x\csname U#2#1\endcsname;}%
683 \fi \fi x%
684 %
685 \ht:special{t4ht@[}\if!#1!x\else#2\fi
686 \ht:special{t4ht@]}}}
687 {\ifmathml
688 \ifmtext \expandafter\ifx \csname :#1:over\endcsname\relax
689 \expandafter\ifx \csname :#1:under\endcsname\relax
690 \AccentMath{\expandafter\ifx \csname :#1:over\endcsname\relax
691 \HCode{<munder\Hnewline
692 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
693 \csname :#1:under\endcsname
694 \HCode{</munder>}%
695 %
696 \else \expandafter\ifx \csname :#1:under\endcsname\relax
697 \HCode{<span class="mover-accent"><span
698 class="mrow"\Hnewline>}#3\HCode{</span>}%
699 \csname prefix:#1:over\endcsname
700 \csname :#1:over\endcsname
701 \HCode{</span>}%
702 %
703 \else
704 \HCode{<munderover\Hnewline
705 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
706 \csname :#1:under\endcsname
707 \csname :#1:over\endcsname
708 \HCode{</munderover>}%
709 %
710 \fi \fi
711 }%
712 \else #3\csname :#1:under\endcsname \fi
713 \else #3\csname :#1:over\endcsname \fi
714 %
715 \else \AccentMath{\expandafter\ifx \csname :#1:over\endcsname\relax
716 \HCode{<munder\Hnewline
717 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
718 \csname :#1:under\endcsname
719 \HCode{</munder>}%
720 %
721 \else \expandafter\ifx \csname :#1:under\endcsname\relax
722 \HCode{<span class="mover-accent"><span
723 class="mrow"\Hnewline>}#3\HCode{</span>}%
724 \csname prefix:#1:over\endcsname
725 \csname :#1:over\endcsname
726 \HCode{</span>}%
727 %
728 \else
729 \HCode{<munderover\Hnewline
730 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
731 \csname :#1:under\endcsname
732 \csname :#1:over\endcsname
733 \HCode{</munderover>}%
734 %
735 \fi \fi
736 }\fi
737 \else \expandafter\ifx \csname :#1:over\endcsname\relax
738 \expandafter\ifx \csname :#1:under\endcsname\relax
739 \AccentMath{\expandafter\ifx \csname :#1:over\endcsname\relax
740 \HCode{<munder\Hnewline
741 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
742 \csname :#1:under\endcsname
743 \HCode{</munder>}%
744 %
745 \else \expandafter\ifx \csname :#1:under\endcsname\relax
746 \HCode{<span class="mover-accent"><span
747 class="mrow"\Hnewline>}#3\HCode{</span>}%
748 \csname prefix:#1:over\endcsname
749 \csname :#1:over\endcsname
750 \HCode{</span>}%
751 %
752 \else
753 \HCode{<munderover\Hnewline
754 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
755 \csname :#1:under\endcsname
756 \csname :#1:over\endcsname
757 \HCode{</munderover>}%
758 %
759 \fi \fi
760 }%
761 \else #3\csname :#1:under\endcsname \fi
762 \else #3\csname :#1:over\endcsname \fi
763 \fi
764 }
765 \Configure{accent}\widetilde\widetilde{{}{}}
766 {}
767 {\HCode{<span class="mover-tilde">%
768 \add:description{begin-end}{\b:speak:modified}%
769 <span class="mo-0303"\Hnewline>}%
770 #2%
771 \HCode{</span>\add:description{begin-end}{\a:speak:modified:tilde}</span>}}
772 \Configure{accent}\widehat\widehat{{}{}}
773 {}
774 {\HCode{<span class="mover-hat">%
775 \add:description{begin-end}{\a:speak:modified}%
776 <span class="mo-0302"\Hnewline>}%
777 #2%
778 \HCode{</span>\add:description{begin-end}{
779 \a:speak:modified:hat}</span>}}
780
781 \fi
782
783 \Configure{array}
784 {\PushStack\Table:Stck\TableNo
785 \gHAdvance\Next:TableNo by 1
786 \global\let\TableNo=\Next:TableNo
787 %
788 \PushStack\Row:Stck\HRow \HAssign\HRow=0\relax
789 %
790 \HCode{<div class="array">}%
791 \HCode{\add:vdescription{begin-array}{\a:speak:array}}}
792 {\Tag{array-\TableNo}{\hrow:s}%
793 \HCode{<!--l. \the\inputlineno-->%
794 %
795 \add:vdescription{end-array}{\b:speak:array}}%
796 \ifvmode \IgnorePar\fi \expandafter\tmp:toks\expandafter{\Clr}%
797 \HCode{<!--\the\tmp:toks-->}%
798 \Tg</div>%
799 \PopStack\Row:Stck\HRow
800 %
801 \PopStack\Table:Stck\TableNo
802 }
803 {\HCode{<div class="tr">}\c:speak:array}%
804 {\xdef\hrow:s{\HRow}\HCode{</div>}}%
805 {\HCode{<div class="td" >}%
806 \e:speak:array\HCode{<div>}}
807 {\HCode{</div>}\f:speak:array
808 \HCode{</div>\Hnewline}}
809 \ConfigureEnv{array}
810 {\bgroup\Configure{$}{}{}{}}
811 {\egroup}
812 {}{}
813
814 \def\:MM{m}
815 \Configure{HBorder}
816 {<mtr\Hnewline class="hline">}
817 {<mtd><mo> \string&\#x0332; </mo></mtd>
818 }
819 {</mtr>}
820 {<mtr\Hnewline class="cline">}
821 {<mtd></mtd>}
822 {<mtd><mo> \string&\#x0332; </mo></mtd>
823 }
824 {</mtr>}
825 {<mtr\Hnewline class="vspace" style="font-size:\HBorderspace">}
826 {<mtd\Hnewline></mtd>}
827 {</mtr>}
828 \Configure{frac}
829 {\HCode{<span class="mfrac">\add:description{begin-end}{\a:speak:fraction}%
830 <span class="mrow-numerator"\Hnewline>%
831 }}
832 {\HCode{</span>}%
833 \Configure{over}{}{}}
834 {\HCode{\add:description{begin-end}{\c:speak:fraction}
835 <span class="mrow-enumerator"\Hnewline>}%
836 }
837 {\HCode{</span>\add:description{begin-end}{\b:speak:fraction}</span>%
838 }}
839
840 \ConfigureEnv{array}
841 {\PushStack\Col:Marg\AllColMargins
842 \bgroup\Configure{$}{}{}{}}
843 {\egroup \PopStack\Col:Marg\AllColMargins}
844 {}{}
845 \def\:MM{\ifmathml m\fi}
846 \Configure{HBorder}
847 {<\:MM tr\Hnewline
848 \ifmathml \expandafterclass\else class\fi="hline">}
849 {\ifmathml<mtd><mo> \string&\#x0332; </mo></mtd>
850 \else
851 <td><hr\xml:empty></td>\fi}
852 {</\:MM tr>}
853 {<\:MM tr\Hnewline
854 \ifmathml \expandafterclass\else class\fi ="cline">}
855 {<\:MM td></\:MM td>}
856 {\ifmathml<mtd><mo> \string&\#x0332; </mo></mtd>
857 \else
858 <td><hr\xml:empty></td>\fi}
859 {</\:MM tr>}
860 {<\:MM tr\Hnewline
861 \ifmathml \expandafterclass\else class\fi="vspace"
862 style="font-size:\HBorderspace">}
863 {<\:MM td\Hnewline>\ifmathml\else\string&\#x00A0;\fi
864 </\:MM td>}
865 {</\:MM tr>}
866 \Configure{halign}
867 {\EndP\halignTB{halign}} \t:HA
868 \R:HA\r:HA\D:HA\d:HA
869 \Configure{multicolumn}
870 {\let\sv:VBorder\VBorder
871 \let\VBorder\empty
872 \Configure{VBorder}{}{}{}{}%
873 }
874 {\let\VBorder\sv:VBorder}
875 {\ifmmode \else
876 \ifvmode\IgnorePar\fi
877 \fi \HCode{<div class="multicolumn" title="\HMultispan">}}
878 {\ifmmode \else
879 \ifvmode\IgnorePar\fi \EndP\fi \HCode{</div>} }
880 \def\gob:sp#1{#1}
881
882 \Configure{equation}
883 {\IgnorePar\ifvmode\else \HCode{<!--tex4ht:inline-->}\fi
884 \EndP
885 \PushStack\Table:Stck\TableNo
886 \gHAdvance\Next:TableNo by 1
887 \global\let\TableNo=\Next:TableNo
888 %
889 \HCode{<div class="display-math">%
890 \add:description{begin-math}{\a:speak:equation}%
891 <div class="equation">}\IgnorePar
892 \Configure{$$}
893 {\Configure{@math}{%
894 class="equation"}\IgnorePar\EndP\DviMath}
895 {\EndDviMath\EndP}
896 {\DisplayMathtrue}%
897 }
898 {\ifvmode \IgnorePar\fi\EndP
899 \HCode{</div>}%
900 \let\@eqnnum\empty
901 }
902 {\HCode{%
903 \add:description{end-math}{\b:speak:equation}%
904 </div>}%
905 \Tag{eq-\TableNo-num}{\theequation}%
906 \ShowPar \par{\HCondtrue\noindent}%
907 }
908 \NewConfigure{speak:equation}{2}
909 \Configure{speak:equation}
910 {begin equation
911 \ifTag{eq-\TableNo-num}{\LikeRef{eq-\TableNo-num}}{}%
912 }
913 {end equation \theequation}
914 \Configure{[]}
915 {\Configure{@math}{div}\IgnorePar
916 \ifvmode\else \HCode{<!--tex4ht:inline-->}\fi
917 \EndP
918 \Configure{DviMathSpk}
919 {\HCode{<div class="display-math">%
920 \add:description{begin-math}{\a:speak:math}}}
921 {\HCode{\add:description{end-math}{\b:speak:math}</div>}}%
922 \DviMath $$\DisplayMathtrue }
923 {$$\EndDviMath}
924 \Configure{()}
925 {\Configure{DviMathSpk}
926 {\HCode{<span class="inline-math">%
927 \add:description{begin-math}{\a:speak:math}}}
928 {\HCode{\add:description{end-math}{\b:speak:math}</span>}}%
929 \DviMath $}
930 {$\EndDviMath}
931 \def\AA:text#1{\mtexttrue
932 \HCode{ <span\Hnewline class="mstyle-#1">}%
933 \ht:special{t4ht@,&\#x00A0;}%
934 \PauseMathClass
935 \Configure{$}%
936 {\EndPauseMathClass \HCode{<span \Hnewline
937 class="text-math">}\mtextfalse
938 \ht:special{t4ht@,}%
939 }%
940 {\HCode{</span>}\ht:special{t4ht@,&\#x00A0;}%
941 \PauseMathClass \mtexttrue}%
942 {}%
943 %
944 }
945 \def\BB:text{\mtextfalse\EndPauseMathClass\ht:special{t4ht@,}%
946 \HCode
947 {</span>}%
948 }
949 \Configure{hspace}{ }{}{ }
950 \def\:temp#1#2{\expandafter\def\csname prefix:#1:over\endcsname
951 {\HCode{\add:description{added-description}{ #2 }}}}
952 \:temp{vec}{\b:speak:underover}
953 \:temp{dddot}{\b:speak:underover}
954 \:temp{ddddot}{\b:speak:underover}
955 \Configure{overline}
956 {\bgroup\ifmathml
957 \HCode{<span class="mover-overline">%
958 \add:description{begin-end}{\b:speak:modified}%
959 <span class="mo-00AF">}%
960 \else \HCode{<span class="overline">}\fi}
961 {\ifmathml
962 \HCode{</span>%
963 \add:description{begin-end}{\a:speak:modified:line}</span>}%
964 \else \HCode{</span>}\fi\egroup}
965 \Configure{underline}
966 {\bgroup
967 \ifmathml
968 \HCode{<span class="munder-underline">%
969 \add:description{begin-end}{\a:speak:modified}%
970 <span class="mo-0332">}%
971 \else \expandafter\everymath
972 \expandafter{\expandafter\everymath
973 \expandafter{\the\everymath}}%
974 \let\o::@underline:\o:@@underline:
975 \def\o:@@underline:{\let\o:@@underline:\o::@underline:}%
976 \HCode{<span class="underline">}\fi}
977 {\ifmathml \HCode{</span>%
978 \add:description{begin-end}{\a:speak:modified:line}</span>}%
979 \else \HCode{</span>}\fi \egroup}
980 \NewConfigure{speak:modified}{2}
981 \Configure{speak:modified}
982 {modified under}
983 {modified above}
984 \NewConfigure{speak:modified:line}{1}
985 \Configure{speak:modified:line}{with bar}
986 \NewConfigure{speak:modified:brace}{1}
987 \Configure{speak:modified:brace}{with brace}
988 \NewConfigure{speak:modified:hat}{1}
989 \Configure{speak:modified:hat}{with wide hat}
990 \NewConfigure{speak:modified:tilde}{1}
991 \Configure{speak:modified:tilde}{with wide tilde}
992
993 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
994
995 \endinput\empty\empty\empty\empty\empty\empty
996 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
997
998
999
1000
1001
1002
1003
1004 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1005 \ConfigureHinput{fontmath}
1006 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1007 \Configure{big}
1008 {}{}
1009 {}
1010 {}
1011 \Configure{Big}
1012 {}{}
1013 {}
1014 {}
1015 \Configure{bigg}
1016 {}{}
1017 {}
1018 {}
1019 \Configure{Bigg}
1020 {}{}
1021 {}
1022 {}
1023 \Configure{Biggm}
1024 {\bgroup
1025 \Configure{Bigg}{}{}{}{}%
1026 \Configure{mathrel}{*}
1027 {<span class="MathClass-rel" title="Bigg" >}
1028 {</span>}
1029 {\Configure{mathrel}{}{}{}{}}%
1030 }
1031 {\egroup}
1032 \Configure{Bigm}
1033 {\bgroup
1034 \Configure{Big}{}{}{}{}%
1035 \Configure{mathrel}{*}
1036 {<span class="MathClass-rel" title="Big" >}
1037 {</span>}
1038 {\Configure{mathrel}{}{}{}{}}%
1039 }
1040 {\egroup}
1041 \Configure{biggm}
1042 {\bgroup
1043 \Configure{bigg}{}{}{}{}%
1044 \Configure{mathrel}{*}
1045 {<span class="MathClass-rel" title="bigg" >}
1046 {</span>}
1047 {\Configure{mathrel}{}{}{}{}}%
1048 }
1049 {\egroup}
1050 \Configure{bigm}
1051 {\bgroup
1052 \Configure{big}{}{}{}{}%
1053 \Configure{mathrel}{*}
1054 {<span class="MathClass-rel" title="big" >}
1055 {</span>}
1056 {\Configure{mathrel}{}{}{}{}}%
1057 }
1058 {\egroup}
1059
1060 \:CheckOption{mathml-} \if:Option
1061 \Configure{Biggl}
1062 {\bgroup
1063 \Configure{Bigg}{}{}{}{}%
1064 \Configure{mathopen}{*}
1065 {<span class="MathClass-open" title="Bigg" >}
1066 {</span>}
1067 {\Configure{mathopen}{}{}{}{}}%
1068 }
1069 {\egroup}
1070 \Configure{Biggr}
1071 {\bgroup
1072 \Configure{Bigg}{}{}{}{}%
1073 \Configure{mathclose}{*}
1074 {<span class="MathClass-close" title="Bigg" >}
1075 {</span>}
1076 {\Configure{mathclose}{}{}{}{}}%
1077 }
1078 {\egroup}
1079 \Configure{Bigl}
1080 {\bgroup
1081 \Configure{Big}{}{}{}{}%
1082 \Configure{mathopen}{*}
1083 {<span class="MathClass-open" title="Big" >}
1084 {</span>}
1085 {\Configure{mathopen}{}{}{}{}}%
1086 }
1087 {\egroup}
1088 \Configure{Bigr}
1089 {\bgroup
1090 \Configure{Big}{}{}{}{}%
1091 \Configure{mathclose}{*}
1092 {<span class="MathClass-close" title="Big" >}
1093 {</span>}
1094 {\Configure{mathclose}{}{}{}{}}%
1095 }
1096 {\egroup}
1097 \Configure{biggl}
1098 {\bgroup
1099 \Configure{bigg}{}{}{}{}%
1100 \Configure{mathopen}{*}
1101 {<span class="MathClass-open" title="bigg" >}
1102 {</span>}
1103 {\Configure{mathopen}{}{}{}{}}%
1104 }
1105 {\egroup}
1106 \Configure{biggr}
1107 {\bgroup
1108 \Configure{bigg}{}{}{}{}%
1109 \Configure{mathclose}{*}
1110 {<span class="MathClass-close" title="bigg" >}
1111 {</span>}
1112 {\Configure{mathclose}{}{}{}{}}%
1113 }
1114 {\egroup}
1115 \Configure{bigl}
1116 {\bgroup
1117 \Configure{big}{}{}{}{}%
1118 \Configure{mathopen}{*}
1119 {<span class="MathClass-open" title="big" >}
1120 {</span>}
1121 {\Configure{mathopen}{}{}{}{}}%
1122 }
1123 {\egroup}
1124 \Configure{bigr}
1125 {\bgroup
1126 \Configure{big}{}{}{}{}%
1127 \Configure{mathclose}{*}
1128 {<span class="MathClass-close" title="big" >}
1129 {</span>}
1130 {\Configure{mathclose}{}{}{}{}}%
1131 }
1132 {\egroup}
1133
1134 \else
1135 \Configure{Biggl}
1136 {\bgroup
1137 \Configure{Bigg}{}{}{}{}%
1138 \Configure{mathopen}{*}
1139 {<span class="Biggl"><span class="MathClass-open" >}
1140 {</span><span>}
1141 {\Configure{mathopen}{}{}{}{}}%
1142 }
1143 {\egroup}
1144 \Configure{Biggr}
1145 {\bgroup
1146 \Configure{Bigg}{}{}{}{}%
1147 \Configure{mathclose}{*}
1148 {</span><span class="MathClass-close" >}
1149 {</span></span>}
1150 {\Configure{mathclose}{}{}{}{}}%
1151 }
1152 {\egroup}
1153 \Configure{Bigl}
1154 {\bgroup
1155 \Configure{Big}{}{}{}{}%
1156 \Configure{mathopen}{*}
1157 {<span class="Bigl"><span class="MathClass-open">}
1158 {</span><span>}
1159 {\Configure{mathopen}{}{}{}{}}%
1160 }
1161 {\egroup}
1162 \Configure{Bigr}
1163 {\bgroup
1164 \Configure{Big}{}{}{}{}%
1165 \Configure{mathclose}{*}
1166 {</span><span class="MathClass-close" >}
1167 {</span></span>}
1168 {\Configure{mathclose}{}{}{}{}}%
1169 }
1170 {\egroup}
1171 \Configure{biggl}
1172 {\bgroup
1173 \Configure{bigg}{}{}{}{}%
1174 \Configure{mathopen}{*}
1175 {<span class="biggl"><span class="MathClass-open">}
1176 {</span><span>}
1177 {\Configure{mathopen}{}{}{}{}}%
1178 }
1179 {\egroup}
1180 \Configure{biggr}
1181 {\bgroup
1182 \Configure{bigg}{}{}{}{}%
1183 \Configure{mathclose}{*}
1184 {</span><span class="MathClass-close" >}
1185 {</span></span>}
1186 {\Configure{mathclose}{}{}{}{}}%
1187 }
1188 {\egroup}
1189 \Configure{bigl}
1190 {\bgroup
1191 \Configure{big}{}{}{}{}%
1192 \Configure{mathopen}{*}
1193 {<span class="bigl"><span class="MathClass-open">}
1194 {</span><span>}
1195 {\Configure{mathopen}{}{}{}{}}%
1196 }
1197 {\egroup}
1198 \Configure{bigr}
1199 {\bgroup
1200 \Configure{big}{}{}{}{}%
1201 \Configure{mathclose}{*}
1202 {</span><span class="MathClass-close" >}
1203 {</span></span>}
1204 {\Configure{mathclose}{}{}{}{}}%
1205 }
1206 {\egroup}
1207
1208 \fi
1209 \Configure{MathClass}{0}{*}{<span class="mi"\Hnewline>}%
1210 {</span>}{}
1211 \Configure{MathClass}{1}{*}{<span class="before-mo-op"
1212 title="speech-extra">
1213 </span><span class="mo-op"\Hnewline
1214 >}{</span><span class="after-mo-op"
1215 title="speech-extra"> </span>}{}
1216 \Configure{MathClass}{2}{*}{<span class="mo-bin">}{</span>}{}
1217 \Configure{MathClass}{3}{*}{<span class="mo-rel">}{</span>}{}
1218 \:CheckOption{mathml-} \if:Option
1219 \Configure{MathClass}{4}{*}{<span class="mo-open">}
1220 {</span>}{}
1221 \Configure{MathClass}{5}{*}{<span class="mo-close">}
1222 {</span>}{}
1223 \else
1224 \Log:Note{for sources failing to produce
1225 clean mathml code, try the command line option `mathml-'}%
1226 \Configure{MathClass}{4}{*}{<span class="mrow"><span class="mo-open">}
1227 {</span><span class="mrow">}{}
1228 \Configure{MathClass}{5}{*}{</span><span class="mo-close">}
1229 {</span></span>}{}
1230 \fi
1231 \Configure{MathClass}{6}{*}{<span class="mo-punc">}{</span>}{}
1232 \Configure{MathClass}{7}{*}{<span class="mn">}{</span>}
1233 {0123456789}
1234 \Configure{FormulaClass}{0}{}{}{}
1235 \Configure{FormulaClass}{1}{}{}{}
1236 \Configure{FormulaClass}{2}{}{}{}
1237 \Configure{FormulaClass}{3}{}{}{}
1238 \Configure{FormulaClass}{4}{}{}{}
1239 \Configure{FormulaClass}{5}{}{}{}
1240 \Configure{FormulaClass}{6}{}{}{}
1241 \def\:tempc{\HCode{\add:description{added-description}{real part
1242 symbol capital }}\o:Re:}
1243 \HLet\Re\:tempc
1244 \def\:tempc{\HCode{\add:description{added-description}{real part
1245 symbol capital }}\o:Im:}
1246 \HLet\Im\:tempc
1247 \Configure{overbrace}
1248 {\Configure{mathop*}{*}
1249 {<span class="mover-overline">%
1250 \add:description{begin-end}{\b:speak:modified}%
1251 <span class="mo-FE37">}
1252 {</span>\add:description{begin-end}{\a:speak:modified:brace}</span>}
1253 {\Configure{mathop}{}{}{}{}}%
1254 }
1255 {\let\o:overbrace:=\displaystyle}
1256 {}
1257 \Configure{underbrace}
1258 {\Configure{mathop*}{*}
1259 {<span class="munder-underline">%
1260 \add:description{begin-end}{\a:speak:modified}%
1261 <span class="mo-FE38">}
1262 {</span>\add:description{begin-end}{\a:speak:modified:brace}</span>}
1263 {\Configure{mathop}{}{}{}{}}%
1264 }
1265 {\let\o:underbrace:=\displaystyle}
1266 {}
1267 \Configure{overrightarrow}
1268 {\HCode{<span class="mover-rightarrow">%
1269 \add:description{begin-end}{\b:speak:modified}%
1270 <span class="mo-20D5"\Hnewline>}\:gobble}
1271 {\HCode{</span>%
1272 \add:description{begin-end}{\a:speak:modified:rightarrow}</span>}}
1273 \Configure{overleftarrow}
1274 {\HCode{<span class="mover-leftarrow">%
1275 \add:description{begin-end}{\b:speak:modified}%
1276 <span class="mo-20D6"\Hnewline>}\:gobble}
1277 {\HCode{</span>%
1278 \add:description{begin-end}{\a:speak:modified:leftarrow}</span>}}
1279 \NewConfigure{speak:modified:rightarrow}{1}
1280 \Configure{speak:modified:rightarrow}{with right arrow}
1281 \NewConfigure{speak:modified:leftarrow}{1}
1282 \Configure{speak:modified:leftarrow}{with left right arrow}
1283 \NewConfigure{speak:modified:leftrightarrow}{1}
1284 \Configure{speak:modified:leftrightarrow}{with left right arrow}
1285
1286 \def\bold:version{bold}
1287 \Configure{mathbf}%
1288 {\bgroup \Tg<span class="mathvariant-bold">}%
1289 {\Tg</span>\egroup }%
1290 \Configure{mathit}%
1291 {\bgroup \Tg<span
1292 class="mathvariant-\ifx \bold:version\math@version bold-\fi italic">}%
1293 {\Tg</span>\egroup }%
1294 \Configure{mathrm}%
1295 {\bgroup \Tg<span class="mathvariant-normal">}%
1296 {\Tg</span>\egroup }%
1297 \Configure{mathsf}%
1298 {\bgroup \Tg<span
1299 class="mathvariant-\ifx \bold:version\math@version bold-\fi sans-serif">}%
1300 {\Tg</span>\egroup }%
1301 \Configure{mathtt}%
1302 {\bgroup \Tg<span class="mathvariant-monospace">}%
1303 {\Tg</span>\egroup }%
1304 \def\:tempd#1#2{%
1305 \expandafter\def\csname #1\endcsname{\mathchar"13#2\relax}%
1306 \MathSymbol\mathop{#1}%
1307 \expandafter\def\csname #1:limits\endcsname{\expandafter
1308 \:same \math:sym\mathop{#1}\limits}%
1309 \expandafter\def\csname #1:nolimits\endcsname{\expandafter
1310 \:same \math:sym\mathop{#1}\nolimits}%
1311 \expandafter\edef\csname n:#1:\endcsname{\noexpand\ifDisplayMath
1312 \noexpand\expandafter \expandafter\noexpand \csname #1:limits\endcsname
1313 \noexpand\else \noexpand\expandafter
1314 \expandafter\noexpand
1315 \csname #1:nolimits\endcsname\noexpand\fi}%
1316 \expandafter\pend:def\csname n:#1:\endcsname{\ifDisplayMath
1317 \mathop:prefix{mathsize-big}\fi}%
1318 }
1319 \:tempd{bigcap}{54}
1320 \:tempd{bigcup}{53}
1321 \:tempd{bigodot}{4A}
1322 \:tempd{bigoplus}{4C}
1323 \:tempd{bigotimes}{4E}
1324 \:tempd{bigsqcup}{46}
1325 \:tempd{biguplus}{55}
1326 \:tempd{bigvee}{57}
1327 \:tempd{bigwedge}{56}
1328 \:tempd{coprod}{60}
1329 \:tempd{intop}{52}
1330 \:tempd{ointop}{48}
1331 \:tempd{prod}{51}
1332 \:tempd{sum}{50}
1333
1334 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1335
1336 \endinput\empty\empty\empty\empty\empty\empty
1337 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1359 \ConfigureHinput{amsmath}
1360 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1361 \ifx \mathdisplay@@pop\:UnDef
1362 \ifx \emdf@La\:UnDef
1363
1364 \else
1365
1366 \fi
1367 \else
1368 \Configure{equation}
1369 {\ifvmode \IgnorePar\fi\EndP
1370 \PushStack\Table:Stck\TableNo
1371 \gHAdvance\Next:TableNo by 1
1372 \global\let\TableNo=\Next:TableNo
1373 %
1374 \HCode{<div class="display-math">%
1375 \add:description{begin-math}{\a:speak:equation}%
1376 <div class="equation">}%
1377 \Configure{gather}
1378 {\HCode{<div\Hnewline class="equation"><div
1379 class="gather">}\IgnorePar
1380 \Configure{$$}
1381 {\Configure{@math}{%
1382 class="equation"}\IgnorePar\EndP\DviMath}
1383 {\EndDviMath\EndP}
1384 {\DisplayMathtrue}%
1385 }
1386 {\HCode{</div></div>}}
1387 {}
1388 {}
1389 {\ifnum\HCol=2 \IgnorePar
1390 \HCode{</div><div>}\fi }
1391 {}
1392 %
1393 \Configure{$$}
1394 {\Configure{@math}{%
1395 class="equation"}\IgnorePar\EndP\DviMath}
1396 {\EndDviMath\EndP}
1397 {\DisplayMathtrue}%
1398 %
1399 }
1400 {\ifvmode \IgnorePar\fi\EndP
1401 \HCode{</div>}%
1402 \let\@eqnnum\empty
1403 }
1404 {\ifvmode \IgnorePar\fi\EndP
1405 \HCode{%
1406 \add:description{end-math}{\b:speak:equation}%
1407 </div>}%
1408 \Tag{eq-\TableNo-num}{\theequation}%
1409 \PopStack\Table:Stck\TableNo
1410 %
1411 \ShowPar\IgnoreIndent\par}
1412 \Configure{equation*}
1413 {\ifvmode \IgnorePar\fi\EndP
1414 \PushStack\Table:Stck\TableNo
1415 \gHAdvance\Next:TableNo by 1
1416 \global\let\TableNo=\Next:TableNo
1417 %
1418 \HCode{<div class="display-math">%
1419 \add:description{begin-math}{\csname
1420 a:speak:equation*\endcsname}}%
1421 \Configure{gather*}
1422 {\HCode{<div\Hnewline class="equation-star"><div
1423 class="gather-star">}\IgnorePar
1424 \Configure{$$}
1425 {\Configure{@math}{%
1426 class="equation"}\IgnorePar\EndP\DviMath}
1427 {\EndDviMath\EndP}
1428 {\DisplayMathtrue}%
1429 }
1430 {\HCode{</div></div>}}
1431 {}
1432 {}
1433 {\ifnum\HCol=2 \IgnorePar
1434 \HCode{</div><div>}\fi }
1435 {}
1436 %
1437 \Configure{$$}
1438 {\Configure{@math}{%
1439 class="equation"}\IgnorePar\EndP\DviMath}
1440 {\EndDviMath\EndP}
1441 {\DisplayMathtrue}%
1442 %
1443 }
1444 {\ifvmode \IgnorePar\fi\EndP
1445 \HCode{\add:description{end-math}{\csname
1446 b:speak:equation*\endcsname}</div>}%
1447 \PopStack\Table:Stck\TableNo
1448 %
1449 \ShowPar\IgnoreIndent\par}
1450 \Configure{speak:equation}
1451 {begin equation
1452 \ifTag{eq-\TableNo-num}{\LikeRef{eq-\TableNo-num}}{}%
1453 }
1454 {end equation \theequation}
1455 \NewConfigure{speak:equation*}{2}
1456 \Configure{speak:equation*}
1457 {begin equation}
1458 {end equation}
1459
1460 \fi
1461
1462 \Configure{eqref}
1463 {\bgroup\let\tagform@\empty
1464 \HCode{<span class="eqref" >
1465 \add:description{added-description}{\a:speak:eqref}}}
1466 {\HCode{</span>}\egroup}
1467 \NewConfigure{speak:eqref}{1}
1468 \Configure{speak:eqref}{ equation }
1469 \Configure{aligned}
1470 {\PushStack\Table:Stck\TableNo
1471 \gHAdvance\Next:TableNo by 1
1472 \global\let\TableNo=\Next:TableNo
1473 %
1474 \PushStack\Row:Stck\HRow \HAssign\HRow=0\relax
1475 %
1476 \HCode{<div class="aligned">}%
1477 \HCode{\add:vdescription{begin-array}{\a:speak:aligned}}}
1478 {\Tag{aligned-\TableNo}{\hrow:s}%
1479 \HCode{<!--l. \the\inputlineno-->%
1480 %
1481 \add:vdescription{end-array}{\b:speak:aligned}}%
1482 \ifvmode \IgnorePar\fi \Tg</div>%
1483 \PopStack\Row:Stck\HRow
1484 %
1485 \PopStack\Table:Stck\TableNo
1486 }
1487 {\HCode{<div class="tr">}\c:speak:aligned}%
1488 {\xdef\hrow:s{\HRow}\HCode{</div>}}%
1489 {\HCode{<div class="td" >}%
1490 \e:speak:aligned \HCode{<div>}}
1491 {\HCode{</div>}\f:speak:aligned
1492 \HCode{</div>\Hnewline}}
1493 \NewConfigure{speak:aligned}{6}
1494 \Configure{speak:aligned}
1495 {begin
1496 \ifTag{aligned-\TableNo}{\LikeRef{aligned-\TableNo}}{}
1497 aligned equations}
1498 {end equations}
1499 {\HCode{\add:vdescription{begin-end}{<span class="ord-row">\ord:pos{\HRow}</span>%
1500 row}}%
1501 }
1502 {}
1503 {\HCode{%
1504 \add:vdescription{added-description}{%
1505 \ifnum \HMultispan>1 \ord:pos{\HCol}%
1506 cell, spans
1507 \HMultispan \space columns
1508 \else
1509 \ifnum \HCol>1 \ord:pos{\HCol}%
1510 cell \fi
1511 \fi
1512 }}%
1513 }
1514 {}
1515 \Configure{alignedat}
1516 {\PushStack\Table:Stck\TableNo
1517 \gHAdvance\Next:TableNo by 1
1518 \global\let\TableNo=\Next:TableNo
1519 %
1520 \PushStack\Row:Stck\HRow \HAssign\HRow=0\relax
1521 %
1522 \HCode{<div class="aligned">}%
1523 \HCode{\add:vdescription{begin-array}{\a:speak:aligned}}}
1524 {\Tag{aligned-\TableNo}{\hrow:s}%
1525 \HCode{<!--l. \the\inputlineno-->%
1526 %
1527 \add:vdescription{end-array}{\b:speak:aligned}}%
1528 \ifvmode \IgnorePar\fi \Tg</div>%
1529 \PopStack\Row:Stck\HRow
1530 %
1531 \PopStack\Table:Stck\TableNo
1532 }
1533 {\HCode{<div class="tr">}\c:speak:aligned}%
1534 {\xdef\hrow:s{\HRow}\HCode{</div>}}%
1535 {\HCode{<div class="td" >}%
1536 \e:speak:aligned \HCode{<div>}}
1537 {\HCode{</div>}\f:speak:aligned
1538 \HCode{</div>\Hnewline}}
1539 \ConfigureEnv{cases}
1540 {\PushStack\Table:Stck\TableNo
1541 \gHAdvance\Next:TableNo by 1
1542 \global\let\TableNo=\Next:TableNo
1543 %
1544 \PushStack\Row:Stck\HRow \HAssign\HRow=0\relax
1545 %
1546 \HCode{<div class="cases">}%
1547 \bgroup
1548 \let\sv:a:left=\a:left
1549 \let\sv:b:left=\b:left
1550 \let\sv:a:right=\a:right
1551 \let\sv:b:right=\b:right
1552 %
1553 \Configure{array}
1554 {\HCode{<div class="table" title="cases">%
1555 \add:vdescription{begin-array}{begin
1556 \ifTag{cases-\TableNo}{\LikeRef{cases-\TableNo}}{} cases}}} %
1557 {\Tag{cases-\TableNo}{\HRow}%
1558 \HCode{<!--l. \the\inputlineno-->%
1559 %
1560 \add:vdescription{end-array}{end cases}}%
1561 \ifvmode \IgnorePar\fi \Tg</div>}
1562 {\HCode{<div class="tr">%
1563 \add:vdescription{begin-end}{Case \HRow}}}
1564 {\HCode{</div>}}%
1565 {\HCode{<div class="sub-case-\HCol" >}%
1566 \bgroup
1567 \Configure{array}
1568 {\PushStack\Table:Stck\TableNo
1569 \gHAdvance\Next:TableNo by 1
1570 \global\let\TableNo=\Next:TableNo
1571 %
1572 \PushStack\Row:Stck\HRow \HAssign\HRow=0\relax
1573 %
1574 \HCode{<div class="array">}%
1575 \HCode{\add:vdescription{begin-array}{\a:speak:array}}}
1576 {\Tag{array-\TableNo}{\hrow:s}%
1577 \HCode{<!--l. \the\inputlineno-->%
1578 %
1579 \add:vdescription{end-array}{\b:speak:array}}%
1580 \ifvmode \IgnorePar\fi \expandafter\tmp:toks\expandafter{\Clr}%
1581 \HCode{<!--\the\tmp:toks-->}%
1582 \Tg</div>%
1583 \PopStack\Row:Stck\HRow
1584 %
1585 \PopStack\Table:Stck\TableNo
1586 }
1587 {\HCode{<div class="tr">}\c:speak:array}%
1588 {\xdef\hrow:s{\HRow}\HCode{</div>}}%
1589 {\HCode{<div class="td" >}%
1590 \e:speak:array\HCode{<div>}}
1591 {\HCode{</div>}\f:speak:array
1592 \HCode{</div>\Hnewline}}
1593 \ConfigureEnv{array}
1594 {\bgroup\Configure{$}{}{}{}}
1595 {\egroup}
1596 {}{}
1597 %
1598 \let\a:left=\sv:a:left
1599 \let\b:left=\sv:b:left
1600 \let\a:right=\sv:a:right
1601 \let\b:right=\sv:b:right
1602 %
1603 }
1604 {\egroup \HCode{</div>\Hnewline}}
1605 %
1606 \Configure{left}
1607 {}
1608 {\bgroup}
1609 \Configure{right}
1610 {\egroup}
1611 {}
1612 %
1613 }
1614 {\egroup\HCode{</div>}%
1615 \PopStack\Row:Stck\HRow
1616 %
1617 \PopStack\Table:Stck\TableNo
1618 }
1619 {}{}
1620 \Configure{split}
1621 {\PushStack\Table:Stck\TableNo
1622 \gHAdvance\Next:TableNo by 1
1623 \global\let\TableNo=\Next:TableNo
1624 %
1625 \HCode{<div class="split">%
1626 \add:vdescription{begin-array}{begin
1627 \ifTag{split-\TableNo}{\LikeRef{split-\TableNo}}{}
1628 sub equations}}}
1629 {\ifvmode\IgnorePar\fi
1630 \Tag{split-\TableNo}{\HRow:s}%
1631 \HCode{\add:vdescription{end-array}{end sub equations}</div>}%
1632 \PopStack\Table:Stck\TableNo
1633 %
1634 }
1635 {\HCode{<div\Hnewline class="tr">}%
1636 \xdef\HRow:s{\HRow}%
1637 }
1638 {\HCode{</div>}}
1639 {\HCode{<div\Hnewline class="split-side"
1640 title="implicit-baseline" >%
1641 \add:vdescription{begin-end}{%
1642 \ifnum \HCol=1 left \else right \fi
1643 <span class="ord-row">\ord:pos{\HRow}</span>%
1644 sub equation}}%
1645 }
1646 {\HCode{</div>}}
1647 \ConfigureEnv{multline}
1648 {\bgroup \Configure{$$}
1649 {\Configure{@math}{%
1650 class="equation"}\IgnorePar\EndP\DviMath}
1651 {\EndDviMath\EndP}
1652 {\DisplayMathtrue}%
1653 }
1654 {\egroup}
1655 {}{}
1656 \ConfigureEnv{multline*}
1657 {\bgroup \Configure{$$}
1658 {\Configure{@math}{%
1659 class="equation"}\IgnorePar\EndP\DviMath}
1660 {\EndDviMath\EndP}
1661 {\DisplayMathtrue}%
1662 }
1663 {\egroup}
1664 {}{}
1665 \Configure{multline}
1666 {\PushStack\Table:Stck\TableNo
1667 \gHAdvance\Next:TableNo by 1
1668 \global\let\TableNo=\Next:TableNo
1669 %
1670 \PushStack\Row:Stck\HRow \HAssign\HRow=0\relax
1671 %
1672 \HCode{<div\Hnewline class="display-math">%
1673 \add:vdescription{begin-math}{begin equation
1674 \ifTag{multline-\TableNo-num}{\LikeRef{multline-\TableNo-num}}{}
1675 with
1676 \ifTag{multline-\TableNo}{\LikeRef{multline-\TableNo}}{}
1677 lines}%
1678 <div class="multline">%
1679 }}
1680 {\Tag{multline-\TableNo}{\hrow:s}%
1681 \HCode{</div>%
1682 \add:vdescription{end-math}{end equation
1683 \ifTag{multline-\TableNo-num}{\LikeRef{multline-\TableNo-num}}{}%
1684 }%
1685 </div>}%
1686 \PopStack\Row:Stck\HRow
1687 %
1688 \PopStack\Table:Stck\TableNo
1689 }
1690 {\HCode{<div class="tr" ><div\Hnewline class="multline-1">%
1691 \add:vdescription{begin-end}{<span class="ord-row">\ord:pos{\HRow}</span>%
1692 line}%
1693 }}
1694 {\xdef\hrow:s{\HRow}\HCode{</div></div>}}
1695 {\HCode{</div><div class="multline-2">}}
1696 {}
1697 \Configure{multline-num}
1698 {\Tag{multline-\TableNo-num}{\theequation}\let\tagform@\:gobble}
1699 {}
1700 \Configure{multline*}
1701 {\PushStack\Table:Stck\TableNo
1702 \gHAdvance\Next:TableNo by 1
1703 \global\let\TableNo=\Next:TableNo
1704 %
1705 \PushStack\Row:Stck\HRow \HAssign\HRow=0\relax
1706 %
1707 \HCode{<div\Hnewline class="display-math">%
1708 \add:vdescription{begin-math}{begin equation with
1709 \ifTag{multline-\TableNo}{\LikeRef{multline-\TableNo}}{}
1710 lines}%
1711 <div class="multline-star">%
1712 }}
1713 {\Tag{multline-\TableNo}{\hrow:s}%
1714 \HCode{</div>%
1715 \add:vdescription{end-math}{end equation}%
1716 </div>}%
1717 \PopStack\Row:Stck\HRow
1718 %
1719 \PopStack\Table:Stck\TableNo
1720 }
1721 {\HCode{<div\Hnewline class="tr">%
1722 \add:vdescription{begin-end}{<span class="ord-row">\ord:pos{\HRow}</span>%
1723 line}%
1724 }}
1725 {\xdef\hrow:s{\HRow}\HCode{</div>}}
1726 \Css{.begin-multline, .end-multline {color:red;}}
1727 \ConfigureEnv{gather}
1728 {\bgroup \Configure{$$}
1729 {\Configure{@math}{%
1730 class="equation"}\IgnorePar\EndP\DviMath}
1731 {\EndDviMath\EndP}
1732 {\DisplayMathtrue}%
1733 }
1734 {\egroup}
1735 {}{}
1736 \ConfigureEnv{gather*}
1737 {\bgroup \Configure{$$}
1738 {\Configure{@math}{%
1739 class="equation"}\IgnorePar\EndP\DviMath}
1740 {\EndDviMath\EndP}
1741 {\DisplayMathtrue}%
1742 }
1743 {\egroup}
1744 {}{}
1745 \Css{.begin-gather, .end-gather {color:red;}}
1746 \Configure{gather}
1747 {\PushStack\Table:Stck\TableNo
1748 \gHAdvance\Next:TableNo by 1
1749 \global\let\TableNo=\Next:TableNo
1750 %
1751 \PushStack\Row:Stck\HRow \HAssign\HRow=0\relax
1752 %
1753 \HCode{<div\Hnewline class="display-math">%
1754 \add:vdescription{begin-math}{begin group of
1755 \ifTag{gather-\TableNo}{\LikeRef{gather-\TableNo}}{}
1756 equations}%
1757 <div class="gather">%
1758 }}
1759 {\HCode{</div>\add:vdescription{end-math}{end equations}%
1760 </div>}%
1761 \Tag{gather-\TableNo}{\hrow:s}%
1762 \PopStack\Row:Stck\HRow
1763 %
1764 \PopStack\Table:Stck\TableNo
1765 }
1766 {\HCode{<div class="tr">%
1767 \add:vdescription{begin-end}{<span class="ord-row">\ord:pos{\HRow}</span>%
1768 equation}%
1769 }}
1770 {\xdef\hrow:s{\HRow}\HCode{</div>}}
1771 {\HCode{\Hnewline<div \ifnum \HCol=1 class="col-\HCol"
1772 \else class="content-less" title="col-\HCol"
1773 \fi
1774 >}%
1775 \ifnum \HCol>1 \let\tagform@\:gobble \fi
1776 }
1777 {\HCode{</div>}}
1778 \Configure{gather*}
1779 {\PushStack\Table:Stck\TableNo
1780 \gHAdvance\Next:TableNo by 1
1781 \global\let\TableNo=\Next:TableNo
1782 %
1783 \PushStack\Row:Stck\HRow \HAssign\HRow=0\relax
1784 %
1785 \HCode{<div\Hnewline class="display-math">%
1786 \add:vdescription{begin-math}{begin group of
1787 \ifTag{gather-\TableNo}{\LikeRef{gather-\TableNo}}{}
1788 equations}%
1789 <div class="gather-star">%
1790 }}
1791 {\HCode{</div>\add:vdescription{end-math}{end equations}%
1792 </div>}%
1793 \Tag{gather-\TableNo}{\hrow:s}%
1794 \PopStack\Row:Stck\HRow
1795 %
1796 \PopStack\Table:Stck\TableNo
1797 }
1798 {\HCode{<div class="tr">%
1799 \add:vdescription{begin-math}{<span class="ord-row">\ord:pos{\HRow}</span>%
1800 equation}%
1801 }}
1802 {\xdef\hrow:s{\HRow}\HCode{</div>}}
1803 {\HCode{\Hnewline<div \ifnum \HCol=1 class="col-\HCol"
1804 \else class="content-less" title="col-\HCol"
1805 \fi
1806 >}}
1807 {\HCode{</div>}}
1808 \Configure{gathered}
1809 {\PushStack\Table:Stck\TableNo
1810 \gHAdvance\Next:TableNo by 1
1811 \global\let\TableNo=\Next:TableNo
1812 %
1813 \PushStack\Row:Stck\HRow \HAssign\HRow=0\relax
1814 %
1815 \HCode{<div\Hnewline class="display-math">%
1816 \add:vdescription{begin-math}{begin group of
1817 \ifTag{gather-\TableNo}{\LikeRef{gather-\TableNo}}{}
1818 equations}%
1819 <div class="gather">%
1820 }}
1821 {\HCode{</div>\add:vdescription{end-math}{end equations}%
1822 </div>}%
1823 \Tag{gather-\TableNo}{\hrow:s}%
1824 \PopStack\Row:Stck\HRow
1825 %
1826 \PopStack\Table:Stck\TableNo
1827 }
1828 {\HCode{<div class="tr">%
1829 \add:vdescription{begin-end}{<span class="ord-row">\ord:pos{\HRow}</span>%
1830 equation}%
1831 }}
1832 {\xdef\hrow:s{\HRow}\HCode{</div>}}
1833 {\HCode{\Hnewline<div \ifnum \HCol=1 class="col-\HCol"
1834 \else class="content-less" title="col-\HCol"
1835 \fi
1836 >}%
1837 \ifnum \HCol>1 \let\tagform@\:gobble \fi
1838 }
1839 {\HCode{</div>}}
1840 \Configure{subarray}
1841 {\PushStack\Table:Stck\TableNo
1842 \gHAdvance\Next:TableNo by 1
1843 \global\let\TableNo=\Next:TableNo
1844 %
1845 \PushStack\Row:Stck\HRow \HAssign\HRow=0\relax
1846 %
1847 \HCode{<div class="subarray\if c\Hlcr-c\fi">%
1848 \add:vdescription{begin-array}{\a:speak:subarray}%
1849 }}
1850 {\HCode{\add:vdescription{end-array}{\b:speak:subarray}%
1851 </div>}%
1852 \Tag{subarray-\TableNo}{\hrow:s}%
1853 \PopStack\Row:Stck\HRow
1854 %
1855 \PopStack\Table:Stck\TableNo
1856 }
1857 {\HCode{<div class="tr">%
1858 \add:vdescription{begin-end}{\c:speak:subarray}%
1859 }}
1860 {\xdef\hrow:s{\HRow}\HCode{</div>}}
1861 \NewConfigure{speak:subarray}{3}
1862 \Configure{speak:subarray}
1863 {begin sub array with
1864 \ifTag{subarray-\TableNo}{\LikeRef{subarray-\TableNo}}{}
1865 rows}
1866 {end sub array}
1867 {<span class="ord-row">\ord:pos{\HRow}</span>%
1868 row}
1869
1870 \Configure{substack}
1871 {\bgroup
1872 \Configure{speak:subarray}
1873 {begin sub stack with
1874 \ifTag{subarray-\TableNo}{\LikeRef{subarray-\TableNo}}{}
1875 entries}
1876 {end sub stack}
1877 {<span class="ord-row">\ord:pos{\HRow}</span>%
1878 entry}
1879 }
1880 {\egroup}
1881 \Configure{smallmatrix}
1882 {\PushStack\Table:Stck\TableNo
1883 \gHAdvance\Next:TableNo by 1
1884 \global\let\TableNo=\Next:TableNo
1885 %
1886 \PushStack\Row:Stck\HRow \HAssign\HRow=0\relax
1887 %
1888 \HCode{<div class="smallmatrix">}%
1889 \HCode{\add:vdescription{begin-array}{\a:speak:smallmatrix}}}
1890 {\Tag{smallmatrix-\TableNo}{\hrow:s}%
1891 \HCode{<!--l. \the\inputlineno-->%
1892 %
1893 \add:vdescription{end-array}{\b:speak:smallmatrix}}%
1894 \ifvmode \IgnorePar\fi \Tg</div>%
1895 \PopStack\Row:Stck\HRow
1896 %
1897 \PopStack\Table:Stck\TableNo
1898 }
1899 {\HCode{<div class="tr">}\c:speak:smallmatrix}%
1900 {\xdef\hrow:s{\HRow}\HCode{</div>}}%
1901 {\HCode{<div class="td" >}%
1902 \e:speak:smallmatrix \HCode{<div>}}
1903 {\HCode{</div>}\f:speak:smallmatrix
1904 \HCode{</div>\Hnewline}}
1905 \def\:tempc#1#2{%
1906 \ConfigureEnv{#1}
1907 {\def\end:al:env{}\ifmmode\else
1908 \ifvmode\else \def\end:al:env{\par\ShowPar\IgnoreIndent}\fi\fi}
1909 {\end:al:env }
1910 {}{}%
1911 \Configure{#1}
1912 {\IgnorePar
1913 \ifvmode \EndP \else \EndP \HCode{<!--tex4ht:inline-->}\fi
1914 \ifmathml
1915 \Tg<span class="mrow">\def\end:mathalign{\Tg</span>}%
1916 \else
1917 \DviMath
1918 \def\end:mathalign{\EndDviMath \DisplayMathfalse}%
1919 \DisplayMathtrue
1920 \fi
1921 \PushStack\Table:Stck\TableNo
1922 \gHAdvance\Next:TableNo by 1
1923 \global\let\TableNo=\Next:TableNo
1924 %
1925 \PushStack\Row:Stck\HRow \HAssign\HRow=0\relax
1926 %
1927 \HCode{<div\Hnewline class="display-math"><div class="display-math">%
1928 \add:description{begin-array}{\a:speak:align}%
1929 }}
1930 {\HCode{%
1931 \add:description{end-array}{\b:speak:align}%
1932 </div></div>}%
1933 \Tag{align-\TableNo}{\hrow:s}%
1934 \PopStack\Row:Stck\HRow
1935 %
1936 \PopStack\Table:Stck\TableNo
1937 \end:mathalign }
1938 {\HCode{<div class="tr">\add:description{begin-end}{\c:speak:align}%
1939 }}
1940 {\HCode{</div>}\ifst@rred\else
1941 \Tag{align-\TableNo-\HRow}{\theequation}%
1942 \fi \xdef\hrow:s{\HRow}}
1943 {\HCode{<div\Hnewline
1944 class="align-\ifnum \HCol>\maxfields@ label\else
1945 \ifodd\HCol\space odd\else even\fi
1946 \fi">}%
1947 \ifnum \HCol>\maxfields@ \let\tagform@\:gobble \fi
1948 }
1949 {\HCode{</div>}}
1950 }
1951 \:tempc{align}{align}
1952 \:tempc{alignat}{alignat}
1953 \:tempc{xalignat}{xalignat}
1954 \:tempc{xxalignat}{xxalignat}
1955 \:tempc{flalign}{flalign}
1956 \:tempc{align*}{align-star}
1957 \:tempc{alignat*}{alignat-star}
1958 \:tempc{xalignat*}{xalignat-star}
1959 \:tempc{flalign*}{flalign-star}
1960 \Css{.begin-aligned, .end-aligned {color:red;}}
1961 \NewConfigure{speak:align}{3}
1962 \Configure{speak:align}
1963 {begin
1964 \ifTag{align-\TableNo}{\LikeRef{align-\TableNo}}{}
1965 aligned equations}
1966 {end aligned equations}
1967 {\ifst@rred <span class="ord-row">\ord:pos{\HRow}</span>%
1968 equation
1969 \else
1970 equation number \ifst@rred\else
1971 \ifTag{align-\TableNo-\HRow}{\LikeRef{align-\TableNo-\HRow}}{}
1972 \fi
1973 \fi
1974 }
1975 \def\:tempc{\HCode{<mspace width="0.2em"/>}\mathbin{mod} }
1976 \HLet\bmod\:tempc
1977 \def\:tempc#1{ (#1)}
1978 \HLet\pod=\:tempc
1979 \def\:tempc#1{\pod{\mathop{mod} #1}}
1980 \HLet\pmod=\:tempc
1981 \def\:tempc#1{ \mathop{mod} #1}
1982 \HLet\mod=\:tempc
1983 \def\:tempc{\ifDisplayMath\mathop:prefix{big}\fi\o:n:iint::}
1984 \HLet\n:iint:\:tempc
1985 \def\:tempc{\ifDisplayMath\mathop:prefix{big}\fi\o:n:iiint::}
1986 \HLet\n:iiint:\:tempc
1987 \def\:tempc{\ifDisplayMath\mathop:prefix{big}\fi\o:n:idotsint::}
1988 \HLet\n:idotsint:\:tempc
1989 \Configure{tmspace}
1990 {\HCode{<span class="space"> </span>%
1991 }}
1992 \Configure{above}
1993 {\Send{GROUP}{0}{<span class="mfrac">\add:description{begin-end}{\a:speak:fraction}%
1994 <span class="mrow-numerator"\Hnewline>%
1995 %
1996 }%
1997 \HCode{</span>}%
1998 %
1999 \o:@@over:\:gobbleII}
2000 {\HCode{\add:description{begin-end}{\c:speak:fraction}
2001 <span class="mrow-enumerator"\Hnewline>}%
2002 %
2003 \Send{EndGROUP}{0}{</span>\add:description{begin-end}{\b:speak:fraction}</span>%
2004 %
2005 }}
2006 \Configure{tbinom}
2007 {\Send{GROUP}{0}{<span class="tbinom">%
2008 \add:description{begin-stack}{\a:speak:choose}%
2009 <span class="mrow-upper">}%
2010 \HCode{</span>}\o:@@abovewithdelims: ..\z@{}%
2011 \HCode{\add:description{added-description}%
2012 {\c:speak:choose}<span class="mrow-under">}%
2013 \Send{EndGROUP}{0}%
2014 {</span>\add:description{end-stack}{\b:speak:choose}</span>}%
2015 }
2016 \Configure{dbinom}
2017 {\Send{GROUP}{0}{<span class="dbinom">%
2018 \add:description{begin-stack}{\a:speak:choose}%
2019 <span class="mrow-upper">}%
2020 \HCode{</span>}\o:@@abovewithdelims: ..\z@{}%
2021 \HCode{\add:description{added-description}{\c:speak:choose}<span class="mrow-under">}%
2022 \Send{EndGROUP}{0}%
2023 {</span>\add:description{end-stack}{\b:speak:choose}</span>}%
2024 }
2025 \Configure{binom}
2026 {\Send{GROUP}{0}{<span class="binom">%
2027 \add:description{begin-stack}{\a:speak:choose}%
2028 <span class="mrow-upper">}%
2029 \HCode{</span>}\o:@@abovewithdelims: ..\z@{}%
2030 \HCode{\add:description{added-description}{\c:speak:choose}<span class="mrow-under">}%
2031 \Send{EndGROUP}{0}%
2032 {</span>\add:description{end-stack}{\b:speak:choose}</span>}%
2033 }
2034 \def\abovewithdelims:III#1#2#3{%
2035 \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
2036 \Send{GROUP}{0}{<span class="mfrac">\add:description{begin-end}{\a:speak:fraction}%
2037 <span class="mrow-numerator"\Hnewline>%
2038 %
2039 }%
2040 \HCode{</span>}%
2041 %
2042 \o:@@over:
2043 \HCode{\add:description{begin-end}{\c:speak:fraction}
2044 <span class="mrow-enumerator"\Hnewline>}%
2045 %
2046 \Send{EndGROUP}{0}{</span>\add:description{begin-end}{\b:speak:fraction}</span>%
2047 %
2048 }
2049 \else
2050 \Send{GROUP}{0}%
2051 {<span class="mfenced-open">\expandafter
2052 \ifx \csname \string#2:lr del\endcsname\relax #2\else
2053 \csname \string#2:lr del\endcsname\fi
2054 </span>%
2055 <span class="mfrac">\add:description{begin-end}{\a:speak:fraction}%
2056 <span class="mrow-numerator"\Hnewline>%
2057 %
2058 }%
2059 \HCode{</span>}%
2060 %
2061 \o:@@over:
2062 \HCode{\add:description{begin-end}{\c:speak:fraction}
2063 <span class="mrow-enumerator"\Hnewline>}%
2064 %
2065 \Send{EndGROUP}{0}{</span>\add:description{begin-end}{\b:speak:fraction}</span>%
2066 %
2067 %
2068 <span class="mfenced-close">\expandafter
2069 \ifx \csname \string#3:lr del\endcsname\relax #3\else
2070 \csname \string#3:lr del\endcsname\fi
2071 </span>}
2072 \fi
2073 \tmp:dim
2074 }
2075 \def\atopwithdelims:III#1#2#3{%
2076 \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
2077 \Send{GROUP}{0}{<span class="atop">%
2078 \add:description{begin-stack}{\a:speak:atop}%
2079 <span class="mrow-upper">%
2080 }%
2081 \HCode{</span>}%
2082 \o:@@atop:
2083 \HCode{\add:description{added-description}{\c:speak:atop}<span class="mrow-under">}%
2084 \Send{EndGROUP}{0}{</span>\add:description{end-stack}{\b:speak:atop}</span>%
2085 }
2086 \else
2087 \Send{GROUP}{0}%
2088 {<span class="mfenced-open">\expandafter
2089 \ifx \csname \string#2:lr del\endcsname\relax #2\else
2090 \csname \string#2:lr del\endcsname\fi
2091 </span>%
2092 <span class="atop">%
2093 \add:description{begin-stack}{\a:speak:atop}%
2094 <span class="mrow-upper">%
2095 }%
2096 \HCode{</span>}%
2097 \o:@@atop:
2098 \HCode{\add:description{added-description}{\c:speak:atop}<span class="mrow-under">}%
2099 \Send{EndGROUP}{0}{</span>\add:description{end-stack}{\b:speak:atop}</span>%
2100 %
2101 <span class="mfenced-close">\expandafter
2102 \ifx \csname \string#3:lr del\endcsname\relax #3\else
2103 \csname \string#3:lr del\endcsname\fi
2104 </span>}
2105 \fi
2106 }
2107 \def\overwithdelims:III#1#2#3{%
2108 \def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa
2109 \Send{GROUP}{0}{<span class="mfrac">\add:description{begin-end}{\a:speak:fraction}%
2110 <span class="mrow-numerator"\Hnewline>%
2111 }%
2112 \HCode{</span>}%
2113 \o:over:
2114 \HCode{\add:description{begin-end}{\c:speak:fraction}
2115 <span class="mrow-enumerator"\Hnewline>}%
2116 \Send{EndGROUP}{0}{</span>\add:description{begin-end}{\b:speak:fraction}</span>%
2117 }
2118 \else
2119 \Send{GROUP}{0}%
2120 {<span class="mfenced-open">\expandafter
2121 \ifx \csname \string#2:lr del\endcsname\relax #2\else
2122 \csname \string#2:lr del\endcsname\fi
2123 </span>%
2124 <span class="mfrac">\add:description{begin-end}{\a:speak:fraction}%
2125 <span class="mrow-numerator"\Hnewline>%
2126 }%
2127 \HCode{</span>}%
2128 \o:@@over:
2129 \HCode{\add:description{begin-end}{\c:speak:fraction}
2130 <span class="mrow-enumerator"\Hnewline>}%
2131 \Send{EndGROUP}{0}{</span>\add:description{begin-end}{\b:speak:fraction}</span>%
2132 %
2133 <span class="mfenced-close">\expandafter
2134 \ifx \csname \string#3:lr del\endcsname\relax #3\else
2135 \csname \string#3:lr del\endcsname\fi
2136 </span>}
2137 \fi
2138 }
2139 \Configure{boxed}
2140 {\HCode{<span class="boxed">%
2141 \add:description{begin-end}{\a:speak:boxed}}}
2142 {\HCode{\add:description{begin-end}{\b:speak:boxed}</span>}}
2143 \NewConfigure{speak:boxed}{2}
2144 \Configure{speak:boxed}
2145 {begin boxed}
2146 {end boxed}
2147 \renewcommand{\xrightarrow}[2][]{%
2148 \if :#1:
2149 \HCode{<span
2150 class="limits-msub-msup"><span
2151 class="limits-mrow-base"\Hnewline>%
2152 }%
2153 \rightarrow
2154 \HCode{</span><span class="limits-mrow-super"\Hnewline
2155 >\add:description{begin-limits-script}{\b:speak:underover}}\trap:base
2156 #2%
2157 \HCode{\add:description{end-limits-script}{\c:speak:underover}</span></span\Hnewline>}%
2158 %
2159 \else
2160 \HCode{<span class="limits-msub-msup"><span class="limits-mrow-base"\Hnewline>%
2161 }%
2162 \leftarrow
2163 \HCode{</span><span class="limits-mrow-sub"\Hnewline
2164 >\add:description{begin-limits-script}{\a:speak:underover}}\trap:base
2165 #1%
2166 \HCode{</span><span class="limits-mrow-super"\Hnewline
2167 >\add:description{mid-limits-script}{\b:speak:underover}}\trap:base
2168 #2%
2169 \HCode{\add:description{end-limits-script}{\c:speak:underover}</span></span\Hnewline>}%
2170 %
2171 \fi
2172 }
2173 \renewcommand{\xleftarrow}[2][]{%
2174 \if :#1:
2175 \HCode{<span
2176 class="limits-msub-msup"><span
2177 class="limits-mrow-base"\Hnewline>%
2178 }%
2179 \leftarrow
2180 \HCode{</span><span class="limits-mrow-super"\Hnewline
2181 >\add:description{begin-limits-script}{\b:speak:underover}}\trap:base
2182 #2%
2183 \HCode{\add:description{end-limits-script}{\c:speak:underover}</span></span\Hnewline>}%
2184 %
2185 \else
2186 \HCode{<span class="limits-msub-msup"><span class="limits-mrow-base"\Hnewline>%
2187 }%
2188 \leftarrow
2189 \HCode{</span><span class="limits-mrow-sub"\Hnewline
2190 >\add:description{begin-limits-script}{\a:speak:underover}}\trap:base
2191 #1%
2192 \HCode{</span><span class="limits-mrow-super"\Hnewline
2193 >\add:description{mid-limits-script}{\b:speak:underover}}\trap:base
2194 #2%
2195 \HCode{\add:description{end-limits-script}{\c:speak:underover}</span></span\Hnewline>}%
2196 %
2197 \fi
2198 }
2199 \def\overset#1#2{{%
2200 \HCode{<span
2201 class="limits-msub-msup"><span
2202 class="limits-mrow-base"\Hnewline>%
2203 }%
2204 #2%
2205 \HCode{</span><span class="limits-mrow-super"\Hnewline
2206 >\add:description{begin-limits-script}{\b:speak:underover}}\trap:base
2207 #1%
2208 \HCode{\add:description{end-limits-script}{\c:speak:underover}</span></span\Hnewline>}%
2209 %
2210 }}
2211 \def\underset#1#2{{%
2212 \HCode{<span
2213 class="limits-msub-msup"><span
2214 class="limits-mrow-base"\Hnewline>%
2215 }%
2216 #2%
2217 \HCode{</span><span class="limits-mrow-sub"\Hnewline
2218 >\add:description{begin-limits-script}{\a:speak:underover}}\trap:base
2219 #1%
2220 \HCode{\add:description{end-limits-script}{\c:speak:underover}</span></span\Hnewline>}%
2221 %
2222 }}
2223 \def\sideset#1#2#3{{\Tg<mrow class="sideset"\Hnewline
2224 >{\HCode{}}#1{\HCode{}#3}#2\Tg</mrow>}}
2225 \Configure{underrightarrow}
2226 {\HCode{<span class="munder-rightarrow">%
2227 \add:description{begin-end}{\a:speak:modified}%
2228 <span class="mo-2092"\Hnewline>}\:gobble}
2229 {\HCode{</span>%
2230 \add:description{begin-end}{\a:speak:modified:rightarrow}</span>}}
2231 \Configure{underleftarrow}
2232 {\HCode{<span class="munder-leftarrow">%
2233 \add:description{begin-end}{\a:speak:modified}%
2234 <span class="mo-2090"\Hnewline>}\:gobble}
2235 {\HCode{</span>%
2236 \add:description{begin-end}{speak:modified:leftarrow}</span>}}
2237 \Configure{overleftrightarrow}
2238 {\HCode{<span class="mover-leftrightarrow">%
2239 \add:description{begin-end}{\b:speak:modified}%
2240 <span class="mo-20E1"\Hnewline>}\:gobble}
2241 {\HCode{</span>%
2242 \add:description{begin-end}{\a:speak:modified:leftrightarrow}</span>}}
2243 \Configure{underleftrightarrow}
2244 {\HCode{<span class="munder-leftrightarrow">%
2245 \add:description{begin-end}{\a:speak:modified}%
2246 <span class="mo-2194"\Hnewline>}\:gobble}
2247 {\HCode{</span>%
2248 \add:description{begin-end}{\a:speak:modified:leftrightarrow}</span>}}
2249
2250 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2251
2252 \endinput\empty\empty\empty\empty\empty\empty
2253 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2265 \ConfigureHinput{plain}
2266 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2267 \Configure{eqalignno}
2268 {\HCode{<mtable class="eqalignno">}}
2269 {\HCode{</mtable>}}
2270 {\HCode{<mtr\Hnewline class="eqalignno">}}
2271 {\HCode{</mtr>}}
2272 {\HCode{<mtd \Hnewline class="eqalignno-\HCol">}}
2273 {\HCode{</mtd>}}
2274 \def\:eqalignno:{\Configure{noalign}
2275 {\HCode{<mtr><mtd class="noalign" colspan="2">}}%
2276 {\HCode{</mtd></mtr>}}}
2277 \Configure{leqalignno}
2278 {\HCode{<mtable class="leqalignno">}}
2279 {\HCode{</mtable>}}
2280 {\HCode{<mtr\Hnewline class="leqalignno">}}
2281 {\HCode{</mtr>}}
2282 {\HCode{<mtd \Hnewline class="leqalignno-\HCol">}}
2283 {\HCode{</mtd>}}
2284 \def\:leqalignno:{\Configure{noalign}
2285 {\HCode{<mtr><mtd class="noalign" colspan="2">}}%
2286 {\HCode{</mtd></mtr>}}}
2287
2288 \Configure{big}
2289 {}{}
2290 {}
2291 {}
2292 \Configure{Big}
2293 {}{}
2294 {}
2295 {}
2296 \Configure{bigg}
2297 {}{}
2298 {}
2299 {}
2300 \Configure{Bigg}
2301 {}{}
2302 {}
2303 {}
2304 \Configure{Biggm}
2305 {\bgroup
2306 \Configure{Bigg}{}{}{}{}%
2307 \Configure{mathrel}{*}
2308 {<span class="MathClass-rel" title="Bigg" >}
2309 {</span>}
2310 {\Configure{mathrel}{}{}{}{}}%
2311 }
2312 {\egroup}
2313 \Configure{Bigm}
2314 {\bgroup
2315 \Configure{Big}{}{}{}{}%
2316 \Configure{mathrel}{*}
2317 {<span class="MathClass-rel" title="Big" >}
2318 {</span>}
2319 {\Configure{mathrel}{}{}{}{}}%
2320 }
2321 {\egroup}
2322 \Configure{biggm}
2323 {\bgroup
2324 \Configure{bigg}{}{}{}{}%
2325 \Configure{mathrel}{*}
2326 {<span class="MathClass-rel" title="bigg" >}
2327 {</span>}
2328 {\Configure{mathrel}{}{}{}{}}%
2329 }
2330 {\egroup}
2331 \Configure{bigm}
2332 {\bgroup
2333 \Configure{big}{}{}{}{}%
2334 \Configure{mathrel}{*}
2335 {<span class="MathClass-rel" title="big" >}
2336 {</span>}
2337 {\Configure{mathrel}{}{}{}{}}%
2338 }
2339 {\egroup}
2340
2341 \:CheckOption{mathml-} \if:Option
2342 \Configure{Biggl}
2343 {\bgroup
2344 \Configure{Bigg}{}{}{}{}%
2345 \Configure{mathopen}{*}
2346 {<span class="MathClass-open" title="Bigg" >}
2347 {</span>}
2348 {\Configure{mathopen}{}{}{}{}}%
2349 }
2350 {\egroup}
2351 \Configure{Biggr}
2352 {\bgroup
2353 \Configure{Bigg}{}{}{}{}%
2354 \Configure{mathclose}{*}
2355 {<span class="MathClass-close" title="Bigg" >}
2356 {</span>}
2357 {\Configure{mathclose}{}{}{}{}}%
2358 }
2359 {\egroup}
2360 \Configure{Bigl}
2361 {\bgroup
2362 \Configure{Big}{}{}{}{}%
2363 \Configure{mathopen}{*}
2364 {<span class="MathClass-open" title="Big" >}
2365 {</span>}
2366 {\Configure{mathopen}{}{}{}{}}%
2367 }
2368 {\egroup}
2369 \Configure{Bigr}
2370 {\bgroup
2371 \Configure{Big}{}{}{}{}%
2372 \Configure{mathclose}{*}
2373 {<span class="MathClass-close" title="Big" >}
2374 {</span>}
2375 {\Configure{mathclose}{}{}{}{}}%
2376 }
2377 {\egroup}
2378 \Configure{biggl}
2379 {\bgroup
2380 \Configure{bigg}{}{}{}{}%
2381 \Configure{mathopen}{*}
2382 {<span class="MathClass-open" title="bigg" >}
2383 {</span>}
2384 {\Configure{mathopen}{}{}{}{}}%
2385 }
2386 {\egroup}
2387 \Configure{biggr}
2388 {\bgroup
2389 \Configure{bigg}{}{}{}{}%
2390 \Configure{mathclose}{*}
2391 {<span class="MathClass-close" title="bigg" >}
2392 {</span>}
2393 {\Configure{mathclose}{}{}{}{}}%
2394 }
2395 {\egroup}
2396 \Configure{bigl}
2397 {\bgroup
2398 \Configure{big}{}{}{}{}%
2399 \Configure{mathopen}{*}
2400 {<span class="MathClass-open" title="big" >}
2401 {</span>}
2402 {\Configure{mathopen}{}{}{}{}}%
2403 }
2404 {\egroup}
2405 \Configure{bigr}
2406 {\bgroup
2407 \Configure{big}{}{}{}{}%
2408 \Configure{mathclose}{*}
2409 {<span class="MathClass-close" title="big" >}
2410 {</span>}
2411 {\Configure{mathclose}{}{}{}{}}%
2412 }
2413 {\egroup}
2414
2415 \else
2416 \Configure{Biggl}
2417 {\bgroup
2418 \Configure{Bigg}{}{}{}{}%
2419 \Configure{mathopen}{*}
2420 {<span class="Biggl"><span class="MathClass-open" >}
2421 {</span><span>}
2422 {\Configure{mathopen}{}{}{}{}}%
2423 }
2424 {\egroup}
2425 \Configure{Biggr}
2426 {\bgroup
2427 \Configure{Bigg}{}{}{}{}%
2428 \Configure{mathclose}{*}
2429 {</span><span class="MathClass-close" >}
2430 {</span></span>}
2431 {\Configure{mathclose}{}{}{}{}}%
2432 }
2433 {\egroup}
2434 \Configure{Bigl}
2435 {\bgroup
2436 \Configure{Big}{}{}{}{}%
2437 \Configure{mathopen}{*}
2438 {<span class="Bigl"><span class="MathClass-open">}
2439 {</span><span>}
2440 {\Configure{mathopen}{}{}{}{}}%
2441 }
2442 {\egroup}
2443 \Configure{Bigr}
2444 {\bgroup
2445 \Configure{Big}{}{}{}{}%
2446 \Configure{mathclose}{*}
2447 {</span><span class="MathClass-close" >}
2448 {</span></span>}
2449 {\Configure{mathclose}{}{}{}{}}%
2450 }
2451 {\egroup}
2452 \Configure{biggl}
2453 {\bgroup
2454 \Configure{bigg}{}{}{}{}%
2455 \Configure{mathopen}{*}
2456 {<span class="biggl"><span class="MathClass-open">}
2457 {</span><span>}
2458 {\Configure{mathopen}{}{}{}{}}%
2459 }
2460 {\egroup}
2461 \Configure{biggr}
2462 {\bgroup
2463 \Configure{bigg}{}{}{}{}%
2464 \Configure{mathclose}{*}
2465 {</span><span class="MathClass-close" >}
2466 {</span></span>}
2467 {\Configure{mathclose}{}{}{}{}}%
2468 }
2469 {\egroup}
2470 \Configure{bigl}
2471 {\bgroup
2472 \Configure{big}{}{}{}{}%
2473 \Configure{mathopen}{*}
2474 {<span class="bigl"><span class="MathClass-open">}
2475 {</span><span>}
2476 {\Configure{mathopen}{}{}{}{}}%
2477 }
2478 {\egroup}
2479 \Configure{bigr}
2480 {\bgroup
2481 \Configure{big}{}{}{}{}%
2482 \Configure{mathclose}{*}
2483 {</span><span class="MathClass-close" >}
2484 {</span></span>}
2485 {\Configure{mathclose}{}{}{}{}}%
2486 }
2487 {\egroup}
2488
2489 \fi
2490 \Configure{MathClass}{0}{*}{<span class="mi"\Hnewline>}%
2491 {</span>}{}
2492 \Configure{MathClass}{1}{*}{<span class="before-mo-op"
2493 title="speech-extra">
2494 </span><span class="mo-op"\Hnewline
2495 >}{</span><span class="after-mo-op"
2496 title="speech-extra"> </span>}{}
2497 \Configure{MathClass}{2}{*}{<span class="mo-bin">}{</span>}{}
2498 \Configure{MathClass}{3}{*}{<span class="mo-rel">}{</span>}{}
2499 \:CheckOption{mathml-} \if:Option
2500 \Configure{MathClass}{4}{*}{<span class="mo-open">}
2501 {</span>}{}
2502 \Configure{MathClass}{5}{*}{<span class="mo-close">}
2503 {</span>}{}
2504 \else
2505 \Log:Note{for sources failing to produce
2506 clean mathml code, try the command line option `mathml-'}%
2507 \Configure{MathClass}{4}{*}{<span class="mrow"><span class="mo-open">}
2508 {</span><span class="mrow">}{}
2509 \Configure{MathClass}{5}{*}{</span><span class="mo-close">}
2510 {</span></span>}{}
2511 \fi
2512 \Configure{MathClass}{6}{*}{<span class="mo-punc">}{</span>}{}
2513 \Configure{MathClass}{7}{*}{<span class="mn">}{</span>}
2514 {0123456789}
2515 \Configure{FormulaClass}{0}{}{}{}
2516 \Configure{FormulaClass}{1}{}{}{}
2517 \Configure{FormulaClass}{2}{}{}{}
2518 \Configure{FormulaClass}{3}{}{}{}
2519 \Configure{FormulaClass}{4}{}{}{}
2520 \Configure{FormulaClass}{5}{}{}{}
2521 \Configure{FormulaClass}{6}{}{}{}
2522 \def\:tempc{\HCode{\add:description{added-description}{real part
2523 symbol capital }}\o:Re:}
2524 \HLet\Re\:tempc
2525 \def\:tempc{\HCode{\add:description{added-description}{real part
2526 symbol capital }}\o:Im:}
2527 \HLet\Im\:tempc
2528 \Configure{overbrace}
2529 {\Configure{mathop*}{*}
2530 {<span class="mover-overline">%
2531 \add:description{begin-end}{\b:speak:modified}%
2532 <span class="mo-FE37">}
2533 {</span>\add:description{begin-end}{\a:speak:modified:brace}</span>}
2534 {\Configure{mathop}{}{}{}{}}%
2535 }
2536 {\let\o:overbrace:=\displaystyle}
2537 {}
2538 \Configure{underbrace}
2539 {\Configure{mathop*}{*}
2540 {<span class="munder-underline">%
2541 \add:description{begin-end}{\a:speak:modified}%
2542 <span class="mo-FE38">}
2543 {</span>\add:description{begin-end}{\a:speak:modified:brace}</span>}
2544 {\Configure{mathop}{}{}{}{}}%
2545 }
2546 {\let\o:underbrace:=\displaystyle}
2547 {}
2548 \Configure{overrightarrow}
2549 {\HCode{<span class="mover-rightarrow">%
2550 \add:description{begin-end}{\b:speak:modified}%
2551 <span class="mo-20D5"\Hnewline>}\:gobble}
2552 {\HCode{</span>%
2553 \add:description{begin-end}{\a:speak:modified:rightarrow}</span>}}
2554 \Configure{overleftarrow}
2555 {\HCode{<span class="mover-leftarrow">%
2556 \add:description{begin-end}{\b:speak:modified}%
2557 <span class="mo-20D6"\Hnewline>}\:gobble}
2558 {\HCode{</span>%
2559 \add:description{begin-end}{\a:speak:modified:leftarrow}</span>}}
2560 \NewConfigure{speak:modified:rightarrow}{1}
2561 \Configure{speak:modified:rightarrow}{with right arrow}
2562 \NewConfigure{speak:modified:leftarrow}{1}
2563 \Configure{speak:modified:leftarrow}{with left right arrow}
2564 \NewConfigure{speak:modified:leftrightarrow}{1}
2565 \Configure{speak:modified:leftrightarrow}{with left right arrow}
2566
2567 \Configure{cases}
2568 {}{} {\Tg<mtable>}{\Tg</mtable>}
2569 {\Tg<mtr>}{\Tg</mtr>}
2570 {\Tg<mtd class="cases">}{\Tg</mtd>}
2571 \Configure{matrix}
2572 {\PushStack\Table:Stck\TableNo
2573 \gHAdvance\Next:TableNo by 1
2574 \global\let\TableNo=\Next:TableNo
2575 %
2576 \PushStack\Row:Stck\HRow \HAssign\HRow=0\relax
2577 %
2578 \HCode{<div class="array">}%
2579 \HCode{\add:vdescription{begin-array}{\a:speak:array}}}
2580 {\Tag{array-\TableNo}{\hrow:s}%
2581 \HCode{<!--l. \the\inputlineno-->%
2582 %
2583 \add:vdescription{end-array}{\b:speak:array}}%
2584 \ifvmode \IgnorePar\fi \Tg</div>%
2585 \PopStack\Row:Stck\HRow
2586 %
2587 \PopStack\Table:Stck\TableNo
2588 }
2589 {\HCode{<div class="tr">}\c:speak:array}%
2590 {\xdef\hrow:s{\HRow}\HCode{</div>}}%
2591 {\HCode{<div class="td" >}%
2592 \e:speak:array\HCode{<div>}}
2593 {\HCode{</div>}\f:speak:array
2594 \HCode{</div>\Hnewline}}
2595 \Configure{pmatrix}
2596 {\bgroup\Tg<div class="pmatrix">}
2597 {\Tg</div>\egroup}
2598 \NewConfigure{speak:array}{6}
2599 \Configure{speak:array}
2600 {begin array with
2601 \ifTag{array-\TableNo}{\LikeRef{array-\TableNo}}{}
2602 rows}
2603 {end array}
2604 {\HCode{\add:vdescription{begin-end}{<span class="ord-row">\ord:pos{\HRow}</span>%
2605 row}}%
2606 }
2607 {}
2608 {\HCode{%
2609 \add:vdescription{added-description}{%
2610 \ifnum \HMultispan>1 \ord:pos{\HCol}%
2611 cell, spans
2612 \HMultispan \space columns
2613 \else
2614 \ifnum \HCol>1 \ord:pos{\HCol}%
2615 cell \fi
2616 \fi
2617 }}%
2618 }
2619 {}
2620 \NewConfigure{speak:smallmatrix}{6}
2621 \Configure{speak:smallmatrix}
2622 {begin matrix with
2623 \ifTag{smallmatrix-\TableNo}{\LikeRef{smallmatrix-\TableNo}}{}
2624 rows}
2625 {end matrix}
2626 {\HCode{\add:vdescription{begin-end}{<span class="ord-row">\ord:pos{\HRow}</span>%
2627 row}}%
2628 }
2629 {}
2630 {\HCode{%
2631 \add:vdescription{added-description}{%
2632 \ifnum \HMultispan>1 \ord:pos{\HCol}%
2633 cell, spans
2634 \HMultispan \space columns
2635 \else
2636 \ifnum \HCol>1 \ord:pos{\HCol}%
2637 cell \fi
2638 \fi
2639 }}%
2640 }
2641 {}
2642 \Configure{left}
2643 {}
2644 {\HCode{<span class="mfenced-open">%
2645 <span>\expandafter
2646 \ifx \csname \string#1:lr del\endcsname\relax #1\else
2647 \csname \string#1:lr del\endcsname\fi
2648 </span>}\bgroup}
2649 \Configure{right}
2650 {\egroup}
2651 {\HCode{<span class="mfenced-close">%
2652 \expandafter
2653 \ifx \csname \string#1:lr del\endcsname\relax #1\else
2654 \csname \string#1:lr del\endcsname\fi
2655 </span></span>}}
2656 \Configure{mfenced}{\vert}{|}
2657 \edef\:temp{\noexpand\Configure{mfenced}{\noexpand\{}{\string&\#x007B;}}\:temp
2658 \edef\:temp{\noexpand\Configure{mfenced}{\noexpand\}}{\string&\#x007D;}}\:temp
2659 \edef\:temp{\noexpand
2660 \Configure{mfenced}{\noexpand\lbrace}{\string&\#x007B;}}\:temp
2661 \edef\:temp{\noexpand
2662 \Configure{mfenced}{\noexpand\rbrace}{\string&\#x007D;}}\:temp
2663 \def\mathinner#1{\Tg<span
2664 class="mathinner">#1\Tg</span>}
2665 \def\mathop:prefix#1{%
2666 \Configure{mathop}{*}{<span class="mo-op"
2667 title="#1"\Hnewline>}{</span>}%
2668 {\Configure{mathop}{*}{<span class="mo-op">}{</span>}{}}}
2669 \Configure{quad}{\HCode{<span class="space"> </span>%
2670 }}
2671 \Configure{qquad}{\HCode{<span class="space"> </span>%
2672 }}
2673 \Configure{,}{\HCode{<span class="space"> </span>%
2674 }}
2675 \Configure{ }{\:nbsp}
2676 \def\:nbsp{\leavevmode\special{t4ht@+\string&{35}x00A0{59}}x}
2677 \Configure{choose}
2678 {\Send{GROUP}{0}{<span class="choose">%
2679 \add:description{begin-stack}{\a:speak:choose}%
2680 <span class="mrow-upper">}%
2681 \HCode{</span>}\o:atop:
2682 \HCode{\add:description{added-description}%
2683 {\c:speak:choose}<span class="mrow-under">}%
2684 \Send{EndGROUP}{0}%
2685 {</span>\add:description{end-stack}{\b:speak:choose}</span>}%
2686 }
2687 \NewConfigure{speak:choose}{3}
2688 \Configure{speak:choose}
2689 {begin binomial coefficient}
2690 {end binomial coefficient}
2691 {choose}
2692 \Configure{mfenced}{\vert}{\string&\#x007C;}
2693 \Configure{mfenced}{\{}{\string&\#x007B;}
2694 \Configure{mfenced}{\}}{\string&\#x007D;}
2695 \Configure{mfenced}{\lbrace}{\string&\#x007B;}
2696 \Configure{mfenced}{\rbrace}{\string&\#x007D;}
2697 \Configure{mfenced}{\rgroup}{\string&\#x0028;}
2698 \Configure{mfenced}{\lgroup}{\string&\#x0029;}
2699 \Configure{mfenced}{(}{\string&\#x0028;}
2700 \Configure{mfenced}{)}{\string&\#x0029;}
2701 \Configure{mfenced}{[}{\string&\#x0058;}
2702 \Configure{mfenced}{]}{\string&\#x0059;}
2703 \Configure{mfenced}{|}{\string&\#x007C;}
2704 \Configure{mfenced}{\bracevert}{\string&\#x007C;}
2705 \Configure{mfenced}{\bracevert}{\string&\#x007C;}
2706 \Configure{root}
2707 {\HCode{<span class="root">%
2708 \add:description{begin-root}{\a:speak:root}<span class="root-index">}}
2709 {\HCode{</span>\add:description{mid-root}{\b:speak:root}%
2710 <span class="root-base">}}
2711 {\HCode{</span>\add:description{end-root}{\c:speak:root}</span>}}
2712 \NewConfigure{speak:root}{3}
2713 \Configure{speak:root}
2714 {root index}
2715 {begin root}
2716 {end root}
2717 \:CheckOption{new-accents} \if:Option \else
2718 \Configure{accents}
2719 {\ifmmode \expandafter\mathord\fi
2720 {\leavevmode
2721 \if !#1!\ht:special{t4ht@+&{35}x#2;}%
2722 \else \expandafter \ifx\csname U#2#1\endcsname\relax
2723 \ht:special{t4ht@+&{35}x#2;}%
2724 \else
2725 \ht:special{t4ht@+&{35}x\csname U#2#1\endcsname;}%
2726 \fi \fi x%
2727 %
2728 \ht:special{t4ht@[}\if!#1!x\else#2\fi
2729 \ht:special{t4ht@]}}}
2730 {\ifmathml
2731 \ifmtext \expandafter\ifx \csname :#1:over\endcsname\relax
2732 \expandafter\ifx \csname :#1:under\endcsname\relax
2733 \AccentMath{\expandafter\ifx \csname :#1:over\endcsname\relax
2734 \HCode{<munder\Hnewline
2735 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
2736 \csname :#1:under\endcsname
2737 \HCode{</munder>}%
2738 %
2739 \else \expandafter\ifx \csname :#1:under\endcsname\relax
2740 \HCode{<span class="mover-accent"><span
2741 class="mrow"\Hnewline>}#3\HCode{</span>}%
2742 \csname prefix:#1:over\endcsname
2743 \csname :#1:over\endcsname
2744 \HCode{</span>}%
2745 %
2746 \else
2747 \HCode{<munderover\Hnewline
2748 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
2749 \csname :#1:under\endcsname
2750 \csname :#1:over\endcsname
2751 \HCode{</munderover>}%
2752 %
2753 \fi \fi
2754 }%
2755 \else #3\csname :#1:under\endcsname \fi
2756 \else #3\csname :#1:over\endcsname \fi
2757 %
2758 \else \AccentMath{\expandafter\ifx \csname :#1:over\endcsname\relax
2759 \HCode{<munder\Hnewline
2760 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
2761 \csname :#1:under\endcsname
2762 \HCode{</munder>}%
2763 %
2764 \else \expandafter\ifx \csname :#1:under\endcsname\relax
2765 \HCode{<span class="mover-accent"><span
2766 class="mrow"\Hnewline>}#3\HCode{</span>}%
2767 \csname prefix:#1:over\endcsname
2768 \csname :#1:over\endcsname
2769 \HCode{</span>}%
2770 %
2771 \else
2772 \HCode{<munderover\Hnewline
2773 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
2774 \csname :#1:under\endcsname
2775 \csname :#1:over\endcsname
2776 \HCode{</munderover>}%
2777 %
2778 \fi \fi
2779 }\fi
2780 \else \expandafter\ifx \csname :#1:over\endcsname\relax
2781 \expandafter\ifx \csname :#1:under\endcsname\relax
2782 \AccentMath{\expandafter\ifx \csname :#1:over\endcsname\relax
2783 \HCode{<munder\Hnewline
2784 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
2785 \csname :#1:under\endcsname
2786 \HCode{</munder>}%
2787 %
2788 \else \expandafter\ifx \csname :#1:under\endcsname\relax
2789 \HCode{<span class="mover-accent"><span
2790 class="mrow"\Hnewline>}#3\HCode{</span>}%
2791 \csname prefix:#1:over\endcsname
2792 \csname :#1:over\endcsname
2793 \HCode{</span>}%
2794 %
2795 \else
2796 \HCode{<munderover\Hnewline
2797 accent="true"><mrow\Hnewline>}#3\HCode{</mrow>}%
2798 \csname :#1:under\endcsname
2799 \csname :#1:over\endcsname
2800 \HCode{</munderover>}%
2801 %
2802 \fi \fi
2803 }%
2804 \else #3\csname :#1:under\endcsname \fi
2805 \else #3\csname :#1:over\endcsname \fi
2806 \fi
2807 }
2808 \Configure{accent}\widetilde\widetilde{{}{}}
2809 {}
2810 {\HCode{<span class="mover-tilde">%
2811 \add:description{begin-end}{\b:speak:modified}%
2812 <span class="mo-0303"\Hnewline>}%
2813 #2%
2814 \HCode{</span>\add:description{begin-end}{\a:speak:modified:tilde}</span>}}
2815 \Configure{accent}\widehat\widehat{{}{}}
2816 {}
2817 {\HCode{<span class="mover-hat">%
2818 \add:description{begin-end}{\a:speak:modified}%
2819 <span class="mo-0302"\Hnewline>}%
2820 #2%
2821 \HCode{</span>\add:description{begin-end}{
2822 \a:speak:modified:hat}</span>}}
2823
2824 \fi
2825
2826
2827 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2828
2829 \endinput\empty\empty\empty\empty\empty\empty
2830 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2831
2832
2833 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2834 \ConfigureHinput{amsopn}
2835 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2836 \Configure{qopname}
2837 {\Configure{mathop}{*}
2838 {<span class="mo-qopname"> <span>}
2839 {</span> </span>}
2840 {}}
2841 \def\:tempc{\mathop{\underrightarrow\lim}\displaylimits} \HLet\varinjlim\:tempc
2842 \def\:tempc{\mathop{\underleftarrow\lim}\displaylimits} \HLet\varprojlim\:tempc
2843 \def\:tempc{\mathop{\overline\lim}\displaylimits} \HLet\varlimsup\:tempc
2844 \def\:tempc{\mathop{\underline\lim}\displaylimits} \HLet\varliminf\:tempc
2845
2846 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2847
2848 \endinput\empty\empty\empty\empty\empty\empty
2849 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2872 \ConfigureHinput{array}
2873 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2874 \Configure{array}
2875 {\PushStack\Table:Stck\TableNo
2876 \gHAdvance\Next:TableNo by 1
2877 \global\let\TableNo=\Next:TableNo
2878 %
2879 \PushStack\Row:Stck\HRow \HAssign\HRow=0\relax
2880 %
2881 \HCode{<div class="array">}%
2882 \HCode{\add:vdescription{begin-array}{\a:speak:array}}}
2883 {\Tag{array-\TableNo}{\hrow:s}%
2884 \HCode{<!--l. \the\inputlineno-->%
2885 %
2886 \add:vdescription{end-array}{\b:speak:array}}%
2887 \ifvmode \IgnorePar\fi \expandafter\tmp:toks\expandafter{\Clr}%
2888 \HCode{<!--\the\tmp:toks-->}%
2889 \Tg</div>%
2890 \PopStack\Row:Stck\HRow
2891 %
2892 \PopStack\Table:Stck\TableNo
2893 }
2894 {\HCode{<div class="tr">}\c:speak:array}%
2895 {\xdef\hrow:s{\HRow}\HCode{</div>}}%
2896 {\HCode{<div class="td" >}%
2897 \e:speak:array\HCode{<div>}}
2898 {\HCode{</div>}\f:speak:array
2899 \HCode{</div>\Hnewline}}
2900 \ConfigureEnv{array}
2901 {\bgroup\Configure{$}{}{}{}}
2902 {\egroup}
2903 {}{}
2904
2905 \Configure{multicolumn}
2906 {\let\sv:VBorder\VBorder
2907 \let\VBorder\empty
2908 \Configure{VBorder}{}{}{}{}%
2909 }
2910 {\let\VBorder\sv:VBorder}
2911 {\ifmmode \else
2912 \ifvmode\IgnorePar\fi
2913 \fi \HCode{<div class="multicolumn" title="\HMultispan">}}
2914 {\ifmmode \else
2915 \ifvmode\IgnorePar\fi \EndP\fi \HCode{</div>} }
2916 \def\gob:sp#1{#1}
2917
2918
2919 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2920
2921 \endinput\empty\empty\empty\empty\empty\empty
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
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256 \endinput
3257