Debian Codegraph @

texmf-dist/tex/generic/tex4ht/jsml-math.4ht

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