Debian Codegraph @

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

raw
1 % jsml.4ht (2016-07-04-10:35), generated from tex4ht-jsml.tex
2 % Copyright 2009-2016 TeX Users Group
3 % Copyright 2006-2009 Eitan M. Gurari
4 %
5 % This work may be distributed and/or modified under the
6 % conditions of the LaTeX Project Public License, either
7 % version 1.3c of this license or (at your option) any
8 % later version. The latest version of this license is in
9 % http://www.latex-project.org/lppl.txt
10 % and version 1.3c or later is part of all distributions
11 % of LaTeX version 2005/12/01 or later.
12 %
13 % This work has the LPPL maintenance status "maintained".
14 %
15 % The Current Maintainer of this work
16 % is the TeX4ht Project <http://tug.org/tex4ht>.
17 %
18 % If you modify this program, changing the
19 % version identification would be appreciated.
20 \immediate\write-1{version 2016-07-04-10:35}
21
22 \exit:ifnot{JHEP,%
23 Preamble,%
24 aa,%
25 acm-proc-article-sp,%
26 amsart,%
27 amsbook,%
28 amsproc,%
29 amsthm,%
30 array,%
31 article,%
32 book,%
33 frenchb,%
34 latex,%
35 letter,%
36 plain,%
37 report,%
38 scrbook,%
39 scrreprt,%
40 slides,%
41 tex4ht,%
42 tex4ht2}
43
44 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
45 \ConfigureHinput{Preamble}
46 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
47
48 \Configure{ext}{jsml}
49 \Configure{PROLOG}{JSML,VERSION,DOCTYPE,*XML-STYLESHEET}
50 \Configure{JSML}
51 {\HCode{<jsml>\Hnewline}}
52 \def\add:description#1#2{<span class="#1"
53 title="speech-extra" >\Hnewline #2\Hnewline</span>}
54 \def\add:vdescription#1#2{<div class="#1"
55 title="speech-extra" >\Hnewline #2\Hnewline</div>}
56
57 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
58
59 \endinput\empty\empty\empty\empty\empty\empty
60 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
61
62 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
63 \ConfigureHinput{tex4ht}
64 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
65 \Configure{HTML}
66 {\IgnorePar\HCode{<html \a:@HTML
67 xmlns="http://www.w3.org/1999/xhtml"
68 \Hnewline>\Hnewline}}
69 {\ifvmode\IgnorePar\fi\HCode{</html>\Hnewline
70 </jsml>\Hnewline}}
71 \Configure{VERSION}
72 {\HCode{\Hnewline<!--?xml version="1.0" encoding="\expandafter\ifx \csname a:charset\endcsname\relax
73 \expandafter\:encoding\A:charset
74 \else \expandafter\:encoding\a:charset\fi"
75 ?-->\Hnewline
76 <?xtpipes file="jsml.4xt" ?>\Hnewline}}
77 \Configure{DOCTYPE}
78 {\HCode{% <!DOCTYPE html \xhtml:DOCTYPE> \Hnewline
79 <!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->
80 \Hnewline}}
81 \def\xhtml:DOCTYPE{PUBLIC
82 "-//W3C//DTD XHTML 1.0 Transitional//"\Hnewline
83 \space\space "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"}
84 \Configure{htf}{0}{+}{}{}{}{}{}{}{}
85 \def\ord:pos#1{%
86 \ifcase #1
87 \or first
88 \or second
89 \or third
90 \or fourth
91 \or fifth
92 \or sixth
93 \or seventh
94 \or eighth
95 \or nineth
96 \else #1th
97 \fi
98 }
99 \HAssign\HRow=0
100 \let\Link\M:Link \let\M:Link\:UnDef
101 \let\EndLink\M:EndLink \let\M:EndLink\:UnDef
102 \Configure{crosslinks}{ }{ }{next}{previous}{previous-tail}{front}{tail}{up}
103 \Configure{crosslinks+}
104 {\IgnorePar\EndP\HCode{<!--l. \the\inputlineno-->%
105 %
106 <div class="crosslinks"><p class="noindent">
107 \add:vdescription{begin-end}{\a:speak:crosslinks}}}
108 {\HCode{\add:vdescription{begin-end}{\b:speak:crosslinks}
109 </p></div>}\par\ShowPar}
110 {\IgnorePar\EndP\HCode{<!--l. \the\inputlineno-->%
111 %
112 <div class="crosslinks"><p class="noindent">
113 \add:vdescription{begin-end}{\a:speak:crosslinks}}}
114 {\HCode{\add:vdescription{begin-end}{\b:speak:crosslinks}
115 </p></div>}\par\ShowPar}
116 \:CheckOption{next} \if:Option
117 \Configure{next+}
118 {\ShowPar\par\noindent \HCode{<span class="next">
119 \add:description{added-description}{\c:speak:crosslinks}}}
120 {\HCode{</span>}}
121 \fi
122 \NewConfigure{speak:crosslinks}{3}
123 \Configure{speak:crosslinks}
124 {Navigation links}
125 {End navigation links}
126 {Navigation link}
127
128 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
129
130 \endinput\empty\empty\empty\empty\empty\empty
131 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
132
133 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
134 \ConfigureHinput{tex4ht2}
135 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
136 \Configure{embedded-halign}{}{}
137
138 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
139
140 \endinput\empty\empty\empty\empty\empty\empty
141 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
142
143
144
145
146 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
147 \ConfigureHinput{latex}
148 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
149 \Configure{marginpar}
150 {\ifvmode
151 \IgnorePar\EndP\HCode{<p class="marginpar"><PROS
152 PITCH="+30" >}%
153 \HCode{<div>
154 \add:description{begin-end}{<PROS PITCH="-15">\a:speak:marginpar
155 </PROS>}</div><div>}%
156 %
157 \def\end:margp{\ifvmode \IgnorePar\fi \EndP
158 \HCode{</div><div>
159 \add:description{begin-end}{\b:speak:marginpar}</div>}%
160 \HCode{</PROS></p><BREAK SIZE="small"/>}}%
161 \par
162 \else
163 \SaveEndP
164 \HCode{<SENT><span class="marginpar"><PROS
165 PITCH="+30" >}\HCode{\add:description{begin-end}{<PROS pitch="-15">\a:speak:marginpar
166 </PROS>}}%
167 %
168 \bgroup
169 \Configure{HtmlPar}
170 {<BREAK SIZE="small" />}
171 {\HCode{<BREAK SIZE="small" />}}
172 {}{}%
173 \def\end:margp{\egroup
174 \HCode{\add:description{begin-end}{\b:speak:marginpar}}%
175 \HCode{</PROS><BREAK SIZE="small"/></span></SENT>}\RecallEndP}%
176 \fi
177 }
178 {\end:margp}
179 \NewConfigure{speak:marginpar}{2}
180 \Configure{speak:marginpar}
181 {<BREAK SIZE="small"/>margin note<BREAK SIZE="small"/>}
182 {}
183 \Configure{footnote-mark}
184 {\HCode{<SENT><span class="footnote-mark"><PROS
185 PITCH="+30" >}\HCode{\add:description{added-description}{<PROS
186 pitch="-15">\a:speak:footnote</PROS>}}%
187 }
188 {\HCode{}%
189 \HCode{</PROS><BREAK SIZE="small"/></span></SENT>}}
190 \NewConfigure{speak:footnote}{1}
191 \Configure{speak:footnote}
192 { <BREAK SIZE="small"/>footnote<BREAK SIZE="small"/>}
193
194 \ConfigureList{trivlist}%
195 {\EndP\HCode{<dl \a:LRdir class="trivlist">}%
196 \PushMacro\end:itm
197 \global\let\end:itm=\empty}
198 {\PopMacro\end:itm \global\let\end:itm \end:itm
199 \EndP\HCode{</dd></dl>}\ShowPar}
200 {\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
201 class="trivlist">}\bgroup \bf}
202 {\egroup\HCode{</dt><dd\Hnewline class="trivlist">}}
203 \ConfigureList{list}%
204 {\EndP\HCode{<dl \a:LRdir class="list\expandafter\the
205 \csname @listdepth\endcsname">}%
206 \PushMacro\end:itm
207 \global\let\end:itm=\empty}
208 {\PopMacro\end:itm \global\let\end:itm \end:itm
209 \EndP\HCode{</dd></dl>}\ShowPar}
210 {\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
211 class="list">}\bgroup \bf}
212 {\egroup\HCode{</dt><dd\Hnewline class="list">}}
213 \ConfigureList{itemize}%
214 {\EndP\HCode{<ul
215 \a:LRdir class="ul-itemize\expandafter\the
216 \csname @itemdepth\endcsname"><PROS PITCH="+15">}%
217 \HCode{<div class="itemize">%
218 <div class="added-list-description">%
219 \add:description{added-description}{\a:speak:itemize}</div>}%
220 %
221 \PushMacro\end:itm
222 \global\let\end:itm=\empty}
223 {\PopMacro\end:itm \global\let\end:itm \end:itm
224 \ifvmode \IgnorePar\fi
225 \EndP \HCode{</li>}\HCode{<div class="added-list-description">%
226 \add:description{added-description}{\b:speak:itemize}</div></div>}%
227 %
228 \HCode{</PROS></ul>}\ShowPar}
229 {\end:itm \global\def\end:itm{\EndP\HCode{</li>}}%
230 \HCode{<li class="li-itemize">}\HCode{<span class="added-list-description">%
231 \add:description{added-description}{\c:speak:itemize}</span>}%
232 \DeleteMark
233 }
234 {\HCode{}}
235 \NewConfigure{speak:itemize}{3}
236 \Configure{speak:itemize}
237 {<BREAK SIZE="small"/>begin \ifcase\csname @listdepth\endcsname
238 \or \or sub \or sub sub \or sub sub sub \else\fi
239 list}
240 {<BREAK SIZE="small"/>end \ifcase\csname @listdepth\endcsname
241 \or sub \or sub sub \or sub sub sub \else\fi
242 list<BREAK SIZE="small"/>}
243 {<BREAK SIZE="medium"/><PROS PITCH="-5">
244 item</PROS><BREAK SIZE="small"/>}
245 \ConfigureList{enumerate}%
246 {\EndP \HCode{<ol \a:enumerate:\space
247 class="ol-enumerate\expandafter\the\csname @enumdepth\endcsname"
248 \a:LRdir
249 ><PROS PITCH="+15">}%
250 \HCode{<div class="enumerate">%
251 <div class="added-list-description">%
252 \add:description{added-description}{\a:speak:enumerate}</div>}%
253 %
254 \PushMacro\end:itm
255 \global\let\end:itm=\empty
256 }
257 {\PopMacro\end:itm \global\let\end:itm \end:itm
258 %
259 \EndP \HCode{</li>}%
260 \HCode{<div class="added-list-description">%
261 \add:description{added-description}{\b:speak:enumerate}</div></div>}%
262 %
263 \HCode{</PROS></ol>}\ShowPar
264 }
265 {\end:itm \gdef\end:itm{\EndP\HCode{</li>}}%
266 \HCode{<li class="li-enumerate" \Hnewline><SENT><span
267 class="ol-mark"><BREAK
268 SIZE="medium"/><PROS PITCH="-5" >}\HCode{<span class="added-list-description">%
269 \add:description{added-description}{\c:speak:enumerate}</span>}%
270 %\DeleteMark
271 }
272 {\HCode{</PROS><BREAK SIZE="small"/></span></SENT>}%\AnchorLabel
273 }
274 \NewConfigure{speak:enumerate}{3}
275 \Configure{speak:enumerate}
276 {<BREAK SIZE="small"/>begin \ifcase\csname @listdepth\endcsname
277 \or \or sub \or sub sub \or sub sub sub \else\fi
278 list}
279 {<BREAK SIZE="small"/>end \ifcase\csname @listdepth\endcsname
280 \or sub \or sub sub \or sub sub sub \else\fi
281 list<BREAK SIZE="small"/>}
282 {
283 item <BREAK SIZE="small"/>}
284
285 \Configure{verbatim}
286 {\HAdvance\Verb:N by 1 \ifnum \Verb:N>1
287 \:nbsp \HCode{<br />}\fi}
288 {\a:sp}
289 \def\env:verb#1{\ifinner\else \vfill\break\fi
290 \IgnorePar\EndP \HAssign\Verb:N=0
291 \HCode{<PARA><div class="#1"\a:LRdir>%
292 \add:description{added-description}{begin verbatim}%
293 <PROS \a:verbatim::style >}\EndNoFonts}
294 \def\endenv:verb{\NoFonts
295 \EndP \ht:special{t4ht=</PROS>%
296 \add:description{added-description}{end verbatim}%
297 </div></PARA>}\ShowPar \par{\HCondtrue\noindent}%
298 }
299 \NewConfigure{verbatim::style}{1}
300 \Configure{verbatim::style}{RATE="150" PITCH="-10" RANGE="0"}
301 \Configure{verb}
302 {\HCode{<SENT><span class="verb"\a:LRdir><PROS \a:verbatim::style >}}
303 {\HCode{</PROS></span></SENT>}}
304 \ConfigureEnv{figure}
305 {\IgnorePar\EndP
306 \HCode{<PARA><div class="figure"\Hnewline><div>\add:description{begin-end}{\a:speak:figure}</div>%
307 }%
308 \bgroup \Configure{float}{\ShowPar}{}{}%
309 }
310 {\egroup
311 \IgnorePar\EndP\HCode{<div>\add:description{begin-end}{\b:speak:figure}</div>%
312 </div></PARA>}%
313 \ShowPar
314 \par}
315 {}{}
316 \NewConfigure{speak:caption}{3}
317 \Configure{speak:caption}
318 {}
319 {}
320 {caption of}
321 \NewConfigure{speak:figure}{2}
322 \Configure{speak:figure}
323 {<BREAK
324 SIZE="small"/><PROS PITCH="-15" >begin figure</PROS>}
325 {<BREAK
326 SIZE="small"/><PROS PITCH="-15" >end figure</PROS>}
327 \Configure{texttt}
328 {\Protect\HCode{<SENT><span class="texttt"><PROS
329 \a:verbatim::style}}
330 {\Protect\HCode{</PROS></span></SENT>}}
331 \Configure{emph}
332 {\Protect\HCode{<SENT><span class="emph"><EMP
333 LEVEL="moderate">}}
334 {\Protect\HCode{</EMP></span></SENT>}}
335 \Configure{textbf}
336 {\Protect\HCode{<span class="textbf"><EMP
337 LEVEL="strong">}}
338 {\Protect\HCode{</EMP></span>}}
339 \HAssign\TableNo=0
340 \Configure{tabular}
341 {\ifvmode \IgnorePar\fi \EndP
342 \HCode{<PARA><table class="tabular" >}%
343 \HCode{%
344 <BREAK SIZE="small"/><PROS PITCH="-5" >%
345 \add:vdescription{begin-end}{begin table with
346 \ifTag{tabular-\TableNo}{\LikeRef{tabular-\TableNo}}{}
347 rows and \ar:cnt columns}%
348 </PROS>
349 }%
350 }
351 {\Tag{tabular-\TableNo}{\hrow:s}%
352 \HCode{<!--l. \the\inputlineno-->%
353 %
354 <BREAK SIZE="small"/>%
355 <PROS PITCH="-5" >%
356 \add:vdescription{begin-end}{end table}%
357 </PROS><BREAK SIZE="small"/>%
358 }%
359 \HCode{</table></PARA>}}
360 {\HCode{<tr><!--row \HRow-->}%
361 \HCode{%
362 <BREAK SIZE="medium"/><PROS PITCH="-5" >%
363 \add:vdescription{begin-end}{<span class="ord-row">\ord:pos{\HRow}</span>%
364 row}%
365 </PROS><BREAK SIZE="medium"/>%
366 }%
367 }
368 {\xdef\hrow:s{\HRow}\HCode{</tr>}}
369 {\HCode{<td><!--entry \HRow-\HCol\ifnum
370 \HMultispan>1 \, span \HMultispan\fi-->}%
371 \HCode{%
372 <BREAK SIZE="medium"/>%
373 \ifnum \HMultispan>1
374 <PROS PITCH="-5" >%
375 \add:vdescription{added-description}{\ord:pos{\HCol}%
376 cell
377 spans \HMultispan \space columns}%
378 </PROS><BREAK SIZE="medium"/>%
379 \else
380 \ifnum \HCol>1
381 <PROS PITCH="-5" >%
382 \add:vdescription{added-description}{\ord:pos{\HCol}%
383 cell}%
384 </PROS><BREAK SIZE="medium"/>%
385 \fi
386 \fi
387 }%
388 \HCode{<div>}\SaveEndP
389 \PushStack\Table:Stck\TableNo
390 \par \ShowPar}
391 {\PopStack\Table:Stck\TableNo
392 \IgnorePar \EndP \ifvmode \IgnorePar \fi \EndP
393 \HCode{</div>}%
394 \HCode{</td>\Hnewline}\RecallEndP }
395
396 \def\@cite#1#2{%
397 \HCode{\add:description{added-description}{\a:speak:citation}}%
398 {#1\if@tempswa , #2\fi}}
399 \def\@biblabel#1{%
400 \HCode{<BREAK SIZE="small" />}%
401 \HCode{\add:description{added-description}{\a:speak:bib}}%
402 #1\HCode{<BREAK SIZE="small" />}}
403 \NewConfigure{speak:citation}{1}
404 \Configure{speak:citation}{citation }
405 \NewConfigure{speak:bib}{1}
406 \Configure{speak:bib}{Bibliography entry}\Configure{newtheorem}
407 {\ifvmode\IgnorePar\fi\EndP
408 \HCode{<BREAK SIZE="medium"/>%
409 <PARA><div class="newtheorem">}\par\noindent
410 \HCode{<SENT><PROS PITCH="-10" ><span class="theorem-head">}}
411 {\HCode{</span></PROS></SENT><BREAK SIZE="small"/>}}
412 {\EndP\IgnorePar\HCode{</div></PARA><BREAK SIZE="medium"/>}\ShowPar\par}
413
414 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
415
416 \endinput\empty\empty\empty\empty\empty\empty
417 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
418
419
420 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
421 \ConfigureHinput{book}
422 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
423 \Configure{maketitle}
424 {\ifvmode \IgnorePar\fi \EndP %
425 \HCode{<PARA><div class="maketitle">}}
426 {\ifvmode \IgnorePar\fi \EndP \HCode{<BREAK SIZE="medium" /></div></PARA>}}
427 {\NoFonts\IgnorePar\HCode{<h2
428 class="titleHead"\a:LRdir><EMP
429 LEVEL="moderate">}\IgnorePar}
430 {\HCode{</EMP></h2>}\IgnoreIndent\EndNoFonts}
431 \Configure{thanks author date and}
432 {\ifvmode \IgnorePar\fi\EndP
433 \HCode{<SENT><span class="thanks"><BREAK SIZE="small" />}}
434 {\ifvmode \IgnorePar\fi\EndP \HCode{</span></SENT>}}
435 {\ifvmode \IgnorePar\fi\EndP
436 \HCode{<SENT><span class="author" ><BREAK SIZE="small" />}}
437 {\ifvmode \IgnorePar\fi\EndP \HCode{</span></SENT>}}
438 {\ifvmode \IgnorePar\fi\EndP
439 \HCode{<BREAK SIZE="small" /><SAYS CLASS="date" >}}
440 {\ifvmode \IgnorePar\fi\EndP \HCode{</SAYS><BREAK SIZE="small" />}}
441 {\HCode{<br />}}
442 {\HCode{<br />}}
443
444 \ConfigureMark{section}
445 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
446 \else
447 \HCode{<span class="titlemark">\add:description{added-description}
448 {\a:speak:section}}\@seccntformat{section}%
449 \HCode{</span><BREAK SIZE="small" />}\fi }
450 \ConfigureMark{subsection}
451 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
452 \else
453 \HCode{<span class="titlemark">\add:description{added-description}
454 {\a:speak:subsection}}\@seccntformat{subsection}%
455 \HCode{</span><BREAK SIZE="small" />}\fi }
456 \NewConfigure{speak:section}{1}
457 \Configure{speak:section}{section}
458 \NewConfigure{speak:subsection}{1}
459 \Configure{speak:subsection}{subsection}
460 \NewConfigure{speak:section}{1}
461 \Configure{speak:section}{section}
462 \NewConfigure{speak:subsection}{1}
463 \Configure{speak:subsection}{subsection}
464
465 \Configure{section}{}{}
466 {\ifvmode \IgnorePar\fi \EndP\IgnorePar
467 \HCode{<h3 class="sectionHead"\a:LRdir><EMP
468 LEVEL="moderate">}\TitleMark\space\HtmlParOff}
469 {\HCode{</EMP></h3>}\HtmlParOn\ShowPar \IgnoreIndent \par}
470 \Configure{likesection}{}{}
471 {\ifvmode \IgnorePar\fi
472 \EndP\IgnorePar\HCode{<h3
473 class="likesectionHead"\a:LRdir><EMP
474 LEVEL="moderate">}\HtmlParOff}
475 {\HCode{</EMP></h3>}\HtmlParOn \IgnoreIndent \par}
476 \Configure{subsection}{}{}
477 {\ifvmode \IgnorePar\fi
478 \EndP\bgroup \IgnorePar\HCode{<h4
479 class="subsectionHead"\a:LRdir><EMP
480 LEVEL="moderate">}%
481 \TitleMark\space \HtmlParOff}
482 {\HCode{</EMP></h4>}\HtmlParOn
483 \IgnoreIndent\egroup\par\ShowPar}
484 \Configure{likesubsection}{}{}{\EndP\bgroup
485 \ifvmode \IgnorePar\fi
486 \HCode{<h4 class="likesubsectionHead"\a:LRdir><EMP
487 LEVEL="moderate">}\HtmlParOff }
488 {\HCode{</EMP></h4>}\HtmlParOn
489 \IgnoreIndent\egroup\par\ShowPar}
490 \ConfigureMark{section}
491 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
492 \else
493 \HCode{<span class="titlemark">\add:description{added-description}
494 {\a:speak:section}}\@seccntformat{section}%
495 \HCode{</span>}\fi }
496 \ConfigureMark{subsection}
497 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
498 \else
499 \HCode{<span class="titlemark">\add:description{added-description}
500 {\a:speak:subsection}}\@seccntformat{subsection}%
501 \HCode{</span>}\fi }
502 \NewConfigure{speak:section}{1}
503 \Configure{speak:section}{section}
504 \NewConfigure{speak:subsection}{1}
505 \Configure{speak:subsection}{subsection}
506 \NewConfigure{speak:section}{1}
507 \Configure{speak:section}{section}
508 \NewConfigure{speak:subsection}{1}
509 \Configure{speak:subsection}{subsection}
510
511
512
513
514
515 \Configure{caption}
516 {\IgnorePar\EndP
517 \HCode{<PARA><div class="caption"><SENT><span class="mark">%
518 <BREAK SIZE="small"/><EMP
519 LEVEL="medium">}\HCode{\add:description{added-description}{\c:speak:caption}}%
520 }
521 {: \HCode{</EMP><BREAK SIZE="small"/>}}
522 {\HCode{</span></SENT>%
523 <SENT><span \Hnewline class="content">%
524 \add:description{added-description}{\a:speak:caption}}}
525 {\HCode{\add:description{added-description}{\b:speak:caption}%
526 </span></SENT></div></PARA>}}
527
528 \ConfigureList{description}%
529 {\EndP
530 \HCode{<dl \a:LRdir class="dl-description"><PROS PITCH="+15">}%
531 \HCode{<div class="description">%
532 <div class="added-list-description">%
533 \add:description{added-description}{\a:speak:description}</div>}%
534 %
535 \PushMacro\end:itm
536 \global\let\end:itm=\empty}
537 {\PopMacro\end:itm \global\let\end:itm \end:itm
538 \EndP\HCode{</dd>}%
539 \HCode{<div class="added-list-description">%
540 \add:description{added-description}{\b:speak:description}</div></div>}%
541 %
542 \HCode{</PROS></dl>}%
543 \ShowPar}
544 {\end:itm \global\def\end:itm{\EndP\HCode{</dd>}}\HCode{<SENT><span><dt
545 class="dt-description"><EMP
546 LEVEL="moderate">}\HCode{<span class="added-list-description">%
547 \add:description{added-description}{\c:speak:description}%
548 </span>}%
549 \bgroup \bf}
550 {\egroup\EndP\HCode{</EMP><BREAK
551 SIZE="small"/></dt></span></SENT><dd\Hnewline class="dd-description">}}
552
553 \ConfigureEnv{quote}
554 {}{}
555 {\IgnorePar\EndP
556 \HCode{<PARA><div class="quote"><PROS
557 PITCH="-10" >}}
558 {\IgnorePar\EndP
559 \HCode{</PROS></div></PARA>}\ShowPar\ShowIndent}
560
561 \Configure{enumiii}
562 {\HCode{<span class="roman-numeral">}%
563 Roman numeral \HCode{}\the\c@enumiii
564 \HCode{}\:gobbleII}
565 {\HCode{</span>}}
566 \long\def\:tempc{(\theenumii)}
567 \ifx \labelenumii\:tempc
568 \def\:tempc{(\HCode{}\theenumii\HCode{})}
569 \HLet\labelenumii\:tempc
570 \fi
571
572 \Configure{caption}
573 {\IgnorePar\EndP
574 \HCode{<PARA><div class="caption"><SENT><span class="mark">%
575 <BREAK SIZE="small"/><EMP
576 LEVEL="medium">}\HCode{\add:description{added-description}{\c:speak:caption}}%
577 }
578 {: \HCode{</EMP><BREAK SIZE="small"/>}}
579 {\HCode{</span></SENT>%
580 <SENT><span \Hnewline class="content">%
581 \add:description{added-description}{\a:speak:caption}}}
582 {\HCode{\add:description{added-description}{\b:speak:caption}%
583 </span></SENT></div></PARA>}}
584
585 \ConfigureEnv{quote}
586 {}{}
587 {\IgnorePar\EndP
588 \HCode{<PARA><div class="quote"><PROS
589 PITCH="-10" >}}
590 {\IgnorePar\EndP
591 \HCode{</PROS></div></PARA>}\ShowPar\ShowIndent}
592
593
594
595 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
596
597 \endinput\empty\empty\empty\empty\empty\empty
598 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
599
600 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
601 \ConfigureHinput{report}
602 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
603 \Configure{maketitle}
604 {\ifvmode \IgnorePar\fi \EndP %
605 \HCode{<PARA><div class="maketitle">}}
606 {\ifvmode \IgnorePar\fi \EndP \HCode{<BREAK SIZE="medium" /></div></PARA>}}
607 {\NoFonts\IgnorePar\HCode{<h2
608 class="titleHead"\a:LRdir><EMP
609 LEVEL="moderate">}\IgnorePar}
610 {\HCode{</EMP></h2>}\IgnoreIndent\EndNoFonts}
611 \Configure{thanks author date and}
612 {\ifvmode \IgnorePar\fi\EndP
613 \HCode{<SENT><span class="thanks"><BREAK SIZE="small" />}}
614 {\ifvmode \IgnorePar\fi\EndP \HCode{</span></SENT>}}
615 {\ifvmode \IgnorePar\fi\EndP
616 \HCode{<SENT><span class="author" ><BREAK SIZE="small" />}}
617 {\ifvmode \IgnorePar\fi\EndP \HCode{</span></SENT>}}
618 {\ifvmode \IgnorePar\fi\EndP
619 \HCode{<BREAK SIZE="small" /><SAYS CLASS="date" >}}
620 {\ifvmode \IgnorePar\fi\EndP \HCode{</SAYS><BREAK SIZE="small" />}}
621 {\HCode{<br />}}
622 {\HCode{<br />}}
623
624 \ConfigureMark{section}
625 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
626 \else
627 \HCode{<span class="titlemark">\add:description{added-description}
628 {\a:speak:section}}\@seccntformat{section}%
629 \HCode{</span><BREAK SIZE="small" />}\fi }
630 \ConfigureMark{subsection}
631 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
632 \else
633 \HCode{<span class="titlemark">\add:description{added-description}
634 {\a:speak:subsection}}\@seccntformat{subsection}%
635 \HCode{</span><BREAK SIZE="small" />}\fi }
636 \NewConfigure{speak:section}{1}
637 \Configure{speak:section}{section}
638 \NewConfigure{speak:subsection}{1}
639 \Configure{speak:subsection}{subsection}
640 \NewConfigure{speak:section}{1}
641 \Configure{speak:section}{section}
642 \NewConfigure{speak:subsection}{1}
643 \Configure{speak:subsection}{subsection}
644
645 \Configure{section}{}{}
646 {\ifvmode \IgnorePar\fi \EndP\IgnorePar
647 \HCode{<h3 class="sectionHead"\a:LRdir><EMP
648 LEVEL="moderate">}\TitleMark\space\HtmlParOff}
649 {\HCode{</EMP></h3>}\HtmlParOn\ShowPar \IgnoreIndent \par}
650 \Configure{likesection}{}{}
651 {\ifvmode \IgnorePar\fi
652 \EndP\IgnorePar\HCode{<h3
653 class="likesectionHead"\a:LRdir><EMP
654 LEVEL="moderate">}\HtmlParOff}
655 {\HCode{</EMP></h3>}\HtmlParOn \IgnoreIndent \par}
656 \Configure{subsection}{}{}
657 {\ifvmode \IgnorePar\fi
658 \EndP\bgroup \IgnorePar\HCode{<h4
659 class="subsectionHead"\a:LRdir><EMP
660 LEVEL="moderate">}%
661 \TitleMark\space \HtmlParOff}
662 {\HCode{</EMP></h4>}\HtmlParOn
663 \IgnoreIndent\egroup\par\ShowPar}
664 \Configure{likesubsection}{}{}{\EndP\bgroup
665 \ifvmode \IgnorePar\fi
666 \HCode{<h4 class="likesubsectionHead"\a:LRdir><EMP
667 LEVEL="moderate">}\HtmlParOff }
668 {\HCode{</EMP></h4>}\HtmlParOn
669 \IgnoreIndent\egroup\par\ShowPar}
670 \ConfigureMark{section}
671 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
672 \else
673 \HCode{<span class="titlemark">\add:description{added-description}
674 {\a:speak:section}}\@seccntformat{section}%
675 \HCode{</span>}\fi }
676 \ConfigureMark{subsection}
677 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
678 \else
679 \HCode{<span class="titlemark">\add:description{added-description}
680 {\a:speak:subsection}}\@seccntformat{subsection}%
681 \HCode{</span>}\fi }
682 \NewConfigure{speak:section}{1}
683 \Configure{speak:section}{section}
684 \NewConfigure{speak:subsection}{1}
685 \Configure{speak:subsection}{subsection}
686 \NewConfigure{speak:section}{1}
687 \Configure{speak:section}{section}
688 \NewConfigure{speak:subsection}{1}
689 \Configure{speak:subsection}{subsection}
690
691
692
693
694
695 \Configure{caption}
696 {\IgnorePar\EndP
697 \HCode{<PARA><div class="caption"><SENT><span class="mark">%
698 <BREAK SIZE="small"/><EMP
699 LEVEL="medium">}\HCode{\add:description{added-description}{\c:speak:caption}}%
700 }
701 {: \HCode{</EMP><BREAK SIZE="small"/>}}
702 {\HCode{</span></SENT>%
703 <SENT><span \Hnewline class="content">%
704 \add:description{added-description}{\a:speak:caption}}}
705 {\HCode{\add:description{added-description}{\b:speak:caption}%
706 </span></SENT></div></PARA>}}
707
708 \ConfigureList{description}%
709 {\EndP
710 \HCode{<dl \a:LRdir class="dl-description"><PROS PITCH="+15">}%
711 \HCode{<div class="description">%
712 <div class="added-list-description">%
713 \add:description{added-description}{\a:speak:description}</div>}%
714 %
715 \PushMacro\end:itm
716 \global\let\end:itm=\empty}
717 {\PopMacro\end:itm \global\let\end:itm \end:itm
718 \EndP\HCode{</dd>}%
719 \HCode{<div class="added-list-description">%
720 \add:description{added-description}{\b:speak:description}</div></div>}%
721 %
722 \HCode{</PROS></dl>}%
723 \ShowPar}
724 {\end:itm \global\def\end:itm{\EndP\HCode{</dd>}}\HCode{<SENT><span><dt
725 class="dt-description"><EMP
726 LEVEL="moderate">}\HCode{<span class="added-list-description">%
727 \add:description{added-description}{\c:speak:description}%
728 </span>}%
729 \bgroup \bf}
730 {\egroup\EndP\HCode{</EMP><BREAK
731 SIZE="small"/></dt></span></SENT><dd\Hnewline class="dd-description">}}
732
733 \ConfigureEnv{quote}
734 {}{}
735 {\IgnorePar\EndP
736 \HCode{<PARA><div class="quote"><PROS
737 PITCH="-10" >}}
738 {\IgnorePar\EndP
739 \HCode{</PROS></div></PARA>}\ShowPar\ShowIndent}
740
741 \Configure{enumiii}
742 {\HCode{<span class="roman-numeral">}%
743 Roman numeral \HCode{}\the\c@enumiii
744 \HCode{}\:gobbleII}
745 {\HCode{</span>}}
746 \long\def\:tempc{(\theenumii)}
747 \ifx \labelenumii\:tempc
748 \def\:tempc{(\HCode{}\theenumii\HCode{})}
749 \HLet\labelenumii\:tempc
750 \fi
751
752 \Configure{caption}
753 {\IgnorePar\EndP
754 \HCode{<PARA><div class="caption"><SENT><span class="mark">%
755 <BREAK SIZE="small"/><EMP
756 LEVEL="medium">}\HCode{\add:description{added-description}{\c:speak:caption}}%
757 }
758 {: \HCode{</EMP><BREAK SIZE="small"/>}}
759 {\HCode{</span></SENT>%
760 <SENT><span \Hnewline class="content">%
761 \add:description{added-description}{\a:speak:caption}}}
762 {\HCode{\add:description{added-description}{\b:speak:caption}%
763 </span></SENT></div></PARA>}}
764
765 \ConfigureEnv{quote}
766 {}{}
767 {\IgnorePar\EndP
768 \HCode{<PARA><div class="quote"><PROS
769 PITCH="-10" >}}
770 {\IgnorePar\EndP
771 \HCode{</PROS></div></PARA>}\ShowPar\ShowIndent}
772
773
774 \ConfigureEnv{abstract}
775 {\IgnorePar\EndP
776 \HCode{<div clas="abstract"\Hnewline>}\par\ShowPar
777 \bgroup
778 \pend:def\abstractname{\HCode{<BREAK SIZE="small"/><EMP
779 LEVEL="moderate" class="abstractname">}}
780 \append:def\abstractname{\HCode{</EMP><BREAK SIZE="small"/>}}
781 }
782 {\egroup \ifvmode \IgnorePar\fi
783 \EndP\HCode{<BREAK SIZE="small" /></div>}}
784 {} {}
785
786
787 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
788
789 \endinput\empty\empty\empty\empty\empty\empty
790 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
791
792 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
793 \ConfigureHinput{article}
794 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
795 \Configure{maketitle}
796 {\ifvmode \IgnorePar\fi \EndP %
797 \HCode{<PARA><div class="maketitle">}}
798 {\ifvmode \IgnorePar\fi \EndP \HCode{<BREAK SIZE="medium" /></div></PARA>}}
799 {\NoFonts\IgnorePar\HCode{<h2
800 class="titleHead"\a:LRdir><EMP
801 LEVEL="moderate">}\IgnorePar}
802 {\HCode{</EMP></h2>}\IgnoreIndent\EndNoFonts}
803 \Configure{thanks author date and}
804 {\ifvmode \IgnorePar\fi\EndP
805 \HCode{<SENT><span class="thanks"><BREAK SIZE="small" />}}
806 {\ifvmode \IgnorePar\fi\EndP \HCode{</span></SENT>}}
807 {\ifvmode \IgnorePar\fi\EndP
808 \HCode{<SENT><span class="author" ><BREAK SIZE="small" />}}
809 {\ifvmode \IgnorePar\fi\EndP \HCode{</span></SENT>}}
810 {\ifvmode \IgnorePar\fi\EndP
811 \HCode{<BREAK SIZE="small" /><SAYS CLASS="date" >}}
812 {\ifvmode \IgnorePar\fi\EndP \HCode{</SAYS><BREAK SIZE="small" />}}
813 {\HCode{<br />}}
814 {\HCode{<br />}}
815
816 \ConfigureMark{section}
817 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
818 \else
819 \HCode{<span class="titlemark">\add:description{added-description}
820 {\a:speak:section}}\@seccntformat{section}%
821 \HCode{</span><BREAK SIZE="small" />}\fi }
822 \ConfigureMark{subsection}
823 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
824 \else
825 \HCode{<span class="titlemark">\add:description{added-description}
826 {\a:speak:subsection}}\@seccntformat{subsection}%
827 \HCode{</span><BREAK SIZE="small" />}\fi }
828 \NewConfigure{speak:section}{1}
829 \Configure{speak:section}{section}
830 \NewConfigure{speak:subsection}{1}
831 \Configure{speak:subsection}{subsection}
832 \NewConfigure{speak:section}{1}
833 \Configure{speak:section}{section}
834 \NewConfigure{speak:subsection}{1}
835 \Configure{speak:subsection}{subsection}
836
837 \Configure{section}{}{}
838 {\ifvmode \IgnorePar\fi \EndP\IgnorePar
839 \HCode{<h3 class="sectionHead"\a:LRdir><EMP
840 LEVEL="moderate">}\TitleMark\space\HtmlParOff}
841 {\HCode{</EMP></h3>}\HtmlParOn\ShowPar \IgnoreIndent \par}
842 \Configure{likesection}{}{}
843 {\ifvmode \IgnorePar\fi
844 \EndP\IgnorePar\HCode{<h3
845 class="likesectionHead"\a:LRdir><EMP
846 LEVEL="moderate">}\HtmlParOff}
847 {\HCode{</EMP></h3>}\HtmlParOn \IgnoreIndent \par}
848 \Configure{subsection}{}{}
849 {\ifvmode \IgnorePar\fi
850 \EndP\bgroup \IgnorePar\HCode{<h4
851 class="subsectionHead"\a:LRdir><EMP
852 LEVEL="moderate">}%
853 \TitleMark\space \HtmlParOff}
854 {\HCode{</EMP></h4>}\HtmlParOn
855 \IgnoreIndent\egroup\par\ShowPar}
856 \Configure{likesubsection}{}{}{\EndP\bgroup
857 \ifvmode \IgnorePar\fi
858 \HCode{<h4 class="likesubsectionHead"\a:LRdir><EMP
859 LEVEL="moderate">}\HtmlParOff }
860 {\HCode{</EMP></h4>}\HtmlParOn
861 \IgnoreIndent\egroup\par\ShowPar}
862 \ConfigureMark{section}
863 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
864 \else
865 \HCode{<span class="titlemark">\add:description{added-description}
866 {\a:speak:section}}\@seccntformat{section}%
867 \HCode{</span>}\fi }
868 \ConfigureMark{subsection}
869 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
870 \else
871 \HCode{<span class="titlemark">\add:description{added-description}
872 {\a:speak:subsection}}\@seccntformat{subsection}%
873 \HCode{</span>}\fi }
874 \NewConfigure{speak:section}{1}
875 \Configure{speak:section}{section}
876 \NewConfigure{speak:subsection}{1}
877 \Configure{speak:subsection}{subsection}
878 \NewConfigure{speak:section}{1}
879 \Configure{speak:section}{section}
880 \NewConfigure{speak:subsection}{1}
881 \Configure{speak:subsection}{subsection}
882
883
884
885
886
887 \Configure{caption}
888 {\IgnorePar\EndP
889 \HCode{<PARA><div class="caption"><SENT><span class="mark">%
890 <BREAK SIZE="small"/><EMP
891 LEVEL="medium">}\HCode{\add:description{added-description}{\c:speak:caption}}%
892 }
893 {: \HCode{</EMP><BREAK SIZE="small"/>}}
894 {\HCode{</span></SENT>%
895 <SENT><span \Hnewline class="content">%
896 \add:description{added-description}{\a:speak:caption}}}
897 {\HCode{\add:description{added-description}{\b:speak:caption}%
898 </span></SENT></div></PARA>}}
899
900 \ConfigureList{description}%
901 {\EndP
902 \HCode{<dl \a:LRdir class="dl-description"><PROS PITCH="+15">}%
903 \HCode{<div class="description">%
904 <div class="added-list-description">%
905 \add:description{added-description}{\a:speak:description}</div>}%
906 %
907 \PushMacro\end:itm
908 \global\let\end:itm=\empty}
909 {\PopMacro\end:itm \global\let\end:itm \end:itm
910 \EndP\HCode{</dd>}%
911 \HCode{<div class="added-list-description">%
912 \add:description{added-description}{\b:speak:description}</div></div>}%
913 %
914 \HCode{</PROS></dl>}%
915 \ShowPar}
916 {\end:itm \global\def\end:itm{\EndP\HCode{</dd>}}\HCode{<SENT><span><dt
917 class="dt-description"><EMP
918 LEVEL="moderate">}\HCode{<span class="added-list-description">%
919 \add:description{added-description}{\c:speak:description}%
920 </span>}%
921 \bgroup \bf}
922 {\egroup\EndP\HCode{</EMP><BREAK
923 SIZE="small"/></dt></span></SENT><dd\Hnewline class="dd-description">}}
924
925 \ConfigureEnv{quote}
926 {}{}
927 {\IgnorePar\EndP
928 \HCode{<PARA><div class="quote"><PROS
929 PITCH="-10" >}}
930 {\IgnorePar\EndP
931 \HCode{</PROS></div></PARA>}\ShowPar\ShowIndent}
932
933 \Configure{enumiii}
934 {\HCode{<span class="roman-numeral">}%
935 Roman numeral \HCode{}\the\c@enumiii
936 \HCode{}\:gobbleII}
937 {\HCode{</span>}}
938 \long\def\:tempc{(\theenumii)}
939 \ifx \labelenumii\:tempc
940 \def\:tempc{(\HCode{}\theenumii\HCode{})}
941 \HLet\labelenumii\:tempc
942 \fi
943
944 \Configure{caption}
945 {\IgnorePar\EndP
946 \HCode{<PARA><div class="caption"><SENT><span class="mark">%
947 <BREAK SIZE="small"/><EMP
948 LEVEL="medium">}\HCode{\add:description{added-description}{\c:speak:caption}}%
949 }
950 {: \HCode{</EMP><BREAK SIZE="small"/>}}
951 {\HCode{</span></SENT>%
952 <SENT><span \Hnewline class="content">%
953 \add:description{added-description}{\a:speak:caption}}}
954 {\HCode{\add:description{added-description}{\b:speak:caption}%
955 </span></SENT></div></PARA>}}
956
957 \ConfigureEnv{quote}
958 {}{}
959 {\IgnorePar\EndP
960 \HCode{<PARA><div class="quote"><PROS
961 PITCH="-10" >}}
962 {\IgnorePar\EndP
963 \HCode{</PROS></div></PARA>}\ShowPar\ShowIndent}
964
965
966 \ConfigureEnv{abstract}
967 {\IgnorePar\EndP
968 \HCode{<div clas="abstract"\Hnewline>}\par\ShowPar
969 \bgroup
970 \pend:def\abstractname{\HCode{<BREAK SIZE="small"/><EMP
971 LEVEL="moderate" class="abstractname">}}
972 \append:def\abstractname{\HCode{</EMP><BREAK SIZE="small"/>}}
973 }
974 {\egroup \ifvmode \IgnorePar\fi
975 \EndP\HCode{<BREAK SIZE="small" /></div>}}
976 {} {}
977
978
979 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
980
981 \endinput\empty\empty\empty\empty\empty\empty
982 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
998 \ConfigureHinput{amsart}
999 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1000 \ConfigureList{description}%
1001 {\EndP
1002 \HCode{<dl \a:LRdir class="dl-description"><PROS PITCH="+15">}%
1003 \HCode{<div class="description">%
1004 <div class="added-list-description">%
1005 \add:description{added-description}{\a:speak:description}</div>}%
1006 %
1007 \PushMacro\end:itm
1008 \global\let\end:itm=\empty}
1009 {\PopMacro\end:itm \global\let\end:itm \end:itm
1010 \EndP\HCode{</dd>}%
1011 \HCode{<div class="added-list-description">%
1012 \add:description{added-description}{\b:speak:description}</div></div>}%
1013 %
1014 \HCode{</PROS></dl>}%
1015 \ShowPar}
1016 {\end:itm \global\def\end:itm{\EndP\HCode{</dd>}}\HCode{<SENT><span><dt
1017 class="dt-description"><EMP
1018 LEVEL="moderate">}\HCode{<span class="added-list-description">%
1019 \add:description{added-description}{\c:speak:description}%
1020 </span>}%
1021 \bgroup \bf}
1022 {\egroup\EndP\HCode{</EMP><BREAK
1023 SIZE="small"/></dt></span></SENT><dd\Hnewline class="dd-description">}}
1024
1025 \Configure{caption}
1026 {\IgnorePar\EndP
1027 \HCode{<PARA><div class="caption"><SENT><span class="mark">%
1028 <BREAK SIZE="small"/><EMP
1029 LEVEL="medium">}\HCode{\add:description{added-description}{\c:speak:caption}}%
1030 }
1031 {: \HCode{</EMP><BREAK SIZE="small"/>}}
1032 {\HCode{</span></SENT>%
1033 <SENT><span \Hnewline class="content">%
1034 \add:description{added-description}{\a:speak:caption}}}
1035 {\HCode{\add:description{added-description}{\b:speak:caption}%
1036 </span></SENT></div></PARA>}}
1037
1038 \ifx \deferred@thm@head\:UnDef\else
1039 \Configure{proof}
1040 {\ifvmode \IgnorePar \fi \EndP
1041 \HCode{<div class="newtheorem" title="proof">}\par\ShowPar
1042 \HCode{<span class="theorem-head">}\IgnorePar}
1043 {\HCode{</span>}\ShowPar}
1044 {\ifvmode \IgnorePar \fi \EndP \HCode{</div>}\par}
1045
1046 \fi
1047
1048
1049 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1050
1051 \endinput\empty\empty\empty\empty\empty\empty
1052 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1053
1054 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1055 \ConfigureHinput{amsbook}
1056 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1057 \ConfigureMark{subsection}
1058 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
1059 \else
1060 \HCode{<span class="titlemark">\add:description{added-description}
1061 {\a:speak:section}}\@ifundefined{sectionname}{}{%
1062 \ignorespaces\sectionname\space}%
1063 \@seccntformat{section}%
1064 \HCode{</span><BREAK SIZE="small" />}\fi }
1065 \NewConfigure{speak:section}{1}
1066 \Configure{speak:section}{section}
1067 \NewConfigure{speak:subsection}{1}
1068 \Configure{speak:subsection}{subsection}
1069 \NewConfigure{speak:section}{1}
1070 \Configure{speak:section}{section}
1071 \NewConfigure{speak:subsection}{1}
1072 \Configure{speak:subsection}{subsection}
1073
1074 \ConfigureMark{subsection}
1075 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
1076 \else
1077 \HCode{<span class="titlemark">%
1078 \add:description{added-description}
1079 {\a:speak:section}}\@ifundefined{sectionname}{}{%
1080 \ignorespaces\sectionname\space}%
1081 \@seccntformat{section}%
1082 \HCode{</span>}\fi }
1083 \NewConfigure{speak:section}{1}
1084 \Configure{speak:section}{section}
1085 \NewConfigure{speak:subsection}{1}
1086 \Configure{speak:subsection}{subsection}
1087 \NewConfigure{speak:section}{1}
1088 \Configure{speak:section}{section}
1089 \NewConfigure{speak:subsection}{1}
1090 \Configure{speak:subsection}{subsection}
1091
1092
1093
1094
1095 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1096
1097 \endinput\empty\empty\empty\empty\empty\empty
1098 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1099
1100 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1101 \ConfigureHinput{amsproc}
1102 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1103 \ConfigureList{description}%
1104 {\EndP
1105 \HCode{<dl \a:LRdir class="dl-description"><PROS PITCH="+15">}%
1106 \HCode{<div class="description">%
1107 <div class="added-list-description">%
1108 \add:description{added-description}{\a:speak:description}</div>}%
1109 %
1110 \PushMacro\end:itm
1111 \global\let\end:itm=\empty}
1112 {\PopMacro\end:itm \global\let\end:itm \end:itm
1113 \EndP\HCode{</dd>}%
1114 \HCode{<div class="added-list-description">%
1115 \add:description{added-description}{\b:speak:description}</div></div>}%
1116 %
1117 \HCode{</PROS></dl>}%
1118 \ShowPar}
1119 {\end:itm \global\def\end:itm{\EndP\HCode{</dd>}}\HCode{<SENT><span><dt
1120 class="dt-description"><EMP
1121 LEVEL="moderate">}\HCode{<span class="added-list-description">%
1122 \add:description{added-description}{\c:speak:description}%
1123 </span>}%
1124 \bgroup \bf}
1125 {\egroup\EndP\HCode{</EMP><BREAK
1126 SIZE="small"/></dt></span></SENT><dd\Hnewline class="dd-description">}}
1127
1128 \Configure{caption}
1129 {\IgnorePar\EndP
1130 \HCode{<PARA><div class="caption"><SENT><span class="mark">%
1131 <BREAK SIZE="small"/><EMP
1132 LEVEL="medium">}\HCode{\add:description{added-description}{\c:speak:caption}}%
1133 }
1134 {: \HCode{</EMP><BREAK SIZE="small"/>}}
1135 {\HCode{</span></SENT>%
1136 <SENT><span \Hnewline class="content">%
1137 \add:description{added-description}{\a:speak:caption}}}
1138 {\HCode{\add:description{added-description}{\b:speak:caption}%
1139 </span></SENT></div></PARA>}}
1140
1141 \ifx \deferred@thm@head\:UnDef\else
1142 \Configure{proof}
1143 {\ifvmode \IgnorePar \fi \EndP
1144 \HCode{<div class="newtheorem" title="proof">}\par\ShowPar
1145 \HCode{<span class="theorem-head">}\IgnorePar}
1146 {\HCode{</span>}\ShowPar}
1147 {\ifvmode \IgnorePar \fi \EndP \HCode{</div>}\par}
1148
1149 \fi
1150
1151
1152 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1153
1154 \endinput\empty\empty\empty\empty\empty\empty
1155 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1156
1157
1158
1159 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1160 \ConfigureHinput{amsthm}
1161 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1162 \Configure{proof}
1163 {\ifvmode \IgnorePar \fi \EndP
1164 \HCode{<div class="newtheorem" title="proof">}\par\ShowPar
1165 \HCode{<span class="theorem-head">}\IgnorePar}
1166 {\HCode{</span>}\ShowPar}
1167 {\ifvmode \IgnorePar \fi \EndP \HCode{</div>}\par}
1168
1169
1170 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1171
1172 \endinput\empty\empty\empty\empty\empty\empty
1173 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1188 \ConfigureHinput{plain}
1189 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1190 \Configure{eqalign}
1191 {\:xhtml{\IgnorePar\EndP}\HCode
1192 {<div class="eqalign"><table class="eqalign">}}
1193 {\HCode{</table></div>}}
1194 {\HCode{<tr \Hnewline class="eqalign"
1195 valign="middle">}}{\IgnorePar\HCode{</tr>}}
1196 {\HCode{<td align="\ifnum \HCol=2
1197 left\else right\fi"\Hnewline class="eqalign\HCol"
1198 style="white-space:nowrap;">}}
1199 {\HCode{</td>}}
1200 \def\:eqalign:{\Configure{noalign}
1201 {\HCode{<tr><td class="noalign" colspan="2">}}%
1202 {\HCode{</td></tr>}}}
1203
1204 \Configure{eqalignno}
1205 {\:xhtml{\IgnorePar\EndP}\HCode{<table class="eqalignno">}}
1206 {\HCode{</table>}}
1207 {\HCode{<tr\Hnewline class="eqalignno">}}{\IgnorePar\HCode{</tr>}}
1208 {\HCode{\ifnum \HCol=3 <td\Hnewline width="10"
1209 class="eqalignno-sp"></td>\fi
1210 <td align="\ifnum \HCol=2 left\else right\fi"\Hnewline
1211 class="eqalignno\HCol">}}
1212 {\HCode{</td>}}
1213 \def\:eqalignno:{\Configure{noalign}
1214 {\HCode{<tr><td class="noalign" colspan="2">}}%
1215 {\HCode{</td></tr>}}}
1216
1217 \Configure{leqalignno}
1218 {\:xhtml{\IgnorePar\EndP}\HCode{<table class="leqalignno">}}
1219 {\HCode{</table>}}
1220 {\HCode{<tr \Hnewline
1221 class="leqalignno">}}{\IgnorePar\HCode{</tr>}}
1222 {\HCode{\ifnum \HCol=3 <td\Hnewline width="30"
1223 class="eqalignno-sp"></td>\fi
1224 <td align="\ifnum \HCol=2 left\else right\fi"\Hnewline
1225 class="leqalignno\HCol">}}
1226 {\HCode{</td>}}
1227 \def\:leqalignno:{\Configure{noalign}
1228 {\HCode{<tr><td class="noalign" colspan="2">}}%
1229 {\HCode{</td></tr>}}}
1230
1231
1232 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1233
1234 \endinput\empty\empty\empty\empty\empty\empty
1235 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1246 \ConfigureHinput{letter}
1247 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1248 \ConfigureList{description}%
1249 {\EndP
1250 \HCode{<dl \a:LRdir class="dl-description"><PROS PITCH="+15">}%
1251 \HCode{<div class="description">%
1252 <div class="added-list-description">%
1253 \add:description{added-description}{\a:speak:description}</div>}%
1254 %
1255 \PushMacro\end:itm
1256 \global\let\end:itm=\empty}
1257 {\PopMacro\end:itm \global\let\end:itm \end:itm
1258 \EndP\HCode{</dd>}%
1259 \HCode{<div class="added-list-description">%
1260 \add:description{added-description}{\b:speak:description}</div></div>}%
1261 %
1262 \HCode{</PROS></dl>}%
1263 \ShowPar}
1264 {\end:itm \global\def\end:itm{\EndP\HCode{</dd>}}\HCode{<SENT><span><dt
1265 class="dt-description"><EMP
1266 LEVEL="moderate">}\HCode{<span class="added-list-description">%
1267 \add:description{added-description}{\c:speak:description}%
1268 </span>}%
1269 \bgroup \bf}
1270 {\egroup\EndP\HCode{</EMP><BREAK
1271 SIZE="small"/></dt></span></SENT><dd\Hnewline class="dd-description">}}
1272
1273 \ConfigureEnv{quote}
1274 {}{}
1275 {\IgnorePar\EndP
1276 \HCode{<PARA><div class="quote"><PROS
1277 PITCH="-10" >}}
1278 {\IgnorePar\EndP
1279 \HCode{</PROS></div></PARA>}\ShowPar\ShowIndent}
1280
1281 \Configure{enumiii}
1282 {\HCode{<span class="roman-numeral">}%
1283 Roman numeral \HCode{}\the\c@enumiii
1284 \HCode{}\:gobbleII}
1285 {\HCode{</span>}}
1286 \long\def\:tempc{(\theenumii)}
1287 \ifx \labelenumii\:tempc
1288 \def\:tempc{(\HCode{}\theenumii\HCode{})}
1289 \HLet\labelenumii\:tempc
1290 \fi
1291
1292
1293 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1294
1295 \endinput\empty\empty\empty\empty\empty\empty
1296 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1313 \ConfigureHinput{array}
1314 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1315 \HAssign\TableNo=0
1316 \Configure{tabular}
1317 {\ifvmode \IgnorePar\fi \EndP
1318 \HCode{<PARA><table class="tabular" >}%
1319 \HCode{%
1320 <BREAK SIZE="small"/><PROS PITCH="-5" >%
1321 \add:vdescription{begin-end}{begin table with
1322 \ifTag{tabular-\TableNo}{\LikeRef{tabular-\TableNo}}{}
1323 rows and \ar:cnt columns}%
1324 </PROS>
1325 }%
1326 }
1327 {\Tag{tabular-\TableNo}{\hrow:s}%
1328 \HCode{<!--l. \the\inputlineno-->%
1329 %
1330 <BREAK SIZE="small"/>%
1331 <PROS PITCH="-5" >%
1332 \add:vdescription{begin-end}{end table}%
1333 </PROS><BREAK SIZE="small"/>%
1334 }%
1335 \HCode{</table></PARA>}}
1336 {\HCode{<tr><!--row \HRow-->}%
1337 \HCode{%
1338 <BREAK SIZE="medium"/><PROS PITCH="-5" >%
1339 \add:vdescription{begin-end}{<span class="ord-row">\ord:pos{\HRow}</span>%
1340 row}%
1341 </PROS><BREAK SIZE="medium"/>%
1342 }%
1343 }
1344 {\xdef\hrow:s{\HRow}\HCode{</tr>}}
1345 {\HCode{<td><!--entry \HRow-\HCol\ifnum
1346 \HMultispan>1 \, span \HMultispan\fi-->}%
1347 \HCode{%
1348 <BREAK SIZE="medium"/>%
1349 \ifnum \HMultispan>1
1350 <PROS PITCH="-5" >%
1351 \add:vdescription{added-description}{\ord:pos{\HCol}%
1352 cell
1353 spans \HMultispan \space columns}%
1354 </PROS><BREAK SIZE="medium"/>%
1355 \else
1356 \ifnum \HCol>1
1357 <PROS PITCH="-5" >%
1358 \add:vdescription{added-description}{\ord:pos{\HCol}%
1359 cell}%
1360 </PROS><BREAK SIZE="medium"/>%
1361 \fi
1362 \fi
1363 }%
1364 \HCode{<div>}\SaveEndP
1365 \PushStack\Table:Stck\TableNo
1366 \par \ShowPar}
1367 {\PopStack\Table:Stck\TableNo
1368 \IgnorePar \EndP \ifvmode \IgnorePar \fi \EndP
1369 \HCode{</div>}%
1370 \HCode{</td>\Hnewline}\RecallEndP }
1371
1372
1373 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1374
1375 \endinput\empty\empty\empty\empty\empty\empty
1376 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1451 \ConfigureHinput{frenchb}
1452 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1453 \Configure{frenchb-nbsp}
1454 {\leavevmode\special{t4ht@+\string&{35}x00A0{59}}x%
1455 \setbox\tmp:bx=\hbox\bgroup}
1456 {\egroup}
1457
1458 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1459
1460 \endinput\empty\empty\empty\empty\empty\empty
1461 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1503 \ConfigureHinput{aa}
1504 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1505 \ConfigureMark{section}
1506 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
1507 \else
1508 \HCode{<span class="titlemark">\add:description{added-description}
1509 {\a:speak:section}}\@seccntformat{section}%
1510 \HCode{</span><BREAK SIZE="small" />}\fi }
1511 \ConfigureMark{subsection}
1512 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
1513 \else
1514 \HCode{<span class="titlemark">\add:description{added-description}
1515 {\a:speak:subsection}}\@seccntformat{subsection}%
1516 \HCode{</span><BREAK SIZE="small" />}\fi }
1517 \NewConfigure{speak:section}{1}
1518 \Configure{speak:section}{section}
1519 \NewConfigure{speak:subsection}{1}
1520 \Configure{speak:subsection}{subsection}
1521 \NewConfigure{speak:section}{1}
1522 \Configure{speak:section}{section}
1523 \NewConfigure{speak:subsection}{1}
1524 \Configure{speak:subsection}{subsection}
1525
1526 \Configure{section}{}{}
1527 {\ifvmode \IgnorePar\fi \EndP\IgnorePar
1528 \HCode{<h3 class="sectionHead"\a:LRdir><EMP
1529 LEVEL="moderate">}\TitleMark\space\HtmlParOff}
1530 {\HCode{</EMP></h3>}\HtmlParOn\ShowPar \IgnoreIndent \par}
1531 \Configure{likesection}{}{}
1532 {\ifvmode \IgnorePar\fi
1533 \EndP\IgnorePar\HCode{<h3
1534 class="likesectionHead"\a:LRdir><EMP
1535 LEVEL="moderate">}\HtmlParOff}
1536 {\HCode{</EMP></h3>}\HtmlParOn \IgnoreIndent \par}
1537 \Configure{subsection}{}{}
1538 {\ifvmode \IgnorePar\fi
1539 \EndP\bgroup \IgnorePar\HCode{<h4
1540 class="subsectionHead"\a:LRdir><EMP
1541 LEVEL="moderate">}%
1542 \TitleMark\space \HtmlParOff}
1543 {\HCode{</EMP></h4>}\HtmlParOn
1544 \IgnoreIndent\egroup\par\ShowPar}
1545 \Configure{likesubsection}{}{}{\EndP\bgroup
1546 \ifvmode \IgnorePar\fi
1547 \HCode{<h4 class="likesubsectionHead"\a:LRdir><EMP
1548 LEVEL="moderate">}\HtmlParOff }
1549 {\HCode{</EMP></h4>}\HtmlParOn
1550 \IgnoreIndent\egroup\par\ShowPar}
1551 \ConfigureMark{section}
1552 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
1553 \else
1554 \HCode{<span class="titlemark">\add:description{added-description}
1555 {\a:speak:section}}\@seccntformat{section}%
1556 \HCode{</span>}\fi }
1557 \ConfigureMark{subsection}
1558 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
1559 \else
1560 \HCode{<span class="titlemark">\add:description{added-description}
1561 {\a:speak:subsection}}\@seccntformat{subsection}%
1562 \HCode{</span>}\fi }
1563 \NewConfigure{speak:section}{1}
1564 \Configure{speak:section}{section}
1565 \NewConfigure{speak:subsection}{1}
1566 \Configure{speak:subsection}{subsection}
1567 \NewConfigure{speak:section}{1}
1568 \Configure{speak:section}{section}
1569 \NewConfigure{speak:subsection}{1}
1570 \Configure{speak:subsection}{subsection}
1571
1572
1573
1574
1575
1576 \Configure{caption}
1577 {\IgnorePar\EndP
1578 \HCode{<PARA><div class="caption"><SENT><span class="mark">%
1579 <BREAK SIZE="small"/><EMP
1580 LEVEL="medium">}\HCode{\add:description{added-description}{\c:speak:caption}}%
1581 }
1582 {: \HCode{</EMP><BREAK SIZE="small"/>}}
1583 {\HCode{</span></SENT>%
1584 <SENT><span \Hnewline class="content">%
1585 \add:description{added-description}{\a:speak:caption}}}
1586 {\HCode{\add:description{added-description}{\b:speak:caption}%
1587 </span></SENT></div></PARA>}}
1588
1589 \Configure{caption}
1590 {\IgnorePar\EndP
1591 \HCode{<PARA><div class="caption"><SENT><span class="mark">%
1592 <BREAK SIZE="small"/><EMP
1593 LEVEL="medium">}\HCode{\add:description{added-description}{\c:speak:caption}}%
1594 }
1595 {: \HCode{</EMP><BREAK SIZE="small"/>}}
1596 {\HCode{</span></SENT>%
1597 <SENT><span \Hnewline class="content">%
1598 \add:description{added-description}{\a:speak:caption}}}
1599 {\HCode{\add:description{added-description}{\b:speak:caption}%
1600 </span></SENT></div></PARA>}}
1601
1602
1603 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1604
1605 \endinput\empty\empty\empty\empty\empty\empty
1606 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1607
1608
1609
1610
1611
1612
1613
1614 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1615 \ConfigureHinput{scrbook}
1616 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1617 \ConfigureList{description}%
1618 {\EndP
1619 \HCode{<dl \a:LRdir class="dl-description"><PROS PITCH="+15">}%
1620 \HCode{<div class="description">%
1621 <div class="added-list-description">%
1622 \add:description{added-description}{\a:speak:description}</div>}%
1623 %
1624 \PushMacro\end:itm
1625 \global\let\end:itm=\empty}
1626 {\PopMacro\end:itm \global\let\end:itm \end:itm
1627 \EndP\HCode{</dd>}%
1628 \HCode{<div class="added-list-description">%
1629 \add:description{added-description}{\b:speak:description}</div></div>}%
1630 %
1631 \HCode{</PROS></dl>}%
1632 \ShowPar}
1633 {\end:itm \global\def\end:itm{\EndP\HCode{</dd>}}\HCode{<SENT><span><dt
1634 class="dt-description"><EMP
1635 LEVEL="moderate">}\HCode{<span class="added-list-description">%
1636 \add:description{added-description}{\c:speak:description}%
1637 </span>}%
1638 \bgroup \bf}
1639 {\egroup\EndP\HCode{</EMP><BREAK
1640 SIZE="small"/></dt></span></SENT><dd\Hnewline class="dd-description">}}
1641
1642
1643 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1644
1645 \endinput\empty\empty\empty\empty\empty\empty
1646 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1647
1648
1649 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1650 \ConfigureHinput{scrreprt}
1651 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1652 \ConfigureList{description}%
1653 {\EndP
1654 \HCode{<dl \a:LRdir class="dl-description"><PROS PITCH="+15">}%
1655 \HCode{<div class="description">%
1656 <div class="added-list-description">%
1657 \add:description{added-description}{\a:speak:description}</div>}%
1658 %
1659 \PushMacro\end:itm
1660 \global\let\end:itm=\empty}
1661 {\PopMacro\end:itm \global\let\end:itm \end:itm
1662 \EndP\HCode{</dd>}%
1663 \HCode{<div class="added-list-description">%
1664 \add:description{added-description}{\b:speak:description}</div></div>}%
1665 %
1666 \HCode{</PROS></dl>}%
1667 \ShowPar}
1668 {\end:itm \global\def\end:itm{\EndP\HCode{</dd>}}\HCode{<SENT><span><dt
1669 class="dt-description"><EMP
1670 LEVEL="moderate">}\HCode{<span class="added-list-description">%
1671 \add:description{added-description}{\c:speak:description}%
1672 </span>}%
1673 \bgroup \bf}
1674 {\egroup\EndP\HCode{</EMP><BREAK
1675 SIZE="small"/></dt></span></SENT><dd\Hnewline class="dd-description">}}
1676
1677
1678 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1679
1680 \endinput\empty\empty\empty\empty\empty\empty
1681 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1682
1683
1684
1685
1686 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1687 \ConfigureHinput{JHEP}
1688 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1689
1690 \ConfigureMark{section}
1691 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
1692 \else
1693 \HCode{<span class="titlemark">\add:description{added-description}
1694 {\a:speak:section}}\@seccntformat{section}%
1695 \HCode{</span><BREAK SIZE="small" />}\fi }
1696 \ConfigureMark{subsection}
1697 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
1698 \else
1699 \HCode{<span class="titlemark">\add:description{added-description}
1700 {\a:speak:subsection}}\@seccntformat{subsection}%
1701 \HCode{</span><BREAK SIZE="small" />}\fi }
1702 \NewConfigure{speak:section}{1}
1703 \Configure{speak:section}{section}
1704 \NewConfigure{speak:subsection}{1}
1705 \Configure{speak:subsection}{subsection}
1706 \NewConfigure{speak:section}{1}
1707 \Configure{speak:section}{section}
1708 \NewConfigure{speak:subsection}{1}
1709 \Configure{speak:subsection}{subsection}
1710
1711 \Configure{section}{}{}
1712 {\ifvmode \IgnorePar\fi \EndP\IgnorePar
1713 \HCode{<h3 class="sectionHead"\a:LRdir><EMP
1714 LEVEL="moderate">}\TitleMark\space\HtmlParOff}
1715 {\HCode{</EMP></h3>}\HtmlParOn\ShowPar \IgnoreIndent \par}
1716 \Configure{likesection}{}{}
1717 {\ifvmode \IgnorePar\fi
1718 \EndP\IgnorePar\HCode{<h3
1719 class="likesectionHead"\a:LRdir><EMP
1720 LEVEL="moderate">}\HtmlParOff}
1721 {\HCode{</EMP></h3>}\HtmlParOn \IgnoreIndent \par}
1722 \Configure{subsection}{}{}
1723 {\ifvmode \IgnorePar\fi
1724 \EndP\bgroup \IgnorePar\HCode{<h4
1725 class="subsectionHead"\a:LRdir><EMP
1726 LEVEL="moderate">}%
1727 \TitleMark\space \HtmlParOff}
1728 {\HCode{</EMP></h4>}\HtmlParOn
1729 \IgnoreIndent\egroup\par\ShowPar}
1730 \Configure{likesubsection}{}{}{\EndP\bgroup
1731 \ifvmode \IgnorePar\fi
1732 \HCode{<h4 class="likesubsectionHead"\a:LRdir><EMP
1733 LEVEL="moderate">}\HtmlParOff }
1734 {\HCode{</EMP></h4>}\HtmlParOn
1735 \IgnoreIndent\egroup\par\ShowPar}
1736 \ConfigureMark{section}
1737 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
1738 \else
1739 \HCode{<span class="titlemark">\add:description{added-description}
1740 {\a:speak:section}}\@seccntformat{section}%
1741 \HCode{</span>}\fi }
1742 \ConfigureMark{subsection}
1743 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
1744 \else
1745 \HCode{<span class="titlemark">\add:description{added-description}
1746 {\a:speak:subsection}}\@seccntformat{subsection}%
1747 \HCode{</span>}\fi }
1748 \NewConfigure{speak:section}{1}
1749 \Configure{speak:section}{section}
1750 \NewConfigure{speak:subsection}{1}
1751 \Configure{speak:subsection}{subsection}
1752 \NewConfigure{speak:section}{1}
1753 \Configure{speak:section}{section}
1754 \NewConfigure{speak:subsection}{1}
1755 \Configure{speak:subsection}{subsection}
1756
1757
1758
1759
1760
1761 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1762
1763 \endinput\empty\empty\empty\empty\empty\empty
1764 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1808 \ConfigureHinput{slides}
1809 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1810 \ConfigureList{description}%
1811 {\EndP
1812 \HCode{<dl \a:LRdir class="dl-description"><PROS PITCH="+15">}%
1813 \HCode{<div class="description">%
1814 <div class="added-list-description">%
1815 \add:description{added-description}{\a:speak:description}</div>}%
1816 %
1817 \PushMacro\end:itm
1818 \global\let\end:itm=\empty}
1819 {\PopMacro\end:itm \global\let\end:itm \end:itm
1820 \EndP\HCode{</dd>}%
1821 \HCode{<div class="added-list-description">%
1822 \add:description{added-description}{\b:speak:description}</div></div>}%
1823 %
1824 \HCode{</PROS></dl>}%
1825 \ShowPar}
1826 {\end:itm \global\def\end:itm{\EndP\HCode{</dd>}}\HCode{<SENT><span><dt
1827 class="dt-description"><EMP
1828 LEVEL="moderate">}\HCode{<span class="added-list-description">%
1829 \add:description{added-description}{\c:speak:description}%
1830 </span>}%
1831 \bgroup \bf}
1832 {\egroup\EndP\HCode{</EMP><BREAK
1833 SIZE="small"/></dt></span></SENT><dd\Hnewline class="dd-description">}}
1834
1835 \Configure{enumiii}
1836 {\HCode{<span class="roman-numeral">}%
1837 Roman numeral \HCode{}\the\c@enumiii
1838 \HCode{}\:gobbleII}
1839 {\HCode{</span>}}
1840 \long\def\:tempc{(\theenumii)}
1841 \ifx \labelenumii\:tempc
1842 \def\:tempc{(\HCode{}\theenumii\HCode{})}
1843 \HLet\labelenumii\:tempc
1844 \fi
1845
1846
1847 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1848
1849 \endinput\empty\empty\empty\empty\empty\empty
1850 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1950 \ConfigureHinput{acm-proc-article-sp}
1951 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1952
1953 \ConfigureMark{section}
1954 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
1955 \else
1956 \HCode{<span class="titlemark">\add:description{added-description}
1957 {\a:speak:section}}\@seccntformat{section}%
1958 \HCode{</span><BREAK SIZE="small" />}\fi }
1959 \ConfigureMark{subsection}
1960 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
1961 \else
1962 \HCode{<span class="titlemark">\add:description{added-description}
1963 {\a:speak:subsection}}\@seccntformat{subsection}%
1964 \HCode{</span><BREAK SIZE="small" />}\fi }
1965 \NewConfigure{speak:section}{1}
1966 \Configure{speak:section}{section}
1967 \NewConfigure{speak:subsection}{1}
1968 \Configure{speak:subsection}{subsection}
1969 \NewConfigure{speak:section}{1}
1970 \Configure{speak:section}{section}
1971 \NewConfigure{speak:subsection}{1}
1972 \Configure{speak:subsection}{subsection}
1973
1974 \Configure{section}{}{}
1975 {\ifvmode \IgnorePar\fi \EndP\IgnorePar
1976 \HCode{<h3 class="sectionHead"\a:LRdir><EMP
1977 LEVEL="moderate">}\TitleMark\space\HtmlParOff}
1978 {\HCode{</EMP></h3>}\HtmlParOn\ShowPar \IgnoreIndent \par}
1979 \Configure{likesection}{}{}
1980 {\ifvmode \IgnorePar\fi
1981 \EndP\IgnorePar\HCode{<h3
1982 class="likesectionHead"\a:LRdir><EMP
1983 LEVEL="moderate">}\HtmlParOff}
1984 {\HCode{</EMP></h3>}\HtmlParOn \IgnoreIndent \par}
1985 \Configure{subsection}{}{}
1986 {\ifvmode \IgnorePar\fi
1987 \EndP\bgroup \IgnorePar\HCode{<h4
1988 class="subsectionHead"\a:LRdir><EMP
1989 LEVEL="moderate">}%
1990 \TitleMark\space \HtmlParOff}
1991 {\HCode{</EMP></h4>}\HtmlParOn
1992 \IgnoreIndent\egroup\par\ShowPar}
1993 \Configure{likesubsection}{}{}{\EndP\bgroup
1994 \ifvmode \IgnorePar\fi
1995 \HCode{<h4 class="likesubsectionHead"\a:LRdir><EMP
1996 LEVEL="moderate">}\HtmlParOff }
1997 {\HCode{</EMP></h4>}\HtmlParOn
1998 \IgnoreIndent\egroup\par\ShowPar}
1999 \ConfigureMark{section}
2000 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
2001 \else
2002 \HCode{<span class="titlemark">\add:description{added-description}
2003 {\a:speak:section}}\@seccntformat{section}%
2004 \HCode{</span>}\fi }
2005 \ConfigureMark{subsection}
2006 {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
2007 \else
2008 \HCode{<span class="titlemark">\add:description{added-description}
2009 {\a:speak:subsection}}\@seccntformat{subsection}%
2010 \HCode{</span>}\fi }
2011 \NewConfigure{speak:section}{1}
2012 \Configure{speak:section}{section}
2013 \NewConfigure{speak:subsection}{1}
2014 \Configure{speak:subsection}{subsection}
2015 \NewConfigure{speak:section}{1}
2016 \Configure{speak:section}{section}
2017 \NewConfigure{speak:subsection}{1}
2018 \Configure{speak:subsection}{subsection}
2019
2020
2021
2022
2023 \Configure{proof}
2024 {\ifvmode\IgnorePar\fi\EndP
2025 \HCode{<BREAK SIZE="medium"/>%
2026 <PARA><div class="newtheorem" title="proof">}\par\noindent
2027 \HCode{<SENT><PROS PITCH="-10" ><span class="theorem-head">}}
2028 {\HCode{</span></PROS></SENT><BREAK SIZE="small"/>}}
2029 {\EndP\IgnorePar\HCode{</div></div></PARA><BREAK SIZE="medium"/>}\ShowPar\par}
2030
2031 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2032
2033 \endinput\empty\empty\empty\empty\empty\empty
2034 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107 \endinput
2108