| 1 |
% $Id: tex4ht-jsml.tex 184 2016-07-04 17:35:09Z karl $ |
| 2 |
% Compile 3 times: latex tex4ht-jsml |
| 3 |
% or xhlatex tex4ht-jsml "html,3,sections+" |
| 4 |
% Copy html.4ht into the work directory before each of the |
| 5 |
% first two compilations |
| 6 |
% |
| 7 |
% Copyright 2009-2016 TeX Users Group |
| 8 |
% Copyright 2000-2009 Eitan M. Gurari |
| 9 |
% Released under LPPL 1.3c+. |
| 10 |
% See tex4ht-cpright.tex for license text. |
| 11 |
|
| 12 |
\ifx \HTML\UnDef |
| 13 |
\def\HTML{jsml,jsml-math} |
| 14 |
\def\CONFIG{\jobname} |
| 15 |
\def\MAKETITLE{\author{Eitan M. Gurari}} |
| 16 |
\def\OPTIONS{xhtml,3,sections+} |
| 17 |
\def\PREAMBLE{\usepackage{url}} |
| 18 |
\def\next{\input mktex4ht.4ht \endinput} |
| 19 |
\expandafter\next |
| 20 |
\fi |
| 21 |
|
| 22 |
\input{common-code} |
| 23 |
\input{common} |
| 24 |
\input{tex4ht-cpright} |
| 25 |
|
| 26 |
\def\.{\string\a:mathml:\space} |
| 27 |
|
| 28 |
|
| 29 |
\TocAt{section,subsection,likesubsection} |
| 30 |
|
| 31 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 32 |
\Needs{"ls -l tex4ht-*.tex > ls-links.log"} |
| 33 |
\openin15=ls-links.log |
| 34 |
\ifeof15 \else \closein15 |
| 35 |
\bgroup |
| 36 |
\catcode`\-=13 |
| 37 |
\def-#1tex4ht-{\bgroup \catcode`\-=12 |
| 38 |
\def-##1.tex{\egroup |
| 39 |
[\Link[tex4ht\string-##1.html]{}{}##1\EndLink]} |
| 40 |
-} |
| 41 |
\input ls\string-links.log |
| 42 |
\egroup |
| 43 |
\fi |
| 44 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
%%%%%%%%%%%%%%%%%% |
| 51 |
\section{General} |
| 52 |
%%%%%%%%%%%%%%%%%% |
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
\begin{center} |
| 58 |
\tt htlatex file "html,jsml" " -cjsmlhtf" "-cjsml" |
| 59 |
\end{center} |
| 60 |
|
| 61 |
%%%%%%%%%%%%%%%%%% |
| 62 |
\section{Root} |
| 63 |
%%%%%%%%%%%%%%%%%% |
| 64 |
|
| 65 |
|
| 66 |
\<jsml\><<< |
| 67 |
% jsml.4ht (|version), generated from |jobname.tex |
| 68 |
% Copyright 2009-2016 TeX Users Group |
| 69 |
% Copyright |CopyYear.2006. Eitan M. Gurari |
| 70 |
|<TeX4ht copywrite|> |
| 71 |
>>> |
| 72 |
|
| 73 |
|
| 74 |
\<jsml-math\><<< |
| 75 |
% jsml-math.4ht (|version), generated from |jobname.tex |
| 76 |
% Copyright 2009-2016 TeX Users Group |
| 77 |
% Copyright |CopyYear.2006. Eitan M. Gurari |
| 78 |
|<TeX4ht copywrite|> |
| 79 |
>>> |
| 80 |
|
| 81 |
|
| 82 |
\<par del\><<< |
| 83 |
!*?: >>> |
| 84 |
\<tag of Tag\><<< |
| 85 |
cw:>>> |
| 86 |
|
| 87 |
|
| 88 |
\<show input line no\><<< |
| 89 |
<!--l. \the\inputlineno-->% |
| 90 |
>>> |
| 91 |
|
| 92 |
|
| 93 |
|
| 94 |
|
| 95 |
\<try env inline par\><<< |
| 96 |
\ShowPar |
| 97 |
>>> |
| 98 |
|
| 99 |
\<try inline par\><<< |
| 100 |
\ShowPar \par{\HCondtrue\noindent}% |
| 101 |
>>> |
| 102 |
|
| 103 |
|
| 104 |
|
| 105 |
|
| 106 |
%%%%%%%%%%%%%%%%%% |
| 107 |
\section{Outline} |
| 108 |
%%%%%%%%%%%%%%%%%% |
| 109 |
|
| 110 |
|
| 111 |
\<configure jsml article\><<< |
| 112 |
|<config book-report-article|> |
| 113 |
|<config report-article|> |
| 114 |
>>> |
| 115 |
|
| 116 |
\<configure jsml report\><<< |
| 117 |
|<config book-report-article|> |
| 118 |
|<config report-article|> |
| 119 |
>>> |
| 120 |
|
| 121 |
\<configure jsml book\><<< |
| 122 |
|<config book-report-article|> |
| 123 |
>>> |
| 124 |
|
| 125 |
|
| 126 |
\<configure jsml letter\><<< |
| 127 |
|<description lists|> |
| 128 |
|<quote config|> |
| 129 |
|<roman enumeiii|> |
| 130 |
>>> |
| 131 |
|
| 132 |
|
| 133 |
\<configure jsml amsbook\><<< |
| 134 |
|<ams art,proc,book div|> |
| 135 |
|<ams art,proc,book toc|> |%should appear before TocAt|% |
| 136 |
>>> |
| 137 |
|
| 138 |
\<configure jsml amsproc\><<< |
| 139 |
|<ams art,proc,book|> |
| 140 |
>>> |
| 141 |
|
| 142 |
|
| 143 |
|
| 144 |
\<configure jsml amsart\><<< |
| 145 |
|<ams art,proc,book|> |
| 146 |
>>> |
| 147 |
|
| 148 |
\<configure jsml-math plain\><<< |
| 149 |
|<mathml plain|> |
| 150 |
|<plain,latex mathml|> |
| 151 |
>>> |
| 152 |
|
| 153 |
|
| 154 |
\<ams art,proc,book\><<< |
| 155 |
|<description lists|> |
| 156 |
>>> |
| 157 |
|
| 158 |
|
| 159 |
\<configure jsml scrbook\><<< |
| 160 |
|<description lists|> |
| 161 |
>>> |
| 162 |
|
| 163 |
|
| 164 |
\<configure jsml scrreprt\><<< |
| 165 |
|<description lists|> |
| 166 |
>>> |
| 167 |
|
| 168 |
|
| 169 |
\<configure jsml slides\><<< |
| 170 |
|<description lists|> |
| 171 |
|<roman enumeiii|> |
| 172 |
>>> |
| 173 |
|
| 174 |
|
| 175 |
|
| 176 |
|
| 177 |
\<configure jsml-math fontmath\><<< |
| 178 |
|<plain,fontmath math|> |
| 179 |
>>> |
| 180 |
|
| 181 |
|
| 182 |
|
| 183 |
|
| 184 |
|
| 185 |
|
| 186 |
%%%%%%%%%%%%%%%%%% |
| 187 |
\section{Preamble} |
| 188 |
%%%%%%%%%%%%%%%%%% |
| 189 |
|
| 190 |
\<configure jsml Preamble\><<< |
| 191 |
|<pre definitions|> |
| 192 |
\Configure{ext}{jsml} |
| 193 |
>>> |
| 194 |
|
| 195 |
|
| 196 |
\<configure jsml-math Preamble\><<< |
| 197 |
\:CheckOption{math-} \if:Option |
| 198 |
\edef\Preamble{\Preamble,mathml-} |
| 199 |
\else |
| 200 |
\Log:Note{for sources failing to produce |
| 201 |
clean math code, try the command line option `math-'}% |
| 202 |
\fi |
| 203 |
>>> |
| 204 |
|
| 205 |
|
| 206 |
|
| 207 |
|
| 208 |
|
| 209 |
|
| 210 |
\<configure jsml Preamble\><<< |
| 211 |
\Configure{PROLOG}{JSML,VERSION,DOCTYPE,*XML-STYLESHEET} |
| 212 |
\Configure{JSML} |
| 213 |
{\HCode{<jsml>\Hnewline}} |
| 214 |
>>> |
| 215 |
|
| 216 |
|
| 217 |
|
| 218 |
|
| 219 |
\<configure jsml tex4ht\><<< |
| 220 |
\Configure{HTML} |
| 221 |
{\IgnorePar\HCode{<html \a:@HTML |
| 222 |
|<xmlns|>\Hnewline>\Hnewline}} |
| 223 |
{\ifvmode\IgnorePar\fi\HCode{</html>\Hnewline |
| 224 |
</jsml>\Hnewline}} |
| 225 |
>>> |
| 226 |
|
| 227 |
\<xmlns\><<< |
| 228 |
xmlns="http://www.w3.org/1999/xhtml" |
| 229 |
>>> |
| 230 |
|
| 231 |
|
| 232 |
The XML definition and DOCTYPE elements are not accepted by the |
| 233 |
browser. |
| 234 |
|
| 235 |
|
| 236 |
\<configure jsml tex4ht\><<< |
| 237 |
\Configure{VERSION} |
| 238 |
{\HCode{\Hnewline<!--?xml version="1.0" |<xml encoding|> ?-->\Hnewline |
| 239 |
<?xtpipes file="jsml.4xt" ?>\Hnewline}} |
| 240 |
>>> |
| 241 |
|
| 242 |
\<xml encoding\><<< |
| 243 |
encoding="\expandafter\ifx \csname a:charset\endcsname\relax |
| 244 |
\expandafter\:encoding\A:charset |
| 245 |
\else \expandafter\:encoding\a:charset\fi" |
| 246 |
>>> |
| 247 |
|
| 248 |
|
| 249 |
|
| 250 |
\<configure jsml tex4ht\><<< |
| 251 |
\Configure{DOCTYPE} |
| 252 |
{\HCode{% <!DOCTYPE html \xhtml:DOCTYPE> \Hnewline |
| 253 |
<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd--> |
| 254 |
\Hnewline}} |
| 255 |
\def\xhtml:DOCTYPE{PUBLIC |
| 256 |
"-//W3C//DTD XHTML 1.0 Transitional//|<dtd lang|>"\Hnewline |
| 257 |
\space\space "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"} |
| 258 |
>>> |
| 259 |
|
| 260 |
|
| 261 |
% %%%%%%%%%%%%%%%%%% |
| 262 |
% \section{Paragraphs} |
| 263 |
% %%%%%%%%%%%%%%%%%% |
| 264 |
% |
| 265 |
% \<configure jsml tex4ht\><<< |
| 266 |
% \Configure{HtmlPar} |
| 267 |
% {\EndP\HCode{|<show input line no|><PARA><p \csname a:!P\endcsname |
| 268 |
% class="no\ifHCond par\else indent\fi">}} |
| 269 |
% {\EndP\HCode{|<show input line no|><PARA><p \csname a:!P\endcsname |
| 270 |
% class="\ifdim \parindent=\z@ no\fi indent">}} |
| 271 |
% {\HCode{</p></PARA>}} |
| 272 |
% {\HCode{</p></PARA>}}% |
| 273 |
% >>> |
| 274 |
|
| 275 |
|
| 276 |
%%%%%%%%%%%%%%%%%% |
| 277 |
\section{Front Matter} |
| 278 |
%%%%%%%%%%%%%%%%%% |
| 279 |
|
| 280 |
|
| 281 |
\<config book-report-article\><<< |
| 282 |
\Configure{maketitle} |
| 283 |
{\ifvmode \IgnorePar\fi \EndP |<title for TITLE|>% |
| 284 |
\HCode{<PARA><div class="maketitle">}} |
| 285 |
{\ifvmode \IgnorePar\fi \EndP \HCode{<BREAK SIZE="medium" /></div></PARA>}} |
| 286 |
{\NoFonts\IgnorePar\HCode{<h2 |
| 287 |
class="titleHead"\a:LRdir><EMP |
| 288 |
LEVEL="moderate">}\IgnorePar} |
| 289 |
{\HCode{</EMP></h2>}\IgnoreIndent\EndNoFonts} |
| 290 |
|<config thanks author date and|> |
| 291 |
>>> |
| 292 |
|
| 293 |
|
| 294 |
\<thanks author date and\><<< |
| 295 |
thanks author date and>>> |
| 296 |
|
| 297 |
|
| 298 |
\<config thanks author date and\><<< |
| 299 |
\Configure{|<thanks author date and|>} |
| 300 |
{\ifvmode \IgnorePar\fi\EndP |
| 301 |
\HCode{<SENT><span class="thanks"><BREAK SIZE="small" />}} |
| 302 |
{\ifvmode \IgnorePar\fi\EndP \HCode{</span></SENT>}} |
| 303 |
{\ifvmode \IgnorePar\fi\EndP |
| 304 |
\HCode{<SENT><span class="author" ><BREAK SIZE="small" />}} |
| 305 |
{\ifvmode \IgnorePar\fi\EndP \HCode{</span></SENT>}} |
| 306 |
{\ifvmode \IgnorePar\fi\EndP |
| 307 |
\HCode{<BREAK SIZE="small" /><SAYS CLASS="date" >}} |
| 308 |
{\ifvmode \IgnorePar\fi\EndP \HCode{</SAYS><BREAK SIZE="small" />}} |
| 309 |
{\HCode{<br />}} |
| 310 |
{\HCode{<br />}} |
| 311 |
>>> |
| 312 |
|
| 313 |
|
| 314 |
|
| 315 |
\<config report-article\><<< |
| 316 |
\ConfigureEnv{abstract} |
| 317 |
{\IgnorePar\EndP |
| 318 |
\HCode{<div clas="abstract"\Hnewline>}\par\ShowPar |
| 319 |
\bgroup |
| 320 |
\pend:def\abstractname{\HCode{<BREAK SIZE="small"/><EMP |
| 321 |
LEVEL="moderate" class="abstractname">}} |
| 322 |
\append:def\abstractname{\HCode{</EMP><BREAK SIZE="small"/>}} |
| 323 |
} |
| 324 |
{\egroup \ifvmode \IgnorePar\fi |
| 325 |
\EndP\HCode{<BREAK SIZE="small" /></div>}} |
| 326 |
{} {} |
| 327 |
>>> |
| 328 |
|
| 329 |
|
| 330 |
|
| 331 |
|
| 332 |
|
| 333 |
|
| 334 |
%%%%%%%%%%%%%%%%%% |
| 335 |
\section{Sectional Divisions} |
| 336 |
%%%%%%%%%%%%%%%%%% |
| 337 |
|
| 338 |
|
| 339 |
|
| 340 |
|
| 341 |
|
| 342 |
|
| 343 |
\<config book-report-article\><<< |
| 344 |
|<latex shared section config|> |
| 345 |
|<latex shared subsection config|> |
| 346 |
|<latex shared subsubsection config|> |
| 347 |
|<latex shared paragraph config|> |
| 348 |
|<config captions|> |
| 349 |
|<description lists|> |
| 350 |
|<quote config|> |
| 351 |
|<roman enumeiii|> |
| 352 |
>>> |
| 353 |
|
| 354 |
|
| 355 |
\<configure jsml JHEP\><<< |
| 356 |
|<latex shared part config|> |
| 357 |
|<latex shared section config|> |
| 358 |
|<latex shared subsection config|> |
| 359 |
|<latex shared subsubsection config|> |
| 360 |
>>> |
| 361 |
|
| 362 |
\<configure jsml acm-proc-article-sp\><<< |
| 363 |
|<latex shared part config|> |
| 364 |
|<latex shared section config|> |
| 365 |
|<latex shared subsection config|> |
| 366 |
|<latex shared subsubsection config|> |
| 367 |
>>> |
| 368 |
|
| 369 |
|
| 370 |
\<configure jsml aa\><<< |
| 371 |
|<latex shared section config|> |
| 372 |
|<latex shared subsection config|> |
| 373 |
|<latex shared subsubsection config|> |
| 374 |
|<latex shared paragraph config|> |
| 375 |
|<config captions|> |
| 376 |
>>> |
| 377 |
|
| 378 |
|
| 379 |
|
| 380 |
\<latex shared section config\><<< |
| 381 |
\ConfigureMark{section} |
| 382 |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble |
| 383 |
\else |
| 384 |
\HCode{<span class="titlemark">\add:description{added-description} |
| 385 |
{\a:speak:section}}\@seccntformat{section}% |
| 386 |
\HCode{</span><BREAK SIZE="small" />}\fi } |
| 387 |
\ConfigureMark{subsection} |
| 388 |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble |
| 389 |
\else |
| 390 |
\HCode{<span class="titlemark">\add:description{added-description} |
| 391 |
{\a:speak:subsection}}\@seccntformat{subsection}% |
| 392 |
\HCode{</span><BREAK SIZE="small" />}\fi } |
| 393 |
|<latex speak section|> |
| 394 |
>>> |
| 395 |
|
| 396 |
|
| 397 |
|
| 398 |
|
| 399 |
|
| 400 |
|
| 401 |
\<latex shared section config\><<< |
| 402 |
\Configure{section}{}{} |
| 403 |
{\ifvmode \IgnorePar\fi \EndP\IgnorePar |
| 404 |
\HCode{<h3 class="sectionHead"\a:LRdir><EMP |
| 405 |
LEVEL="moderate">}\TitleMark\space\HtmlParOff} |
| 406 |
{\HCode{</EMP></h3>}\HtmlParOn\ShowPar \IgnoreIndent \par} |
| 407 |
\Configure{likesection}{}{} |
| 408 |
{\ifvmode \IgnorePar\fi |
| 409 |
\EndP\IgnorePar\HCode{<h3 |
| 410 |
class="likesectionHead"\a:LRdir><EMP |
| 411 |
LEVEL="moderate">}\HtmlParOff} |
| 412 |
{\HCode{</EMP></h3>}\HtmlParOn \IgnoreIndent \par} |
| 413 |
>>> |
| 414 |
|
| 415 |
|
| 416 |
\<latex shared section config\><<< |
| 417 |
\Configure{subsection}{}{} |
| 418 |
{\ifvmode \IgnorePar\fi |
| 419 |
\EndP\bgroup \IgnorePar\HCode{<h4 |
| 420 |
class="subsectionHead"\a:LRdir><EMP |
| 421 |
LEVEL="moderate">}% |
| 422 |
\TitleMark\space \HtmlParOff} |
| 423 |
{\HCode{</EMP></h4>}\HtmlParOn |
| 424 |
\IgnoreIndent\egroup\par\ShowPar} |
| 425 |
\Configure{likesubsection}{}{}{\EndP\bgroup |
| 426 |
\ifvmode \IgnorePar\fi |
| 427 |
\HCode{<h4 class="likesubsectionHead"\a:LRdir><EMP |
| 428 |
LEVEL="moderate">}\HtmlParOff } |
| 429 |
{\HCode{</EMP></h4>}\HtmlParOn |
| 430 |
\IgnoreIndent\egroup\par\ShowPar} |
| 431 |
>>> |
| 432 |
|
| 433 |
|
| 434 |
|
| 435 |
|
| 436 |
|
| 437 |
|
| 438 |
\<ams art,proc,book div\><<< |
| 439 |
\ConfigureMark{subsection} |
| 440 |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble |
| 441 |
\else |
| 442 |
\HCode{<span class="titlemark">\add:description{added-description} |
| 443 |
{\a:speak:section}}\@ifundefined{sectionname}{}{% |
| 444 |
\ignorespaces\sectionname\space}% |
| 445 |
\@seccntformat{section}% |
| 446 |
\HCode{</span><BREAK SIZE="small" />}\fi } |
| 447 |
|<latex speak section|> |
| 448 |
>>> |
| 449 |
|
| 450 |
|
| 451 |
|
| 452 |
\<latex speak section\><<< |
| 453 |
\NewConfigure{speak:section}{1} |
| 454 |
\Configure{speak:section}{section} |
| 455 |
\NewConfigure{speak:subsection}{1} |
| 456 |
\Configure{speak:subsection}{subsection} |
| 457 |
>>> |
| 458 |
|
| 459 |
|
| 460 |
|
| 461 |
|
| 462 |
\<configure jsml Preamble\><<< |
| 463 |
\def\add:description#1#2{<span class="#1" |
| 464 |
title="speech-extra" >\Hnewline #2\Hnewline</span>} |
| 465 |
\def\add:vdescription#1#2{<div class="#1" |
| 466 |
title="speech-extra" >\Hnewline #2\Hnewline</div>} |
| 467 |
>>> |
| 468 |
|
| 469 |
|
| 470 |
|
| 471 |
|
| 472 |
|
| 473 |
%%%%%%%%%%%%% |
| 474 |
\section{Margin Notes} |
| 475 |
%%%%%%%%%%%%% |
| 476 |
|
| 477 |
|
| 478 |
|
| 479 |
\<configure jsml latex\><<< |
| 480 |
\Configure{marginpar} |
| 481 |
{\ifvmode |
| 482 |
\IgnorePar\EndP\HCode{<p class="marginpar"><PROS |
| 483 |
PITCH="+30" >}% |
| 484 |
|<begin ver marginpar|>% |
| 485 |
\def\end:margp{\ifvmode \IgnorePar\fi \EndP |
| 486 |
|<end ver marginpar|>\HCode{</PROS></p><BREAK SIZE="small"/>}}% |
| 487 |
\par |
| 488 |
\else |
| 489 |
\SaveEndP |
| 490 |
\HCode{<SENT><span class="marginpar"><PROS |
| 491 |
PITCH="+30" >}|<begin hor marginpar|>% |
| 492 |
\bgroup |
| 493 |
\Configure{HtmlPar} |
| 494 |
{<BREAK SIZE="small" />} |
| 495 |
{\HCode{<BREAK SIZE="small" />}} |
| 496 |
{}{}% |
| 497 |
\def\end:margp{\egroup |
| 498 |
|<end hor marginpar|>\HCode{</PROS><BREAK SIZE="small"/></span></SENT>}\RecallEndP}% |
| 499 |
\fi |
| 500 |
} |
| 501 |
{\end:margp} |
| 502 |
>>> |
| 503 |
|
| 504 |
|
| 505 |
\<begin ver marginpar\><<< |
| 506 |
\HCode{<div> |
| 507 |
\add:description{begin-end}{<PROS PITCH="-15">\a:speak:marginpar |
| 508 |
</PROS>}</div><div>}% |
| 509 |
>>> |
| 510 |
|
| 511 |
\<end ver marginpar\><<< |
| 512 |
\HCode{</div><div> |
| 513 |
\add:description{begin-end}{\b:speak:marginpar}</div>}% |
| 514 |
>>> |
| 515 |
|
| 516 |
|
| 517 |
\<begin hor marginpar\><<< |
| 518 |
\HCode{\add:description{begin-end}{<PROS pitch="-15">\a:speak:marginpar |
| 519 |
</PROS>}}% |
| 520 |
>>> |
| 521 |
|
| 522 |
\<end hor marginpar\><<< |
| 523 |
\HCode{\add:description{begin-end}{\b:speak:marginpar}}% |
| 524 |
>>> |
| 525 |
|
| 526 |
|
| 527 |
|
| 528 |
\<configure jsml latex\><<< |
| 529 |
\NewConfigure{speak:marginpar}{2} |
| 530 |
\Configure{speak:marginpar} |
| 531 |
{<BREAK SIZE="small"/>margin note<BREAK SIZE="small"/>} |
| 532 |
{} |
| 533 |
>>> |
| 534 |
|
| 535 |
|
| 536 |
|
| 537 |
|
| 538 |
|
| 539 |
|
| 540 |
|
| 541 |
%%%%%%%%%%%%%%%%%% |
| 542 |
\section{Footnotes} |
| 543 |
%%%%%%%%%%%%%%%%%% |
| 544 |
|
| 545 |
|
| 546 |
\<configure jsml latex\><<< |
| 547 |
|<latex footnotes|> |
| 548 |
>>> |
| 549 |
|
| 550 |
\<latex footnotes\><<< |
| 551 |
\Configure{footnote-mark} |
| 552 |
{\HCode{<SENT><span class="footnote-mark"><PROS |
| 553 |
PITCH="+30" >}|<begin footnote note|>} |
| 554 |
{|<end footnote note|>\HCode{</PROS><BREAK SIZE="small"/></span></SENT>}} |
| 555 |
>>> |
| 556 |
|
| 557 |
|
| 558 |
|
| 559 |
\<begin footnote note\><<< |
| 560 |
\HCode{\add:description{added-description}{<PROS |
| 561 |
pitch="-15">\a:speak:footnote</PROS>}}% |
| 562 |
>>> |
| 563 |
|
| 564 |
|
| 565 |
\<end footnote note\><<< |
| 566 |
\HCode{}% |
| 567 |
>>> |
| 568 |
|
| 569 |
|
| 570 |
\<latex footnotes\><<< |
| 571 |
\NewConfigure{speak:footnote}{1} |
| 572 |
\Configure{speak:footnote} |
| 573 |
{ <BREAK SIZE="small"/>footnote<BREAK SIZE="small"/>} |
| 574 |
>>> |
| 575 |
|
| 576 |
|
| 577 |
|
| 578 |
|
| 579 |
|
| 580 |
%%%%%%%%%%%%%%%%%% |
| 581 |
\section{Lists} |
| 582 |
%%%%%%%%%%%%%%%%%% |
| 583 |
|
| 584 |
%%%%%%%%%%%%% |
| 585 |
\subsection{Shared} |
| 586 |
%%%%%%%%%%%%% |
| 587 |
|
| 588 |
|
| 589 |
|
| 590 |
|
| 591 |
\<configure jsml latex\><<< |
| 592 |
|<latex lists|> |
| 593 |
>>> |
| 594 |
|
| 595 |
\<latex lists\><<< |
| 596 |
\ConfigureList{trivlist}% |
| 597 |
{\EndP\HCode{<dl \a:LRdir class="trivlist">}% |
| 598 |
|<save end:itm|>\global\let\end:itm=\empty} |
| 599 |
{|<recall end:itm|>\EndP\HCode{</dd></dl>}\ShowPar} |
| 600 |
{\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt |
| 601 |
class="trivlist">}\bgroup \bf} |
| 602 |
{\egroup\HCode{</dt><dd\Hnewline class="trivlist">}} |
| 603 |
>>> |
| 604 |
|
| 605 |
\<latex lists\><<< |
| 606 |
\ConfigureList{list}% |
| 607 |
{\EndP\HCode{<dl \a:LRdir class="list\expandafter\the |
| 608 |
\csname @listdepth\endcsname">}% |
| 609 |
|<save end:itm|>\global\let\end:itm=\empty} |
| 610 |
{|<recall end:itm|>\EndP\HCode{</dd></dl>}\ShowPar} |
| 611 |
{\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt |
| 612 |
class="list">}\bgroup \bf} |
| 613 |
{\egroup\HCode{</dt><dd\Hnewline class="list">}} |
| 614 |
>>> |
| 615 |
|
| 616 |
%%%%%%%%%%%%% |
| 617 |
\subsection{Itemized} |
| 618 |
%%%%%%%%%%%%% |
| 619 |
|
| 620 |
|
| 621 |
|
| 622 |
\<latex lists\><<< |
| 623 |
\ConfigureList{itemize}% |
| 624 |
{\EndP\HCode{<ul |
| 625 |
\a:LRdir class="ul-itemize\expandafter\the |
| 626 |
\csname @itemdepth\endcsname"><PROS PITCH="+15">}% |
| 627 |
|<begin itemize note|>% |
| 628 |
|<save end:itm|>\global\let\end:itm=\empty} |
| 629 |
{|<recall end:itm|>\ifvmode \IgnorePar\fi |
| 630 |
\EndP \HCode{</li>}|<end itemize note|>% |
| 631 |
\HCode{</PROS></ul>}\ShowPar} |
| 632 |
{\end:itm \global\def\end:itm{\EndP\HCode{</li>}}% |
| 633 |
\HCode{<li class="li-itemize">}|<itemize item|>\DeleteMark |
| 634 |
} |
| 635 |
{\HCode{}} |
| 636 |
>>> |
| 637 |
|
| 638 |
\<begin itemize note\><<< |
| 639 |
\HCode{<div class="itemize">% |
| 640 |
<div class="added-list-description">% |
| 641 |
\add:description{added-description}{\a:speak:itemize}</div>}% |
| 642 |
>>> |
| 643 |
|
| 644 |
\<end itemize note\><<< |
| 645 |
\HCode{<div class="added-list-description">% |
| 646 |
\add:description{added-description}{\b:speak:itemize}</div></div>}% |
| 647 |
>>> |
| 648 |
|
| 649 |
\<itemize item\><<< |
| 650 |
\HCode{<span class="added-list-description">% |
| 651 |
\add:description{added-description}{\c:speak:itemize}</span>}% |
| 652 |
>>> |
| 653 |
|
| 654 |
|
| 655 |
|
| 656 |
\<latex lists\><<< |
| 657 |
\NewConfigure{speak:itemize}{3} |
| 658 |
\Configure{speak:itemize} |
| 659 |
{<BREAK SIZE="small"/>begin \ifcase\csname @listdepth\endcsname |
| 660 |
\or \or sub \or sub sub \or sub sub sub \else\fi |
| 661 |
list} |
| 662 |
{<BREAK SIZE="small"/>end \ifcase\csname @listdepth\endcsname |
| 663 |
\or sub \or sub sub \or sub sub sub \else\fi |
| 664 |
list<BREAK SIZE="small"/>} |
| 665 |
{<BREAK SIZE="medium"/><PROS PITCH="-5">|%\ifcase\csname @listdepth\endcsname |
| 666 |
\or \or sub \or sub sub \or sub sub sub \else\fi|% |
| 667 |
item</PROS><BREAK SIZE="small"/>} |
| 668 |
>>> |
| 669 |
|
| 670 |
|
| 671 |
|
| 672 |
|
| 673 |
|
| 674 |
|
| 675 |
%%%%%%%%%%%%% |
| 676 |
\subsection{Enumerate} |
| 677 |
%%%%%%%%%%%%% |
| 678 |
|
| 679 |
|
| 680 |
|
| 681 |
|
| 682 |
\<latex lists\><<< |
| 683 |
\ConfigureList{enumerate}% |
| 684 |
{|<enumerate I|>} |
| 685 |
{|<enumerate II|>} |
| 686 |
{|<enumerate III|>} |
| 687 |
{|<enumerate IV|>} |
| 688 |
>>> |
| 689 |
|
| 690 |
|
| 691 |
\<enumerate I\><<< |
| 692 |
\EndP \HCode{<ol \a:enumerate:\space |
| 693 |
class="ol-enumerate\expandafter\the\csname @enumdepth\endcsname" |
| 694 |
\a:LRdir |
| 695 |
><PROS PITCH="+15">}% |
| 696 |
|<begin enumerate note|>% |
| 697 |
|<save end:itm|>\global\let\end:itm=\empty |
| 698 |
>>> |
| 699 |
|
| 700 |
\<enumerate II\><<< |
| 701 |
|<recall end:itm|>% |
| 702 |
\EndP \HCode{</li>}% |
| 703 |
|<end enumerate note|>% |
| 704 |
\HCode{</PROS></ol>}\ShowPar |
| 705 |
>>> |
| 706 |
|
| 707 |
|
| 708 |
\<enumerate III\><<< |
| 709 |
\end:itm \gdef\end:itm{\EndP\HCode{</li>}}% |
| 710 |
\HCode{<li class="li-enumerate" \Hnewline><SENT><span |
| 711 |
class="ol-mark"><BREAK |
| 712 |
SIZE="medium"/><PROS PITCH="-5" >}|<enumerate item|>%\DeleteMark |
| 713 |
>>> |
| 714 |
|
| 715 |
\<enumerate IV\><<< |
| 716 |
\HCode{</PROS><BREAK SIZE="small"/></span></SENT>}%\AnchorLabel |
| 717 |
>>> |
| 718 |
|
| 719 |
|
| 720 |
|
| 721 |
\<save end:itm\><<< |
| 722 |
\PushMacro\end:itm |
| 723 |
>>> |
| 724 |
|
| 725 |
|
| 726 |
\<recall end:itm\><<< |
| 727 |
\PopMacro\end:itm \global\let\end:itm \end:itm |
| 728 |
>>> |
| 729 |
|
| 730 |
|
| 731 |
|
| 732 |
|
| 733 |
\<begin enumerate note\><<< |
| 734 |
\HCode{<div class="enumerate">% |
| 735 |
<div class="added-list-description">% |
| 736 |
\add:description{added-description}{\a:speak:enumerate}</div>}% |
| 737 |
>>> |
| 738 |
|
| 739 |
|
| 740 |
\<end enumerate note\><<< |
| 741 |
\HCode{<div class="added-list-description">% |
| 742 |
\add:description{added-description}{\b:speak:enumerate}</div></div>}% |
| 743 |
>>> |
| 744 |
|
| 745 |
\<enumerate item\><<< |
| 746 |
\HCode{<span class="added-list-description">% |
| 747 |
\add:description{added-description}{\c:speak:enumerate}</span>}% |
| 748 |
>>> |
| 749 |
|
| 750 |
|
| 751 |
|
| 752 |
\<roman enumeiii\><<< |
| 753 |
\Configure{enumiii} |
| 754 |
{\HCode{<span class="roman-numeral">}% |
| 755 |
Roman numeral \HCode{}\the\c@enumiii |
| 756 |
\HCode{}\:gobbleII} |
| 757 |
{\HCode{</span>}} |
| 758 |
\long\def\:tempc{(\theenumii)} |
| 759 |
\ifx \labelenumii\:tempc |
| 760 |
\def\:tempc{(\HCode{}\theenumii\HCode{})} |
| 761 |
\HLet\labelenumii\:tempc |
| 762 |
\fi |
| 763 |
>>> |
| 764 |
|
| 765 |
|
| 766 |
|
| 767 |
\<latex lists\><<< |
| 768 |
\NewConfigure{speak:enumerate}{3} |
| 769 |
\Configure{speak:enumerate} |
| 770 |
{<BREAK SIZE="small"/>begin \ifcase\csname @listdepth\endcsname |
| 771 |
\or \or sub \or sub sub \or sub sub sub \else\fi |
| 772 |
list} |
| 773 |
{<BREAK SIZE="small"/>end \ifcase\csname @listdepth\endcsname |
| 774 |
\or sub \or sub sub \or sub sub sub \else\fi |
| 775 |
list<BREAK SIZE="small"/>} |
| 776 |
{|%\ifcase\csname @listdepth\endcsname |
| 777 |
\or \or sub \or sub sub \or sub sub sub \else\fi|% |
| 778 |
item <BREAK SIZE="small"/>} |
| 779 |
>>> |
| 780 |
|
| 781 |
%%%%%%%%%%%%% |
| 782 |
\subsection{Description} |
| 783 |
%%%%%%%%%%%%% |
| 784 |
|
| 785 |
|
| 786 |
\<description lists\><<< |
| 787 |
\ConfigureList{description}% |
| 788 |
{\EndP |
| 789 |
\HCode{<dl \a:LRdir class="dl-description"><PROS PITCH="+15">}% |
| 790 |
|<begin description note|>% |
| 791 |
|<save end:itm|>\global\let\end:itm=\empty} |
| 792 |
{|<recall end:itm|>\EndP\HCode{</dd>}% |
| 793 |
|<end description note|>% |
| 794 |
\HCode{</PROS></dl>}% |
| 795 |
\ShowPar} |
| 796 |
{\end:itm \global\def\end:itm{\EndP\HCode{</dd>}}\HCode{<SENT><span><dt |
| 797 |
class="dt-description"><EMP |
| 798 |
LEVEL="moderate">}|<description item|>\bgroup \bf} |
| 799 |
{\egroup\EndP\HCode{</EMP><BREAK |
| 800 |
SIZE="small"/></dt></span></SENT><dd\Hnewline class="dd-description">}} |
| 801 |
>>> |
| 802 |
|
| 803 |
|
| 804 |
|
| 805 |
|
| 806 |
|
| 807 |
|
| 808 |
|
| 809 |
\<begin description note\><<< |
| 810 |
\HCode{<div class="description">% |
| 811 |
<div class="added-list-description">% |
| 812 |
\add:description{added-description}{\a:speak:description}</div>}% |
| 813 |
>>> |
| 814 |
|
| 815 |
|
| 816 |
\<end description note\><<< |
| 817 |
\HCode{<div class="added-list-description">% |
| 818 |
\add:description{added-description}{\b:speak:description}</div></div>}% |
| 819 |
>>> |
| 820 |
|
| 821 |
\<description item\><<< |
| 822 |
\HCode{<span class="added-list-description">% |
| 823 |
\add:description{added-description}{\c:speak:description}% |
| 824 |
</span>}% |
| 825 |
>>> |
| 826 |
|
| 827 |
|
| 828 |
\<configure jsml-math tex4ht\><<< |
| 829 |
\NewConfigure{speak:description}{3} |
| 830 |
\Configure{speak:description} |
| 831 |
{<BREAK SIZE="small"/>begin \ifcase\csname @listdepth\endcsname |
| 832 |
\or \or sub \or sub sub \or sub sub sub \else\fi |
| 833 |
list} |
| 834 |
{<BREAK SIZE="small"/>end \ifcase\csname @listdepth\endcsname |
| 835 |
\or sub \or sub sub \or sub sub sub \else\fi |
| 836 |
list<BREAK SIZE="small"/>} |
| 837 |
{<BREAK SIZE="small"/>|%\ifcase\csname @listdepth\endcsname |
| 838 |
\or \or sub \or sub sub \or sub sub sub \else\fi|% |
| 839 |
item} |
| 840 |
>>> |
| 841 |
|
| 842 |
|
| 843 |
|
| 844 |
|
| 845 |
|
| 846 |
|
| 847 |
%%%%%%%%%%%%%%%%%% |
| 848 |
\section{Verbatim} |
| 849 |
%%%%%%%%%%%%%%%%%% |
| 850 |
|
| 851 |
\<configure jsml latex\><<< |
| 852 |
\Configure{verbatim} |
| 853 |
{\HAdvance\Verb:N by 1 \ifnum \Verb:N>1 |
| 854 |
\:nbsp \HCode{<br />}\fi} |
| 855 |
{\a:sp} |
| 856 |
\def\env:verb#1{\ifinner\else \vfill\break\fi |
| 857 |
\IgnorePar\EndP \HAssign\Verb:N=0 |
| 858 |
\HCode{<PARA><div class="#1"\a:LRdir>% |
| 859 |
\add:description{added-description}{begin verbatim}% |
| 860 |
<PROS \a:verbatim::style >}\EndNoFonts} |
| 861 |
\def\endenv:verb{\NoFonts |
| 862 |
\EndP \ht:special{t4ht=</PROS>% |
| 863 |
\add:description{added-description}{end verbatim}% |
| 864 |
</div></PARA>}|<try inline par|>} |
| 865 |
\NewConfigure{verbatim::style}{1} |
| 866 |
\Configure{verbatim::style}{RATE="150" PITCH="-10" RANGE="0"} |
| 867 |
>>> |
| 868 |
|
| 869 |
|
| 870 |
\<configure jsml latex\><<< |
| 871 |
\Configure{verb} |
| 872 |
{\HCode{<SENT><span class="verb"\a:LRdir><PROS \a:verbatim::style >}} |
| 873 |
{\HCode{</PROS></span></SENT>}} |
| 874 |
>>> |
| 875 |
|
| 876 |
|
| 877 |
|
| 878 |
|
| 879 |
% %%%%%%%%%%%%%%%%%% |
| 880 |
% \section{Verbatim} |
| 881 |
% %%%%%%%%%%%%%%%%%% |
| 882 |
% |
| 883 |
% |
| 884 |
% \<configure jsml latex\><<< |
| 885 |
% \Configure{verbatim} {} {\a:sp} |
| 886 |
% \def\env:verb#1{\ifinner\else \vfill\break\fi |
| 887 |
% \IgnorePar\EndP \HAssign\Verb:N=0 |
| 888 |
% \HCode{\add:description{added-description}{begin verbatim}% |
| 889 |
% <pre class="#1"\a:LRdir>}\EndNoFonts} |
| 890 |
% \def\endenv:verb{\NoFonts |
| 891 |
% \EndP \ht:special{t4ht=</pre>}% |
| 892 |
% \add:description{added-description}{end verbatim}% |
| 893 |
% |<try inline par|>} |
| 894 |
% \def\start:fenv#1{\:xhtml{\IgnorePar |
| 895 |
% \EndP}\HCode{<div align="#1"\Hnewline\a:LRdir>}} |
| 896 |
% \def\end:fenv{\IgnorePar\HCode{</div>}\IgnorePar} |
| 897 |
% >>> |
| 898 |
|
| 899 |
|
| 900 |
|
| 901 |
|
| 902 |
|
| 903 |
%%%%%%%%%%%%%%%%%% |
| 904 |
\section{Figures} |
| 905 |
%%%%%%%%%%%%%%%%%% |
| 906 |
|
| 907 |
|
| 908 |
\<config book-report-article\><<< |
| 909 |
|<config captions|> |
| 910 |
>>> |
| 911 |
|
| 912 |
\<configure jsml aa\><<< |
| 913 |
|<config captions|> |
| 914 |
>>> |
| 915 |
|
| 916 |
\<ams art,proc,book\><<< |
| 917 |
|<config captions|> |
| 918 |
>>> |
| 919 |
|
| 920 |
|
| 921 |
|
| 922 |
|
| 923 |
|
| 924 |
\<configure jsml latex\><<< |
| 925 |
\ConfigureEnv{figure} |
| 926 |
{\IgnorePar\EndP |
| 927 |
\HCode{<PARA><div class="figure"\Hnewline>|<begin figure note|>}% |
| 928 |
\bgroup \Configure{float}{\ShowPar}{}{}% |
| 929 |
} |
| 930 |
{\egroup |
| 931 |
\IgnorePar\EndP\HCode{|<end figure note|></div></PARA>}% |
| 932 |
|<try env inline par|>\par} |
| 933 |
{}{} |
| 934 |
>>> |
| 935 |
|
| 936 |
|
| 937 |
\<config captions\><<< |
| 938 |
\Configure{caption} |
| 939 |
{\IgnorePar\EndP |
| 940 |
\HCode{<PARA><div class="caption"><SENT><span class="mark">% |
| 941 |
<BREAK SIZE="small"/><EMP |
| 942 |
LEVEL="medium">}|<caption of fig|>} |
| 943 |
{: \HCode{</EMP><BREAK SIZE="small"/>}} |
| 944 |
{|<end caption|>\HCode{</span></SENT>% |
| 945 |
<SENT><span \Hnewline class="content">% |
| 946 |
\add:description{added-description}{\a:speak:caption}}} |
| 947 |
{\HCode{\add:description{added-description}{\b:speak:caption}% |
| 948 |
</span></SENT></div></PARA>}|<caption label comment|>} |
| 949 |
>>> |
| 950 |
|
| 951 |
|
| 952 |
\<begin figure note\><<< |
| 953 |
<div>\add:description{begin-end}{\a:speak:figure}</div>% |
| 954 |
>>> |
| 955 |
|
| 956 |
|
| 957 |
\<end figure note\><<< |
| 958 |
<div>\add:description{begin-end}{\b:speak:figure}</div>% |
| 959 |
>>> |
| 960 |
|
| 961 |
\<caption of fig\><<< |
| 962 |
\HCode{\add:description{added-description}{\c:speak:caption}}% |
| 963 |
>>> |
| 964 |
|
| 965 |
\<end caption\><<< |
| 966 |
>>> |
| 967 |
|
| 968 |
\<configure jsml latex\><<< |
| 969 |
\NewConfigure{speak:caption}{3} |
| 970 |
\Configure{speak:caption} |
| 971 |
{} |
| 972 |
{} |
| 973 |
{caption of} |
| 974 |
\NewConfigure{speak:figure}{2} |
| 975 |
\Configure{speak:figure} |
| 976 |
{<BREAK |
| 977 |
SIZE="small"/><PROS PITCH="-15" >begin figure</PROS>} |
| 978 |
{<BREAK |
| 979 |
SIZE="small"/><PROS PITCH="-15" >end figure</PROS>} |
| 980 |
>>> |
| 981 |
|
| 982 |
%%%%%%%%%%%%%%%%%% |
| 983 |
\section{Quote} |
| 984 |
%%%%%%%%%%%%%%%%%% |
| 985 |
|
| 986 |
|
| 987 |
\<config book-report-article\><<< |
| 988 |
|<quote config|> |
| 989 |
>>> |
| 990 |
|
| 991 |
|
| 992 |
\<configure html4 letter\><<< |
| 993 |
|<quote config|> |
| 994 |
>>> |
| 995 |
|
| 996 |
\<quote config\><<< |
| 997 |
\ConfigureEnv{quote} |
| 998 |
{}{} |
| 999 |
{\IgnorePar\EndP |
| 1000 |
\HCode{<PARA><div class="quote"><PROS |
| 1001 |
PITCH="-10" >}} |
| 1002 |
{\IgnorePar\EndP |
| 1003 |
\HCode{</PROS></div></PARA>}\ShowPar\ShowIndent} |
| 1004 |
>>> |
| 1005 |
|
| 1006 |
%%%%%%%%%%%%%%%%%% |
| 1007 |
\section{Fonts} |
| 1008 |
%%%%%%%%%%%%%%%%%% |
| 1009 |
|
| 1010 |
\<configure jsml tex4ht\><<< |
| 1011 |
\Configure{htf}{0}{+}{}{}{}{}{}{}{} |
| 1012 |
>>> |
| 1013 |
|
| 1014 |
|
| 1015 |
|
| 1016 |
|
| 1017 |
\<configure jsml latex\><<< |
| 1018 |
\Configure{texttt} |
| 1019 |
{\Protect\HCode{<SENT><span class="texttt"><PROS |
| 1020 |
\a:verbatim::style}} |
| 1021 |
{\Protect\HCode{</PROS></span></SENT>}} |
| 1022 |
\Configure{emph} |
| 1023 |
{\Protect\HCode{<SENT><span class="emph"><EMP |
| 1024 |
LEVEL="moderate">}} |
| 1025 |
{\Protect\HCode{</EMP></span></SENT>}} |
| 1026 |
\Configure{textbf} |
| 1027 |
{\Protect\HCode{<span class="textbf"><EMP |
| 1028 |
LEVEL="strong">}} |
| 1029 |
{\Protect\HCode{</EMP></span>}} |
| 1030 |
>>> |
| 1031 |
|
| 1032 |
|
| 1033 |
\<\><<< |
| 1034 |
\Configure{textit}{\Protect\HCode{<span class="textit">}} |
| 1035 |
{\Protect\HCode{</span>}} |
| 1036 |
\Configure{textrm}{\Protect\HCode{<span class="textrm">}} |
| 1037 |
{\Protect\HCode{</span>}} |
| 1038 |
\Configure{textup}{\Protect\HCode{<span class="textup">}} |
| 1039 |
{\Protect\HCode{</span>}} |
| 1040 |
\Configure{textsc}{\Protect\HCode{<span class="textsc">}} |
| 1041 |
{\Protect\HCode{</span>}} |
| 1042 |
\Configure{textsf}{\Protect\HCode{<span class="textsf">}} |
| 1043 |
{\Protect\HCode{</span>}} |
| 1044 |
\Configure{textsl}{\Protect\HCode{<span class="textsl">}} |
| 1045 |
{\Protect\HCode{</span>}} |
| 1046 |
>>> |
| 1047 |
|
| 1048 |
|
| 1049 |
|
| 1050 |
%%%%%%%%%%%%%%%%%% |
| 1051 |
\part{Math} |
| 1052 |
%%%%%%%%%%%%%%%%%% |
| 1053 |
%%%%%%%%%%%%%%%%%% |
| 1054 |
\section{Math Delimiters} |
| 1055 |
%%%%%%%%%%%%%%%%%% |
| 1056 |
|
| 1057 |
%%%%%%%%%%%%% |
| 1058 |
\subsection{Full Expressions} |
| 1059 |
%%%%%%%%%%%%% |
| 1060 |
|
| 1061 |
|
| 1062 |
|
| 1063 |
|
| 1064 |
\<configure jsml-math tex4ht\><<< |
| 1065 |
\Configure{DviMath} |
| 1066 |
{\a:DviMathSpk \mathmltrue |
| 1067 |
\ifOption{mml-fonts}{}{|%\mml:htfsym|%\NoFonts}% |
| 1068 |
\IgnoreRule \HCode{<!--l. |
| 1069 |
\the\inputlineno-->}\a:math |
| 1070 |
|<sv dvimath par|>\IgnorePar} |
| 1071 |
{\EndIgnoreRule |
| 1072 |
\mathmlfalse \b:DviMathSpk |<recall dvimath par|>} |
| 1073 |
\NewConfigure{DviMathSpk}{2} |
| 1074 |
>>> |
| 1075 |
|
| 1076 |
|
| 1077 |
|
| 1078 |
\<sv dvimath par\><<< |
| 1079 |
\edef\sv:ignore{\if:nopar |
| 1080 |
\noexpand\IgnorePar\else \noexpand\ShowPar\fi}% |
| 1081 |
>>> |
| 1082 |
|
| 1083 |
|
| 1084 |
\<recall dvimath par\><<< |
| 1085 |
\sv:ignore |
| 1086 |
>>> |
| 1087 |
|
| 1088 |
|
| 1089 |
|
| 1090 |
\<configure jsml-math tex4ht\><<< |
| 1091 |
\Configure{math}{} |
| 1092 |
\Configure{$} |
| 1093 |
{|<conf inline math|>\DviMath} |
| 1094 |
{\EndDviMath}{} |
| 1095 |
\Configure{$$} |
| 1096 |
{|<conf display math|>\DviMath} |
| 1097 |
{\EndDviMath |
| 1098 |
\ShowPar\par{\csname HCondtrue\endcsname\noindent}} |
| 1099 |
{\DisplayMathtrue} |
| 1100 |
>>> |
| 1101 |
|
| 1102 |
|
| 1103 |
\<configure jsml-math latex\><<< |
| 1104 |
\Configure{[]} |
| 1105 |
{|<conf display math|>\DviMath $$\DisplayMathtrue } |
| 1106 |
{$$\EndDviMath} |
| 1107 |
\Configure{()} |
| 1108 |
{|<conf inline math|>\DviMath $} |
| 1109 |
{$\EndDviMath} |
| 1110 |
>>> |
| 1111 |
|
| 1112 |
|
| 1113 |
\<conf inline math\><<< |
| 1114 |
\Configure{DviMathSpk} |
| 1115 |
{\HCode{<span class="inline-math">% |
| 1116 |
\add:description{begin-math}{\a:speak:math}}} |
| 1117 |
{\HCode{\add:description{end-math}{\b:speak:math}</span>}}% |
| 1118 |
>>> |
| 1119 |
|
| 1120 |
|
| 1121 |
\<conf display math\><<< |
| 1122 |
\Configure{@math}{div}\IgnorePar |
| 1123 |
|<inline end-par comment|>\EndP |
| 1124 |
\Configure{DviMathSpk} |
| 1125 |
{\HCode{<div class="display-math">% |
| 1126 |
\add:description{begin-math}{\a:speak:math}}} |
| 1127 |
{\HCode{\add:description{end-math}{\b:speak:math}</div>}}% |
| 1128 |
>>> |
| 1129 |
|
| 1130 |
|
| 1131 |
\<configure jsml-math tex4ht\><<< |
| 1132 |
\NewConfigure{speak:math}{2} |
| 1133 |
\Configure{speak:math} |
| 1134 |
{%<BREAK SIZE="small"/><PROS PITCH="-5" >math</PROS> |
| 1135 |
<BREAK SIZE="small"/>} |
| 1136 |
{%<BREAK SIZE="small"/><PROS PITCH="-5" >end math</PROS> |
| 1137 |
<BREAK SIZE="small"/>} |
| 1138 |
>>> |
| 1139 |
|
| 1140 |
|
| 1141 |
|
| 1142 |
|
| 1143 |
|
| 1144 |
%%%%%%%%%%%%%%%%%% |
| 1145 |
\chapter{Over and Under} |
| 1146 |
%%%%%%%%%%%%%%%%%% |
| 1147 |
|
| 1148 |
|
| 1149 |
|
| 1150 |
%%%%%%%%%%%%% |
| 1151 |
\section{Subscrips and Superscripts (sub and super)} |
| 1152 |
%%%%%%%%%%%%% |
| 1153 |
|
| 1154 |
\<configure jsml-math tex4ht\><<< |
| 1155 |
|<sub, sup, subsup|> |
| 1156 |
|<limits sub, sup, subsup|> |
| 1157 |
>>> |
| 1158 |
|
| 1159 |
\<sub, sup, subsup\><<< |
| 1160 |
\Configure{SUB} |
| 1161 |
{\Send{BACK} |
| 1162 |
{|<start msub base|>}|<msub sub|>} |
| 1163 |
{|<close msub|>} |
| 1164 |
\Configure{SUP} |
| 1165 |
{\Send{BACK} |
| 1166 |
{|<start msup base|>}|<msup super|>} |
| 1167 |
{|<close msup|>} |
| 1168 |
\Configure{SUBSUP} |
| 1169 |
{\Send{BACK} |
| 1170 |
{|<start msubsup base|>}|<msubsup sub|>} |
| 1171 |
{|<msubsup sup|>} |
| 1172 |
{|<close msubsup|>} |
| 1173 |
>>> |
| 1174 |
|
| 1175 |
|
| 1176 |
|
| 1177 |
\<start msup base\><<< |
| 1178 |
<msup><mrow class="mrow-base"\Hnewline>% |
| 1179 |
>>> |
| 1180 |
|
| 1181 |
\<msup super\><<< |
| 1182 |
\HCode{</mrow><mrow class="mrow-super"\Hnewline |
| 1183 |
>\add:description{begin-script}{\b:speak:subsup}% |
| 1184 |
<PROS PITCH="+10">}\trap:base |
| 1185 |
>>> |
| 1186 |
|
| 1187 |
\<close msup\><<< |
| 1188 |
\HCode{</PROS>\add:description{end-script}{\c:speak:subsup}% |
| 1189 |
</mrow></msup\Hnewline>}% |
| 1190 |
>>> |
| 1191 |
|
| 1192 |
|
| 1193 |
|
| 1194 |
\<start msub base\><<< |
| 1195 |
<msub><mrow class="mrow-base"\Hnewline>% |
| 1196 |
>>> |
| 1197 |
|
| 1198 |
|
| 1199 |
|
| 1200 |
\<msub sub\><<< |
| 1201 |
\HCode{</mrow><mrow class="mrow-sub"\Hnewline |
| 1202 |
>\add:description{begin-script}{\a:speak:subsup}% |
| 1203 |
<PROS PITCH="-10">}\trap:base |
| 1204 |
>>> |
| 1205 |
|
| 1206 |
\<close msub\><<< |
| 1207 |
\HCode{</PROS>\add:description{end-script}{\c:speak:subsup}% |
| 1208 |
</mrow></msub\Hnewline>}% |
| 1209 |
>>> |
| 1210 |
|
| 1211 |
% |
| 1212 |
% |
| 1213 |
|
| 1214 |
\<start msubsup base\><<< |
| 1215 |
<msubsup><mrow class="mrow-base"\Hnewline>% |
| 1216 |
>>> |
| 1217 |
|
| 1218 |
\<msubsup sub\><<< |
| 1219 |
\HCode{</mrow><mrow class="mrow-sub"\Hnewline |
| 1220 |
>\add:description{begin-script}{\a:speak:subsup}% |
| 1221 |
<PROS PITCH="-10">}\trap:base |
| 1222 |
>>> |
| 1223 |
|
| 1224 |
|
| 1225 |
\<msubsup sup\><<< |
| 1226 |
\HCode{</PROS></mrow><mrow class="mrow-super"\Hnewline |
| 1227 |
>\add:description{mid-script}{\b:speak:subsup}% |
| 1228 |
<PROS PITCH="+10">}\trap:base |
| 1229 |
>>> |
| 1230 |
|
| 1231 |
|
| 1232 |
\<close msubsup\><<< |
| 1233 |
\HCode{</PROS>\add:description{end-script}{\c:speak:subsup}% |
| 1234 |
</mrow></msubsup\Hnewline>}% |
| 1235 |
>>> |
| 1236 |
|
| 1237 |
\<configure jsml-math tex4ht\><<< |
| 1238 |
\NewConfigure{speak:subsup}{3} |
| 1239 |
\Configure{speak:subsup} |
| 1240 |
{<PROS PITCH="-5"><BREAK SIZE="small"/> |
| 1241 |
<span class="scripts-extra"> subscript </span> |
| 1242 |
<BREAK SIZE="small"/></PROS>} |
| 1243 |
{<PROS PITCH="+5"><BREAK SIZE="small"/> |
| 1244 |
<span class="scripts-extra"> superscript </span> |
| 1245 |
<BREAK SIZE="small"/></PROS>} |
| 1246 |
{<PROS PITCH="-5"><BREAK SIZE="medium"/> |
| 1247 |
<span class="scripts-extra"> baseline </span> |
| 1248 |
<BREAK SIZE="small"/></PROS>} |
| 1249 |
>>> |
| 1250 |
|
| 1251 |
|
| 1252 |
|
| 1253 |
%%%%%%%%%%%%%%%%%% |
| 1254 |
\section{Delimiters} |
| 1255 |
%%%%%%%%%%%%%%%%%% |
| 1256 |
|
| 1257 |
\<plain,fontmath math\><<< |
| 1258 |
\Configure{MathClass}{1}{*}{<mo\Hnewline |
| 1259 |
class="MathClass-op"><BREAK SIZE="small"/>} |
| 1260 |
{<BREAK SIZE="small"/></mo>}{} |
| 1261 |
\Configure{MathClass}{2}{*}{<mo\Hnewline |
| 1262 |
class="MathClass-bin"><BREAK SIZE="small"/>} |
| 1263 |
{<BREAK SIZE="small"/></mo>}{} |
| 1264 |
\Configure{MathClass}{3}{*}{<mo\Hnewline |
| 1265 |
class="MathClass-rel"><BREAK SIZE="small"/>} |
| 1266 |
{<BREAK SIZE="small"/></mo>}{} |
| 1267 |
\:CheckOption{mathml-} \if:Option |
| 1268 |
\Configure{MathClass}{4}{*}{<mo\Hnewline |
| 1269 |
class="MathClass-open">} |
| 1270 |
{</mo><BREAK SIZE="small"/>}{} |
| 1271 |
\Configure{MathClass}{5}{*}{<BREAK SIZE="small"/>% |
| 1272 |
<mo\Hnewline |
| 1273 |
class="MathClass-close">} |
| 1274 |
{</mo>}{} |
| 1275 |
\else |
| 1276 |
\Configure{MathClass}{4}{*}{<mfenced><mo\Hnewline |
| 1277 |
class="MathClass-open">} |
| 1278 |
{</mo><mrow><BREAK SIZE="small"/>}{} |
| 1279 |
\Configure{MathClass}{5}{*}{<BREAK SIZE="small"/>% |
| 1280 |
</mrow><mo\Hnewline |
| 1281 |
class="MathClass-close">} |
| 1282 |
{</mo></mfenced>}{} |
| 1283 |
\fi |
| 1284 |
>>> |
| 1285 |
|
| 1286 |
|
| 1287 |
\<plain,fontmath math\><<< |
| 1288 |
\def\sin{\mathop {\operator@font sine}\nolimits} |
| 1289 |
\def\cos{\mathop {\operator@font cosine}\nolimits} |
| 1290 |
\def\lim{\mathop {\operator@font limit}} |
| 1291 |
>>> |
| 1292 |
|
| 1293 |
%%%%%%%%%%%%%%%%%% |
| 1294 |
\section{Fractions and Stacks} |
| 1295 |
%%%%%%%%%%%%%%%%%% |
| 1296 |
|
| 1297 |
|
| 1298 |
%%%%%%%%%%%%% |
| 1299 |
\subsection{Regular Ones} |
| 1300 |
%%%%%%%%%%%%% |
| 1301 |
|
| 1302 |
|
| 1303 |
|
| 1304 |
\<configure jsml-math tex4ht\><<< |
| 1305 |
\Configure{over} |
| 1306 |
{\Send{GROUP}{0}{|<start mfrac|>}|<end frac numerator|>} |
| 1307 |
{|<frac enumerator|>\Send{EndGROUP}{0}{|<end mfrac|>}} |
| 1308 |
\Configure{atop} |
| 1309 |
{\Send{GROUP}{0}{|<start atop|>}|<end atop over|>} |
| 1310 |
{|<start atop under|>\Send{EndGROUP}{0}{|<end atop|>}} |
| 1311 |
\Configure{above} |
| 1312 |
{\Send{GROUP}{0}{|<start above|>}% |
| 1313 |
|<end above over|>\o:over:\:gobbleII} |
| 1314 |
{|<start above under|>\Send{EndGROUP}{0}{|<end above|>}} |
| 1315 |
>>> |
| 1316 |
|
| 1317 |
\<configure jsml-math latex\><<< |
| 1318 |
|<plain,latex mathml|> |
| 1319 |
|<mathml latex|> |
| 1320 |
>>> |
| 1321 |
|
| 1322 |
\<mathml latex\><<< |
| 1323 |
\Configure{frac} |
| 1324 |
{\HCode{|<start mfrac|>}} |
| 1325 |
{|<end frac numerator|>\Configure{over}{}{}} |
| 1326 |
{|<frac enumerator|>} |
| 1327 |
{\HCode{|<end mfrac|>}} |
| 1328 |
>>> |
| 1329 |
|
| 1330 |
|
| 1331 |
|
| 1332 |
\<configure jsml-math amsmath\><<< |
| 1333 |
\Configure{above} |
| 1334 |
{\Send{GROUP}{0}{|<start above|>}% |
| 1335 |
|<end above over|>\o:@@over:\:gobbleII} |
| 1336 |
{|<start above under|>\Send{EndGROUP}{0}{|<end above|>}} |
| 1337 |
>>> |
| 1338 |
|
| 1339 |
|
| 1340 |
\<plain,latex mathml\><<< |
| 1341 |
\Configure{choose} |
| 1342 |
{\Send{GROUP}{0}{<mover class="choose">% |
| 1343 |
\add:description{begin-stack}{\a:speak:choose}% |
| 1344 |
<mrow class="mrow-upper">}% |
| 1345 |
\HCode{</mrow>}\o:atop: |
| 1346 |
\HCode{\add:description{added-description}% |
| 1347 |
{\c:speak:choose}<mrow class="mrow-under">}% |
| 1348 |
\Send{EndGROUP}{0}% |
| 1349 |
{</mrow>\add:description{end-stack}{\b:speak:choose}</mover>}% |
| 1350 |
} |
| 1351 |
>>> |
| 1352 |
|
| 1353 |
|
| 1354 |
|
| 1355 |
\<plain,latex mathml\><<< |
| 1356 |
\NewConfigure{speak:choose}{3} |
| 1357 |
\Configure{speak:choose} |
| 1358 |
{<BREAK SIZE="small"/>binomial coefficient<BREAK SIZE="small"/>} |
| 1359 |
{<BREAK SIZE="medium"/>} |
| 1360 |
{<BREAK SIZE="small"/>choose<BREAK SIZE="small"/>} |
| 1361 |
>>> |
| 1362 |
|
| 1363 |
|
| 1364 |
\<configure jsml-math amsmath\><<< |
| 1365 |
\Configure{tbinom} |
| 1366 |
{\Send{GROUP}{0}{<mover class="tbinom">% |
| 1367 |
\add:description{begin-stack}{\a:speak:choose}% |
| 1368 |
<mrow class="mrow-upper">}% |
| 1369 |
\HCode{</mrow>}\o:@@abovewithdelims: ..\z@{}% |
| 1370 |
\HCode{\add:description{added-description}% |
| 1371 |
{\c:speak:choose}<mrow class="mrow-under">}% |
| 1372 |
\Send{EndGROUP}{0}% |
| 1373 |
{</mrow>\add:description{end-stack}{\b:speak:choose}</mover>}% |
| 1374 |
} |
| 1375 |
>>> |
| 1376 |
|
| 1377 |
\<configure jsml-math amsmath\><<< |
| 1378 |
\Configure{dbinom} |
| 1379 |
{\Send{GROUP}{0}{<mover class="dbinom">% |
| 1380 |
\add:description{begin-stack}{\a:speak:choose}% |
| 1381 |
<mrow class="mrow-upper">}% |
| 1382 |
\HCode{</mrow>}\o:@@abovewithdelims: ..\z@{}% |
| 1383 |
\HCode{\add:description{added-description}{\c:speak:choose}<mrow class="mrow-under">}% |
| 1384 |
\Send{EndGROUP}{0}% |
| 1385 |
{</mrow>\add:description{end-stack}{\b:speak:choose}</mover>}% |
| 1386 |
} |
| 1387 |
>>> |
| 1388 |
|
| 1389 |
|
| 1390 |
|
| 1391 |
|
| 1392 |
\<configure jsml-math amsmath\><<< |
| 1393 |
\Configure{binom} |
| 1394 |
{\Send{GROUP}{0}{<mover class="binom">% |
| 1395 |
\add:description{begin-stack}{\a:speak:choose}% |
| 1396 |
<mrow class="mrow-upper">}% |
| 1397 |
\HCode{</mrow>}\o:@@abovewithdelims: ..\z@{}% |
| 1398 |
\HCode{\add:description{added-description}{\c:speak:choose}<mrow class="mrow-under">}% |
| 1399 |
\Send{EndGROUP}{0}% |
| 1400 |
{</mrow>\add:description{end-stack}{\b:speak:choose}</mover>}% |
| 1401 |
} |
| 1402 |
>>> |
| 1403 |
|
| 1404 |
%%%%%%%%%%%%% |
| 1405 |
\subsection{With Delimiters} |
| 1406 |
%%%%%%%%%%%%% |
| 1407 |
|
| 1408 |
|
| 1409 |
|
| 1410 |
|
| 1411 |
|
| 1412 |
\<configure jsml-math tex4ht\><<< |
| 1413 |
\def\abovewithdelims:III#1#2#3{% |
| 1414 |
\def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa |
| 1415 |
\Send{GROUP}{0}{|<start above|>}% |
| 1416 |
|<end above over|>\o:over: |
| 1417 |
|<start above under|>\Send{EndGROUP}{0}{|<end above|>} |
| 1418 |
\else |
| 1419 |
\Send{GROUP}{0}% |
| 1420 |
{<mo class="mfenced-open">|<lr del 2|></mo>% |
| 1421 |
|<start above|>}% |
| 1422 |
|<end above over|>\o:over: |
| 1423 |
|<start above under|>\Send{EndGROUP}{0}{|<end above|>% |
| 1424 |
<mo class="mfenced-close">|<lr del 3|></mo>} |
| 1425 |
\fi |
| 1426 |
\tmp:dim |
| 1427 |
} |
| 1428 |
>>> |
| 1429 |
|
| 1430 |
|
| 1431 |
|
| 1432 |
\<configure jsml-math tex4ht\><<< |
| 1433 |
\def\atopwithdelims:III#1#2#3{% |
| 1434 |
\def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa |
| 1435 |
\Send{GROUP}{0}{|<start atop|>}% |
| 1436 |
|<end atop over|>\o:atop: |
| 1437 |
|<start atop under|>\Send{EndGROUP}{0}{|<end atop|>} |
| 1438 |
\else |
| 1439 |
\Send{GROUP}{0}% |
| 1440 |
{<mo class="mfenced-open">|<lr del 2|></mo>% |
| 1441 |
|<start atop|>}% |
| 1442 |
|<end atop over|>\o:atop: |
| 1443 |
|<start atop under|>% |
| 1444 |
\Send{EndGROUP}{0}{|<end atop|>% |
| 1445 |
<mo class="mfenced-close">|<lr del 3|></mo>} |
| 1446 |
\fi |
| 1447 |
} |
| 1448 |
>>> |
| 1449 |
|
| 1450 |
\<configure jsml-math tex4ht\><<< |
| 1451 |
\def\overwithdelims:III#1#2#3{% |
| 1452 |
\def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa |
| 1453 |
\Send{GROUP}{0}{|<start mfrac|>}|<end frac numerator|>\o:over: |
| 1454 |
|<frac enumerator|>\Send{EndGROUP}{0}{|<end mfrac|>} |
| 1455 |
\else |
| 1456 |
\Send{GROUP}{0}% |
| 1457 |
{<mo class="mfenced-open">|<lr del 2|></mo>% |
| 1458 |
|<start mfrac|>}% |
| 1459 |
|<end frac numerator|>\o:over: |
| 1460 |
|<frac enumerator|>\Send{EndGROUP}{0}{|<end mfrac|>% |
| 1461 |
<mo class="mfenced-close">|<lr del 3|></mo>} |
| 1462 |
\fi |
| 1463 |
} |
| 1464 |
>>> |
| 1465 |
|
| 1466 |
|
| 1467 |
|
| 1468 |
\<configure jsml-math amsmath\><<< |
| 1469 |
\def\abovewithdelims:III#1#2#3{% |
| 1470 |
\def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa |
| 1471 |
\Send{GROUP}{0}{|<start above|>}% |
| 1472 |
|<end above over|>\o:@@over: |
| 1473 |
|<start above under|>\Send{EndGROUP}{0}{|<end above|>} |
| 1474 |
\else |
| 1475 |
\Send{GROUP}{0}% |
| 1476 |
{<mo class="mfenced-open">|<lr del 2|></mo>% |
| 1477 |
|<start above|>}% |
| 1478 |
|<end above over|>\o:@@over: |
| 1479 |
|<start above under|>\Send{EndGROUP}{0}{|<end above|>% |
| 1480 |
<mo class="mfenced-close">|<lr del 3|></mo>} |
| 1481 |
\fi |
| 1482 |
\tmp:dim |
| 1483 |
} |
| 1484 |
>>> |
| 1485 |
|
| 1486 |
|
| 1487 |
\<configure jsml-math amsmath\><<< |
| 1488 |
\def\atopwithdelims:III#1#2#3{% |
| 1489 |
\def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa |
| 1490 |
\Send{GROUP}{0}{|<start atop|>}% |
| 1491 |
|<end atop over|>\o:@@atop: |
| 1492 |
|<start atop under|>\Send{EndGROUP}{0}{|<end atop|>} |
| 1493 |
\else |
| 1494 |
\Send{GROUP}{0}% |
| 1495 |
{<mo class="mfenced-open">|<lr del 2|></mo>% |
| 1496 |
|<start atop|>}% |
| 1497 |
|<end atop over|>\o:@@atop: |
| 1498 |
|<start atop under|>\Send{EndGROUP}{0}{|<end atop|>% |
| 1499 |
<mo class="mfenced-close">|<lr del 3|></mo>} |
| 1500 |
\fi |
| 1501 |
} |
| 1502 |
>>> |
| 1503 |
|
| 1504 |
|
| 1505 |
|
| 1506 |
\<configure jsml-math amsmath\><<< |
| 1507 |
\def\overwithdelims:III#1#2#3{% |
| 1508 |
\def\:temp{#2#3}\def\:tempa{..}\ifx \:temp\:tempa |
| 1509 |
\Send{GROUP}{0}{|<start mfrac|>}% |
| 1510 |
|<end frac numerator|>\o:over: |
| 1511 |
|<frac enumerator|>\Send{EndGROUP}{0}{|<end mfrac|>} |
| 1512 |
\else |
| 1513 |
\Send{GROUP}{0}% |
| 1514 |
{<mo class="mfenced-open">|<lr del 2|></mo>% |
| 1515 |
|<start mfrac|>}% |
| 1516 |
|<end frac numerator|>\o:@@over: |
| 1517 |
|<frac enumerator|>\Send{EndGROUP}{0}{|<end mfrac|>% |
| 1518 |
<mo class="mfenced-close">|<lr del 3|></mo>} |
| 1519 |
\fi |
| 1520 |
} |
| 1521 |
>>> |
| 1522 |
|
| 1523 |
|
| 1524 |
|
| 1525 |
%%%%%%%%%%%%% |
| 1526 |
\subsection{Code Assignments} |
| 1527 |
%%%%%%%%%%%%% |
| 1528 |
|
| 1529 |
|
| 1530 |
|
| 1531 |
\<start mfrac\><<< |
| 1532 |
<mfrac>\add:description{begin-end}{\a:speak:fraction}% |
| 1533 |
<mrow class="mrow-numerator"\Hnewline>% |
| 1534 |
>>> |
| 1535 |
|
| 1536 |
|
| 1537 |
\<end frac numerator\><<< |
| 1538 |
\HCode{</mrow>}% |
| 1539 |
>>> |
| 1540 |
|
| 1541 |
|
| 1542 |
|
| 1543 |
\<frac enumerator\><<< |
| 1544 |
\HCode{\add:description{begin-end}{\c:speak:fraction} |
| 1545 |
<mrow class="mrow-enumerator"\Hnewline>}% |
| 1546 |
>>> |
| 1547 |
|
| 1548 |
\<end mfrac\><<< |
| 1549 |
</mrow>\add:description{begin-end}{\b:speak:fraction}</mfrac>% |
| 1550 |
>>> |
| 1551 |
|
| 1552 |
|
| 1553 |
\<start atop\><<< |
| 1554 |
<mover class="atop">% |
| 1555 |
\add:description{begin-stack}{\a:speak:atop}% |
| 1556 |
<mrow class="mrow-upper">% |
| 1557 |
>>> |
| 1558 |
|
| 1559 |
|
| 1560 |
|
| 1561 |
|
| 1562 |
\<end atop over\><<< |
| 1563 |
\HCode{</mrow>}% |
| 1564 |
>>> |
| 1565 |
|
| 1566 |
|
| 1567 |
\<start atop under\><<< |
| 1568 |
\HCode{\add:description{added-description}{\c:speak:atop}<mrow class="mrow-under">}% |
| 1569 |
>>> |
| 1570 |
|
| 1571 |
|
| 1572 |
\<end atop\><<< |
| 1573 |
</mrow>\add:description{end-stack}{\b:speak:atop}</mover>% |
| 1574 |
>>> |
| 1575 |
|
| 1576 |
|
| 1577 |
|
| 1578 |
|
| 1579 |
\<start above\><<< |
| 1580 |
|<start mfrac|>% |
| 1581 |
>>> |
| 1582 |
|
| 1583 |
|
| 1584 |
\<end above over\><<< |
| 1585 |
|<end frac numerator|>% |
| 1586 |
>>> |
| 1587 |
|
| 1588 |
|
| 1589 |
\<start above under\><<< |
| 1590 |
|<frac enumerator|>% |
| 1591 |
>>> |
| 1592 |
|
| 1593 |
\<end above\><<< |
| 1594 |
|<end mfrac|>% |
| 1595 |
>>> |
| 1596 |
|
| 1597 |
|
| 1598 |
|
| 1599 |
|
| 1600 |
|
| 1601 |
\<configure jsml-math tex4ht\><<< |
| 1602 |
\NewConfigure{speak:fraction}{3} |
| 1603 |
\Configure{speak:fraction} |
| 1604 |
{<BREAK SIZE="small"/><level prefix="begin" |
| 1605 |
continued="begin continued fraction">begin |
| 1606 |
fraction</level><BREAK SIZE="small"/>} |
| 1607 |
{<BREAK SIZE="small"/><level prefix="end" |
| 1608 |
continued="end continued fraction">end |
| 1609 |
fraction</level><BREAK SIZE="small"/>} |
| 1610 |
{<BREAK SIZE="small"/><level prefix="over">% |
| 1611 |
over</level><BREAK SIZE="small"/>} |
| 1612 |
>>> |
| 1613 |
|
| 1614 |
|
| 1615 |
|
| 1616 |
|
| 1617 |
\<configure jsml-math tex4ht\><<< |
| 1618 |
\NewConfigure{speak:atop}{3} |
| 1619 |
\Configure{speak:atop} |
| 1620 |
{<BREAK SIZE="small"/>begin stack<BREAK SIZE="small"/>} |
| 1621 |
{<BREAK SIZE="small"/>end stack<BREAK SIZE="small"/>} |
| 1622 |
{<BREAK SIZE="small"/>over<BREAK SIZE="small"/>} |
| 1623 |
>>> |
| 1624 |
|
| 1625 |
|
| 1626 |
|
| 1627 |
%%%%%%%%%%%%% |
| 1628 |
\subsection{Delimiters} |
| 1629 |
%%%%%%%%%%%%% |
| 1630 |
|
| 1631 |
|
| 1632 |
|
| 1633 |
\<lr del 1\><<< |
| 1634 |
\expandafter |
| 1635 |
\ifx \csname \string#1:lr del\endcsname\relax #1\else |
| 1636 |
\csname \string#1:lr del\endcsname\fi |
| 1637 |
>>> |
| 1638 |
|
| 1639 |
\<lr del 2\><<< |
| 1640 |
\expandafter |
| 1641 |
\ifx \csname \string#2:lr del\endcsname\relax #2\else |
| 1642 |
\csname \string#2:lr del\endcsname\fi |
| 1643 |
>>> |
| 1644 |
|
| 1645 |
|
| 1646 |
\<lr del 3\><<< |
| 1647 |
\expandafter |
| 1648 |
\ifx \csname \string#3:lr del\endcsname\relax #3\else |
| 1649 |
\csname \string#3:lr del\endcsname\fi |
| 1650 |
>>> |
| 1651 |
|
| 1652 |
|
| 1653 |
The following cases in mathml are translated directly |
| 1654 |
to explicit caharacters and so donn't get there the |
| 1655 |
speech interpretation provided in unicode.4hf. |
| 1656 |
|
| 1657 |
\<plain,latex mathml\><<< |
| 1658 |
\Configure{mfenced}{\vert}{\string&\#x007C;} |
| 1659 |
\Configure{mfenced}{\{}{\string&\#x007B;} |
| 1660 |
\Configure{mfenced}{\}}{\string&\#x007D;} |
| 1661 |
\Configure{mfenced}{\lbrace}{\string&\#x007B;} |
| 1662 |
\Configure{mfenced}{\rbrace}{\string&\#x007D;} |
| 1663 |
\Configure{mfenced}{\rgroup}{\string&\#x0028;} |
| 1664 |
\Configure{mfenced}{\lgroup}{\string&\#x0029;} |
| 1665 |
\Configure{mfenced}{(}{\string&\#x0028;} |
| 1666 |
\Configure{mfenced}{)}{\string&\#x0029;} |
| 1667 |
\Configure{mfenced}{[}{\string&\#x0058;} |
| 1668 |
\Configure{mfenced}{]}{\string&\#x0059;} |
| 1669 |
\Configure{mfenced}{||}{\string&\#x007C;} |
| 1670 |
\Configure{mfenced}{\bracevert}{\string&\#x007C;} |
| 1671 |
\Configure{mfenced}{\bracevert}{\string&\#x007C;} |
| 1672 |
>>> |
| 1673 |
|
| 1674 |
|
| 1675 |
%%%%%%%%%%%%% |
| 1676 |
\section{Lines and Braces (With ...)} |
| 1677 |
%%%%%%%%%%%%% |
| 1678 |
|
| 1679 |
|
| 1680 |
\<configure jsml-math latex\><<< |
| 1681 |
\Configure{overline} |
| 1682 |
{\bgroup\ifmathml |<mathml overline|>\else |
| 1683 |
\HCode{<mover class="overline">}\fi} |
| 1684 |
{\ifmathml |<end mathml overline|>\else |
| 1685 |
\HCode{</mover>}\fi\egroup} |
| 1686 |
\Configure{underline} |
| 1687 |
{\bgroup |
| 1688 |
\ifmathml |<mathml underline|>% |
| 1689 |
\else |<nomath underline|>% |
| 1690 |
\HCode{<mover class="underline">}\fi} |
| 1691 |
{\ifmathml |<end mathml underline|>\else |
| 1692 |
\HCode{</mover>}\fi \egroup} |
| 1693 |
>>> |
| 1694 |
|
| 1695 |
\<mathml overline\><<< |
| 1696 |
\HCode{<mover class="mover-overline"\Hnewline>% |
| 1697 |
\add:description{begin-end}{\b:speak:modified}% |
| 1698 |
<mrow class="mo-00AF">}% |
| 1699 |
>>> |
| 1700 |
|
| 1701 |
\<end mathml overline\><<< |
| 1702 |
\HCode{</mrow>% |
| 1703 |
\add:description{begin-end}{\a:speak:modified:line}% |
| 1704 |
</mover>}% |
| 1705 |
>>> |
| 1706 |
|
| 1707 |
\<mathml underline\><<< |
| 1708 |
\HCode{<munder class="munder-underline">% |
| 1709 |
\add:description{begin-end}{\a:speak:modified}% |
| 1710 |
<mrow class="mo-0332"><BREAK SIZE="small"/>}% |
| 1711 |
>>> |
| 1712 |
|
| 1713 |
\<end mathml underline\><<< |
| 1714 |
\HCode{<BREAK SIZE="small"/></mrow>% |
| 1715 |
\add:description{begin-end}{\a:speak:modified:line}% |
| 1716 |
</munder>}% |
| 1717 |
>>> |
| 1718 |
|
| 1719 |
\<nomath underline\><<< |
| 1720 |
\expandafter\everymath |
| 1721 |
\expandafter{\expandafter\everymath |
| 1722 |
\expandafter{\the\everymath}}% |
| 1723 |
\let\o::@underline:\o:@@underline: |
| 1724 |
\def\o:@@underline:{\let\o:@@underline:\o::@underline:}% |
| 1725 |
>>> |
| 1726 |
|
| 1727 |
|
| 1728 |
|
| 1729 |
\<plain,fontmath math\><<< |
| 1730 |
\Configure{overbrace} |
| 1731 |
{\Configure{mathop*}{*} |
| 1732 |
{<mover class="mover-overline">% |
| 1733 |
\add:description{begin-end}{\b:speak:modified}% |
| 1734 |
<mrow class="mo-FE37">} |
| 1735 |
{</mrow>\add:description{begin-end}{\a:speak:modified:brace}% |
| 1736 |
</mover>} |
| 1737 |
{\Configure{mathop}{}{}{}{}}% |
| 1738 |
} |
| 1739 |
{\let\o:overbrace:=\displaystyle} |
| 1740 |
{} |
| 1741 |
\Configure{underbrace} |
| 1742 |
{\Configure{mathop*}{*} |
| 1743 |
{<munder class="munder-underline">% |
| 1744 |
\add:description{begin-end}{\a:speak:modified}% |
| 1745 |
<mrow class="mo-FE38">} |
| 1746 |
{</mrow>\add:description{begin-end}{\a:speak:modified:brace}% |
| 1747 |
</munder>} |
| 1748 |
{\Configure{mathop}{}{}{}{}}% |
| 1749 |
} |
| 1750 |
{\let\o:underbrace:=\displaystyle} |
| 1751 |
{} |
| 1752 |
>>> |
| 1753 |
|
| 1754 |
|
| 1755 |
|
| 1756 |
|
| 1757 |
|
| 1758 |
|
| 1759 |
|
| 1760 |
\<config mathml accents\><<< |
| 1761 |
\Configure{accent}\widetilde\widetilde{{}{}} |
| 1762 |
{} |
| 1763 |
{\HCode{<mover class="mover-tilde">% |
| 1764 |
\add:description{begin-end}{\b:speak:modified}% |
| 1765 |
<mrow class="mo-0303"\Hnewline>}% |
| 1766 |
#2% |
| 1767 |
\HCode{</mrow>\add:description{begin-end}{\a:speak:modified:tilde}% |
| 1768 |
</mover>}} |
| 1769 |
\Configure{accent}\widehat\widehat{{}{}} |
| 1770 |
{} |
| 1771 |
{\HCode{<mover class="mover-hat">% |
| 1772 |
\add:description{begin-end}{\a:speak:modified}% |
| 1773 |
<mrow class="mo-0302"\Hnewline>}% |
| 1774 |
#2% |
| 1775 |
\HCode{</mrow>\add:description{begin-end}{ |
| 1776 |
\a:speak:modified:hat}</mover>}} |%circumflex|% |
| 1777 |
>>> |
| 1778 |
|
| 1779 |
|
| 1780 |
\<configure jsml-math latex\><<< |
| 1781 |
\NewConfigure{speak:modified}{2} |
| 1782 |
\Configure{speak:modified} |
| 1783 |
{<BREAK SIZE="small"/>modified |
| 1784 |
under<BREAK SIZE="small"/>} |
| 1785 |
{<BREAK SIZE="small"/>modified |
| 1786 |
above<BREAK SIZE="small"/>} |
| 1787 |
\NewConfigure{speak:modified:brace}{1} |
| 1788 |
\NewConfigure{speak:modified:hat}{1} |
| 1789 |
\NewConfigure{speak:modified:line}{1} |
| 1790 |
\NewConfigure{speak:modified:tilde}{1} |
| 1791 |
\Configure{speak:modified:brace} |
| 1792 |
{<BREAK SIZE="small"/>with brace<BREAK SIZE="small"/>} |
| 1793 |
\Configure{speak:modified:hat} |
| 1794 |
{<BREAK SIZE="small"/>with wide hat<BREAK SIZE="small"/>} |
| 1795 |
\Configure{speak:modified:line} |
| 1796 |
{<BREAK SIZE="small"/>with bar<BREAK SIZE="small"/>} |
| 1797 |
\Configure{speak:modified:tilde} |
| 1798 |
{<BREAK SIZE="small"/>with wide tilde<BREAK SIZE="small"/>} |
| 1799 |
>>> |
| 1800 |
|
| 1801 |
|
| 1802 |
%%%%%%%%%%%%% |
| 1803 |
\section{Arrows (With ...)} |
| 1804 |
%%%%%%%%%%%%% |
| 1805 |
|
| 1806 |
|
| 1807 |
|
| 1808 |
|
| 1809 |
\<plain,fontmath math\><<< |
| 1810 |
\Configure{overrightarrow} |
| 1811 |
{\HCode{<mover class="mover-rightarrow">% |
| 1812 |
\add:description{begin-end}{\b:speak:modified}% |
| 1813 |
<mrow class="mo-20D5"\Hnewline>}\:gobble} |
| 1814 |
{\HCode{</mrow>% |
| 1815 |
\add:description{begin-end}{\a:speak:modified:rightarrow}% |
| 1816 |
</mover>}} |
| 1817 |
\Configure{overleftarrow} |
| 1818 |
{\HCode{<mover class="mover-leftarrow">% |
| 1819 |
\add:description{begin-end}{\b:speak:modified}% |
| 1820 |
<mrow class="mo-20D6"\Hnewline>}\:gobble} |
| 1821 |
{\HCode{</mrow>% |
| 1822 |
\add:description{begin-end}{\a:speak:modified:leftarrow}% |
| 1823 |
</mover>}} |
| 1824 |
>>> |
| 1825 |
|
| 1826 |
\<plain,fontmath math\><<< |
| 1827 |
\NewConfigure{speak:modified:leftarrow}{1} |
| 1828 |
\NewConfigure{speak:modified:leftrightarrow}{1} |
| 1829 |
\NewConfigure{speak:modified:rightarrow}{1} |
| 1830 |
\Configure{speak:modified:leftarrow} |
| 1831 |
{<BREAK SIZE="small"/>with left |
| 1832 |
right arrow<BREAK SIZE="small"/>} |
| 1833 |
\Configure{speak:modified:leftrightarrow} |
| 1834 |
{<BREAK SIZE="small"/>with left |
| 1835 |
right arrow<BREAK SIZE="small"/>} |
| 1836 |
\Configure{speak:modified:rightarrow} |
| 1837 |
{<BREAK SIZE="small"/>with |
| 1838 |
right arrow<BREAK SIZE="small"/>} |
| 1839 |
>>> |
| 1840 |
|
| 1841 |
\<configure jsml-math amsmath\><<< |
| 1842 |
\Configure{underrightarrow} |
| 1843 |
{\HCode{<munder class="munder-rightarrow">% |
| 1844 |
\add:description{begin-end}{\a:speak:modified}% |
| 1845 |
<mrow class="mo-2092"\Hnewline>}\:gobble} |
| 1846 |
{\HCode{</mrow>% |
| 1847 |
\add:description{begin-end}{\a:speak:modified:rightarrow}% |
| 1848 |
</munder>}} |
| 1849 |
\Configure{underleftarrow} |
| 1850 |
{\HCode{<munder class="munder-leftarrow">% |
| 1851 |
\add:description{begin-end}{\a:speak:modified}% |
| 1852 |
<mrow class="mo-2090"\Hnewline>}\:gobble} |
| 1853 |
{\HCode{</mrow>% |
| 1854 |
\add:description{begin-end}{speak:modified:leftarrow}% |
| 1855 |
</munder>}} |
| 1856 |
>>> |
| 1857 |
|
| 1858 |
|
| 1859 |
\<configure jsml-math amsmath\><<< |
| 1860 |
\Configure{overleftrightarrow} |
| 1861 |
{\HCode{<mover class="mover-leftrightarrow">% |
| 1862 |
\add:description{begin-end}{\b:speak:modified}% |
| 1863 |
<mrow class="mo-20E1"\Hnewline>}\:gobble} |
| 1864 |
{\HCode{</mrow>% |
| 1865 |
\add:description{begin-end}{\a:speak:modified:leftrightarrow}% |
| 1866 |
</mover>}} |
| 1867 |
\Configure{underleftrightarrow} |
| 1868 |
{\HCode{<munder class="munder-leftrightarrow">% |
| 1869 |
\add:description{begin-end}{\a:speak:modified}% |
| 1870 |
<mrow class="mo-2194"\Hnewline>}\:gobble} |
| 1871 |
{\HCode{</mrow>% |
| 1872 |
\add:description{begin-end}{\a:speak:modified:leftrightarrow}% |
| 1873 |
</munder>}} |
| 1874 |
>>> |
| 1875 |
|
| 1876 |
|
| 1877 |
%%%%%%%%%%%%%%%%%% |
| 1878 |
\section{Symbols} |
| 1879 |
%%%%%%%%%%%%%%%%%% |
| 1880 |
|
| 1881 |
|
| 1882 |
\<configure jsml-math amsmath\><<< |
| 1883 |
\def\:tempc{\HCode{<mspace width="0.2em"/>}\mathbin{mod} } |
| 1884 |
\HLet\bmod\:tempc |
| 1885 |
\def\:tempc#1{ (#1)} |
| 1886 |
\HLet\pod=\:tempc |
| 1887 |
\def\:tempc#1{\pod{\mathop{mod} #1}} |
| 1888 |
\HLet\pmod=\:tempc |
| 1889 |
\def\:tempc#1{ \mathop{mod} #1} |
| 1890 |
\HLet\mod=\:tempc |
| 1891 |
>>> |
| 1892 |
|
| 1893 |
\<configure jsml-math amsmath\><<< |
| 1894 |
\Configure{hdotsfor}{\dots} |
| 1895 |
>>> |
| 1896 |
|
| 1897 |
\<plain,latex mathml\><<< |
| 1898 |
\def\mathop:prefix#1{% |
| 1899 |
\Configure{mathop}{*}{<mo class="mo-op" |
| 1900 |
#1\Hnewline>}{</mo>}% |
| 1901 |
{\Configure{mathop}{*}{<mo class="mo-op">}{</mo>}{}}} |
| 1902 |
>>> |
| 1903 |
|
| 1904 |
|
| 1905 |
\<configure jsml-math amsopn\><<< |
| 1906 |
\def\:tempc{\mathop{\underrightarrow\lim}\displaylimits} \HLet\varinjlim\:tempc |
| 1907 |
\def\:tempc{\mathop{\underleftarrow\lim}\displaylimits} \HLet\varprojlim\:tempc |
| 1908 |
\def\:tempc{\mathop{\overline\lim}\displaylimits} \HLet\varlimsup\:tempc |
| 1909 |
\def\:tempc{\mathop{\underline\lim}\displaylimits} \HLet\varliminf\:tempc |
| 1910 |
>>> |
| 1911 |
|
| 1912 |
|
| 1913 |
\<\><<< |
| 1914 |
\HRestore\varinjlim |
| 1915 |
\HRestore\varprojlim |
| 1916 |
\HRestore\varlimsup |
| 1917 |
\HRestore\varliminf |
| 1918 |
>>> |
| 1919 |
|
| 1920 |
|
| 1921 |
\<plain,fontmath math\><<< |
| 1922 |
\def\:tempc{\HCode{\add:description{added-description}{real part |
| 1923 |
symbol capital }}\o:Re:} |
| 1924 |
\HLet\Re\:tempc |
| 1925 |
\def\:tempc{\HCode{\add:description{added-description}{real part |
| 1926 |
symbol capital }}\o:Im:} |
| 1927 |
\HLet\Im\:tempc |
| 1928 |
>>> |
| 1929 |
|
| 1930 |
%%%%%%%%%%%%%%%%%% |
| 1931 |
\section{Spaces} |
| 1932 |
%%%%%%%%%%%%%%%%%% |
| 1933 |
|
| 1934 |
|
| 1935 |
|
| 1936 |
|
| 1937 |
\<plain,latex mathml\><<< |
| 1938 |
\Configure{quad}{\HCode{|<space element|>}} |
| 1939 |
\Configure{qquad}{\HCode{|<space element|>}} |
| 1940 |
\Configure{,}{\HCode{|<tiny space element|>}} |
| 1941 |
\Configure{ }{\:nbsp} |
| 1942 |
>>> |
| 1943 |
|
| 1944 |
|
| 1945 |
\<configure jsml-math latex\><<< |
| 1946 |
\Configure{hspace}{ }{}{ } |
| 1947 |
>>> |
| 1948 |
|
| 1949 |
|
| 1950 |
\<configure jsml-math amsmath\><<< |
| 1951 |
\Configure{tmspace} |
| 1952 |
{\HCode{|<space element|>}} |
| 1953 |
>>> |
| 1954 |
|
| 1955 |
\<plain,latex mathml\><<< |
| 1956 |
\def\:nbsp{\leavevmode\special{t4ht@+\string&{35}x00A0{59}}x} |
| 1957 |
>>> |
| 1958 |
|
| 1959 |
|
| 1960 |
|
| 1961 |
\<configure jsml frenchb\><<< |
| 1962 |
\Configure{frenchb-nbsp} |
| 1963 |
{\leavevmode\special{t4ht@+\string&{35}x00A0{59}}x% |
| 1964 |
\setbox\tmp:bx=\hbox\bgroup} |
| 1965 |
{\egroup} |
| 1966 |
>>> |
| 1967 |
|
| 1968 |
\<space element\><<< |
| 1969 |
<span class="space"><BREAK SIZE="small"/></span>% |
| 1970 |
>>> |
| 1971 |
|
| 1972 |
|
| 1973 |
\<tiny space element\><<< |
| 1974 |
<span class="tiny-space"><BREAK SIZE="small"/></span>% |
| 1975 |
>>> |
| 1976 |
|
| 1977 |
|
| 1978 |
|
| 1979 |
%%%%%%%%%%%%%%%%%% |
| 1980 |
\section{Radicals} |
| 1981 |
%%%%%%%%%%%%%%%%%% |
| 1982 |
|
| 1983 |
|
| 1984 |
|
| 1985 |
\<configure jsml-math tex4ht\><<< |
| 1986 |
\Configure{radical} |
| 1987 |
{\HCode{<msqrt>% |
| 1988 |
\add:description{begin-root}{\a:speak:radical}}% |
| 1989 |
\special{t4ht\string~!e<<mrow class="root-base">}% |
| 1990 |
\special{t4ht\string~!e></mrow>% |
| 1991 |
\add:description{end-root}{\b:speak:radical}</msqrt>}% |
| 1992 |
\special{t4ht\string~!ee/}% |
| 1993 |
\special{t4ht\string~!ese-}% |
| 1994 |
} |
| 1995 |
>>> |
| 1996 |
|
| 1997 |
\<configure jsml-math tex4ht\><<< |
| 1998 |
\NewConfigure{speak:radical}{2} |
| 1999 |
\Configure{speak:radical} |
| 2000 |
{<BREAK SIZE="small"/><level prefix="begin">begin |
| 2001 |
root</level><BREAK SIZE="small"/>} |
| 2002 |
{<BREAK SIZE="small"/><level prefix="end">end |
| 2003 |
root</level><BREAK SIZE="small"/>} |
| 2004 |
>>> |
| 2005 |
|
| 2006 |
|
| 2007 |
|
| 2008 |
|
| 2009 |
|
| 2010 |
\<plain,latex mathml\><<< |
| 2011 |
\Configure{root} |
| 2012 |
{\HCode{<mroot>% |
| 2013 |
\add:description{begin-root}{\a:speak:root}% |
| 2014 |
<mrow class="root-index">}} |
| 2015 |
{\HCode{</mrow>\add:description{mid-root}{\b:speak:root}% |
| 2016 |
<mrow class="root-base">}} |
| 2017 |
{\HCode{</mrow>\add:description{end-root}{\c:speak:root}</mroot>}} |
| 2018 |
>>> |
| 2019 |
|
| 2020 |
|
| 2021 |
\<plain,latex mathml\><<< |
| 2022 |
\NewConfigure{speak:root}{3} |
| 2023 |
\Configure{speak:root} |
| 2024 |
{<BREAK SIZE="medium"/><level prefix="root">root |
| 2025 |
index</level><BREAK SIZE="medium"/>} |
| 2026 |
{<BREAK SIZE="medium"/><level prefix="begin">begin |
| 2027 |
root</level><BREAK SIZE="medium"/>} |
| 2028 |
{<BREAK SIZE="medium"/><level prefix="end">end |
| 2029 |
root</level><BREAK SIZE="medium"/>} |
| 2030 |
>>> |
| 2031 |
|
| 2032 |
|
| 2033 |
|
| 2034 |
|
| 2035 |
|
| 2036 |
%%%%%%%%%%%%% |
| 2037 |
\section{Left and Right} |
| 2038 |
%%%%%%%%%%%%% |
| 2039 |
|
| 2040 |
|
| 2041 |
\<plain,latex mathml\><<< |
| 2042 |
\Configure{left} |
| 2043 |
{} |
| 2044 |
{\HCode{|<lr del 1|>}\bgroup |
| 2045 |
\HCode{<mrow>}\bgroup} |
| 2046 |
\Configure{right} |
| 2047 |
{\egroup\HCode{</mrow>}\egroup |
| 2048 |
\HCode{|<lr del 1|>}} |
| 2049 |
{} |
| 2050 |
>>> |
| 2051 |
|
| 2052 |
|
| 2053 |
|
| 2054 |
|
| 2055 |
\<plain,fontmath math\><<< |
| 2056 |
\Configure{big} |
| 2057 |
{}{} |
| 2058 |
{} |
| 2059 |
{} |
| 2060 |
\Configure{Big} |
| 2061 |
{}{} |
| 2062 |
{} |
| 2063 |
{} |
| 2064 |
\Configure{bigg} |
| 2065 |
{}{} |
| 2066 |
{} |
| 2067 |
{} |
| 2068 |
\Configure{Bigg} |
| 2069 |
{}{} |
| 2070 |
{} |
| 2071 |
{} |
| 2072 |
>>> |
| 2073 |
|
| 2074 |
|
| 2075 |
|
| 2076 |
|
| 2077 |
|
| 2078 |
|
| 2079 |
|
| 2080 |
\<plain,fontmath math\><<< |
| 2081 |
|<big common|> |
| 2082 |
\:CheckOption{mathml-} \if:Option |
| 2083 |
|<big mathml-|> |
| 2084 |
\else |
| 2085 |
|<big mathml|> |
| 2086 |
\fi |
| 2087 |
>>> |
| 2088 |
|
| 2089 |
\<big mathml\><<< |
| 2090 |
\Configure{Biggl} |
| 2091 |
{\bgroup |
| 2092 |
\Configure{Bigg}{}{}{}{}% |
| 2093 |
\Configure{mathopen}{*} |
| 2094 |
{<span class="Biggl"><span class="MathClass-open" ><BREAK SIZE="small"/>} |
| 2095 |
{<BREAK SIZE="small"/></span><span>} |
| 2096 |
{\Configure{mathopen}{}{}{}{}}% |
| 2097 |
} |
| 2098 |
{\egroup} |
| 2099 |
\Configure{Biggr} |
| 2100 |
{\bgroup |
| 2101 |
\Configure{Bigg}{}{}{}{}% |
| 2102 |
\Configure{mathclose}{*} |
| 2103 |
{</span><span class="MathClass-close" ><BREAK SIZE="small"/>} |
| 2104 |
{<BREAK SIZE="small"/></span></span>} |
| 2105 |
{\Configure{mathclose}{}{}{}{}}% |
| 2106 |
} |
| 2107 |
{\egroup} |
| 2108 |
\Configure{Bigl} |
| 2109 |
{\bgroup |
| 2110 |
\Configure{Big}{}{}{}{}% |
| 2111 |
\Configure{mathopen}{*} |
| 2112 |
{<span class="Bigl"><span class="MathClass-open"><BREAK SIZE="small"/>} |
| 2113 |
{<BREAK SIZE="small"/></span><span>} |
| 2114 |
{\Configure{mathopen}{}{}{}{}}% |
| 2115 |
} |
| 2116 |
{\egroup} |
| 2117 |
\Configure{Bigr} |
| 2118 |
{\bgroup |
| 2119 |
\Configure{Big}{}{}{}{}% |
| 2120 |
\Configure{mathclose}{*} |
| 2121 |
{</span><span class="MathClass-close" ><BREAK SIZE="small"/>} |
| 2122 |
{<BREAK SIZE="small"/></span></span>} |
| 2123 |
{\Configure{mathclose}{}{}{}{}}% |
| 2124 |
} |
| 2125 |
{\egroup} |
| 2126 |
\Configure{biggl} |
| 2127 |
{\bgroup |
| 2128 |
\Configure{bigg}{}{}{}{}% |
| 2129 |
\Configure{mathopen}{*} |
| 2130 |
{<span class="biggl"><span class="MathClass-open"><BREAK SIZE="small"/>} |
| 2131 |
{<BREAK SIZE="small"/></span><span>} |
| 2132 |
{\Configure{mathopen}{}{}{}{}}% |
| 2133 |
} |
| 2134 |
{\egroup} |
| 2135 |
\Configure{biggr} |
| 2136 |
{\bgroup |
| 2137 |
\Configure{bigg}{}{}{}{}% |
| 2138 |
\Configure{mathclose}{*} |
| 2139 |
{</span><span class="MathClass-close" ><BREAK SIZE="small"/>} |
| 2140 |
{<BREAK SIZE="small"/></span></span>} |
| 2141 |
{\Configure{mathclose}{}{}{}{}}% |
| 2142 |
} |
| 2143 |
{\egroup} |
| 2144 |
\Configure{bigl} |
| 2145 |
{\bgroup |
| 2146 |
\Configure{big}{}{}{}{}% |
| 2147 |
\Configure{mathopen}{*} |
| 2148 |
{<span class="bigl"><span class="MathClass-open"><BREAK SIZE="small"/>} |
| 2149 |
{<BREAK SIZE="small"/></span><span>} |
| 2150 |
{\Configure{mathopen}{}{}{}{}}% |
| 2151 |
} |
| 2152 |
{\egroup} |
| 2153 |
\Configure{bigr} |
| 2154 |
{\bgroup |
| 2155 |
\Configure{big}{}{}{}{}% |
| 2156 |
\Configure{mathclose}{*} |
| 2157 |
{</span><span class="MathClass-close" ><BREAK SIZE="small"/>} |
| 2158 |
{<BREAK SIZE="small"/></span></span>} |
| 2159 |
{\Configure{mathclose}{}{}{}{}}% |
| 2160 |
} |
| 2161 |
{\egroup} |
| 2162 |
>>> |
| 2163 |
|
| 2164 |
|
| 2165 |
|
| 2166 |
|
| 2167 |
\<big mathml-\><<< |
| 2168 |
\Configure{Biggl} |
| 2169 |
{\bgroup |
| 2170 |
\Configure{Bigg}{}{}{}{}% |
| 2171 |
\Configure{mathopen}{*} |
| 2172 |
{<span class="MathClass-open" title="Bigg" ><BREAK SIZE="small"/>} |
| 2173 |
{<BREAK SIZE="small"/></span>} |
| 2174 |
{\Configure{mathopen}{}{}{}{}}% |
| 2175 |
} |
| 2176 |
{\egroup} |
| 2177 |
\Configure{Biggr} |
| 2178 |
{\bgroup |
| 2179 |
\Configure{Bigg}{}{}{}{}% |
| 2180 |
\Configure{mathclose}{*} |
| 2181 |
{<span class="MathClass-close" title="Bigg" ><BREAK SIZE="small"/>} |
| 2182 |
{<BREAK SIZE="small"/></span>} |
| 2183 |
{\Configure{mathclose}{}{}{}{}}% |
| 2184 |
} |
| 2185 |
{\egroup} |
| 2186 |
\Configure{Bigl} |
| 2187 |
{\bgroup |
| 2188 |
\Configure{Big}{}{}{}{}% |
| 2189 |
\Configure{mathopen}{*} |
| 2190 |
{<span class="MathClass-open" title="Big" ><BREAK SIZE="small"/>} |
| 2191 |
{<BREAK SIZE="small"/></span>} |
| 2192 |
{\Configure{mathopen}{}{}{}{}}% |
| 2193 |
} |
| 2194 |
{\egroup} |
| 2195 |
\Configure{Bigr} |
| 2196 |
{\bgroup |
| 2197 |
\Configure{Big}{}{}{}{}% |
| 2198 |
\Configure{mathclose}{*} |
| 2199 |
{<span class="MathClass-close" title="Big" ><BREAK SIZE="small"/>} |
| 2200 |
{<BREAK SIZE="small"/></span>} |
| 2201 |
{\Configure{mathclose}{}{}{}{}}% |
| 2202 |
} |
| 2203 |
{\egroup} |
| 2204 |
\Configure{biggl} |
| 2205 |
{\bgroup |
| 2206 |
\Configure{bigg}{}{}{}{}% |
| 2207 |
\Configure{mathopen}{*} |
| 2208 |
{<span class="MathClass-open" title="bigg" ><BREAK SIZE="small"/>} |
| 2209 |
{<BREAK SIZE="small"/></span>} |
| 2210 |
{\Configure{mathopen}{}{}{}{}}% |
| 2211 |
} |
| 2212 |
{\egroup} |
| 2213 |
\Configure{biggr} |
| 2214 |
{\bgroup |
| 2215 |
\Configure{bigg}{}{}{}{}% |
| 2216 |
\Configure{mathclose}{*} |
| 2217 |
{<span class="MathClass-close" title="bigg" ><BREAK SIZE="small"/>} |
| 2218 |
{<BREAK SIZE="small"/></span>} |
| 2219 |
{\Configure{mathclose}{}{}{}{}}% |
| 2220 |
} |
| 2221 |
{\egroup} |
| 2222 |
\Configure{bigl} |
| 2223 |
{\bgroup |
| 2224 |
\Configure{big}{}{}{}{}% |
| 2225 |
\Configure{mathopen}{*} |
| 2226 |
{<span class="MathClass-open" title="big" ><BREAK SIZE="small"/>} |
| 2227 |
{<BREAK SIZE="small"/></span>} |
| 2228 |
{\Configure{mathopen}{}{}{}{}}% |
| 2229 |
} |
| 2230 |
{\egroup} |
| 2231 |
\Configure{bigr} |
| 2232 |
{\bgroup |
| 2233 |
\Configure{big}{}{}{}{}% |
| 2234 |
\Configure{mathclose}{*} |
| 2235 |
{<span class="MathClass-close" title="big" ><BREAK SIZE="small"/>} |
| 2236 |
{<BREAK SIZE="small"/></span>} |
| 2237 |
{\Configure{mathclose}{}{}{}{}}% |
| 2238 |
} |
| 2239 |
{\egroup} |
| 2240 |
>>> |
| 2241 |
|
| 2242 |
|
| 2243 |
|
| 2244 |
\<big common\><<< |
| 2245 |
\Configure{Biggm} |
| 2246 |
{\bgroup |
| 2247 |
\Configure{Bigg}{}{}{}{}% |
| 2248 |
\Configure{mathrel}{*} |
| 2249 |
{<span class="MathClass-rel" title="Bigg" ><BREAK SIZE="small"/>} |
| 2250 |
{<BREAK SIZE="small"/></span>} |
| 2251 |
{\Configure{mathrel}{}{}{}{}}% |
| 2252 |
} |
| 2253 |
{\egroup} |
| 2254 |
\Configure{Bigm} |
| 2255 |
{\bgroup |
| 2256 |
\Configure{Big}{}{}{}{}% |
| 2257 |
\Configure{mathrel}{*} |
| 2258 |
{<span class="MathClass-rel" title="Big" ><BREAK SIZE="small"/>} |
| 2259 |
{<BREAK SIZE="small"/></span>} |
| 2260 |
{\Configure{mathrel}{}{}{}{}}% |
| 2261 |
} |
| 2262 |
{\egroup} |
| 2263 |
\Configure{biggm} |
| 2264 |
{\bgroup |
| 2265 |
\Configure{bigg}{}{}{}{}% |
| 2266 |
\Configure{mathrel}{*} |
| 2267 |
{<span class="MathClass-rel" title="bigg" ><BREAK SIZE="small"/>} |
| 2268 |
{<BREAK SIZE="small"/></span>} |
| 2269 |
{\Configure{mathrel}{}{}{}{}}% |
| 2270 |
} |
| 2271 |
{\egroup} |
| 2272 |
\Configure{bigm} |
| 2273 |
{\bgroup |
| 2274 |
\Configure{big}{}{}{}{}% |
| 2275 |
\Configure{mathrel}{*} |
| 2276 |
{<span class="MathClass-rel" title="big" ><BREAK SIZE="small"/>} |
| 2277 |
{<BREAK SIZE="small"/></span>} |
| 2278 |
{\Configure{mathrel}{}{}{}{}}% |
| 2279 |
} |
| 2280 |
{\egroup} |
| 2281 |
>>> |
| 2282 |
|
| 2283 |
\<plain,latex mathml\><<< |
| 2284 |
\Configure{mfenced}{\vert}{||} |
| 2285 |
\edef\:temp{\noexpand\Configure{mfenced}{\noexpand\{}{\string&\#x007B;}}\:temp |
| 2286 |
\edef\:temp{\noexpand\Configure{mfenced}{\noexpand\}}{\string&\#x007D;}}\:temp |
| 2287 |
\edef\:temp{\noexpand |
| 2288 |
\Configure{mfenced}{\noexpand\lbrace}{\string&\#x007B;}}\:temp |
| 2289 |
\edef\:temp{\noexpand |
| 2290 |
\Configure{mfenced}{\noexpand\rbrace}{\string&\#x007D;}}\:temp |
| 2291 |
>>> |
| 2292 |
|
| 2293 |
|
| 2294 |
%%%%%%%%%%%%% |
| 2295 |
\subsection{Math Inner} |
| 2296 |
%%%%%%%%%%%%% |
| 2297 |
|
| 2298 |
|
| 2299 |
\<plain,latex mathml\><<< |
| 2300 |
\def\mathinner#1{\Tg<span |
| 2301 |
class="mathinner">#1\Tg</span>} |
| 2302 |
>>> |
| 2303 |
|
| 2304 |
|
| 2305 |
|
| 2306 |
|
| 2307 |
|
| 2308 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2309 |
\section{Limits of Sub- snd Super- Scripts (over/under - end - scripts)} |
| 2310 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2311 |
|
| 2312 |
|
| 2313 |
%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2314 |
\subsection{Outline} |
| 2315 |
%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2316 |
|
| 2317 |
|
| 2318 |
\<limits sub, sup, subsup\><<< |
| 2319 |
\Configure{limits}{|<limit scripts|>} |
| 2320 |
\def\disp:limits{|<limit scripts|>} |
| 2321 |
>>> |
| 2322 |
|
| 2323 |
|
| 2324 |
\<limit scripts\><<< |
| 2325 |
\let|<restore SUB|>=\:UnDef |
| 2326 |
\let|<restore SUP|>=\:UnDef |
| 2327 |
\ifx \:temp\sp |<conf limits SUP|>\else |
| 2328 |
\ifx \:temp\sb |<conf limits SUB|>\fi\fi |
| 2329 |
|<conf limits SUBSUP|>% |
| 2330 |
>>> |
| 2331 |
|
| 2332 |
|
| 2333 |
|
| 2334 |
%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2335 |
\subsection{Simultaneously Sub- and Super- Scripts} |
| 2336 |
%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2337 |
|
| 2338 |
|
| 2339 |
\<conf limits SUBSUP\><<< |
| 2340 |
|<save pre-limits SUBSUP|>% |
| 2341 |
\Configure{SUBSUP} |
| 2342 |
{\ifx |<restore SUB|>\:UnDef\else |<restore SUB|>\fi |
| 2343 |
\ifx |<restore SUP|>\:UnDef\else |<restore SUP|>\fi |
| 2344 |
|<restore pre-limits SUBSUP|>% |
| 2345 |
\Send{BACK} |
| 2346 |
{|<start limits msubsup base|>}|<msubsup limits sub|>} |
| 2347 |
{|<msubsup limits sup|>} |
| 2348 |
{|<close limits script|>} |
| 2349 |
>>> |
| 2350 |
|
| 2351 |
|
| 2352 |
|
| 2353 |
|
| 2354 |
\<start limits msubsup base\><<< |
| 2355 |
<msubsup class="limits-msub-msup"><mrow |
| 2356 |
class="limits-mrow-base"\Hnewline>% |
| 2357 |
>>> |
| 2358 |
|
| 2359 |
\<msubsup limits sub\><<< |
| 2360 |
\HCode{</mrow><mrow class="limits-mrow-sub"\Hnewline |
| 2361 |
>\add:description{begin-limits-script}{\a:speak:underover}}% |
| 2362 |
\trap:base |
| 2363 |
>>> |
| 2364 |
|
| 2365 |
|
| 2366 |
\<msubsup limits sup\><<< |
| 2367 |
\HCode{</mrow><mrow class="limits-mrow-super"\Hnewline |
| 2368 |
>\add:description{mid-limits-script}{\b:speak:underover}}\trap:base |
| 2369 |
>>> |
| 2370 |
|
| 2371 |
|
| 2372 |
\<close limits script\><<< |
| 2373 |
\HCode{\add:description{end-limits-script}{\c:speak:underover}% |
| 2374 |
</mrow></msubsup\Hnewline>}% |
| 2375 |
>>> |
| 2376 |
|
| 2377 |
\<close limits sup\><<< |
| 2378 |
\HCode{\add:description{end-limits-script}{\c:speak:underover}% |
| 2379 |
</mrow></msup\Hnewline>}% |
| 2380 |
>>> |
| 2381 |
|
| 2382 |
|
| 2383 |
|
| 2384 |
\<close limits sub\><<< |
| 2385 |
\HCode{\add:description{end-limits-script}{\c:speak:underover}% |
| 2386 |
</mrow></msub\Hnewline>}% |
| 2387 |
>>> |
| 2388 |
|
| 2389 |
|
| 2390 |
\<configure jsml-math tex4ht\><<< |
| 2391 |
\NewConfigure{speak:underover}{3} |
| 2392 |
\Configure{speak:underover} |
| 2393 |
{<BREAK SIZE="small"/>under script<BREAK SIZE="small"/>} |
| 2394 |
{<BREAK SIZE="small"/>over script<BREAK SIZE="small"/>} |
| 2395 |
{<BREAK SIZE="small"/>end scripts<BREAK SIZE="small"/>} |
| 2396 |
>>> |
| 2397 |
|
| 2398 |
\<save pre-limits SUBSUP\><<< |
| 2399 |
\let\pl:SUBSUP=\SUBSUP: |
| 2400 |
>>> |
| 2401 |
|
| 2402 |
\<restore pre-limits SUBSUP\><<< |
| 2403 |
\ifx \pl:SUBSUP\:UnDef \else |
| 2404 |
\let\SUBSUP:=\pl:SUBSUP |
| 2405 |
\fi |
| 2406 |
>>> |
| 2407 |
|
| 2408 |
\<limits sub, sup, subsup\><<< |
| 2409 |
\ifx \a:putSUB\:UnDef \else |
| 2410 |
\pend:def\a:putSUB{\ifx \pl:SUBSUP\:UnDef\else |
| 2411 |
\let\SUBSUP:=\pl:SUBSUP |
| 2412 |
\let\pl:SUBSUP=\:UnDef |
| 2413 |
\fi}% |
| 2414 |
\fi |
| 2415 |
\ifx \a:putSUP\:UnDef \else |
| 2416 |
\pend:def\a:putSUP{\ifx \pl:SUBSUP\:UnDef\else |
| 2417 |
\let\SUBSUP:=\pl:SUBSUP |
| 2418 |
\let\pl:SUBSUP=\:UnDef |
| 2419 |
\fi}% |
| 2420 |
\fi |
| 2421 |
>>> |
| 2422 |
|
| 2423 |
|
| 2424 |
%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2425 |
\subsection{Superscripts} |
| 2426 |
%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2427 |
|
| 2428 |
|
| 2429 |
|
| 2430 |
\<conf limits SUP\><<< |
| 2431 |
|<save pre-limits SUP|>% |
| 2432 |
\Configure{SUP} |
| 2433 |
{|<open external limits SUP|>\bgroup |
| 2434 |
|<restore pre-limits SUBSUP|>% |
| 2435 |
|<conf second limits SUP|>\trap:base} |
| 2436 |
{}% |
| 2437 |
>>> |
| 2438 |
|
| 2439 |
\<save pre-limits SUP\><<< |
| 2440 |
\def\pl:SUP{\Configure{SUP}}% |
| 2441 |
\expandafter\append:def |
| 2442 |
\expandafter\pl:SUP\expandafter{\expandafter{\a:SUP}}% |
| 2443 |
\expandafter\append:def |
| 2444 |
\expandafter\pl:SUP\expandafter{\expandafter{\b:SUP}}% |
| 2445 |
>>> |
| 2446 |
|
| 2447 |
\<conf second limits SUP\><<< |
| 2448 |
\Configure{SUP} |
| 2449 |
{|<open intermediate limits SUP|>\bgroup |
| 2450 |
|<conf third limit SUP|>\trap:base} |
| 2451 |
{\egroup|<close external limits SUP|>}% |
| 2452 |
>>> |
| 2453 |
|
| 2454 |
|
| 2455 |
\<conf third limit SUP\><<< |
| 2456 |
\Configure{SUP} |
| 2457 |
{|<open internal limits SUP|>\bgroup \trap:base} |
| 2458 |
{\egroup |<close internal limits SUP|>}% |
| 2459 |
>>> |
| 2460 |
|
| 2461 |
|
| 2462 |
\<open external limits SUP\><<< |
| 2463 |
\Send{BACK}{|<msup limits base|>}% |
| 2464 |
|<msup limits script super|>% |
| 2465 |
>>> |
| 2466 |
|
| 2467 |
|
| 2468 |
|
| 2469 |
|
| 2470 |
|
| 2471 |
|
| 2472 |
|
| 2473 |
|
| 2474 |
\<msup limits script super\><<< |
| 2475 |
\HCode{</mrow><mrow class="limits-mrow-super"\Hnewline |
| 2476 |
>\add:description{begin-limits-script}{\b:speak:underover}}% |
| 2477 |
\trap:base |
| 2478 |
>>> |
| 2479 |
|
| 2480 |
|
| 2481 |
\<msup limits base\><<< |
| 2482 |
<msup |
| 2483 |
class="limits-msub-msup"><mrow |
| 2484 |
class="limits-mrow-base"\Hnewline>% |
| 2485 |
>>> |
| 2486 |
|
| 2487 |
\<close external limits SUP\><<< |
| 2488 |
\HCode{\add:description{end-limits-script}{\c:speak:underover}% |
| 2489 |
</mrow></msup\Hnewline |
| 2490 |
>}\aftergroup|<restore SUP|>% |
| 2491 |
>>> |
| 2492 |
|
| 2493 |
\<restore SUP\><<< |
| 2494 |
\pl:SUP >>> |
| 2495 |
|
| 2496 |
\<open intermediate limits SUP\><<< |
| 2497 |
\Send{BACK} |
| 2498 |
{|<start msup base|>}|<msup super|>% |
| 2499 |
>>> |
| 2500 |
|
| 2501 |
\<open internal limits SUP\><<< |
| 2502 |
\Send{BACK} |
| 2503 |
{|<start msup base|>}|<msup super|>% |
| 2504 |
>>> |
| 2505 |
|
| 2506 |
\<close internal limits SUP\><<< |
| 2507 |
|<close msup|>% |
| 2508 |
>>> |
| 2509 |
|
| 2510 |
%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2511 |
\subsection{Subscripts} |
| 2512 |
%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2513 |
|
| 2514 |
|
| 2515 |
|
| 2516 |
\<conf limits SUB\><<< |
| 2517 |
|<save pre-limits SUB|>% |
| 2518 |
\Configure{SUB} |
| 2519 |
{|<open external limits SUB|>\bgroup |
| 2520 |
|<restore pre-limits SUBSUP|>% |
| 2521 |
|<conf second limits SUB|>\trap:base} |
| 2522 |
{}% |
| 2523 |
>>> |
| 2524 |
|
| 2525 |
\<save pre-limits SUB\><<< |
| 2526 |
\def\pl:SUB{\Configure{SUB}}% |
| 2527 |
\expandafter\append:def |
| 2528 |
\expandafter\pl:SUB\expandafter{\expandafter{\a:SUB}}% |
| 2529 |
\expandafter\append:def |
| 2530 |
\expandafter\pl:SUB\expandafter{\expandafter{\b:SUB}}% |
| 2531 |
>>> |
| 2532 |
|
| 2533 |
\<conf second limits SUB\><<< |
| 2534 |
\Configure{SUB} |
| 2535 |
{|<open intermediate limits SUB|>\bgroup |
| 2536 |
|<conf third limit SUB|>\trap:base} |
| 2537 |
{\egroup|<close external limits SUB|>}% |
| 2538 |
>>> |
| 2539 |
|
| 2540 |
|
| 2541 |
\<conf third limit SUB\><<< |
| 2542 |
\Configure{SUB} |
| 2543 |
{|<open internal limits SUB|>\bgroup \trap:base} |
| 2544 |
{\egroup |<close internal limits SUB|>}% |
| 2545 |
>>> |
| 2546 |
|
| 2547 |
|
| 2548 |
\<open external limits SUB\><<< |
| 2549 |
\Send{BACK}{|<msub limits base|>}% |
| 2550 |
|<msub limits script sub|>% |
| 2551 |
>>> |
| 2552 |
|
| 2553 |
|
| 2554 |
|
| 2555 |
\<msub limits script sub\><<< |
| 2556 |
\HCode{</mrow><mrow class="limits-mrow-sub"\Hnewline |
| 2557 |
>\add:description{begin-limits-script}{\a:speak:underover}}% |
| 2558 |
\trap:base |
| 2559 |
>>> |
| 2560 |
|
| 2561 |
|
| 2562 |
|
| 2563 |
|
| 2564 |
\<msub limits base\><<< |
| 2565 |
<msub |
| 2566 |
class="limits-msub-msup"><mrow |
| 2567 |
class="limits-mrow-base"\Hnewline>% |
| 2568 |
>>> |
| 2569 |
|
| 2570 |
|
| 2571 |
|
| 2572 |
\<close external limits SUB\><<< |
| 2573 |
\HCode{\add:description{end-limits-script}{\c:speak:underover}% |
| 2574 |
</mrow></msub\Hnewline >}\aftergroup|<restore SUB|>% |
| 2575 |
>>> |
| 2576 |
|
| 2577 |
\<restore SUB\><<< |
| 2578 |
\pl:SUB >>> |
| 2579 |
|
| 2580 |
\<open intermediate limits SUB\><<< |
| 2581 |
\Send{BACK} |
| 2582 |
{|<start msub base|>}|<msub sub|>% |
| 2583 |
>>> |
| 2584 |
|
| 2585 |
\<open internal limits SUB\><<< |
| 2586 |
\Send{BACK} |
| 2587 |
{|<start msub base|>}|<msub sub|>% |
| 2588 |
>>> |
| 2589 |
|
| 2590 |
\<close internal limits SUB\><<< |
| 2591 |
|<close msub|>% |
| 2592 |
>>> |
| 2593 |
|
| 2594 |
|
| 2595 |
|
| 2596 |
|
| 2597 |
|
| 2598 |
|
| 2599 |
%%%%%%%%%%%%% |
| 2600 |
\section{On Arrows (over/under - end - scripts)} |
| 2601 |
%%%%%%%%%%%%% |
| 2602 |
|
| 2603 |
|
| 2604 |
|
| 2605 |
\<configure jsml-math amsmath\><<< |
| 2606 |
\renewcommand{\xrightarrow}[2][]{% |
| 2607 |
\if :#1: |
| 2608 |
\HCode{|<msup limits base|>}% |
| 2609 |
\rightarrow |
| 2610 |
|<msup limits script super|>#2% |
| 2611 |
|<close limits sup|>% |
| 2612 |
\else |
| 2613 |
\HCode{|<start limits msubsup base|>}% |
| 2614 |
\leftarrow |
| 2615 |
|<msubsup limits sub|>#1% |
| 2616 |
|<msubsup limits sup|>#2% |
| 2617 |
|<close limits script|>% |
| 2618 |
\fi |
| 2619 |
} |
| 2620 |
\renewcommand{\xleftarrow}[2][]{% |
| 2621 |
\if :#1: |
| 2622 |
\HCode{|<msup limits base|>}% |
| 2623 |
\leftarrow |
| 2624 |
|<msup limits script super|>#2% |
| 2625 |
|<close limits sup|>% |
| 2626 |
\else |
| 2627 |
\HCode{|<start limits msubsup base|>}% |
| 2628 |
\leftarrow |
| 2629 |
|<msubsup limits sub|>#1% |
| 2630 |
|<msubsup limits sup|>#2% |
| 2631 |
|<close limits script|>% |
| 2632 |
\fi |
| 2633 |
} |
| 2634 |
>>> |
| 2635 |
|
| 2636 |
|
| 2637 |
|
| 2638 |
|
| 2639 |
%%%%%%%%%%%%% |
| 2640 |
\section{On Text (over/under - end - scripts)} |
| 2641 |
%%%%%%%%%%%%% |
| 2642 |
|
| 2643 |
\<configure jsml-math amsmath\><<< |
| 2644 |
\def\overset#1#2{{% |
| 2645 |
\HCode{|<msup limits base|>}% |
| 2646 |
#2% |
| 2647 |
|<msup limits script super|>#1% |
| 2648 |
|<close limits sup|>% |
| 2649 |
}} |
| 2650 |
\def\underset#1#2{{% |
| 2651 |
\HCode{|<msub limits base|>}% |
| 2652 |
#2% |
| 2653 |
|<msub limits script sub|>#1% |
| 2654 |
|<close limits sub|>% |
| 2655 |
}} |
| 2656 |
>>> |
| 2657 |
|
| 2658 |
|
| 2659 |
|
| 2660 |
|
| 2661 |
|
| 2662 |
|
| 2663 |
\<configure jsml-math amsmath\><<< |
| 2664 |
\def\sideset#1#2#3{{\Tg<mrow class="sideset"\Hnewline |
| 2665 |
>{\HCode{}}#1{\HCode{}#3}#2\Tg</mrow>}} |
| 2666 |
>>> |
| 2667 |
|
| 2668 |
|
| 2669 |
|
| 2670 |
%%%%%%%%%%%%%%%%%% |
| 2671 |
\section{Accents} |
| 2672 |
%%%%%%%%%%%%%%%%%% |
| 2673 |
|
| 2674 |
\<plain,latex mathml\><<< |
| 2675 |
\:CheckOption{new-accents} \if:Option \else |
| 2676 |
|<config mathml accents|> |
| 2677 |
\fi |
| 2678 |
>>> |
| 2679 |
|
| 2680 |
\<config mathml accents\><<< |
| 2681 |
\Configure{accents} |
| 2682 |
{\ifmmode \expandafter\mathord\fi |
| 2683 |
{|<temp hcode accents|>% |
| 2684 |
\ht:special{t4ht@[}\if!#1!x\else#2\fi |
| 2685 |
\ht:special{t4ht@]}}} |
| 2686 |
{\ifmathml |
| 2687 |
\ifmtext |<accent in text mode|>% |
| 2688 |
\else \AccentMath{|<under over accents|>}\fi |
| 2689 |
\else |<accent in text mode|>\fi |
| 2690 |
} |
| 2691 |
>>> |
| 2692 |
|
| 2693 |
|
| 2694 |
|
| 2695 |
\<temp hcode accents\><<< |
| 2696 |
\leavevmode |
| 2697 |
\if !#1!\ht:special{t4ht@+&{35}x#2;}% |
| 2698 |
\else \expandafter \ifx\csname U#2#1\endcsname\relax |
| 2699 |
\ht:special{t4ht@+&{35}x#2;}% |
| 2700 |
\else |
| 2701 |
\ht:special{t4ht@+&{35}x\csname U#2#1\endcsname;}% |
| 2702 |
\fi \fi x% |
| 2703 |
>>> |
| 2704 |
|
| 2705 |
\<accent in text mode\><<< |
| 2706 |
\expandafter\ifx \csname :#1:over\endcsname\relax |
| 2707 |
\expandafter\ifx \csname :#1:under\endcsname\relax |
| 2708 |
\AccentMath{|<under over accents|>}% |
| 2709 |
\else #3\csname :#1:under\endcsname \fi |
| 2710 |
\else #3\csname :#1:over\endcsname \fi |
| 2711 |
>>> |
| 2712 |
|
| 2713 |
|
| 2714 |
\<under over accents\><<< |
| 2715 |
\expandafter\ifx \csname :#1:over\endcsname\relax |
| 2716 |
|<under accents|>% |
| 2717 |
\else \expandafter\ifx \csname :#1:under\endcsname\relax |
| 2718 |
|<over accents|>% |
| 2719 |
\else |
| 2720 |
|<both accents|>% |
| 2721 |
\fi \fi |
| 2722 |
>>> |
| 2723 |
|
| 2724 |
\<under accents\><<< |
| 2725 |
\HCode{<munder\Hnewline |
| 2726 |
accent="true"><mrow\Hnewline><BREAK SIZE="small"/>}% |
| 2727 |
#3\HCode{</mrow>}% |
| 2728 |
\csname :#1:under\endcsname |
| 2729 |
\HCode{</munder>}% |
| 2730 |
>>> |
| 2731 |
|
| 2732 |
\<over accents\><<< |
| 2733 |
\HCode{<mover class="mover-accent">% |
| 2734 |
<mrow\Hnewline><BREAK SIZE="small"/>}% |
| 2735 |
#3\HCode{</mrow>}% |
| 2736 |
\csname prefix:#1:over\endcsname |
| 2737 |
\csname :#1:over\endcsname |
| 2738 |
\HCode{</mover>}% |
| 2739 |
>>> |
| 2740 |
|
| 2741 |
\<both accents\><<< |
| 2742 |
\HCode{<munderover\Hnewline |
| 2743 |
accent="true"><mrow\Hnewline><BREAK SIZE="small"/>}% |
| 2744 |
#3\HCode{</mrow>}% |
| 2745 |
\csname :#1:under\endcsname |
| 2746 |
\csname :#1:over\endcsname |
| 2747 |
\HCode{</munderover>}% |
| 2748 |
>>> |
| 2749 |
|
| 2750 |
\<configure jsml-math latex\><<< |
| 2751 |
\def\:temp#1#2{\expandafter\def\csname prefix:#1:over\endcsname |
| 2752 |
{\HCode{\add:description{added-description}{ #2 }}}} |
| 2753 |
\:temp{vec}{\b:speak:underover} |
| 2754 |
\:temp{dddot}{\b:speak:underover} |
| 2755 |
\:temp{ddddot}{\b:speak:underover} |
| 2756 |
>>> |
| 2757 |
|
| 2758 |
|
| 2759 |
|
| 2760 |
%%%%%%%%%%%%%%%%%% |
| 2761 |
\chapter{Tables} |
| 2762 |
%%%%%%%%%%%%%%%%%% |
| 2763 |
|
| 2764 |
|
| 2765 |
%%%%%%%%%%%%%%%%%% |
| 2766 |
\section{Tabular} |
| 2767 |
%%%%%%%%%%%%%%%%%% |
| 2768 |
|
| 2769 |
\<configure jsml latex\><<< |
| 2770 |
|<array and tabular|> |
| 2771 |
>>> |
| 2772 |
|
| 2773 |
\<configure jsml array\><<< |
| 2774 |
|<array and tabular|> |
| 2775 |
>>> |
| 2776 |
|
| 2777 |
\<configure tabular noalign\><<< |
| 2778 |
\Configure{noalign}% |
| 2779 |
{\f:tabular\d:tabular \HCode{<tr><td colspan="\ar:cnt">}} |
| 2780 |
{\HCode{</td></tr>}\pend:def\TableNo{0}\c:tabular\e:tabular}% |
| 2781 |
>>> |
| 2782 |
|
| 2783 |
|
| 2784 |
\<configure clear noalign\><<< |
| 2785 |
\Configure{noalign}{}{}% |
| 2786 |
>>> |
| 2787 |
|
| 2788 |
|
| 2789 |
\<inline comment\><<< |
| 2790 |
\ifvmode\else\HCode{<!--tex4ht:inline-->}\fi |
| 2791 |
>>> |
| 2792 |
|
| 2793 |
|
| 2794 |
|
| 2795 |
\<array and tabular\><<< |
| 2796 |
\HAssign\TableNo=0 |
| 2797 |
\Configure{tabular} |
| 2798 |
{\ifvmode \IgnorePar\fi \EndP |
| 2799 |
\HCode{<PARA><table class="tabular" >}% |
| 2800 |
|<begin tabular note|>} |
| 2801 |
{\Tag{tabular-\TableNo}{\hrow:s}% |
| 2802 |
|<end tabular note|>\HCode{</table></PARA>}} |
| 2803 |
{\HCode{<tr><!--row \HRow-->}% |
| 2804 |
|<begin table row note|>} |
| 2805 |
{\xdef\hrow:s{\HRow}|<end table row note|>\HCode{</tr>}} |
| 2806 |
{\HCode{<td><!--entry \HRow-\HCol\ifnum |
| 2807 |
\HMultispan>1 \, span \HMultispan\fi-->}% |
| 2808 |
|<begin table cell note|>\HCode{<div>}\SaveEndP |
| 2809 |
\PushStack\Table:Stck\TableNo |
| 2810 |
\par \ShowPar} |
| 2811 |
{\PopStack\Table:Stck\TableNo |
| 2812 |
\IgnorePar \EndP \ifvmode \IgnorePar \fi \EndP |
| 2813 |
\HCode{</div>}|<end table cell note|>% |
| 2814 |
\HCode{</td>\Hnewline}\RecallEndP } |
| 2815 |
>>> |
| 2816 |
|
| 2817 |
|
| 2818 |
|
| 2819 |
|
| 2820 |
|
| 2821 |
\<begin tabular note\><<< |
| 2822 |
\HCode{% |
| 2823 |
<BREAK SIZE="small"/><PROS PITCH="-5" >% |
| 2824 |
\add:vdescription{begin-end}{begin table with |
| 2825 |
\ifTag{tabular-\TableNo}{\LikeRef{tabular-\TableNo}}{} |
| 2826 |
rows and \ar:cnt columns}% |
| 2827 |
</PROS> |
| 2828 |
}% |
| 2829 |
>>> |
| 2830 |
|
| 2831 |
\<end tabular note\><<< |
| 2832 |
\HCode{|<show input line no|>% |
| 2833 |
<BREAK SIZE="small"/>% |
| 2834 |
<PROS PITCH="-5" >% |
| 2835 |
\add:vdescription{begin-end}{end table}% |
| 2836 |
</PROS><BREAK SIZE="small"/>% |
| 2837 |
}% |
| 2838 |
>>> |
| 2839 |
|
| 2840 |
\<begin table row note\><<< |
| 2841 |
\HCode{% |
| 2842 |
<BREAK SIZE="medium"/><PROS PITCH="-5" >% |
| 2843 |
\add:vdescription{begin-end}{|<ord row|> row}% |
| 2844 |
</PROS><BREAK SIZE="medium"/>% |
| 2845 |
}% |
| 2846 |
>>> |
| 2847 |
|
| 2848 |
|
| 2849 |
\<begin table cell note\><<< |
| 2850 |
\HCode{% |
| 2851 |
<BREAK SIZE="medium"/>% |
| 2852 |
\ifnum \HMultispan>1 |
| 2853 |
<PROS PITCH="-5" >% |
| 2854 |
\add:vdescription{added-description}{|<ord col|> cell |
| 2855 |
spans \HMultispan \space columns}% |
| 2856 |
</PROS><BREAK SIZE="medium"/>% |
| 2857 |
\else |
| 2858 |
\ifnum \HCol>1 |
| 2859 |
<PROS PITCH="-5" >% |
| 2860 |
\add:vdescription{added-description}{|<ord col|> cell}% |
| 2861 |
</PROS><BREAK SIZE="medium"/>% |
| 2862 |
\fi |
| 2863 |
\fi |
| 2864 |
}% |
| 2865 |
>>> |
| 2866 |
|
| 2867 |
\<end table cell note\><<< |
| 2868 |
>>> |
| 2869 |
|
| 2870 |
|
| 2871 |
%%%%%%%%%%%%% |
| 2872 |
\section{Numbering} |
| 2873 |
%%%%%%%%%%%%% |
| 2874 |
|
| 2875 |
|
| 2876 |
|
| 2877 |
\<ord row\><<< |
| 2878 |
<span class="ord-row">\ord:pos{\HRow}</span>% |
| 2879 |
>>> |
| 2880 |
|
| 2881 |
\<ord col\><<< |
| 2882 |
\ord:pos{\HCol}% |
| 2883 |
>>> |
| 2884 |
|
| 2885 |
|
| 2886 |
\<configure jsml tex4ht\><<< |
| 2887 |
\def\ord:pos#1{% |
| 2888 |
\ifcase #1 |
| 2889 |
\or first |
| 2890 |
\or second |
| 2891 |
\or third |
| 2892 |
\or fourth |
| 2893 |
\or fifth |
| 2894 |
\or sixth |
| 2895 |
\or seventh |
| 2896 |
\or eighth |
| 2897 |
\or nineth |
| 2898 |
\else #1th |
| 2899 |
\fi |
| 2900 |
} |
| 2901 |
>>> |
| 2902 |
|
| 2903 |
|
| 2904 |
|
| 2905 |
|
| 2906 |
|
| 2907 |
\<configure jsml tex4ht\><<< |
| 2908 |
\HAssign\HRow=0 |
| 2909 |
>>> |
| 2910 |
|
| 2911 |
\<advance table number\><<< |
| 2912 |
\PushStack\Table:Stck\TableNo |
| 2913 |
\gHAdvance\Next:TableNo by 1 |
| 2914 |
\global\let\TableNo=\Next:TableNo |
| 2915 |
>>> |
| 2916 |
|
| 2917 |
\<return to prev table number\><<< |
| 2918 |
\PopStack\Table:Stck\TableNo |
| 2919 |
>>> |
| 2920 |
|
| 2921 |
|
| 2922 |
|
| 2923 |
|
| 2924 |
|
| 2925 |
|
| 2926 |
|
| 2927 |
\<new row counter\><<< |
| 2928 |
\PushStack\Row:Stck\HRow \HAssign\HRow=0\relax |
| 2929 |
>>> |
| 2930 |
|
| 2931 |
\<return to prev row counter\><<< |
| 2932 |
\PopStack\Row:Stck\HRow |
| 2933 |
>>> |
| 2934 |
|
| 2935 |
\<new col counter\><<< |
| 2936 |
\PushStack\Col:Stck\Prev:Col |
| 2937 |
>>> |
| 2938 |
|
| 2939 |
\<return to prev col counter\><<< |
| 2940 |
\PopStack\Col:Stck\Prev:Col |
| 2941 |
>>> |
| 2942 |
|
| 2943 |
|
| 2944 |
|
| 2945 |
|
| 2946 |
%%%%%%%%%%%%% |
| 2947 |
\section{Aligned} |
| 2948 |
%%%%%%%%%%%%% |
| 2949 |
|
| 2950 |
|
| 2951 |
|
| 2952 |
\<configure jsml-math amsmath\><<< |
| 2953 |
\Configure{aligned} |
| 2954 |
{|<advance table number|>% |
| 2955 |
|<new row counter|>% |
| 2956 |
\HCode{<PARA><mtable class="aligned">}% |
| 2957 |
\HCode{\add:vdescription{begin-array}{\a:speak:aligned}}} |
| 2958 |
{\Tag{aligned-\TableNo}{\hrow:s}% |
| 2959 |
\HCode{|<show input line no|>% |
| 2960 |
\add:vdescription{end-array}{\b:speak:aligned}}% |
| 2961 |
\ifvmode \IgnorePar\fi |
| 2962 |
\HCode{</mtable></PARA>}% |
| 2963 |
|<return to prev row counter|>% |
| 2964 |
|<return to prev table number|>} |
| 2965 |
{\HCode{<mtr>}\c:speak:aligned}% |
| 2966 |
{\xdef\hrow:s{\HRow}\HCode{</mtr>}}% |
| 2967 |
{\HCode{<mtd>}% |
| 2968 |
\e:speak:aligned \HCode{<div>}} |
| 2969 |
{\HCode{</div>}\f:speak:aligned |
| 2970 |
\HCode{</mtd>\Hnewline}} |
| 2971 |
>>> |
| 2972 |
|
| 2973 |
\<configure jsml-math amsmath\><<< |
| 2974 |
\NewConfigure{speak:aligned}{6} |
| 2975 |
\Configure{speak:aligned} |
| 2976 |
{begin |
| 2977 |
\ifTag{aligned-\TableNo}{\LikeRef{aligned-\TableNo}}{} |
| 2978 |
aligned equations} |
| 2979 |
{end equations} |
| 2980 |
{|<begin table row note|>} |
| 2981 |
{|<end table row note|>} |
| 2982 |
{|<begin table cell note|>} |
| 2983 |
{|<end table cell note|>} |
| 2984 |
>>> |
| 2985 |
|
| 2986 |
|
| 2987 |
|
| 2988 |
\<configure jsml-math amsmath\><<< |
| 2989 |
\Configure{alignedat} |
| 2990 |
{|<advance table number|>% |
| 2991 |
|<new row counter|>% |
| 2992 |
\HCode{<PARA><mtable class="aligned">}% |
| 2993 |
\HCode{\add:vdescription{begin-array}{\a:speak:aligned}}} |
| 2994 |
{\Tag{aligned-\TableNo}{\hrow:s}% |
| 2995 |
\HCode{|<show input line no|>% |
| 2996 |
\add:vdescription{end-array}{\b:speak:aligned}}% |
| 2997 |
\ifvmode \IgnorePar\fi \HCode{</mtable></PARA>}% |
| 2998 |
|<return to prev row counter|>% |
| 2999 |
|<return to prev table number|>} |
| 3000 |
{\HCode{<mtr>}\c:speak:aligned}% |
| 3001 |
{\xdef\hrow:s{\HRow}\HCode{</mtr>}}% |
| 3002 |
{\HCode{<mtd>}% |
| 3003 |
\e:speak:aligned \HCode{<div>}} |
| 3004 |
{\HCode{</div>}\f:speak:aligned |
| 3005 |
\HCode{</mtd>\Hnewline}} |
| 3006 |
>>> |
| 3007 |
|
| 3008 |
|
| 3009 |
%%%%%%%%%%%%%%%%%%%% |
| 3010 |
\section{Cases} |
| 3011 |
%%%%%%%%%%%%%%%%% |
| 3012 |
|
| 3013 |
\<plain,latex mathml\><<< |
| 3014 |
\Configure{cases} |
| 3015 |
{}{} {\HCode{<PARA><mtable>}}{\HCode{</mtable></PARA>}} |
| 3016 |
{\Tg<mtr>}{\Tg</mtr>} |
| 3017 |
{\Tg<mtd class="cases">}{\Tg</mtd>} |
| 3018 |
>>> |
| 3019 |
|
| 3020 |
|
| 3021 |
\<configure jsml-math amsmath\><<< |
| 3022 |
\ConfigureEnv{cases} |
| 3023 |
{|<advance table number|>% |
| 3024 |
|<new row counter|>% |
| 3025 |
\HCode{<div class="cases">}% |
| 3026 |
\bgroup |
| 3027 |
|<save left/right config|>% |
| 3028 |
|<config amsmath cases|>% |
| 3029 |
|<cases left/right|>% |
| 3030 |
} |
| 3031 |
{\egroup\HCode{</div>}% |
| 3032 |
|<return to prev row counter|>% |
| 3033 |
|<return to prev table number|>} |
| 3034 |
{}{} |
| 3035 |
>>> |
| 3036 |
|
| 3037 |
|
| 3038 |
|
| 3039 |
|
| 3040 |
|
| 3041 |
|
| 3042 |
\<config amsmath cases\><<< |
| 3043 |
\Configure{array} |
| 3044 |
{\HCode{<mtable class="cases">% |
| 3045 |
|<start cases note|>}} % |
| 3046 |
{\Tag{cases-\TableNo}{\HRow}% |
| 3047 |
\HCode{|<show input line no|>% |
| 3048 |
|<end cases note|>}% |
| 3049 |
\ifvmode \IgnorePar\fi \Tg</mtable>} |
| 3050 |
{\HCode{<mtr>% |
| 3051 |
|<next case note|>}} |
| 3052 |
{\HCode{</mtr>}}% |
| 3053 |
{\HCode{<mtd class="sub-case-\HCol" >% |
| 3054 |
<BREAK SIZE="\ifnum \HCol>1 medium\else |
| 3055 |
small\fi"/>}% |
| 3056 |
\bgroup |
| 3057 |
|<config array|>% |
| 3058 |
|<recall left/right config|>% |
| 3059 |
} |
| 3060 |
{\egroup \HCode{</mtd>\Hnewline}} |
| 3061 |
>>> |
| 3062 |
|
| 3063 |
\<start cases note\><<< |
| 3064 |
\add:vdescription{begin-array}{<BREAK SIZE="small"/>begin |
| 3065 |
\ifTag{cases-\TableNo}{\LikeRef{cases-\TableNo}}{} |
| 3066 |
cases<BREAK SIZE="small"/>}% |
| 3067 |
>>> |
| 3068 |
|
| 3069 |
\<end cases note\><<< |
| 3070 |
\add:vdescription{end-array} |
| 3071 |
{<BREAK SIZE="small"/>end cases<BREAK SIZE="small"/>} |
| 3072 |
>>> |
| 3073 |
|
| 3074 |
\<next case note\><<< |
| 3075 |
\add:vdescription{begin-end} |
| 3076 |
{<BREAK SIZE="small"/>|<ord row|> case}% |
| 3077 |
>>> |
| 3078 |
|
| 3079 |
|
| 3080 |
\<cases left/right\><<< |
| 3081 |
\Configure{left} |
| 3082 |
{} |
| 3083 |
{\bgroup} |
| 3084 |
\Configure{right} |
| 3085 |
{\egroup} |
| 3086 |
{} |
| 3087 |
>>> |
| 3088 |
|
| 3089 |
|
| 3090 |
\<save left/right config\><<< |
| 3091 |
\let\sv:a:left=\a:left |
| 3092 |
\let\sv:b:left=\b:left |
| 3093 |
\let\sv:a:right=\a:right |
| 3094 |
\let\sv:b:right=\b:right |
| 3095 |
>>> |
| 3096 |
|
| 3097 |
|
| 3098 |
\<recall left/right config\><<< |
| 3099 |
\let\a:left=\sv:a:left |
| 3100 |
\let\b:left=\sv:b:left |
| 3101 |
\let\a:right=\sv:a:right |
| 3102 |
\let\b:right=\sv:b:right |
| 3103 |
>>> |
| 3104 |
|
| 3105 |
|
| 3106 |
|
| 3107 |
|
| 3108 |
%%%%%%%%%%%%%%%%%%%% |
| 3109 |
\section{matrix} |
| 3110 |
%%%%%%%%%%%%%%%%%%%% |
| 3111 |
|
| 3112 |
\<plain,latex mathml\><<< |
| 3113 |
\Configure{matrix} |
| 3114 |
{|<advance table number|>% |
| 3115 |
|<new row counter|>% |
| 3116 |
\HCode{<PARA><mtable class="array">}% |
| 3117 |
\HCode{\add:vdescription{begin-array}{\a:speak:array}}} |
| 3118 |
{\Tag{array-\TableNo}{\hrow:s}% |
| 3119 |
\HCode{|<show input line no|>% |
| 3120 |
\add:vdescription{end-array}{\b:speak:array}}% |
| 3121 |
\ifvmode \IgnorePar\fi \HCode{</mtable></PARA>}% |
| 3122 |
|<return to prev row counter|>% |
| 3123 |
|<return to prev table number|>} |
| 3124 |
{\HCode{<mtr>}\c:speak:array}% |
| 3125 |
{\xdef\hrow:s{\HRow}\HCode{</mtr>}}% |
| 3126 |
{\HCode{<mtd>}% |
| 3127 |
\e:speak:array\HCode{<div>}} |
| 3128 |
{\HCode{</div>}\f:speak:array |
| 3129 |
\HCode{</mtd>\Hnewline}} |
| 3130 |
>>> |
| 3131 |
|
| 3132 |
\<mtd matrix\><<< |
| 3133 |
\HCode{<mtd\Hnewline class="matrix" |
| 3134 |
\ifnum 1<\HMultispan columnspan="\HMultispan"\fi}% |
| 3135 |
\halignTD \HCode{>}% |
| 3136 |
>>> |
| 3137 |
|
| 3138 |
|
| 3139 |
|
| 3140 |
The grouping below is handle the case that the matrix is a base of an exponent. |
| 3141 |
|
| 3142 |
|
| 3143 |
\<plain,latex mathml\><<< |
| 3144 |
\Configure{pmatrix} |
| 3145 |
{\bgroup\HCode{<PARA><div class="pmatrix"><BREAK SIZE="small"/>}} |
| 3146 |
{\HCode{<BREAK SIZE="small"/></div></PARA>}\egroup} |
| 3147 |
>>> |
| 3148 |
|
| 3149 |
|
| 3150 |
|
| 3151 |
|
| 3152 |
\<plain,latex mathml\><<< |
| 3153 |
\NewConfigure{speak:array}{6} |
| 3154 |
\Configure{speak:array} |
| 3155 |
{<BREAK SIZE="small"/>begin array with |
| 3156 |
\ifTag{array-\TableNo}{\LikeRef{array-\TableNo}}{} |
| 3157 |
rows<BREAK SIZE="small"/>} |
| 3158 |
{<BREAK SIZE="small"/>end array<BREAK SIZE="small"/>} |
| 3159 |
{|<begin table row note|>} |
| 3160 |
{|<end table row note|>} |
| 3161 |
{|<begin table cell note|>} |
| 3162 |
{|<end table cell note|>} |
| 3163 |
>>> |
| 3164 |
|
| 3165 |
|
| 3166 |
|
| 3167 |
%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3168 |
\section{EqAlign} |
| 3169 |
%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3170 |
|
| 3171 |
\<configure jsml plain\><<< |
| 3172 |
|<TABLE eqalign shared Configure 4.0t|> |
| 3173 |
>>> |
| 3174 |
\<TABLE eqalign shared Configure 4.0t\><<< |
| 3175 |
\Configure{eqalign} |
| 3176 |
{\:xhtml{\IgnorePar\EndP}\HCode |
| 3177 |
{<div class="eqalign"><table class="eqalign">}} |
| 3178 |
{\HCode{</table></div>}} |
| 3179 |
{\HCode{<tr \Hnewline class="eqalign" |
| 3180 |
valign="middle">}}{\IgnorePar\HCode{</tr>}} |
| 3181 |
{\HCode{<td align="\ifnum \HCol=2 |
| 3182 |
left\else right\fi"\Hnewline class="eqalign\HCol" |
| 3183 |
style="white-space:nowrap;">}} |
| 3184 |
{\HCode{</td>}} |
| 3185 |
\def\:eqalign:{\Configure{noalign} |
| 3186 |
{\HCode{<tr><td class="noalign" colspan="2">}}% |
| 3187 |
{\HCode{</td></tr>}}} |
| 3188 |
|
| 3189 |
>>> |
| 3190 |
|
| 3191 |
|
| 3192 |
|
| 3193 |
|
| 3194 |
|
| 3195 |
\<TABLE eqalign shared Configure 4.0t\><<< |
| 3196 |
\Configure{eqalignno} |
| 3197 |
{\:xhtml{\IgnorePar\EndP}\HCode{<table class="eqalignno">}} |
| 3198 |
{\HCode{</table>}} |
| 3199 |
{\HCode{<tr\Hnewline class="eqalignno">}}{\IgnorePar\HCode{</tr>}} |
| 3200 |
{\HCode{\ifnum \HCol=3 <td\Hnewline width="10" |
| 3201 |
class="eqalignno-sp"></td>\fi |
| 3202 |
<td align="\ifnum \HCol=2 left\else right\fi"\Hnewline |
| 3203 |
class="eqalignno\HCol">}} |
| 3204 |
{\HCode{</td>}} |
| 3205 |
\def\:eqalignno:{\Configure{noalign} |
| 3206 |
{\HCode{<tr><td class="noalign" colspan="2">}}% |
| 3207 |
{\HCode{</td></tr>}}} |
| 3208 |
|
| 3209 |
>>> |
| 3210 |
|
| 3211 |
\<TABLE eqalign shared Configure 4.0t\><<< |
| 3212 |
\Configure{leqalignno} |
| 3213 |
{\:xhtml{\IgnorePar\EndP}\HCode{<table class="leqalignno">}} |
| 3214 |
{\HCode{</table>}} |
| 3215 |
{\HCode{<tr \Hnewline |
| 3216 |
class="leqalignno">}}{\IgnorePar\HCode{</tr>}} |
| 3217 |
{\HCode{\ifnum \HCol=3 <td\Hnewline width="30" |
| 3218 |
class="eqalignno-sp"></td>\fi |
| 3219 |
<td align="\ifnum \HCol=2 left\else right\fi"\Hnewline |
| 3220 |
class="leqalignno\HCol">}} |
| 3221 |
{\HCode{</td>}} |
| 3222 |
\def\:leqalignno:{\Configure{noalign} |
| 3223 |
{\HCode{<tr><td class="noalign" colspan="2">}}% |
| 3224 |
{\HCode{</td></tr>}}} |
| 3225 |
>>> |
| 3226 |
|
| 3227 |
|
| 3228 |
|
| 3229 |
\<configure jsml-math latex\><<< |
| 3230 |
|<config array|> |
| 3231 |
>>> |
| 3232 |
|
| 3233 |
\<configure jsml-math array\><<< |
| 3234 |
|<config array|> |
| 3235 |
>>> |
| 3236 |
|
| 3237 |
|
| 3238 |
\<config array\><<< |
| 3239 |
\Configure{array} |
| 3240 |
{|<advance table number|>% |
| 3241 |
|<new row counter|>% |
| 3242 |
\HCode{<PARA><mtable class="array">}% |
| 3243 |
\HCode{\add:vdescription{begin-array}{\a:speak:array}}} |
| 3244 |
{\Tag{array-\TableNo}{\hrow:s}% |
| 3245 |
\HCode{|<show input line no|>% |
| 3246 |
\add:vdescription{end-array}{\b:speak:array}}% |
| 3247 |
\ifvmode \IgnorePar\fi |
| 3248 |
|<insert Clr|>\HCode{</mtable></PARA>}% |
| 3249 |
|<return to prev row counter|>% |
| 3250 |
|<return to prev table number|>} |
| 3251 |
{\HCode{<mtr>}\c:speak:array}% |
| 3252 |
{\xdef\hrow:s{\HRow}\HCode{</mtr>}}% |
| 3253 |
{\HCode{<mtd>}% |
| 3254 |
\e:speak:array\HCode{<div>}} |
| 3255 |
{\HCode{</div>}\f:speak:array |
| 3256 |
\HCode{</mtd>\Hnewline}} |
| 3257 |
\ConfigureEnv{array} |
| 3258 |
{\bgroup\Configure{$}{}{}{}} |
| 3259 |
{\egroup} |
| 3260 |
{}{} |
| 3261 |
>>> |
| 3262 |
|
| 3263 |
|
| 3264 |
|
| 3265 |
|
| 3266 |
|
| 3267 |
|
| 3268 |
\<begin array row note\><<< |
| 3269 |
\HCode{\add:vdescription{begin-end}{Row \HRow}}% |
| 3270 |
>>> |
| 3271 |
|
| 3272 |
|
| 3273 |
|
| 3274 |
|
| 3275 |
\<configure jsml-math latex\><<< |
| 3276 |
\ConfigureEnv{array} |
| 3277 |
{\PushStack\Col:Marg\AllColMargins |
| 3278 |
\bgroup\Configure{$}{}{}{}} |
| 3279 |
{\egroup \PopStack\Col:Marg\AllColMargins} |
| 3280 |
{}{} |
| 3281 |
>>> |
| 3282 |
|
| 3283 |
\<configure jsml-math array\><<< |
| 3284 |
\ConfigureEnv{array} |
| 3285 |
{\PushStack\Col:Marg\AllColMargins |
| 3286 |
\bgroup\Configure{$}{}{}{}} |
| 3287 |
{\egroup \PopStack\Col:Marg\AllColMargins} |
| 3288 |
{}{} |
| 3289 |
>>> |
| 3290 |
|
| 3291 |
|
| 3292 |
|
| 3293 |
|
| 3294 |
|
| 3295 |
|
| 3296 |
\<insert Clr\><<< |
| 3297 |
\expandafter\tmp:toks\expandafter{\Clr}% |
| 3298 |
\HCode{<!--\the\tmp:toks-->}% |
| 3299 |
>>> |
| 3300 |
|
| 3301 |
|
| 3302 |
|
| 3303 |
|
| 3304 |
|
| 3305 |
\<mathml latex\><<< |
| 3306 |
\def\:MM{m} |
| 3307 |
\Configure{HBorder} |
| 3308 |
{<mtr\Hnewline class="hline">} |
| 3309 |
{|<mml hline|>} |
| 3310 |
{</mtr>} |
| 3311 |
{<mtr\Hnewline class="cline">} |
| 3312 |
{<mtd></mtd>} |
| 3313 |
{|<mml hline|>} |
| 3314 |
{</mtr>} |
| 3315 |
{<mtr\Hnewline class="vspace" style="font-size:\HBorderspace">} |
| 3316 |
{<mtd\Hnewline></mtd>} |
| 3317 |
{</mtr>} |
| 3318 |
>>> |
| 3319 |
|
| 3320 |
\<configure jsml-math latex\><<< |
| 3321 |
\def\:MM{\ifmathml m\fi} |
| 3322 |
\Configure{HBorder} |
| 3323 |
{<\:MM tr\Hnewline |
| 3324 |
\ifmathml \expandafterclass\else class\fi="hline">} |
| 3325 |
{\ifmathml|<mml hline|>\else |
| 3326 |
<td><hr\xml:empty></td>\fi} |
| 3327 |
{</\:MM tr>} |
| 3328 |
{<\:MM tr\Hnewline |
| 3329 |
\ifmathml \expandafterclass\else class\fi ="cline">} |
| 3330 |
{<\:MM td></\:MM td>} |
| 3331 |
{\ifmathml|<mml hline|>\else |
| 3332 |
<td><hr\xml:empty></td>\fi} |
| 3333 |
{</\:MM tr>} |
| 3334 |
{<\:MM tr\Hnewline |
| 3335 |
\ifmathml \expandafterclass\else class\fi="vspace" |
| 3336 |
style="font-size:\HBorderspace">} |
| 3337 |
{<\:MM td\Hnewline>\ifmathml\else\string&\#x00A0;\fi |
| 3338 |
</\:MM td>} |
| 3339 |
{</\:MM tr>} |
| 3340 |
\Configure{halign} |
| 3341 |
{\EndP\halignTB{halign}} \t:HA |
| 3342 |
\R:HA\r:HA\D:HA\d:HA |
| 3343 |
>>> |
| 3344 |
|
| 3345 |
|
| 3346 |
|
| 3347 |
\<mml hline\><<< |
| 3348 |
<mtd><mo> \string&\#x0332; </mo></mtd> |
| 3349 |
>>> |
| 3350 |
|
| 3351 |
%%%%%%%%%%%%% |
| 3352 |
\section{Small Matrix} |
| 3353 |
%%%%%%%%%%%%% |
| 3354 |
|
| 3355 |
|
| 3356 |
|
| 3357 |
\<configure jsml-math latex\><<< |
| 3358 |
|<config multicolumn|> |
| 3359 |
>>> |
| 3360 |
|
| 3361 |
|
| 3362 |
\<configure jsml-math array\><<< |
| 3363 |
|<config multicolumn|> |
| 3364 |
>>> |
| 3365 |
|
| 3366 |
|
| 3367 |
\<config multicolumn\><<< |
| 3368 |
\Configure{multicolumn} |
| 3369 |
{\let\sv:VBorder\VBorder |
| 3370 |
\let\VBorder\empty |
| 3371 |
\Configure{VBorder}{}{}{}{}% |
| 3372 |
} |
| 3373 |
{\let\VBorder\sv:VBorder} |
| 3374 |
{\ifmmode \else |
| 3375 |
\ifvmode\IgnorePar\fi |
| 3376 |
\fi \HCode{<div class="multicolumn" title="\HMultispan">}} |
| 3377 |
{\ifmmode \else |
| 3378 |
\ifvmode\IgnorePar\fi \EndP\fi \HCode{</div>} } |
| 3379 |
\def\gob:sp#1{#1} |
| 3380 |
>>> |
| 3381 |
|
| 3382 |
|
| 3383 |
|
| 3384 |
|
| 3385 |
|
| 3386 |
|
| 3387 |
|
| 3388 |
|
| 3389 |
%%%%%%%%%%%%%%%%%%%% |
| 3390 |
\section{TeX EqAlign} |
| 3391 |
%%%%%%%%%%%%%%%%%%%% |
| 3392 |
|
| 3393 |
|
| 3394 |
\<mathml plain\><<< |
| 3395 |
\Configure{eqalignno} |
| 3396 |
{\HCode{<PARA><mtable class="eqalignno">}} |
| 3397 |
{\HCode{</mtable></PARA>}} |
| 3398 |
{\HCode{<mtr\Hnewline class="eqalignno">}} |
| 3399 |
{\HCode{</mtr>}} |
| 3400 |
{\HCode{<mtd \Hnewline class="eqalignno-\HCol">}} |
| 3401 |
{\HCode{</mtd>}} |
| 3402 |
\def\:eqalignno:{\Configure{noalign} |
| 3403 |
{\HCode{<mtr><mtd class="noalign" colspan="2">}}% |
| 3404 |
{\HCode{</mtd></mtr>}}} |
| 3405 |
>>> |
| 3406 |
|
| 3407 |
|
| 3408 |
\<mathml plain\><<< |
| 3409 |
\Configure{leqalignno} |
| 3410 |
{\HCode{<PARA><mtable class="leqalignno">}} |
| 3411 |
{\HCode{</mtable></PARA>}} |
| 3412 |
{\HCode{<mtr\Hnewline class="leqalignno">}} |
| 3413 |
{\HCode{</mtr>}} |
| 3414 |
{\HCode{<mtd \Hnewline class="leqalignno-\HCol">}} |
| 3415 |
{\HCode{</mtd>}} |
| 3416 |
\def\:leqalignno:{\Configure{noalign} |
| 3417 |
{\HCode{<mtr><mtd class="noalign" colspan="2">}}% |
| 3418 |
{\HCode{</mtd></mtr>}}} |
| 3419 |
>>> |
| 3420 |
|
| 3421 |
|
| 3422 |
|
| 3423 |
%%%%%%%%%%%%%%%%%% |
| 3424 |
\section{halign} |
| 3425 |
%%%%%%%%%%%%%%%%%% |
| 3426 |
|
| 3427 |
|
| 3428 |
\<configure jsml tex4ht2\><<< |
| 3429 |
\Configure{embedded-halign}{}{} |
| 3430 |
>>> |
| 3431 |
|
| 3432 |
|
| 3433 |
%%%%%%%%%%%%%%%%%% |
| 3434 |
\chapter{To Be Inserted} |
| 3435 |
%%%%%%%%%%%%%%%%%% |
| 3436 |
|
| 3437 |
|
| 3438 |
|
| 3439 |
\<addr for Tag and Ref of Sec\><<< |
| 3440 |
\xdef\:cursec{|<section html addr|>}% |
| 3441 |
>>> |
| 3442 |
|
| 3443 |
%%%%%%%%%%%%%%%%%% |
| 3444 |
\section{HTML Head} |
| 3445 |
%%%%%%%%%%%%%%%%%% |
| 3446 |
|
| 3447 |
\<configure jsml tex4ht\><<< |
| 3448 |
\let\Link\M:Link \let\M:Link\:UnDef |
| 3449 |
\let\EndLink\M:EndLink \let\M:EndLink\:UnDef |
| 3450 |
>>> |
| 3451 |
|
| 3452 |
|
| 3453 |
%%%%%%%%%%%%%%%%%% |
| 3454 |
\section{Bibliography and Equation References} |
| 3455 |
%%%%%%%%%%%%%%%%%% |
| 3456 |
|
| 3457 |
|
| 3458 |
|
| 3459 |
\<configure jsml latex\><<< |
| 3460 |
\def\@cite#1#2{% |
| 3461 |
\HCode{\add:description{added-description}{\a:speak:citation}}% |
| 3462 |
{#1\if@tempswa , #2\fi}} |
| 3463 |
\def\@biblabel#1{% |
| 3464 |
\HCode{<BREAK SIZE="small" />}% |
| 3465 |
\HCode{\add:description{added-description}{\a:speak:bib}}% |
| 3466 |
#1\HCode{<BREAK SIZE="small" />}} |
| 3467 |
>>> |
| 3468 |
|
| 3469 |
\<configure jsml latex\><<< |
| 3470 |
\NewConfigure{speak:citation}{1} |
| 3471 |
\Configure{speak:citation}{citation } |
| 3472 |
\NewConfigure{speak:bib}{1} |
| 3473 |
\Configure{speak:bib}{Bibliography entry}>>> |
| 3474 |
|
| 3475 |
|
| 3476 |
|
| 3477 |
|
| 3478 |
\<configure jsml-math amsmath\><<< |
| 3479 |
\Configure{eqref} |
| 3480 |
{\bgroup\let\tagform@\empty |
| 3481 |
\HCode{<span class="eqref" > |
| 3482 |
\add:description{added-description}{\a:speak:eqref}}} |
| 3483 |
{\HCode{</span>}\egroup} |
| 3484 |
>>> |
| 3485 |
|
| 3486 |
\<configure jsml-math amsmath\><<< |
| 3487 |
\NewConfigure{speak:eqref}{1} |
| 3488 |
\Configure{speak:eqref}{ equation } |
| 3489 |
>>> |
| 3490 |
|
| 3491 |
|
| 3492 |
|
| 3493 |
|
| 3494 |
|
| 3495 |
|
| 3496 |
|
| 3497 |
|
| 3498 |
|
| 3499 |
|
| 3500 |
|
| 3501 |
%%%%%%%%%%%%%%%%%% |
| 3502 |
\section{Cross Links} |
| 3503 |
%%%%%%%%%%%%%%%%%% |
| 3504 |
|
| 3505 |
|
| 3506 |
\<configure jsml tex4ht\><<< |
| 3507 |
\Configure{crosslinks}{ }{ }{next}{previous}{previous-tail}{front}{tail}{up} |
| 3508 |
\Configure{crosslinks+} |
| 3509 |
{\IgnorePar\EndP\HCode{|<show input line no|>% |
| 3510 |
<div class="crosslinks"><p class="noindent"> |
| 3511 |
\add:vdescription{begin-end}{\a:speak:crosslinks}}} |
| 3512 |
{\HCode{\add:vdescription{begin-end}{\b:speak:crosslinks} |
| 3513 |
</p></div>}\par\ShowPar} |
| 3514 |
{\IgnorePar\EndP\HCode{|<show input line no|>% |
| 3515 |
<div class="crosslinks"><p class="noindent"> |
| 3516 |
\add:vdescription{begin-end}{\a:speak:crosslinks}}} |
| 3517 |
{\HCode{\add:vdescription{begin-end}{\b:speak:crosslinks} |
| 3518 |
</p></div>}\par\ShowPar} |
| 3519 |
\:CheckOption{next} \if:Option |
| 3520 |
\Configure{next+} |
| 3521 |
{\ShowPar\par\noindent \HCode{<span class="next"> |
| 3522 |
\add:description{added-description}{\c:speak:crosslinks}}} |
| 3523 |
{\HCode{</span>}} |
| 3524 |
\fi |
| 3525 |
>>> |
| 3526 |
|
| 3527 |
|
| 3528 |
\<configure jsml tex4ht\><<< |
| 3529 |
\NewConfigure{speak:crosslinks}{3} |
| 3530 |
\Configure{speak:crosslinks} |
| 3531 |
{Navigation links} |
| 3532 |
{End navigation links} |
| 3533 |
{Navigation link} |
| 3534 |
>>> |
| 3535 |
|
| 3536 |
|
| 3537 |
|
| 3538 |
|
| 3539 |
|
| 3540 |
%%%%%%%%%%%%%%%%%% |
| 3541 |
\section{Sections} |
| 3542 |
%%%%%%%%%%%%%%%%%% |
| 3543 |
|
| 3544 |
|
| 3545 |
\<latex shared section config\><<< |
| 3546 |
\ConfigureMark{section} |
| 3547 |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble |
| 3548 |
\else |
| 3549 |
\HCode{<span class="titlemark">\add:description{added-description} |
| 3550 |
{\a:speak:section}}\@seccntformat{section}% |
| 3551 |
\HCode{</span>}\fi } |
| 3552 |
\ConfigureMark{subsection} |
| 3553 |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble |
| 3554 |
\else |
| 3555 |
\HCode{<span class="titlemark">\add:description{added-description} |
| 3556 |
{\a:speak:subsection}}\@seccntformat{subsection}% |
| 3557 |
\HCode{</span>}\fi } |
| 3558 |
|<latex speak section|> |
| 3559 |
>>> |
| 3560 |
|
| 3561 |
|
| 3562 |
|
| 3563 |
\<ams art,proc,book div\><<< |
| 3564 |
\ConfigureMark{subsection} |
| 3565 |
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble |
| 3566 |
\else |
| 3567 |
\HCode{<span class="titlemark">% |
| 3568 |
\add:description{added-description} |
| 3569 |
{\a:speak:section}}\@ifundefined{sectionname}{}{% |
| 3570 |
\ignorespaces\sectionname\space}% |
| 3571 |
\@seccntformat{section}% |
| 3572 |
\HCode{</span>}\fi } |
| 3573 |
|<latex speak section|> |
| 3574 |
>>> |
| 3575 |
|
| 3576 |
|
| 3577 |
|
| 3578 |
\<latex speak section\><<< |
| 3579 |
\NewConfigure{speak:section}{1} |
| 3580 |
\Configure{speak:section}{section} |
| 3581 |
\NewConfigure{speak:subsection}{1} |
| 3582 |
\Configure{speak:subsection}{subsection} |
| 3583 |
>>> |
| 3584 |
|
| 3585 |
|
| 3586 |
|
| 3587 |
|
| 3588 |
|
| 3589 |
|
| 3590 |
|
| 3591 |
|
| 3592 |
|
| 3593 |
|
| 3594 |
|
| 3595 |
|
| 3596 |
|
| 3597 |
|
| 3598 |
|
| 3599 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3600 |
\section{The equation Environment} |
| 3601 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3602 |
|
| 3603 |
|
| 3604 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3605 |
\subsection{LaTeX} |
| 3606 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3607 |
|
| 3608 |
\<configure jsml-math latex\><<< |
| 3609 |
\Configure{equation} |
| 3610 |
{\IgnorePar|<inline end-par comment|>\EndP |
| 3611 |
|<advance table number|>% |
| 3612 |
\HCode{<div class="display-math">% |
| 3613 |
\add:description{begin-math}{\a:speak:equation}% |
| 3614 |
<div class="equation">}\IgnorePar |
| 3615 |
|<math display in equation|>} |
| 3616 |
{\ifvmode \IgnorePar\fi\EndP |
| 3617 |
\HCode{</div>}% |
| 3618 |
\let\@eqnnum\empty |
| 3619 |
} |
| 3620 |
{\HCode{% |
| 3621 |
\add:description{end-math}{\b:speak:equation}% |
| 3622 |
</div>}% |
| 3623 |
\Tag{eq-\TableNo-num}{\theequation}% |
| 3624 |
|<try inline par|>} |
| 3625 |
>>> |
| 3626 |
|
| 3627 |
|
| 3628 |
|
| 3629 |
\<configure jsml-math latex\><<< |
| 3630 |
\NewConfigure{speak:equation}{2} |
| 3631 |
\Configure{speak:equation} |
| 3632 |
{<BREAK SIZE="medium"/>begin equation |
| 3633 |
\ifTag{eq-\TableNo-num}{\LikeRef{eq-\TableNo-num}}{}% |
| 3634 |
<BREAK SIZE="small"/> |
| 3635 |
} |
| 3636 |
{<BREAK SIZE="small"/>end equation \theequation |
| 3637 |
<BREAK SIZE="medium"/>} |
| 3638 |
>>> |
| 3639 |
|
| 3640 |
|
| 3641 |
|
| 3642 |
\<inline end-par comment\><<< |
| 3643 |
\ifvmode\else \HCode{<!--tex4ht:inline-->}\fi |
| 3644 |
>>> |
| 3645 |
|
| 3646 |
|
| 3647 |
|
| 3648 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3649 |
\subsection{AmsMath} |
| 3650 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3651 |
|
| 3652 |
|
| 3653 |
|
| 3654 |
|
| 3655 |
|
| 3656 |
|
| 3657 |
\<configure jsml-math amsmath\><<< |
| 3658 |
\ifx \mathdisplay@@pop\:UnDef |
| 3659 |
\ifx \emdf@La\:UnDef |
| 3660 |
|<amsmath html-mml pre 2000|> |
| 3661 |
\else |
| 3662 |
|<amsmath html-mml jan 2000|> |
| 3663 |
\fi |
| 3664 |
\else |
| 3665 |
|<amsmath html-mml july 2000|> |
| 3666 |
\fi |
| 3667 |
>>> |
| 3668 |
|
| 3669 |
|
| 3670 |
\<amsmath html-mml july 2000\><<< |
| 3671 |
\Configure{equation} |
| 3672 |
{\ifvmode \IgnorePar\fi\EndP |
| 3673 |
|<advance table number|>% |
| 3674 |
\HCode{<div class="display-math">% |
| 3675 |
\add:description{begin-math}{\a:speak:equation}% |
| 3676 |
<div class="equation">}% |
| 3677 |
|<amsmath equation july 2000|>% |
| 3678 |
|<math display in equation|>% |
| 3679 |
} |
| 3680 |
{\ifvmode \IgnorePar\fi\EndP |
| 3681 |
\HCode{</div>}% |
| 3682 |
\let\@eqnnum\empty |
| 3683 |
} |
| 3684 |
{\ifvmode \IgnorePar\fi\EndP |
| 3685 |
\HCode{% |
| 3686 |
\add:description{end-math}{\b:speak:equation}% |
| 3687 |
</div>}% |
| 3688 |
\Tag{eq-\TableNo-num}{\theequation}% |
| 3689 |
|<return to prev table number|>% |
| 3690 |
\ShowPar\IgnoreIndent\par} |
| 3691 |
>>> |
| 3692 |
|
| 3693 |
|
| 3694 |
|
| 3695 |
\<amsmath html-mml july 2000\><<< |
| 3696 |
\Configure{equation*} |
| 3697 |
{\ifvmode \IgnorePar\fi\EndP |
| 3698 |
|<advance table number|>% |
| 3699 |
\HCode{<div class="display-math">% |
| 3700 |
\add:description{begin-math}{\csname |
| 3701 |
a:speak:equation*\endcsname}}% |
| 3702 |
|<amsmath equation-star july 2000|>% |
| 3703 |
|<math display in equation|>% |
| 3704 |
} |
| 3705 |
{\ifvmode \IgnorePar\fi\EndP |
| 3706 |
\HCode{\add:description{end-math}{\csname |
| 3707 |
b:speak:equation*\endcsname}</div>}% |
| 3708 |
|<return to prev table number|>% |
| 3709 |
\ShowPar\IgnoreIndent\par} |
| 3710 |
>>> |
| 3711 |
|
| 3712 |
|
| 3713 |
\<amsmath html-mml july 2000\><<< |
| 3714 |
\Configure{speak:equation} |
| 3715 |
{<BREAK SIZE="medium"/>begin equation |
| 3716 |
\ifTag{eq-\TableNo-num}{\LikeRef{eq-\TableNo-num}}{}% |
| 3717 |
<BREAK SIZE="small"/> |
| 3718 |
} |
| 3719 |
{<BREAK SIZE="small"/>end equation |
| 3720 |
\theequation<BREAK SIZE="medium"/>} |
| 3721 |
\NewConfigure{speak:equation*}{2} |
| 3722 |
\Configure{speak:equation*} |
| 3723 |
{<BREAK SIZE="medium"/>begin equation<BREAK SIZE="small"/>} |
| 3724 |
{<BREAK SIZE="small"/>end equation<BREAK SIZE="medium"/>} |
| 3725 |
>>> |
| 3726 |
|
| 3727 |
|
| 3728 |
|
| 3729 |
\<amsmath equation july 2000\><<< |
| 3730 |
\Configure{gather} |
| 3731 |
{\HCode{<div\Hnewline class="equation"><div |
| 3732 |
class="gather">}\IgnorePar |
| 3733 |
|<math display in equation|>} |
| 3734 |
{\HCode{</div></div>}} |
| 3735 |
{} |
| 3736 |
{} |
| 3737 |
{\ifnum\HCol=2 \IgnorePar |
| 3738 |
\HCode{</div><div>}\fi } |
| 3739 |
{} |
| 3740 |
>>> |
| 3741 |
|
| 3742 |
|
| 3743 |
\<amsmath equation-star july 2000\><<< |
| 3744 |
\Configure{gather*} |
| 3745 |
{\HCode{<div\Hnewline class="equation-star"><div |
| 3746 |
class="gather-star">}\IgnorePar |
| 3747 |
|<math display in equation|>} |
| 3748 |
{\HCode{</div></div>}} |
| 3749 |
{} |
| 3750 |
{} |
| 3751 |
{\ifnum\HCol=2 \IgnorePar |
| 3752 |
\HCode{</div><div>}\fi } |
| 3753 |
{} |
| 3754 |
>>> |
| 3755 |
|
| 3756 |
|
| 3757 |
\<math display in equation\><<< |
| 3758 |
\Configure{$$} |
| 3759 |
{\Configure{@math}{|<block display|>% |
| 3760 |
class="equation"}\IgnorePar\EndP\DviMath} |
| 3761 |
{\EndDviMath\EndP} |
| 3762 |
{\DisplayMathtrue}% |
| 3763 |
>>> |
| 3764 |
|
| 3765 |
|
| 3766 |
|
| 3767 |
|
| 3768 |
|
| 3769 |
|
| 3770 |
|
| 3771 |
|
| 3772 |
|
| 3773 |
|
| 3774 |
|
| 3775 |
\<configure html-mml amsmath\><<< |
| 3776 |
\Configure{@begin} |
| 3777 |
{split} |
| 3778 |
{\let\tagform@=\:gobble } |
| 3779 |
>>> |
| 3780 |
|
| 3781 |
|
| 3782 |
|
| 3783 |
|
| 3784 |
|
| 3785 |
\<configure jsml-math amsmath\><<< |
| 3786 |
\Configure{split} |
| 3787 |
{|<advance table number|>% |
| 3788 |
\HCode{<mtable class="split">|<start split note|>}} |
| 3789 |
{\ifvmode\IgnorePar\fi |
| 3790 |
\Tag{split-\TableNo}{\HRow:s}% |
| 3791 |
\HCode{|<end split note|></mtable>}% |
| 3792 |
|<return to prev table number|>} |
| 3793 |
{\HCode{<mtr\Hnewline>}% |
| 3794 |
\xdef\HRow:s{\HRow}% |
| 3795 |
} |
| 3796 |
{\HCode{</mtr>}} |
| 3797 |
{\HCode{<mtd\Hnewline class="split-side" |
| 3798 |
title="implicit-baseline" >% |
| 3799 |
|<split note sub eq note|>}% |
| 3800 |
} |
| 3801 |
{\HCode{</mtd>}} |
| 3802 |
>>> |
| 3803 |
|
| 3804 |
|
| 3805 |
\<start split note\><<< |
| 3806 |
\add:vdescription{begin-array}{<BREAK SIZE="medium"/>begin |
| 3807 |
\ifTag{split-\TableNo}{\LikeRef{split-\TableNo}}{} |
| 3808 |
sub equations<BREAK SIZE="small"/>}% |
| 3809 |
>>> |
| 3810 |
|
| 3811 |
|
| 3812 |
\<end split note\><<< |
| 3813 |
\add:vdescription{end-array}{<BREAK SIZE="small"/>end sub equations<BREAK SIZE="medium"/>}% |
| 3814 |
>>> |
| 3815 |
|
| 3816 |
\<split note sub eq note\><<< |
| 3817 |
\add:vdescription{begin-end}{<BREAK SIZE="small"/>% |
| 3818 |
\ifnum \HCol=1 left \else right \fi |
| 3819 |
|<ord row|> sub equation<BREAK SIZE="small"/>}% |
| 3820 |
>>> |
| 3821 |
|
| 3822 |
\<configure jsml-math amsmath\><<< |
| 3823 |
\ConfigureEnv{multline} |
| 3824 |
{\bgroup |<math display in equation|>} |
| 3825 |
{\egroup} |
| 3826 |
{}{} |
| 3827 |
\ConfigureEnv{multline*} |
| 3828 |
{\bgroup |<math display in equation|>} |
| 3829 |
{\egroup} |
| 3830 |
{}{} |
| 3831 |
>>> |
| 3832 |
|
| 3833 |
\<configure jsml-math amsmath\><<< |
| 3834 |
\Configure{multline} |
| 3835 |
{|<advance table number|>% |
| 3836 |
|<new row counter|>% |
| 3837 |
\HCode{<div\Hnewline class="display-math">% |
| 3838 |
|<multline begin note|>% |
| 3839 |
<mtable>}} |
| 3840 |
{\Tag{multline-\TableNo}{\hrow:s}% |
| 3841 |
\HCode{</mtable>|<multline end note|></div>}% |
| 3842 |
|<return to prev row counter|>% |
| 3843 |
|<return to prev table number|>} |
| 3844 |
{\HCode{<mtr><mtd\Hnewline class="multline-1">% |
| 3845 |
|<multline row note|>}} |
| 3846 |
{\xdef\hrow:s{\HRow}\HCode{</mtd></mtr>}} |
| 3847 |
{\HCode{</mtd><mtd class="multline-2">}} |
| 3848 |
{} |
| 3849 |
\Configure{multline-num} |
| 3850 |
{\Tag{multline-\TableNo-num}{\theequation}\let\tagform@\:gobble} |
| 3851 |
{} |
| 3852 |
>>> |
| 3853 |
|
| 3854 |
|
| 3855 |
\<configure jsml-math amsmath\><<< |
| 3856 |
\Configure{multline*} |
| 3857 |
{|<advance table number|>% |
| 3858 |
|<new row counter|>% |
| 3859 |
\HCode{<div\Hnewline class="display-math">% |
| 3860 |
<mtable class="multline-star">% |
| 3861 |
|<multline-star begin note|>}} |
| 3862 |
{\Tag{multline-\TableNo}{\hrow:s}% |
| 3863 |
\HCode{|<multline-star end note|></mtable></div>}% |
| 3864 |
|<return to prev row counter|>% |
| 3865 |
|<return to prev table number|>} |
| 3866 |
{\HCode{<mtr\Hnewline><mtd>% |
| 3867 |
|<multline row note|>}} |
| 3868 |
{\xdef\hrow:s{\HRow}\HCode{</mtd></mtr>}} |
| 3869 |
>>> |
| 3870 |
|
| 3871 |
|
| 3872 |
|
| 3873 |
|
| 3874 |
|
| 3875 |
\<multline begin note\><<< |
| 3876 |
\add:vdescription{begin-math}{% |
| 3877 |
<BREAK SIZE="medium"/>% |
| 3878 |
begin equation |
| 3879 |
\ifTag{multline-\TableNo-num}{\LikeRef{multline-\TableNo-num}}{} |
| 3880 |
with |
| 3881 |
\ifTag{multline-\TableNo}{\LikeRef{multline-\TableNo}}{} |
| 3882 |
lines<BREAK SIZE="small"/>}% |
| 3883 |
<div class="multline">% |
| 3884 |
>>> |
| 3885 |
|
| 3886 |
\<multline-star begin note\><<< |
| 3887 |
\add:vdescription{begin-math}{% |
| 3888 |
<BREAK SIZE="medium"/>% |
| 3889 |
begin equation with |
| 3890 |
\ifTag{multline-\TableNo}{\LikeRef{multline-\TableNo}}{} |
| 3891 |
lines<BREAK SIZE="small"/>}% |
| 3892 |
<div class="multline-star">% |
| 3893 |
>>> |
| 3894 |
|
| 3895 |
|
| 3896 |
\<multline end note\><<< |
| 3897 |
</div>% |
| 3898 |
\add:vdescription{end-math}{end equation |
| 3899 |
<BREAK SIZE="small"/>% |
| 3900 |
\ifTag{multline-\TableNo-num}{\LikeRef |
| 3901 |
{multline-\TableNo-num}}{}% |
| 3902 |
<BREAK SIZE="medium"/>% |
| 3903 |
}% |
| 3904 |
>>> |
| 3905 |
|
| 3906 |
\<multline-star end note\><<< |
| 3907 |
</div>% |
| 3908 |
\add:vdescription{end-math}{% |
| 3909 |
<BREAK SIZE="small"/>end equation<BREAK SIZE="medium"/>}% |
| 3910 |
>>> |
| 3911 |
|
| 3912 |
|
| 3913 |
\<multline row note\><<< |
| 3914 |
\add:vdescription{begin-end}{% |
| 3915 |
<BREAK SIZE="small"/>|<ord row|> line<BREAK SIZE="small"/>}% |
| 3916 |
>>> |
| 3917 |
|
| 3918 |
\<advance multline count\><<< |
| 3919 |
\HAdvance\HRow by 1 |
| 3920 |
>>> |
| 3921 |
|
| 3922 |
|
| 3923 |
|
| 3924 |
|
| 3925 |
\<configure jsml-math amsmath\><<< |
| 3926 |
\ConfigureEnv{gather} |
| 3927 |
{\bgroup |<math display in equation|>} |
| 3928 |
{\egroup} |
| 3929 |
{}{} |
| 3930 |
\ConfigureEnv{gather*} |
| 3931 |
{\bgroup |<math display in equation|>} |
| 3932 |
{\egroup} |
| 3933 |
{}{} |
| 3934 |
>>> |
| 3935 |
|
| 3936 |
|
| 3937 |
|
| 3938 |
\<configure jsml-math amsmath\><<< |
| 3939 |
\Configure{gather} |
| 3940 |
{|<advance table number|>% |
| 3941 |
|<new row counter|>% |
| 3942 |
\HCode{<div\Hnewline class="display-math">% |
| 3943 |
|<begin gather note|>% |
| 3944 |
<mtable class="gather">% |
| 3945 |
}} |
| 3946 |
{\HCode{</mtable>|<end gather note|>% |
| 3947 |
</div>}% |
| 3948 |
\Tag{gather-\TableNo}{\hrow:s}% |
| 3949 |
|<return to prev row counter|>% |
| 3950 |
|<return to prev table number|>} |
| 3951 |
{\HCode{<mtr>% |
| 3952 |
|<row gather note|>% |
| 3953 |
}} |
| 3954 |
{\xdef\hrow:s{\HRow}\HCode{</mtr>}} |
| 3955 |
{\HCode{\Hnewline<mtd |<gather td class|> >}% |
| 3956 |
\ifnum \HCol>1 \let\tagform@\:gobble \fi |
| 3957 |
} |
| 3958 |
{\HCode{</mtd>}} |
| 3959 |
>>> |
| 3960 |
|
| 3961 |
\<begin gather note\><<< |
| 3962 |
\add:vdescription{begin-math}{<BREAK SIZE="small"/>begin group of |
| 3963 |
\ifTag{gather-\TableNo}{\LikeRef{gather-\TableNo}}{} |
| 3964 |
equations<BREAK SIZE="small"/>}% |
| 3965 |
>>> |
| 3966 |
|
| 3967 |
\<end gather note\><<< |
| 3968 |
\add:vdescription{end-math}{<BREAK SIZE="small"/>end equations<BREAK SIZE="small"/>}% |
| 3969 |
>>> |
| 3970 |
|
| 3971 |
\<row gather note\><<< |
| 3972 |
\add:vdescription{begin-end}{<BREAK SIZE="small"/>|<ord row|> equation<BREAK SIZE="small"/>}% |
| 3973 |
>>> |
| 3974 |
|
| 3975 |
|
| 3976 |
\<configure jsml-math amsmath\><<< |
| 3977 |
\Configure{gather*} |
| 3978 |
{|<advance table number|>% |
| 3979 |
|<new row counter|>% |
| 3980 |
\HCode{<div\Hnewline class="display-math">% |
| 3981 |
|<start gather star note|>% |
| 3982 |
<mtable class="gather-star">% |
| 3983 |
}} |
| 3984 |
{\HCode{</mtable>|<end gather star note|>% |
| 3985 |
</div>}% |
| 3986 |
\Tag{gather-\TableNo}{\hrow:s}% |
| 3987 |
|<return to prev row counter|>% |
| 3988 |
|<return to prev table number|>} |
| 3989 |
{\HCode{<mtr>% |
| 3990 |
|<line gather star note|>% |
| 3991 |
}} |
| 3992 |
{\xdef\hrow:s{\HRow}\HCode{</mtr>}} |
| 3993 |
{\HCode{\Hnewline<mtd |<gather td class|> >}} |
| 3994 |
{\HCode{</mtd>}} |
| 3995 |
>>> |
| 3996 |
|
| 3997 |
\<start gather star note\><<< |
| 3998 |
\add:vdescription{begin-math}{<BREAK SIZE="small"/>begin group of |
| 3999 |
\ifTag{gather-\TableNo}{\LikeRef{gather-\TableNo}}{} |
| 4000 |
equations<BREAK SIZE="small"/>}% |
| 4001 |
>>> |
| 4002 |
|
| 4003 |
|
| 4004 |
\<line gather star note\><<< |
| 4005 |
\add:vdescription{begin-math}{% |
| 4006 |
<BREAK SIZE="small"/>|<ord row|> equation<BREAK SIZE="small"/>}% |
| 4007 |
>>> |
| 4008 |
|
| 4009 |
|
| 4010 |
|
| 4011 |
|
| 4012 |
|
| 4013 |
\<end gather star note\><<< |
| 4014 |
\add:vdescription{end-math}{% |
| 4015 |
<BREAK SIZE="small"/>end equations<BREAK SIZE="small"/>}% |
| 4016 |
>>> |
| 4017 |
|
| 4018 |
<BREAK SIZE="small"/> |
| 4019 |
|
| 4020 |
\<configure jsml-math amsmath\><<< |
| 4021 |
\Configure{gathered} |
| 4022 |
{|<advance table number|>% |
| 4023 |
|<new row counter|>% |
| 4024 |
\HCode{<div\Hnewline class="display-math">% |
| 4025 |
|<start gathered note|>% |
| 4026 |
<mtable class="gather">% |
| 4027 |
}} |
| 4028 |
{\HCode{</mtable>|<end gathered note|>% |
| 4029 |
</div>}% |
| 4030 |
\Tag{gather-\TableNo}{\hrow:s}% |
| 4031 |
|<return to prev row counter|>% |
| 4032 |
|<return to prev table number|>} |
| 4033 |
{\HCode{<mtr>% |
| 4034 |
|<start gathered row|>% |
| 4035 |
}} |
| 4036 |
{\xdef\hrow:s{\HRow}\HCode{</mtr>}} |
| 4037 |
{\HCode{\Hnewline<mtd |<gather td class|> >}% |
| 4038 |
\ifnum \HCol>1 \let\tagform@\:gobble \fi |
| 4039 |
} |
| 4040 |
{\HCode{</mtd>}} |
| 4041 |
>>> |
| 4042 |
|
| 4043 |
|
| 4044 |
\<start gathered note\><<< |
| 4045 |
\add:vdescription{begin-math}{<BREAK SIZE="small"/>begin group of |
| 4046 |
\ifTag{gather-\TableNo}{\LikeRef{gather-\TableNo}}{} |
| 4047 |
equations<BREAK SIZE="small"/>} |
| 4048 |
>>> |
| 4049 |
|
| 4050 |
|
| 4051 |
|
| 4052 |
\<end gathered note\><<< |
| 4053 |
\add:vdescription{end-math}{% |
| 4054 |
<BREAK SIZE="small"/>end equations<BREAK SIZE="small"/>}% |
| 4055 |
>>> |
| 4056 |
|
| 4057 |
|
| 4058 |
\<start gathered row\><<< |
| 4059 |
\add:vdescription{begin-end}{% |
| 4060 |
<BREAK SIZE="small"/>|<ord row|> equation<BREAK SIZE="small"/>}% |
| 4061 |
>>> |
| 4062 |
|
| 4063 |
|
| 4064 |
\<gather td class\><<< |
| 4065 |
\ifnum \HCol=1 class="col-\HCol" |
| 4066 |
\else class="content-less" title="col-\HCol" |
| 4067 |
\fi |
| 4068 |
>>> |
| 4069 |
|
| 4070 |
|
| 4071 |
\<configure jsml-math amsmath\><<< |
| 4072 |
\Configure{subarray} |
| 4073 |
{|<advance table number|>% |
| 4074 |
|<new row counter|>% |
| 4075 |
\HCode{<mtable class="subarray\if c\Hlcr-c\fi">% |
| 4076 |
\add:vdescription{begin-array}{\a:speak:subarray}% |
| 4077 |
}} |
| 4078 |
{\HCode{\add:vdescription{end-array}{\b:speak:subarray}% |
| 4079 |
</mtable>}% |
| 4080 |
\Tag{subarray-\TableNo}{\hrow:s}% |
| 4081 |
|<return to prev row counter|>% |
| 4082 |
|<return to prev table number|>} |
| 4083 |
{\HCode{<mtr><mtd>% |
| 4084 |
\add:vdescription{begin-end}{\c:speak:subarray}% |
| 4085 |
}} |
| 4086 |
{\xdef\hrow:s{\HRow}\HCode{</mtd></mtr>}} |
| 4087 |
>>> |
| 4088 |
|
| 4089 |
\<configure jsml-math amsmath\><<< |
| 4090 |
\NewConfigure{speak:subarray}{3} |
| 4091 |
|<config speak:subarray|> |
| 4092 |
>>> |
| 4093 |
|
| 4094 |
\<config speak:subarray\><<< |
| 4095 |
\Configure{speak:subarray} |
| 4096 |
{<BREAK SIZE="small"/>begin sub array with |
| 4097 |
\ifTag{subarray-\TableNo}{\LikeRef{subarray-\TableNo}}{} |
| 4098 |
rows<BREAK SIZE="small"/>} |
| 4099 |
{<BREAK SIZE="small"/>end sub array<BREAK SIZE="small"/>} |
| 4100 |
{<BREAK SIZE="small"/>|<ord row|> row<BREAK SIZE="small"/>} |
| 4101 |
>>> |
| 4102 |
|
| 4103 |
|
| 4104 |
|
| 4105 |
|
| 4106 |
|
| 4107 |
|
| 4108 |
|
| 4109 |
|
| 4110 |
|
| 4111 |
|
| 4112 |
|
| 4113 |
|
| 4114 |
\<configure jsml-math amsmath\><<< |
| 4115 |
\Configure{substack} |
| 4116 |
{\bgroup |
| 4117 |
\Configure{speak:subarray} |
| 4118 |
{<BREAK SIZE="small"/>begin sub stack with |
| 4119 |
\ifTag{subarray-\TableNo}{\LikeRef{subarray-\TableNo}}{} |
| 4120 |
entries<BREAK SIZE="small"/>} |
| 4121 |
{<BREAK SIZE="small"/>end sub stack<BREAK SIZE="small"/>} |
| 4122 |
{<BREAK SIZE="small"/>|<ord row|> |
| 4123 |
entry<BREAK SIZE="small"/>} |
| 4124 |
} |
| 4125 |
{\egroup} |
| 4126 |
>>> |
| 4127 |
|
| 4128 |
|
| 4129 |
|
| 4130 |
|
| 4131 |
|
| 4132 |
|
| 4133 |
|
| 4134 |
|
| 4135 |
|
| 4136 |
|
| 4137 |
|
| 4138 |
|
| 4139 |
|
| 4140 |
|
| 4141 |
|
| 4142 |
\<configure jsml-math amsmath\><<< |
| 4143 |
\Configure{smallmatrix} |
| 4144 |
{|<advance table number|>% |
| 4145 |
|<new row counter|>% |
| 4146 |
\HCode{<PARA><mtable class="smallmatrix">}% |
| 4147 |
\HCode{\add:vdescription{begin-array}{\a:speak:smallmatrix}}} |
| 4148 |
{\Tag{smallmatrix-\TableNo}{\hrow:s}% |
| 4149 |
\HCode{|<show input line no|>% |
| 4150 |
\add:vdescription{end-array}{\b:speak:smallmatrix}}% |
| 4151 |
\ifvmode \IgnorePar\fi |
| 4152 |
\HCode{</mtable></PARA>}% |
| 4153 |
|<return to prev row counter|>% |
| 4154 |
|<return to prev table number|>} |
| 4155 |
{\HCode{<mtr>}\c:speak:smallmatrix}% |
| 4156 |
{\xdef\hrow:s{\HRow}\HCode{</mtr>}}% |
| 4157 |
{\HCode{<mtd>}% |
| 4158 |
\e:speak:smallmatrix \HCode{<div>}} |
| 4159 |
{\HCode{</div>}\f:speak:smallmatrix |
| 4160 |
\HCode{</mtd>\Hnewline}} |
| 4161 |
>>> |
| 4162 |
|
| 4163 |
|
| 4164 |
|
| 4165 |
|
| 4166 |
|
| 4167 |
|
| 4168 |
|
| 4169 |
|
| 4170 |
|
| 4171 |
\<plain,latex mathml\><<< |
| 4172 |
\NewConfigure{speak:smallmatrix}{6} |
| 4173 |
\Configure{speak:smallmatrix} |
| 4174 |
{begin matrix with |
| 4175 |
\ifTag{smallmatrix-\TableNo}{\LikeRef{smallmatrix-\TableNo}}{} |
| 4176 |
rows} |
| 4177 |
{end matrix} |
| 4178 |
{|<begin table row note|>} |
| 4179 |
{|<end table row note|>} |
| 4180 |
{|<begin table cell note|>} |
| 4181 |
{|<end table cell note|>} |
| 4182 |
>>> |
| 4183 |
|
| 4184 |
\<configure jsml-math amsmath\><<< |
| 4185 |
\def\:tempc#1#2{% |
| 4186 |
\ConfigureEnv{#1} |
| 4187 |
{\def\end:al:env{}\ifmmode\else |
| 4188 |
\ifvmode\else \def\end:al:env{\par\ShowPar\IgnoreIndent}\fi\fi} |
| 4189 |
{\end:al:env } |
| 4190 |
{}{}% |
| 4191 |
\Configure{#1} |
| 4192 |
{\IgnorePar |
| 4193 |
\ifvmode \EndP \else \EndP \HCode{<!--tex4ht:inline-->}\fi |
| 4194 |
\ifmathml |
| 4195 |
\Tg<span class="mrow">\def\end:mathalign{\Tg</span>}% |
| 4196 |
\else |
| 4197 |
\DviMath |
| 4198 |
\def\end:mathalign{\EndDviMath \DisplayMathfalse}% |
| 4199 |
\DisplayMathtrue |
| 4200 |
\fi |
| 4201 |
|<advance table number|>% |
| 4202 |
|<new row counter|>% |
| 4203 |
\HCode{<div\Hnewline class="display-math"><mtable>% |
| 4204 |
\add:description{begin-array}{\a:speak:align}% |
| 4205 |
}} |
| 4206 |
{\HCode{% |
| 4207 |
\add:description{end-array}{\b:speak:align}% |
| 4208 |
</mtable></div>}% |
| 4209 |
\Tag{align-\TableNo}{\hrow:s}% |
| 4210 |
|<return to prev row counter|>% |
| 4211 |
|<return to prev table number|>\end:mathalign } |
| 4212 |
{\HCode{<mtr>|<align eq note|>}} |
| 4213 |
{\HCode{</mtr>}\ifst@rred\else |
| 4214 |
\Tag{align-\TableNo-\HRow}{\theequation}% |
| 4215 |
\fi \xdef\hrow:s{\HRow}} |
| 4216 |
{\HCode{<mtd\Hnewline |
| 4217 |
class="align-\ifnum \HCol>\maxfields@ label\else |
| 4218 |
\ifodd\HCol\space odd\else even\fi |
| 4219 |
\fi">}% |
| 4220 |
\ifnum \HCol>\maxfields@ \let\tagform@\:gobble \fi |
| 4221 |
} |
| 4222 |
{\HCode{</mtd>}} |
| 4223 |
} |
| 4224 |
\:tempc{align}{align} |
| 4225 |
\:tempc{alignat}{alignat} |
| 4226 |
\:tempc{xalignat}{xalignat} |
| 4227 |
\:tempc{xxalignat}{xxalignat} |
| 4228 |
\:tempc{flalign}{flalign} |
| 4229 |
\:tempc{align*}{align-star} |
| 4230 |
\:tempc{alignat*}{alignat-star} |
| 4231 |
\:tempc{xalignat*}{xalignat-star} |
| 4232 |
\:tempc{flalign*}{flalign-star} |
| 4233 |
>>> |
| 4234 |
|
| 4235 |
|
| 4236 |
\<align eq note\><<< |
| 4237 |
\add:description{begin-end}{\c:speak:align}% |
| 4238 |
>>> |
| 4239 |
|
| 4240 |
|
| 4241 |
\<configure jsml-math amsmath\><<< |
| 4242 |
\NewConfigure{speak:align}{3} |
| 4243 |
\Configure{speak:align} |
| 4244 |
{<BREAK SIZE="small"/>begin |
| 4245 |
\ifTag{align-\TableNo}{\LikeRef{align-\TableNo}}{} |
| 4246 |
aligned equations<BREAK SIZE="small"/>} |
| 4247 |
{<BREAK SIZE="small"/>end aligned equations<BREAK SIZE="small"/>} |
| 4248 |
{<BREAK SIZE="small"/>\ifst@rred |<ord row|> equation |
| 4249 |
\else |
| 4250 |
equation number \ifst@rred\else |
| 4251 |
\ifTag{align-\TableNo-\HRow}% |
| 4252 |
{\LikeRef{align-\TableNo-\HRow}}{} |
| 4253 |
\fi |
| 4254 |
\fi <BREAK SIZE="small"/>% |
| 4255 |
} |
| 4256 |
>>> |
| 4257 |
|
| 4258 |
|
| 4259 |
%%%%%%%%%%%%% |
| 4260 |
\subsection{Embedded Text} |
| 4261 |
%%%%%%%%%%%%% |
| 4262 |
|
| 4263 |
|
| 4264 |
|
| 4265 |
\<configure jsml-math latex\><<< |
| 4266 |
\def\AA:text#1{|<config start mtext|>} |
| 4267 |
\def\BB:text{|<config end mtext|>} |
| 4268 |
>>> |
| 4269 |
|
| 4270 |
|
| 4271 |
\<config start mtext\><<< |
| 4272 |
\mtexttrue |
| 4273 |
\HCode{ <span\Hnewline class="mstyle-#1">}% |
| 4274 |
|<start mtext space|>\PauseMathClass |
| 4275 |
|<config math within mtext|>% |
| 4276 |
>>> |
| 4277 |
|
| 4278 |
|
| 4279 |
\<config end mtext\><<< |
| 4280 |
\mtextfalse\EndPauseMathClass|<end mtext space|>\HCode |
| 4281 |
{</span>}% |
| 4282 |
>>> |
| 4283 |
|
| 4284 |
\<config math within mtext\><<< |
| 4285 |
\Configure{$}% |
| 4286 |
{\EndPauseMathClass \HCode{<span \Hnewline |
| 4287 |
class="text-math">}\mtextfalse |
| 4288 |
|<end mtext space|>}% |
| 4289 |
{\HCode{</span>}|<start mtext space|>\PauseMathClass \mtexttrue}% |
| 4290 |
{}% |
| 4291 |
>>> |
| 4292 |
|
| 4293 |
|
| 4294 |
|
| 4295 |
\<start mtext space\><<< |
| 4296 |
\ht:special{t4ht@,&\#x00A0;}% |
| 4297 |
>>> |
| 4298 |
\<end mtext space\><<< |
| 4299 |
\ht:special{t4ht@,}% |
| 4300 |
>>> |
| 4301 |
|
| 4302 |
|
| 4303 |
%%%%%%%%%%%%%%%%%% |
| 4304 |
\section{Fonts} |
| 4305 |
%%%%%%%%%%%%%%%%%% |
| 4306 |
|
| 4307 |
|
| 4308 |
|
| 4309 |
\<configure jsml-math fontmath\><<< |
| 4310 |
\def\bold:version{bold} |
| 4311 |
\Configure{mathbf}% |
| 4312 |
{\bgroup \HCode{<span class="mathvariant-bold">% |
| 4313 |
<BREAK SIZE="small"/>% |
| 4314 |
\add:vdescription{font}{bold}<PROS PITCH="-10" >}}% |
| 4315 |
{\HCode{</PROS><BREAK SIZE="small"/></span>}\egroup }% |
| 4316 |
\Configure{mathit}% |
| 4317 |
{\bgroup \HCode{<span |
| 4318 |
class="mathvariant-\ifx |
| 4319 |
\bold:version\math@version bold-\fi italic">}}% |
| 4320 |
{\HCode{</span>}\egroup }% |
| 4321 |
\Configure{mathrm}% |
| 4322 |
{\bgroup \HCode{<span class="mathvariant-normal">}}% |
| 4323 |
{\HCode{</span>}\egroup }% |
| 4324 |
\Configure{mathsf}% |
| 4325 |
{\bgroup \HCode{<span |
| 4326 |
class="mathvariant-\ifx |
| 4327 |
\bold:version\math@version bold-\fi sans-serif">}}% |
| 4328 |
{\HCode{</span>}\egroup }% |
| 4329 |
\Configure{mathtt}% |
| 4330 |
{\bgroup \HCode{<span class="mathvariant-monospace">}}% |
| 4331 |
{\HCode{</span>}\egroup }% |
| 4332 |
>>> |
| 4333 |
|
| 4334 |
%%%%%%%%%%%%%%%%%% |
| 4335 |
\section{Theorems} |
| 4336 |
%%%%%%%%%%%%%%%%%% |
| 4337 |
|
| 4338 |
|
| 4339 |
\<configure jsml latex\><<< |
| 4340 |
\Configure{newtheorem} |
| 4341 |
{\ifvmode\IgnorePar\fi\EndP |
| 4342 |
\HCode{<BREAK SIZE="medium"/>% |
| 4343 |
<PARA><div class="newtheorem">}\par\noindent |
| 4344 |
\HCode{<SENT><PROS PITCH="-10" ><span class="theorem-head">}} |
| 4345 |
{\HCode{</span></PROS></SENT><BREAK SIZE="small"/>}} |
| 4346 |
{\EndP\IgnorePar\HCode{</div></PARA><BREAK SIZE="medium"/>}\ShowPar\par} |
| 4347 |
>>> |
| 4348 |
|
| 4349 |
\<configure jsml acm-proc-article-sp\><<< |
| 4350 |
\Configure{proof} |
| 4351 |
{\ifvmode\IgnorePar\fi\EndP |
| 4352 |
\HCode{<BREAK SIZE="medium"/>% |
| 4353 |
<PARA><div class="newtheorem" title="proof">}\par\noindent |
| 4354 |
\HCode{<SENT><PROS PITCH="-10" ><span class="theorem-head">}} |
| 4355 |
{\HCode{</span></PROS></SENT><BREAK SIZE="small"/>}} |
| 4356 |
{\EndP\IgnorePar\HCode{</div></div></PARA><BREAK SIZE="medium"/>}\ShowPar\par} |
| 4357 |
>>> |
| 4358 |
|
| 4359 |
|
| 4360 |
\<configure jsml amsthm\><<< |
| 4361 |
|<shared ams thm/cls|> |
| 4362 |
>>> |
| 4363 |
|
| 4364 |
\<ams art,proc,book\><<< |
| 4365 |
\ifx \deferred@thm@head\:UnDef\else |
| 4366 |
|<shared ams thm/cls|> |
| 4367 |
\fi |
| 4368 |
>>> |
| 4369 |
|
| 4370 |
|
| 4371 |
\<shared ams thm/cls\><<< |
| 4372 |
\Configure{proof} |
| 4373 |
{\ifvmode \IgnorePar \fi \EndP |
| 4374 |
\HCode{<div class="newtheorem" title="proof">}\par\ShowPar |
| 4375 |
\HCode{<span class="theorem-head">}\IgnorePar} |
| 4376 |
{\HCode{</span>}\ShowPar} |
| 4377 |
{\ifvmode \IgnorePar \fi \EndP \HCode{</div>}\par} |
| 4378 |
>>> |
| 4379 |
|
| 4380 |
|
| 4381 |
%%%%%%%%%%%%%%%%%% |
| 4382 |
\section{Others} |
| 4383 |
%%%%%%%%%%%%%%%%%% |
| 4384 |
|
| 4385 |
|
| 4386 |
|
| 4387 |
%%%%%%%%%%%%%%%%%% |
| 4388 |
\section{Boxed} |
| 4389 |
%%%%%%%%%%%%%%%%%% |
| 4390 |
|
| 4391 |
\<configure jsml-math amsmath\><<< |
| 4392 |
\Configure{boxed} |
| 4393 |
{\HCode{<span class="boxed">% |
| 4394 |
\add:description{begin-end}{\a:speak:boxed}}} |
| 4395 |
{\HCode{\add:description{begin-end}{\b:speak:boxed}</span>}} |
| 4396 |
>>> |
| 4397 |
|
| 4398 |
|
| 4399 |
\<configure jsml-math amsmath\><<< |
| 4400 |
\NewConfigure{speak:boxed}{2} |
| 4401 |
\Configure{speak:boxed} |
| 4402 |
{<BREAK SIZE="small"/>begin boxed<BREAK SIZE="small"/>} |
| 4403 |
{<BREAK SIZE="small"/>end boxed<BREAK SIZE="small"/>} |
| 4404 |
>>> |
| 4405 |
|
| 4406 |
|
| 4407 |
|
| 4408 |
%%%%%%%%%%%%% |
| 4409 |
\subsection{To Do} |
| 4410 |
%%%%%%%%%%%%% |
| 4411 |
|
| 4412 |
\begin{itemize} |
| 4413 |
\item |
| 4414 |
How do we deal with accents (e.g., \verb+ M\"obius+) |
| 4415 |
\end{itemize} |
| 4416 |
|
| 4417 |
|
| 4418 |
|
| 4419 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 4420 |
\endinput |
| 4421 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 4422 |
|
| 4423 |
|
| 4424 |
|
| 4425 |
\<plain,fontmath math\><<< |
| 4426 |
\Configure{MathClass}{0}{*}{<span class="mi"\Hnewline>}% |
| 4427 |
{</span>}{} |
| 4428 |
\Configure{MathClass}{1}{*}{<span class="before-mo-op" |
| 4429 |
title="speech-extra"> |
| 4430 |
</span><mo class="mo-op"\Hnewline |
| 4431 |
>}{</mo><span class="after-mo-op" |
| 4432 |
title="speech-extra"> </span>}{} |
| 4433 |
\Configure{MathClass}{2}{*}{<mo class="mo-bin">}{</mo>}{} |
| 4434 |
\Configure{MathClass}{3}{*}{<mo class="mo-rel">}{</mo>}{} |
| 4435 |
\:CheckOption{mathml-} \if:Option |
| 4436 |
\Configure{MathClass}{4}{*}{<mo class="mo-open">} |
| 4437 |
{</mo>}{} |
| 4438 |
\Configure{MathClass}{5}{*}{<mo class="mo-close">} |
| 4439 |
{</mo>}{} |
| 4440 |
\else |
| 4441 |
\Log:Note{for sources failing to produce |
| 4442 |
clean mathml code, try the command line option `mathml-'}% |
| 4443 |
\Configure{MathClass}{4}{*}{<span class="mrow"><mo class="mo-open">} |
| 4444 |
{</mo><span class="mrow">}{} |
| 4445 |
\Configure{MathClass}{5}{*}{</span><mo class="mo-close">} |
| 4446 |
{</mo></span>}{} |
| 4447 |
\fi |
| 4448 |
\Configure{MathClass}{6}{*}{<mo class="mo-punc">}{</mo>}{} |
| 4449 |
\Configure{MathClass}{7}{*}{<span class="mn">}{</span>} |
| 4450 |
{0123456789} |
| 4451 |
\Configure{FormulaClass}{0}{}{}{} |
| 4452 |
\Configure{FormulaClass}{1}{}{}{} |
| 4453 |
\Configure{FormulaClass}{2}{}{}{} |
| 4454 |
\Configure{FormulaClass}{3}{}{}{} |
| 4455 |
\Configure{FormulaClass}{4}{}{}{} |
| 4456 |
\Configure{FormulaClass}{5}{}{}{} |
| 4457 |
\Configure{FormulaClass}{6}{}{}{} |
| 4458 |
>>> |
| 4459 |
|
| 4460 |
|
| 4461 |
|
| 4462 |
|
| 4463 |
|
| 4464 |
\<configure jsml-math fontmath\><<< |
| 4465 |
\def\:tempd#1#2{% |
| 4466 |
\expandafter\def\csname #1\endcsname{\mathchar"13#2\relax}% |
| 4467 |
\MathSymbol\mathop{#1}% |
| 4468 |
\expandafter\def\csname #1:limits\endcsname{\expandafter |
| 4469 |
\:same \math:sym\mathop{#1}\limits}% |
| 4470 |
\expandafter\def\csname #1:nolimits\endcsname{\expandafter |
| 4471 |
\:same \math:sym\mathop{#1}\nolimits}% |
| 4472 |
\expandafter\edef\csname n:#1:\endcsname{\noexpand\ifDisplayMath |
| 4473 |
\noexpand\expandafter \expandafter\noexpand \csname #1:limits\endcsname |
| 4474 |
\noexpand\else \noexpand\expandafter |
| 4475 |
\expandafter\noexpand |
| 4476 |
\csname #1:nolimits\endcsname\noexpand\fi}% |
| 4477 |
\expandafter\pend:def\csname n:#1:\endcsname{\ifDisplayMath |
| 4478 |
\mathop:prefix{mathsize-big}\fi}% |
| 4479 |
} |
| 4480 |
\:tempd{bigcap}{54} |
| 4481 |
\:tempd{bigcup}{53} |
| 4482 |
\:tempd{bigodot}{4A} |
| 4483 |
\:tempd{bigoplus}{4C} |
| 4484 |
\:tempd{bigotimes}{4E} |
| 4485 |
\:tempd{bigsqcup}{46} |
| 4486 |
\:tempd{biguplus}{55} |
| 4487 |
\:tempd{bigvee}{57} |
| 4488 |
\:tempd{bigwedge}{56} |
| 4489 |
\:tempd{coprod}{60} |
| 4490 |
\:tempd{intop}{52} |
| 4491 |
\:tempd{ointop}{48} |
| 4492 |
\:tempd{prod}{51} |
| 4493 |
\:tempd{sum}{50} |
| 4494 |
>>> |
| 4495 |
|
| 4496 |
%%%%%%%%%%%%% |
| 4497 |
\subsection{amsopname} |
| 4498 |
%%%%%%%%%%%%% |
| 4499 |
|
| 4500 |
|
| 4501 |
|
| 4502 |
|
| 4503 |
\<configure jsml-math amsopn\><<< |
| 4504 |
\Configure{qopname} |
| 4505 |
{\Configure{mathop}{*} |
| 4506 |
{<mo class="mo-qopname"> <span>} |
| 4507 |
{</span> </mo>} |
| 4508 |
{}} |
| 4509 |
>>> |