Debian Codegraph @

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

raw
1 % tei.4ht (2020-10-16-13:49), generated from tex4ht-tei.tex
2 % Copyright 2009-2019 TeX Users Group
3 % Copyright 2000-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 2020-10-16-13:49}
21
22 \exit:ifnot{Preamble,%
23 amsart,%
24 amsthm,%
25 article,%
26 book,%
27 fontmath,%
28 graphics,%
29 latex,%
30 ltugboat,%
31 ltugproc,%
32 plain,%
33 report,%
34 tex4ht,%
35 url}
36
37 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
38 \ConfigureHinput{Preamble}
39 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
40 \Configure{ext}{xml}
41 \edef\Preamble{\Preamble,refcaption}
42 \Configure{PROLOG}{VERSION,DOCTYPE,*XML-STYLESHEET}
43 \:CheckOption{no-DOCTYPE} \if:Option
44 \Configure{PROLOG}{VERSION,*XML-STYLESHEET}
45 \fi
46
47 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
48
49 \endinput\empty\empty\empty\empty\empty\empty
50 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
51
52 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
53 \ConfigureHinput{tex4ht}
54 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
55 \if:latex \Hinclude{\input #1.4ht}{latex}
56
57 \else \ifx \contextversion\Un:def
58 \Hinclude{\input #1.4ht}{plain}
59 \def\:temp{t}%
60 \ifx \eplain\:temp
61 \Hinclude{\input #1.4ht}{eplain}
62 \fi
63 \def\:temp{M\kern-.111em\lower.6ex\hbox{E}\kern-.075emX}
64 \ifx \nM@X\:temp
65 \expandafter\ifx\csname emulateplain\endcsname\relax \else
66 \Hinclude{\input #1.4ht}{mex}
67 \fi\fi
68
69 \ifx \d@nger\:UnDef \else
70 \let\leftheadline\empty
71 \let\rightheadline\empty
72 \Hinclude{\input #1.4ht}{manmac}
73 \fi
74 \else
75 \Hinclude{\input #1.4ht}{context}
76 \fi
77 \fi
78 \Configure{HTML}
79 {\HCode{<TEI.2>}}
80 {\HCode{</TEI.2>}}
81 \Configure{HEAD}
82 {\HCode{<teiHeader type="text" status="new"><fileDesc>}}
83 {\HCode{</fileDesc>\Hnewline
84 <revisionDesc><list
85 type="simple"><item></item></list></revisionDesc>\Hnewline
86 </teiHeader>}}
87 \Configure{TITLE}
88 {\HCode{<titleStmt><title></title></titleStmt>\Hnewline}}
89 {}
90 \Configure{TITLE+}
91 {\HCode{<publicationStmt> <p></p> </publicationStmt>\Hnewline
92 <sourceDesc><p>\FileName\space from \jobname.tex
93 (TeX4ht)</p></sourceDesc>\Hnewline
94 }}
95 \Configure{BODY}
96 {\ifTag{TITLE+}%
97 {\HCode{<text><front>}\PushStack\text:stack{front}}%
98 {\HCode{<text><body>}\PushStack\text:stack{body}\ShowPar
99 \csname par\endcsname}%
100 }
101 {\IgnorePar\EndP \PopStack\text:stack\:temp \def\:tempa{front}%
102 \HCode{</\:temp>\ifx\:temp\:tempa <body><p></p></body>\fi</text>}}
103
104 \newif\ifHCond
105 \Configure{HtmlPar}
106 {\EndP\HCode{<!--l. \the\inputlineno-->%
107 \ifnum\P:level=0 <div type="p">\fi
108 <p>}\gHAdvance\P:level by 1 }
109 {\EndP\HCode{<!--l. \the\inputlineno-->%
110 \ifnum\P:level=0 <div type="p">\fi
111 <p>}\gHAdvance\P:level by 1 }
112 {\gHAdvance\P:level by -1 \HCode{</p>\ifnum\P:level=0 </div>\fi }}
113 {\gHAdvance\P:level by -1 \HCode{</p>\ifnum\P:level=0 </div>\fi }}
114
115 \Configure{Link}{ref}{ target=}{ id=}{\empty}
116
117
118 \Configure{VERSION}
119 {\HCode{<?xml version="1.0" encoding="utf-8"?>\Hnewline}}
120 \Configure{VERSION}
121 {\HCode{<?xml version="1.0"?>\Hnewline}}
122 \Configure{DOCTYPE}
123 {\HCode{<!DOCTYPE TEI.2 [<!ENTITY \% TEI.dtd PUBLIC\Hnewline
124 "-//TEI//DTD TEI Lite XML ver. 1.3//"\Hnewline
125 "teixlite.dtd">
126 \Hnewline \%TEI.dtd; \Hnewline
127 %
128 }\writesixteen{--- file \jobname.ent ---}\HCode{%
129 <!ENTITY \% ENT-\jobname.ent SYSTEM "\jobname.ent">
130 \Hnewline \%ENT-\jobname.ent; \Hnewline
131 %
132 ]>}}
133 \HAssign\ent:cnt = 0
134 \Configure{Preamble}
135 {}
136 {{\ifdim \lastskip>\z@ \unskip\fi
137 \IgnorePar\parindent\z@ \leavevmode}%
138 \def\Decl##1{{\everypar{}%
139 \ht:special{t4ht>\jobname.ent}\hbox{\HCode{##1\Hnewline}}%
140 \ht:special{t4ht>\FileName}}}
141 \Decl{\:NOTATIONs}\let\:NOTATIONs=\:UnDef
142 %
143 }
144 \let\:NOTATIONs=\empty
145 \def\Decl#1{\edef\:NOTATIONs{\:NOTATIONs#1\Hnewline}}
146
147 \ScriptCommand{\CssFile}{%
148 \immediate\write-1{--- file \aa:CssFile\space ---}%
149 \def\FontSize##1##2{\:Context{##1}\ht:special{t4ht;\%##2}\%}%
150 \def\FontName##1{\:Context{##1}\ht:special{t4ht;=}}%
151 \def\:Context##1{\ht:special{t4ht>\jobname.tmp}##1\ht:special
152 {t4ht>\aa:CssFile}}%
153 \ht:special{t4ht>\jobname.tmp}\ht:special{t4ht>\aa:CssFile}\bb:CssFile
154 \hfil\break\NoFonts}{\EndNoFonts
155 \ht:special{t4ht<\aa:CssFile}\ht:special{t4ht<\jobname.tmp}}
156 \let\Css:File\let \prOteCt \relax \Protect \csname acp:c\endcsname {18}\CssFile
157 \def\CssFile{\futurelet\:temp\Css:Fl}
158 \def\Css:Fl{\ifx [\:temp \expandafter\Css:fl
159 \else \expand:after{\Css:File \space}\fi}
160 \def\Css:fl[#1]{\Css:File\space \css:files #1,,}
161 \def\css:files#1,#2{\def\:temp{#1}\ifx \:temp\empty
162 \else \def\:temp{\in:css#1.\css:files#2,,}\fi
163 \:temp }
164 \def\in:css#1.#2{\def\:temp{#2}\ifx \:temp\empty \input #1.css
165 \else \inc:ss#1.#2\fi}
166 \def\inc:ss#1.{\input #1 }
167 \NewConfigure{CssFile}[2]{\def\aa:CssFile{#1}\def\bb:CssFile{#2}}
168 \def\Css#1{{\def\:temp{\Configure{Needs}}%
169 \expandafter\:temp\expandafter{\aa:Css}\Needs{#1}}}
170
171 \expandafter\ifx \csname aa:Css\endcsname\relax
172 \Configure{Css}{Css: ##1}
173 \fi
174
175 \Configure{Preamble}
176 {{\ifdim \lastskip>\z@ \unskip\fi \IgnorePar\parindent\z@
177 \leavevmode}%
178 \immediate\write-1{--- file \aa:CssFile\space ---}%
179 \ht:special{t4ht>\aa:CssFile}\ht:special{t4ht=\Hnewline /* css.sty */}%
180 \ht:special{t4ht<\aa:CssFile}%
181 } {}
182 \Configure{CssFile}{\jobname.css}
183 {/* \aa:CssFile\space from \jobname.tex (TeX4ht) */}
184 \Configure{Needs}{l.
185 \the\inputlineno\space--- needs --- #1 ---}
186 \Configure{Needs-}{l.
187 \the\inputlineno\space--- needs --- #1 ---}
188 \Configure{htf}{0}{+}{<hi rendition="\#}{\%s}{-\%s}{x-x-\%d}{}{">}{</hi>}
189 \Configure{htf}{4}{+}{<hi rend="small-caps">}{}{}{}{}{}{</hi>}
190 \Configure{htf}{6}{+}{<hi rend="underline">}{}{}{}{}{}{</hi>}
191 \Configure{htf}{8}{+}{<hi rend="superscript">}{}{}{}{}{}{</hi>}
192 \Configure{htf}{10}{+}{<hi rend="bold">}{}{}{}{}{}{</hi>}
193 \Configure{htf}{12}{+}{<hi rend="caligraphy">}{}{}{}{}{}{</hi>}
194 \Configure{htf}{14}{+}{<hi rend="italic">}{}{}{}{}{}{</hi>}
195 \Configure{htf}{16}{+}{<hi rend="bold">}{}{}{}{}{}{</hi>}
196 \Configure{htf}{18}{+}{<hi rend="calligraphy-bold">}{}{}{}{}{}{</hi>}
197 \Configure{htf}{20}{+}{<hi rend="htf-flip-hor">}{}{}{}{}{}{</hi>}
198 \Configure{htf}{22}{+}{<hi rend="subscript>}{}{}{}{}{}{</hi>}
199 \Configure{htf}{24}{+}{<hi rend="small-caps">}{}{}{}{}{}{</hi>}
200
201 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
202
203 \endinput\empty\empty\empty\empty\empty\empty
204 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
205
206
207
208
209
210 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
211 \ConfigureHinput{latex}
212 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
213 \expandafter\let\csname tex4ht:4ht\endcsname\empty
214 \def\no:dupl#1#2{%
215 \expandafter\ifx \csname #1:4ht\endcsname\relax
216 \expandafter\let \csname #1:4ht\endcsname\empty
217 \expand:after{#2}%
218 \fi
219 }
220
221 \ifx\InputIfFileExists\UnDef%
222 \def\input:if:fileexists#1#2#3{%
223 \openin15 #1.4ht%
224 \ifeof15%
225 #3%
226 \else%
227 \input #1%
228 \fi\closein15%
229 }%
230 \else
231 \let\input:if:fileexists\InputIfFileExists%
232 \fi%
233 \Hinclude{\input #1.4ht}{fontmath}
234 \Hinclude{\@ifpackageloaded{colortbl}{%
235 \no:dupl{array}{\input array.4ht}%
236 \no:dupl{color}{\input color.4ht}%
237 \no:dupl{colortbl}{\input colortbl.4ht}%
238 }{}}{colortbl}
239
240 \def\:strip:quotes"#1"#2"#3\relax{\if .#1.#2\else #1\fi}
241 \def\h:input#1.#2.#3!*?: {%
242 \edef\:current:package{\:strip:quotes"#1""\relax}
243 \:CheckOption{no_\:current:package}\if:Option
244 \let\:temp\empty
245 \else
246 \let\:temp\empty
247 \no:dupl{\:current:package}{%
248 \def\:warn:msg{}
249 \:CheckOption{debug}\if:Option
250 \def\:warn:msg{%
251 \:warning{No configuration file for \:current:package.\if .#2.tex\else #2\fi}%
252 }
253 \fi%
254 \def\:temp{\input:if:fileexists{\:current:package.4ht}{}{\:warn:msg}}%
255 }%
256 \fi \:temp}
257 \edef\:temp{\noexpand\Hinclude
258 {\noexpand\h:input ##1..!*?: }{\@filelist}}
259 \:temp
260
261 \expandafter\let\csname tex4ht:4ht\endcsname\empty
262 \def\no:dupl#1#2{%
263 \expandafter\ifx \csname #1:4ht\endcsname\relax
264 \expandafter\let \csname #1:4ht\endcsname\empty
265 \expand:after{#2}%
266 \fi
267 }
268
269 \Hinclude{\ifx \PsfigVersion\:UnDef \else
270 \no:dupl{#1}{\expand:after{\input psfig.4ht}}\fi}
271 {psfig}
272 \Hinclude{\:CheckOption{#1}
273 \if:Option \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
274 {pictex}
275 \Hinclude{%
276 \expandafter\ifx \csname PSTricksLoaded\endcsname\relax\else
277 \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
278 {pstricks}
279 \Hinclude{%
280 \ifx \:DraCatCodes\:UnDef \else
281 \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
282 {dratex}
283 \Hinclude{%
284 \ifx \xyloaded\:UnDef \else
285 \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
286 {xy}
287
288 \Hinclude{%
289 \ifx \epsfsetgraph\:UnDef \else
290 \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
291 {epsf}
292
293 \Hinclude{%
294 \ifx \diagram@help@messages\:UnDef \else
295 \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
296 {diagrams}
297
298 \Hinclude{%
299 \ifx \figvisu\:UnDef \else
300 \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
301 {fig4tex}
302
303 \Hinclude{}
304 {pctable}
305 \Hinclude{%
306 \:CheckOption{xhtml}\if:Option \fi}
307 {xhtml}
308 \Hinclude{\:CheckOption{#1}
309 \if:Option\else \:CheckOption{ShowFont}\fi
310 \if:Option\else \:CheckOption{frames-}\fi
311 \if:Option\else \:CheckOption{frames}\fi
312 \if:Option\else \:CheckOption{image-maps}\fi
313 \if:Option\else \:CheckOption{java}\fi
314 \if:Option\else \:CheckOption{javascript}\fi
315 \if:Option \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
316 {th4}
317 \Hinclude{\ifx \sethebrew\:UnDef\else \ifx \ArabTeX\:UnDef\else
318 \no:dupl{#1}{\expand:after{\input hebtex.4ht}}\fi \fi}
319 {hebtex}
320
321 \Configure{InsertTitle}{\let\label=\lb:l
322 \let\ref=\o:ref \Configure{ref}{}{}{}}
323 \Configure{AfterTitle}{\let\index=\:index
324 \let\ref=\:ref \let\label=\lb:l }
325 \Configure{NoSection}
326 {\let\sv:index=\index \let\sv:label=\label \let\sv:ref=\ref
327 \let\sv:newline=\newline \def\newline{ }%
328 \let\sv:setfontsize=\@setfontsize \let\@setfontsize=\:gobbleIII
329 \let\index=\@gobble \let\label=\@gobble \let\ref=\@gobble
330 }
331 {\let\index=\sv:index \let\label=\sv:label \let\ref=\sv:ref
332 \let\newline=\sv:newline \let\@setfontsize=\sv:setfontsize
333 }
334
335 \Configure{TITLE}
336 {\HCode{<titleStmt>\Hnewline
337 <title>\ifTag{TITLE+}{\LikeRef{TITLE+}}{}</title>\Hnewline
338 <author>\ifTag{)author)}{\LikeRef{)author)}}{}</author>\Hnewline
339 </titleStmt>\Hnewline
340 }}
341 {}%
342
343 \ConfigureEnv{verbatim}
344 {\ifinner\else \vfill\break\fi
345 \IgnorePar\EndP\HCode{<p rend="verbatim">}\EndNoFonts}
346 {\NoFonts \ht:special{t4ht=</p>}\ShowPar\par}
347 {} {}
348 \ConfigureEnv{verbatim*}
349 {\ifinner\else \vfill\break\fi
350 \IgnorePar\EndP\HCode{<p rend="verbatim-star">}\EndNoFonts}
351 {\NoFonts \HCode{</note><p>}\ShowPar\par}
352 {} {}
353 \Configure{verbatim}{\:nbsp}{\a:sp}
354 \ConfigureEnv{flushleft}
355 {\IgnorePar\EndP\HCode{<div type="flushleft">}%
356 \gHAdvance\P:level by 1 }
357 {\IgnorePar\EndP\gHAdvance\P:level by -1 \HCode{</div>}}
358 {}{}
359 \ConfigureEnv{flushright}
360 {\IgnorePar\EndP\HCode{<div type="flushright">}%
361 \gHAdvance\P:level by 1 }
362 {\IgnorePar\EndP\gHAdvance\P:level by -1 \HCode{</div>}}
363 {}{}
364 \ConfigureList{flushleft}
365 {}{}
366 {} {\par\ShowPar}
367 \ConfigureList{flushright}
368 {}{}
369 {} {\par\ShowPar}
370
371 \ConfigureList{trivlist}%
372 {\EndP\HCode{<list type="gloss">}\let\end:itm=\empty}
373 {\EndP\HCode{</item></list>}\ShowPar}
374 {\end:itm\def\end:itm{\EndP\Tg</item>}\HCode{<label>}\bgroup \bf}
375 {\egroup\HCode{</label><item\Hnewline>}}
376 \ConfigureList{list}%
377 {\EndP\HCode{<list type="gloss">}\let\end:itm=\empty}
378 {\EndP\HCode{</item></list>}\ShowPar}
379 {\end:itm\def\end:itm{\EndP\Tg</item>}\HCode{<label>}\bgroup \bf}
380 {\egroup\HCode{</label><item\Hnewline>}}
381 \ConfigureList{itemize}%
382 {\EndP\HCode{<list type="bulleted">}\let\end:itm=\empty}
383 {\EndP\HCode{</item></list>}\ShowPar}
384 {\end:itm\def\end:itm{\EndP\Tg</item>}\DeleteMark}
385 {\HCode{<item>}}
386 \ConfigureList{enumerate}%
387 {\EndP\HCode{<list type="ordered"\Hnewline>}\let\end:itm=\empty}
388 {\EndP\HCode{</item></list>}\ShowPar}
389 {\end:itm\def\end:itm{\EndP\Tg</item>}\DeleteMark}
390 {\HCode{<item>}\AnchorLabel}
391 \Configure{cite}{}{}{\Link}{\EndLink}
392 \Configure{bibitem}{\Link}{\EndLink}
393
394 \Configure{tabular}
395 {\gHAdvance\tabularN by 1 \PushStack\tabular:N\tabularN
396 \let\prevR:max=\R:max \let\prevC:max=\C:max \gHAssign\C:max=0
397 \expandafter\ifx \csname cw:rc-\tabularN\endcsname \relax
398 \tmp:toks{ }%
399 \else
400 \expandafter\expandafter\expandafter\tmp:toks
401 \expandafter\expandafter\expandafter{\csname
402 cw:rc-\tabularN\endcsname}%
403 \fi
404 %
405 \HCode{<table\Hnewline \the\tmp:toks
406 >}}
407 {\HCode{</table>}%
408 \PopStack\tabular:N\i:var \expandafter\tmp:toks\expandafter{\Clr}%
409 %
410 \Tag{rc-\i:var}{rend="\the\tmp:toks
411 " rows="\R:max" cols="\C:max"}
412 \global\let\R:max=\prevR:max \global\let\C:max=\prevC:max
413 }
414 {\gHAssign\R:max=\HRow
415 \HCode{<row role="data">}}
416 {\HCode{</row>}}
417 {\HAssign\i:var=\HCol \HAdvance\i:var by \HMultispan
418 \HAdvance\i:var by -1 \ifnum \C:max<\i:var \gHAssign\C:max=\i:var \fi
419 %
420 \HCode{<cell\Hnewline cols="\HMultispan" rows="1" role="data">}}
421 {\HCode{</cell>}}
422 \HAssign\tabularN=0
423 \Configure{hline}{}
424 \Configure{//[]}{}
425
426 \Configure{centerline}
427 {\ifvmode \IgnorePar \fi \EndP\HCode{<p \Hnewline
428 rend="centerline">}}
429 {\EndP\HCode{</p>}\ShowPar}
430 \Configure{leftline}
431 {\ifvmode \IgnorePar \fi \EndP\HCode{<p \Hnewline
432 rend="leftline">}}
433 {\EndP\HCode{</p>}\ShowPar}
434 \Configure{rightline}
435 {\ifvmode \IgnorePar \fi \EndP\HCode{<p \Hnewline
436 rend="rightline">}}
437 {\EndP\HCode{</p>}\ShowPar}
438
439 \:CheckOption{new-accents} \if:Option
440 \:CheckOption{accent-} \if:Option
441 \Configure{HAccent}\acute{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
442 \Configure{HAccent}\bar{}{\Picture+{}}{\EndPicture}
443 \Configure{HAccent}\breve{}{\Picture+{}}{\EndPicture}
444 \Configure{HAccent}\check{}{\Picture+{}}{\EndPicture}
445 \Configure{HAccent}\ddot{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
446 \Configure{HAccent}\dot{}{\Picture+{}}{\EndPicture}
447 \Configure{HAccent}\grave{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
448 \Configure{HAccent}\hat{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
449 \Configure{HAccent}\tilde{AOaoNn{}}{\Picture+{}}{\EndPicture}
450 \Configure{HAccent}\vec{}{\Picture+{}}{\EndPicture}
451 \Configure{HAccent}\widehat{}{\Picture+{}}{\EndPicture}
452 \Configure{HAccent}\widetilde{}{\Picture+{}}{\EndPicture}
453 \fi
454 \:CheckOption{mathaccent-} \if:Option
455 \Configure{HAccent}\"{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
456 \Configure{HAccent}\'{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
457 \Configure{HAccent}\.{}{\Picture+{}}{\EndPicture}
458 \Configure{HAccent}\={}{\Picture+{}}{\EndPicture}
459 \Configure{HAccent}\H{}{\Picture+{}}{\EndPicture}
460 \Configure{HAccent}\^{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
461 \Configure{HAccent}\`{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
462 \Configure{HAccent}\b{}{\Picture+{}}{\EndPicture}
463 \Configure{HAccent}\c{Cc{}}{\Picture+{}}{\EndPicture}
464 \Configure{HAccent}\d{}{\Picture+{}}{\EndPicture}
465 \Configure{HAccent}\t{}{\Picture+{}}{\EndPicture}
466 \Configure{HAccent}\u{}{\Picture+{}}{\EndPicture}
467 \Configure{HAccent}\v{}{\Picture+{}}{\EndPicture}
468 \Configure{HAccent}\~{AOaoNn{}}{\Picture+{}}{\EndPicture}
469 \fi
470 \Configure{accent}{*}
471 {<!--tex4ht:accent\Hnewline font="}{" char="}{" type="}{"-->}
472 {<!--tex4ht:end accent-->}
473 \Configure{mathaccent}{*}
474 {<!--tex4ht:mathaccent\Hnewline font="}{" char="}{" type="}{"-->}
475 {<!--tex4ht:end mathaccent-->}
476 \Configure{accented}{*}
477 {<!--tex4ht:accented\Hnewline font="}{" char="}{" type="}{"-->}
478 {<!--tex4ht:end accented-->}
479 \Configure{accenting}{*}
480 {<!--tex4ht:accenting\Hnewline-->}
481 {<!--tex4ht:end accenting-->}
482
483 \else
484 \Configure{accent}\`\grave{A{A}E{E}I{I}O{O}U{U}%
485 a{a}e{e}i{i}\i{i}o{o}u{u}{}{}}
486 {\a:accents{grave}{#1}} {\b:accents{grave}{#1}{#2}}
487 \Configure{accent}\'\acute{A{A}E{E}I{I}O{O}U{U}Y%
488 {Y}a{a}e{e}i{i}\i{i}o{o}u{u}y{y}{}{}}
489 {\a:accents{acute}{#1}} {\b:accents{acute}{#1}{#2}}
490 \Configure{accent}\^\hat{A{A}E{E}I{I}O{O}U{U}a{a}%
491 e{e}i{i}\i{i}o{o}u{u}{}{}}
492 {\a:accents{circ}{#1}} {\b:accents{hat}{#1}{#2}}
493 \Configure{accent}\~\tilde{A{A}O{O}a{a}o{o}N{N}n{n}{}{}}
494 {\a:accents{tilde}{#1}} {\b:accents{tilde}{#1}{#2}}
495 \Configure{accent}\"\ddot{A{A}E{E}I{I}O{O}U{U}Y%
496 {Y}a{a}e{e}i{i}\i{i}o{o}u{u}y{y}{}{34}}
497 {\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}}
498 \Configure{accent}\c\c{C{C}c{c}{}{}}
499 {\a:accents{cedil}{#1}} {\b:accents{cedil}{#1}{#2}}
500 \Configure{accent}\t\t{{}{}}
501 {\a:accents{udot}{#1}} {\b:accents{udot}{#1}{#2}}
502 \Configure{accent}\H\H{{}{}} {}{\b:accents{Huml}{#1}{#2}}
503 \Configure{accent}\.\dot{{}{}} {}{\b:accents{dot}{#1}{#2}}
504 \Configure{accent}\u\breve{{}{}}{}{\b:accents{breve}{#1}{#2}}
505 \Configure{accent}\vec\vec{{}{}}{}{\b:accents{vec}{#1}{#2}}
506 \Configure{accent}\v\check{{}{}}{}{\b:accents{check}{#1}{#2}}
507 \Configure{accent}\=\bar{{}{}} {}{\b:accents{bar}{#1}{#2}}
508 \Configure{accent}\widetilde\widetilde{{}{}}
509 {}{\b:accents{widetilde}{#1}{#2}}
510 \Configure{accent}\widehat\widehat{{}{}}
511 {}{\b:accents{widehat}{#1}{#2}}
512
513 \fi
514 \let\^^_=\v
515
516 \let\@acci=\' \let\@accii=\` \let\@acciii=\=
517
518 \Configure{equation}
519 {} {\HCode{<title>}} {\HCode{</title>}}
520 \ConfigureEnv{equation}
521 {\IgnorePar\EndP
522 \HCode{<div rend="equation"><p rend="equation">}}
523 {\HCode{</p></div>}\ShowPar\par}
524 {}{}
525
526 \Configure{verb}{}{}
527 \Configure{obeylines}
528 {\ifvmode \EndP
529 \HCode{<div rend="obeylines-v">}%
530 \gdef\ob:ln{div}%
531 \else \HCode{<emph rend="obeylines-h">}%
532 \gdef\ob:ln{emph}%
533 \fi
534 }
535 {\ht:special{t4ht=</\ob:ln>}\ShowPar} {\hbox{\HCode{<br />}}}
536
537 \gHAssign\P:level=0
538 \Configure{newline}{\HCode{<!--br/-->}}
539 \ConfigureEnv{minipage}
540 {\IgnorePar\EndP\HCode{<note rend="minipage">}}
541 {\IgnorePar\EndP\HCode{</note>}\ShowPar}
542 {}{}
543 \Configure{newtheorem}
544 {\IgnorePar\EndP\HCode{<note rend="newtheorem"><title>}}
545 {\HCode{</title>}\ShowPar\par}
546 {\IgnorePar\EndP\HCode{</note>}\ShowPar\par}
547
548 \Configure{@TITLE}{\def\LaTeX{LaTeX}\let\fontencoding=\:gobble
549 \let\fontfamily=\:gobble \let\fontseries=\:gobble
550 \let\fontshape=\:gobble \let\usefont=\:gobbleIV }
551
552 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
553
554 \endinput\empty\empty\empty\empty\empty\empty
555 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
556
557
558 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
559 \ConfigureHinput{book}
560 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
561 \HAssign\DivLevel=0
562 \HAssign\DivCount=0
563 \def\OpenDiv#1{%
564 \IgnorePar\EndP \PopStack\text:stack\:temp \def\:tempa{body}%
565 \ifx \:temp\:tempa \else \HCode{</\:temp><body>}\fi
566 \PushStack\text:stack{body}%
567 \ifnum \DivLevel>0 \ifnum \DivLevel=0\LikeRef{dv)\DivCount}\relax
568 \gHAdvance\P:level by 1
569 \HCode{</div>}%
570 \fi\fi
571 %
572 \gHAdvance\DivLevel by 1
573 \HCode{<!--l. \the\inputlineno--><div\Hnewline
574 type="#1">}\gHAdvance\P:level by 1 }
575 \def\CloseDiv#1{%
576 \IgnorePar\EndP \gHAdvance\P:level by -1 \HCode{</div><!--end #1-->}%
577 \gHAdvance\DivLevel by -1
578 }
579 \def\CloseHead{\HCode{</head>}%
580 \gHAdvance\DivCount by 1
581 \Tag{dv)\DivCount}{\DivLevel}%
582 \HAdvance\DivLevel by 1
583 \HAdvance\DivCount by 1
584 \ifnum \DivLevel=0\LikeRef{dv)\DivCount}\relax
585 \HCode{<div type="preamble"><p></p>}%
586 \gHAdvance\P:level by 1
587 \fi
588 \HAdvance\DivLevel by -1
589 \HAdvance\DivCount by -1
590 \ShowPar\par}
591
592
593 \Configure{maketitle}
594 {{\Configure{maketitle}{}{}{}{}{}{}{}{}%
595 \let\leavevmode=\empty \let\not@math@alphabet=\:gobbleII
596 \def\text@command##1{##1}\let\selectfont=\empty \let\\=\empty
597 \no:fonts \def\check@icl ##1\check@icr{}%
598 \:TITLE: \a:NoSection
599 \Tag{TITLE+}{\@title}}%
600 \HCode{<titlePage>}}
601 {\HCode{</titlePage>}}
602 {\HCode{<title>}}
603 {\HCode{</title>}}
604 \Configure{thanks author date and}{}{}
605 {{\Configure{thanks author date and}{}{}{}{}{}{}{}{}%
606 \let\leavevmode=\empty \let\not@math@alphabet=\:gobbleII
607 \def\text@command##1{##1}\let\selectfont=\empty \let\\=\empty
608 \no:fonts \def\check@icl ##1\check@icr{}%
609 \:TITLE: \a:NoSection
610 \Tag{)author)}{\@author}}%
611 \HCode{<author>}}
612 {\HCode{</author>}}
613 {\HCode{<date>}} {\HCode{</date>}}
614 {\HCode{<!--and-->}}
615 {}
616
617 \ConfigureList{thebibliography}%
618 {\IgnorePar\EndP
619 \HCode{<div rend="thebibliography"><listBibl>}\let\en:bib=\empty}
620 {\en:bib\HCode{</listBibl></div>}}
621 {\en:bib\def\en:bib{\HCode{</bibl>}}%
622 \HCode{<!--l. \the\inputlineno--><!--}\Configure{HtmlPar}
623 {\HCode{<!--l. \the\inputlineno--><gap desc="bib p"/>}}
624 {\HCode{<!--l. \the\inputlineno--><gap desc="bib p"/>}}
625 {} {}
626 }
627 {\HCode{--><bibl>}}
628
629 \ConfigureEnv{figure}
630 {\ifvmode \IgnorePar\fi\EndP \HCode{<note rend="figure">}}
631 {\ifvmode \IgnorePar\fi\EndP \HCode{</note>}}
632 {}{}
633 \Configure{caption}
634 {}{}
635 {\HCode{<title>}} {\HCode{</title>}}
636
637 \Configure{tableofcontents}
638 {\ifvmode\IgnorePar\fi \EndP
639 \HCode{<divGen type="toc"/>}}
640 {} {}{}{}
641 \ConfigureToc{likeparagraph}{}{}{}{}
642 \ConfigureToc{likepart}{}{}{}{}
643 \ConfigureToc{likesection}{}{}{}{}
644 \ConfigureToc{likesubparagraph}{}{}{}{}
645 \ConfigureToc{likesubsection}{}{}{}{}
646 \ConfigureToc{likesubsubsection}{}{}{}{}
647 \ConfigureToc{paragraph}{}{}{}{}
648 \ConfigureToc{part}{}{}{}{}
649 \ConfigureToc{section}{}{}{}{}
650 \ConfigureToc{subparagraph}{}{}{}{}
651 \ConfigureToc{subsection}{}{}{}{}
652 \ConfigureToc{subsubsection}{}{}{}{}
653
654 \ConfigureToc{appendix}{}{}{}{}
655 \ConfigureToc{chapter}{}{}{}{}
656 \ConfigureToc{likechapter}{}{}{}{}
657
658
659 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
660
661 \endinput\empty\empty\empty\empty\empty\empty
662 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
663
664 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
665 \ConfigureHinput{report}
666 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
667 \HAssign\DivLevel=0
668 \HAssign\DivCount=0
669 \def\OpenDiv#1{%
670 \IgnorePar\EndP \PopStack\text:stack\:temp \def\:tempa{body}%
671 \ifx \:temp\:tempa \else \HCode{</\:temp><body>}\fi
672 \PushStack\text:stack{body}%
673 \ifnum \DivLevel>0 \ifnum \DivLevel=0\LikeRef{dv)\DivCount}\relax
674 \gHAdvance\P:level by 1
675 \HCode{</div>}%
676 \fi\fi
677 %
678 \gHAdvance\DivLevel by 1
679 \HCode{<!--l. \the\inputlineno--><div\Hnewline
680 type="#1">}\gHAdvance\P:level by 1 }
681 \def\CloseDiv#1{%
682 \IgnorePar\EndP \gHAdvance\P:level by -1 \HCode{</div><!--end #1-->}%
683 \gHAdvance\DivLevel by -1
684 }
685 \def\CloseHead{\HCode{</head>}%
686 \gHAdvance\DivCount by 1
687 \Tag{dv)\DivCount}{\DivLevel}%
688 \HAdvance\DivLevel by 1
689 \HAdvance\DivCount by 1
690 \ifnum \DivLevel=0\LikeRef{dv)\DivCount}\relax
691 \HCode{<div type="preamble"><p></p>}%
692 \gHAdvance\P:level by 1
693 \fi
694 \HAdvance\DivLevel by -1
695 \HAdvance\DivCount by -1
696 \ShowPar\par}
697
698
699 \Configure{maketitle}
700 {{\Configure{maketitle}{}{}{}{}{}{}{}{}%
701 \let\leavevmode=\empty \let\not@math@alphabet=\:gobbleII
702 \def\text@command##1{##1}\let\selectfont=\empty \let\\=\empty
703 \no:fonts \def\check@icl ##1\check@icr{}%
704 \:TITLE: \a:NoSection
705 \Tag{TITLE+}{\@title}}%
706 \HCode{<titlePage>}}
707 {\HCode{</titlePage>}}
708 {\HCode{<docTitle><titlePart type="main">}}
709 {\HCode{</titlePart></docTitle>}}
710 \Configure{thanks author date and}{}{}
711 {{\Configure{thanks author date and}{}{}{}{}{}{}{}{}%
712 \let\leavevmode=\empty \let\not@math@alphabet=\:gobbleII
713 \def\text@command##1{##1}\let\selectfont=\empty \let\\=\empty
714 \no:fonts \def\check@icl ##1\check@icr{}%
715 \:TITLE: \a:NoSection
716 \Tag{)author)}{\@author}}%
717 \HCode{<docAuthor>}}
718 {\HCode{</docAuthor>}}
719 {\HCode{<docDate>}} {\HCode{</docDate>}}
720 {\HCode{<!--and-->}}
721 {}
722
723 \ConfigureList{thebibliography}%
724 {\IgnorePar\EndP
725 \HCode{<div rend="thebibliography"><listBibl>}\let\en:bib=\empty}
726 {\en:bib\HCode{</listBibl></div>}}
727 {\en:bib\def\en:bib{\HCode{</bibl>}}%
728 \HCode{<!--l. \the\inputlineno--><!--}\Configure{HtmlPar}
729 {\HCode{<!--l. \the\inputlineno--><gap desc="bib p"/>}}
730 {\HCode{<!--l. \the\inputlineno--><gap desc="bib p"/>}}
731 {} {}
732 }
733 {\HCode{--><bibl>}}
734
735 \ConfigureEnv{figure}
736 {\ifvmode \IgnorePar\fi\EndP \HCode{<note rend="figure">}}
737 {\ifvmode \IgnorePar\fi\EndP \HCode{</note>}}
738 {}{}
739 \Configure{caption}
740 {}{}
741 {\HCode{<title>}} {\HCode{</title>}}
742
743 \Configure{tableofcontents}
744 {\ifvmode\IgnorePar\fi \EndP
745 \HCode{<divGen type="toc"/>}}
746 {} {}{}{}
747 \ConfigureToc{likeparagraph}{}{}{}{}
748 \ConfigureToc{likepart}{}{}{}{}
749 \ConfigureToc{likesection}{}{}{}{}
750 \ConfigureToc{likesubparagraph}{}{}{}{}
751 \ConfigureToc{likesubsection}{}{}{}{}
752 \ConfigureToc{likesubsubsection}{}{}{}{}
753 \ConfigureToc{paragraph}{}{}{}{}
754 \ConfigureToc{part}{}{}{}{}
755 \ConfigureToc{section}{}{}{}{}
756 \ConfigureToc{subparagraph}{}{}{}{}
757 \ConfigureToc{subsection}{}{}{}{}
758 \ConfigureToc{subsubsection}{}{}{}{}
759
760 \ConfigureToc{appendix}{}{}{}{}
761 \ConfigureToc{chapter}{}{}{}{}
762 \ConfigureToc{likechapter}{}{}{}{}
763
764 \ConfigureEnv{abstract}
765 {\IgnorePar\EndP\HCode{<div type="abstract">}%
766 \gHAdvance\P:level by 1 }
767 {\IgnorePar\EndP\gHAdvance\P:level by -1 \HCode{</div>}}
768 {\HCode{<head>}}
769 {\HCode{</head>}}
770
771
772 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
773
774 \endinput\empty\empty\empty\empty\empty\empty
775 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
776
777 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
778 \ConfigureHinput{article}
779 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
780 \HAssign\DivLevel=0
781 \HAssign\DivCount=0
782 \def\OpenDiv#1{%
783 \IgnorePar\EndP \PopStack\text:stack\:temp \def\:tempa{body}%
784 \ifx \:temp\:tempa \else \HCode{</\:temp><body>}\fi
785 \PushStack\text:stack{body}%
786 \ifnum \DivLevel>0 \ifnum \DivLevel=0\LikeRef{dv)\DivCount}\relax
787 \gHAdvance\P:level by 1
788 \HCode{</div>}%
789 \fi\fi
790 %
791 \gHAdvance\DivLevel by 1
792 \HCode{<!--l. \the\inputlineno--><div\Hnewline
793 type="#1">}\gHAdvance\P:level by 1 }
794 \def\CloseDiv#1{%
795 \IgnorePar\EndP \gHAdvance\P:level by -1 \HCode{</div><!--end #1-->}%
796 \gHAdvance\DivLevel by -1
797 }
798 \def\CloseHead{\HCode{</head>}%
799 \gHAdvance\DivCount by 1
800 \Tag{dv)\DivCount}{\DivLevel}%
801 \HAdvance\DivLevel by 1
802 \HAdvance\DivCount by 1
803 \ifnum \DivLevel=0\LikeRef{dv)\DivCount}\relax
804 \HCode{<div type="preamble"><p></p>}%
805 \gHAdvance\P:level by 1
806 \fi
807 \HAdvance\DivLevel by -1
808 \HAdvance\DivCount by -1
809 \ShowPar\par}
810
811
812 \Configure{maketitle}
813 {{\Configure{maketitle}{}{}{}{}{}{}{}{}%
814 \let\leavevmode=\empty \let\not@math@alphabet=\:gobbleII
815 \def\text@command##1{##1}\let\selectfont=\empty \let\\=\empty
816 \no:fonts \def\check@icl ##1\check@icr{}%
817 \:TITLE: \a:NoSection
818 \Tag{TITLE+}{\@title}}%
819 \HCode{<titlePage>}}
820 {\HCode{</titlePage>}}
821 {\HCode{<docTitle><titlePart type="main">}}
822 {\HCode{</titlePart></docTitle>}}
823 \Configure{thanks author date and}{}{}
824 {{\Configure{thanks author date and}{}{}{}{}{}{}{}{}%
825 \let\leavevmode=\empty \let\not@math@alphabet=\:gobbleII
826 \def\text@command##1{##1}\let\selectfont=\empty \let\\=\empty
827 \no:fonts \def\check@icl ##1\check@icr{}%
828 \:TITLE: \a:NoSection
829 \Tag{)author)}{\@author}}%
830 \HCode{<docAuthor>}}
831 {\HCode{</docAuthor>}}
832 {\HCode{<docDate>}} {\HCode{</docDate>}}
833 {\HCode{<!--and-->}}
834 {}
835
836 \Configure{part}
837 {\OpenDiv{part}} {\CloseDiv{part}}
838 {\HCode{<head>}} {\CloseHead}
839 \Configure{section}
840 {\OpenDiv{section}} {\CloseDiv{section}}
841 {\HCode{<head>}} {\CloseHead}
842 \Configure{subsection}
843 {\OpenDiv{subsection}} {\CloseDiv{subsection}}
844 {\HCode{<head>}} {\CloseHead}
845 \Configure{subsubsection}
846 {\OpenDiv{subsubsection}} {\CloseDiv{subsubsection}}
847 {\HCode{<head>}} {\CloseHead}
848 \Configure{paragraph}
849 {\OpenDiv{paragraph}} {\CloseDiv{paragraph}}
850 {\HCode{<head>}} {\CloseHead}
851 \Configure{subparagraph}
852 {\OpenDiv{subparagraph}} {\CloseDiv{subparagraph}}
853 {\HCode{<head>}} {\CloseHead}
854 \Configure{likepart}
855 {\OpenDiv{likepart}} {\CloseDiv{likepart}}
856 {\HCode{<head>}} {\CloseHead}
857 \Configure{likesection}
858 {\OpenDiv{likesection}} {\CloseDiv{likesection}}
859 {\HCode{<head>}} {\CloseHead}
860 \Configure{likesubsection}
861 {\OpenDiv{likesubsection}} {\CloseDiv{likesubsection}}
862 {\HCode{<head>}} {\CloseHead}
863 \Configure{likesubsubsection}
864 {\OpenDiv{likesubsubsection}} {\CloseDiv{likesubsubsection}}
865 {\HCode{<head>}} {\CloseHead}
866 \Configure{likeparagraph}
867 {\OpenDiv{likeparagraph}} {\CloseDiv{likeparagraph}}
868 {\HCode{<head>}} {\CloseHead}
869 \Configure{likesubparagraph}
870 {\OpenDiv{likesubparagraph}} {\CloseDiv{likesubparagraph}}
871 {\HCode{<head>}} {\CloseHead}
872 \Configure{endsection}
873 {likesection,chapter,likechapter,appendix,part,likepart}
874 \Configure{endlikesection}
875 {section,chapter,likechapter,appendix,part,likepart}
876 \Configure{endsubsection}
877 {likesubsection,section,likesection,chapter,%
878 likechapter,appendix,part,likpart}
879 \Configure{endlikesubsection}
880 {subsection,section,likesection,chapter,%
881 likechapter,appendix,part,likpart}
882 \Configure{endsubsubsection}
883 {likesubsubsection,subsection,likesubsection,section,%
884 likesection,chapter,likechapter,appendix,part,likpart}
885 \Configure{endlikesubsubsection}
886 {subsubsection,subsection,likesubsection,section,%
887 likesection,chapter,likechapter,appendix,part,likpart}
888 \Configure{endparagraph}
889 {likeparagraph,subsubsection,likesubsubsection,subsection,%
890 likesubsection,section,%
891 likesection,chapter,likechapter,appendix,part,likpart}
892 \Configure{endlikeparagraph}
893 {paragraph,subsubsection,likesubsubsection,subsection,%
894 likesubsection,section,%
895 likesection,chapter,likechapter,appendix,part,likpart}
896 \Configure{endsubparagraph}
897 {likesubparagraph,likeparagraph,subsubsection,likesubsubsection,%
898 subsection,likesubsection,section,%
899 likesection,chapter,likechapter,appendix,part,likpart}
900 \Configure{endlikesubparagraph}
901 {subparagraph,likeparagraph,subsubsection,likesubsubsection,%
902 subsection,likesubsection,section,%
903 likesection,chapter,likechapter,appendix,part,likpart}
904 \ifx \part\:UnDef \else
905 \Configure{endpart}{likepart}
906 \Configure{endlikepart}{endpart}
907 \fi
908
909 \ConfigureList{thebibliography}%
910 {\IgnorePar\EndP
911 \HCode{<div rend="thebibliography"><listBibl>}\let\en:bib=\empty}
912 {\en:bib\HCode{</listBibl></div>}}
913 {\en:bib\def\en:bib{\HCode{</bibl>}}%
914 \HCode{<!--l. \the\inputlineno--><!--}\Configure{HtmlPar}
915 {\HCode{<!--l. \the\inputlineno--><gap desc="bib p"/>}}
916 {\HCode{<!--l. \the\inputlineno--><gap desc="bib p"/>}}
917 {} {}
918 }
919 {\HCode{--><bibl>}}
920
921 \ConfigureEnv{figure}
922 {\ifvmode \IgnorePar\fi\EndP \HCode{<note rend="figure">}}
923 {\ifvmode \IgnorePar\fi\EndP \HCode{</note>}}
924 {}{}
925 \Configure{caption}
926 {}{}
927 {\HCode{<title>}} {\HCode{</title>}}
928
929 \Configure{tableofcontents}
930 {\ifvmode\IgnorePar\fi \EndP
931 \HCode{<divGen type="toc"/>}}
932 {} {}{}{}
933 \ConfigureToc{likeparagraph}{}{}{}{}
934 \ConfigureToc{likepart}{}{}{}{}
935 \ConfigureToc{likesection}{}{}{}{}
936 \ConfigureToc{likesubparagraph}{}{}{}{}
937 \ConfigureToc{likesubsection}{}{}{}{}
938 \ConfigureToc{likesubsubsection}{}{}{}{}
939 \ConfigureToc{paragraph}{}{}{}{}
940 \ConfigureToc{part}{}{}{}{}
941 \ConfigureToc{section}{}{}{}{}
942 \ConfigureToc{subparagraph}{}{}{}{}
943 \ConfigureToc{subsection}{}{}{}{}
944 \ConfigureToc{subsubsection}{}{}{}{}
945
946 \ConfigureEnv{abstract}
947 {\IgnorePar\EndP\HCode{<div type="abstract">}%
948 \gHAdvance\P:level by 1 }
949 {\IgnorePar\EndP\gHAdvance\P:level by -1 \HCode{</div>}}
950 {\HCode{<head>}}
951 {\HCode{</head>}}
952
953
954 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
955
956 \endinput\empty\empty\empty\empty\empty\empty
957 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
958
959
960
961 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
962 \ConfigureHinput{fontmath}
963 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
964 \Configure{mathit}{\ifmathml\else \HCode{<hi rend="it">}\fi}
965 {\ifmathml\else \HCode{</hi>}\fi}
966 \Configure{mathbf}{\ifmathml\else \HCode{<hi rend="bf">}\fi}
967 {\ifmathml\else \HCode{</hi>}\fi}
968 \Configure{mathtt}{\ifmathml\else \HCode{<hi rend="tt">}\fi}
969 {\ifmathml\else \HCode{</hi>}\fi}
970 \Configure{mathsf}{\ifmathml\else \HCode{<hi rend="sf">}\fi}
971 {\ifmathml\else \HCode{</hi>}\fi}
972 \Configure{mathrm}{\ifmathml\else \HCode{<hi rend="rm">}\fi}
973 {\ifmathml\else \HCode{</hi>}\fi}
974 \Configure{textbf}{\ifmathml\else
975 \leavevmode\SaveEndP\bgroup
976 \Configure{HtmlPar}
977 {\HCode{<!--br role="newline" /-->}}
978 {\HCode{<!--br role="newline" /-->}}
979 {}{}%
980 \HCode{<hi rend="bf">}\fi}
981 {\ifmathml\else
982 \HCode{</hi>}\egroup \RecallEndP
983 \fi}
984 \Configure{textit}{\ifmathml\else
985 \leavevmode\SaveEndP\bgroup
986 \Configure{HtmlPar}
987 {\HCode{<!--br role="newline" /-->}}
988 {\HCode{<!--br role="newline" /-->}}
989 {}{}%
990 \HCode{<hi rend="it">}\fi}
991 {\ifmathml\else
992 \HCode{</hi>}\egroup \RecallEndP
993 \fi}
994 \Configure{textrm}{\ifmathml\else
995 \leavevmode\SaveEndP\bgroup
996 \Configure{HtmlPar}
997 {\HCode{<!--br role="newline" /-->}}
998 {\HCode{<!--br role="newline" /-->}}
999 {}{}%
1000 \HCode{<hi rend="rm">}\fi}
1001 {\ifmathml\else
1002 \HCode{</hi>}\egroup \RecallEndP
1003 \fi}
1004 \Configure{textup}{\ifmathml\else
1005 \leavevmode\SaveEndP\bgroup
1006 \Configure{HtmlPar}
1007 {\HCode{<!--br role="newline" /-->}}
1008 {\HCode{<!--br role="newline" /-->}}
1009 {}{}%
1010 \HCode{<hi rend="up">}\fi}
1011 {\ifmathml\else
1012 \HCode{</hi>}\egroup \RecallEndP
1013 \fi}
1014 \Configure{textsc}{\ifmathml\else
1015 \leavevmode\SaveEndP\bgroup
1016 \Configure{HtmlPar}
1017 {\HCode{<!--br role="newline" /-->}}
1018 {\HCode{<!--br role="newline" /-->}}
1019 {}{}%
1020 \HCode{<hi rend="sc">}\fi}
1021 {\ifmathml\else
1022 \HCode{</hi>}\egroup \RecallEndP
1023 \fi}
1024 \Configure{textsf}{\ifmathml\else
1025 \leavevmode\SaveEndP\bgroup
1026 \Configure{HtmlPar}
1027 {\HCode{<!--br role="newline" /-->}}
1028 {\HCode{<!--br role="newline" /-->}}
1029 {}{}%
1030 \HCode{<hi rend="sf">}\fi}
1031 {\ifmathml\else
1032 \HCode{</hi>}\egroup \RecallEndP
1033 \fi}
1034 \Configure{textsl}{\ifmathml\else
1035 \leavevmode\SaveEndP\bgroup
1036 \Configure{HtmlPar}
1037 {\HCode{<!--br role="newline" /-->}}
1038 {\HCode{<!--br role="newline" /-->}}
1039 {}{}%
1040 \HCode{<hi rend="sl">}\fi}
1041 {\ifmathml\else
1042 \HCode{</hi>}\egroup \RecallEndP
1043 \fi}
1044 \Configure{texttt}{\ifmathml\else
1045 \leavevmode\SaveEndP\bgroup
1046 \Configure{HtmlPar}
1047 {\HCode{<!--br role="newline" /-->}}
1048 {\HCode{<!--br role="newline" /-->}}
1049 {}{}%
1050 \HCode{<hi rend="tt">}\fi}
1051 {\ifmathml\else
1052 \HCode{</hi>}\egroup \RecallEndP
1053 \fi}
1054 \Configure{emph}{\ifmathml\else
1055 \leavevmode\SaveEndP\bgroup
1056 \Configure{HtmlPar}
1057 {\HCode{<!--br role="newline" /-->}}
1058 {\HCode{<!--br role="newline" /-->}}
1059 {}{}%
1060 \HCode{<emph>}\fi}
1061 {\ifmathml\else
1062 \HCode{</emph>}\egroup \RecallEndP
1063 \fi}
1064
1065 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1066
1067 \endinput\empty\empty\empty\empty\empty\empty
1068 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1069
1070
1071
1072
1073
1074
1075 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1076 \ConfigureHinput{graphics}
1077 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1078 \def\:tempc#1{%
1079 \Decl{<!NOTATION #1 SYSTEM "" >}
1080 \Configure{graphics*}
1081 {#1}
1082 {\HCode{<figure entity="fg-ent\ent:cnt" />%
1083 <!--width="\the\Gin@req@width"
1084 height="\the\Gin@req@height"-->}%
1085 \Decl{<!ENTITY fg-ent\ent:cnt\space SYSTEM
1086 "\csname Gin@base\endcsname.#1" NDATA #1>}%
1087 \gHAdvance\ent:cnt by 1
1088 }}
1089 \:tempc{eps}
1090 \:tempc{jpg}
1091 \:tempc{pdf}
1092 \:tempc{png}
1093 \:tempc{tif}
1094 \:tempc{gif}
1095
1096
1097 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1098
1099 \endinput\empty\empty\empty\empty\empty\empty
1100 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1101
1102
1103
1104
1105
1106
1107
1108
1109 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1110 \ConfigureHinput{amsart}
1111 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1112 \HAssign\DivLevel=0
1113 \HAssign\DivCount=0
1114 \def\OpenDiv#1{%
1115 \IgnorePar\EndP \PopStack\text:stack\:temp \def\:tempa{body}%
1116 \ifx \:temp\:tempa \else \HCode{</\:temp><body>}\fi
1117 \PushStack\text:stack{body}%
1118 \ifnum \DivLevel>0 \ifnum \DivLevel=0\LikeRef{dv)\DivCount}\relax
1119 \gHAdvance\P:level by 1
1120 \HCode{</div>}%
1121 \fi\fi
1122 %
1123 \gHAdvance\DivLevel by 1
1124 \HCode{<!--l. \the\inputlineno--><div\Hnewline
1125 type="#1">}\gHAdvance\P:level by 1 }
1126 \def\CloseDiv#1{%
1127 \IgnorePar\EndP \gHAdvance\P:level by -1 \HCode{</div><!--end #1-->}%
1128 \gHAdvance\DivLevel by -1
1129 }
1130 \def\CloseHead{\HCode{</head>}%
1131 \gHAdvance\DivCount by 1
1132 \Tag{dv)\DivCount}{\DivLevel}%
1133 \HAdvance\DivLevel by 1
1134 \HAdvance\DivCount by 1
1135 \ifnum \DivLevel=0\LikeRef{dv)\DivCount}\relax
1136 \HCode{<div type="preamble"><p></p>}%
1137 \gHAdvance\P:level by 1
1138 \fi
1139 \HAdvance\DivLevel by -1
1140 \HAdvance\DivCount by -1
1141 \ShowPar\par}
1142
1143 \Configure{maketitle}
1144 {{\Configure{maketitle}{}{}{}{}{}{}{}{}%
1145 \let\leavevmode=\empty \let\not@math@alphabet=\:gobbleII
1146 \def\text@command##1{##1}\let\selectfont=\empty \let\\=\empty
1147 \no:fonts \def\check@icl ##1\check@icr{}%
1148 \:TITLE: \a:NoSection
1149 \Tag{TITLE+}{\@title}}%
1150 \HCode{<titlePage>}}
1151 {\HCode{</titlePage>}}
1152 {\HCode{<docTitle><titlePart type="main">}}
1153 {\HCode{</titlePart></docTitle>}}
1154 \Configure{thanks author date and}{}{}
1155 {{\Configure{thanks author date and}{}{}{}{}{}{}{}{}%
1156 \let\leavevmode=\empty \let\not@math@alphabet=\:gobbleII
1157 \def\text@command##1{##1}\let\selectfont=\empty \let\\=\empty
1158 \no:fonts \def\check@icl ##1\check@icr{}%
1159 \:TITLE: \a:NoSection
1160 \Tag{)author)}{\@author}}%
1161 \HCode{<docAuthor>}}
1162 {\HCode{</docAuthor>}}
1163 {\HCode{<docDate>}} {\HCode{</docDate>}}
1164 {\HCode{<!--and-->}}
1165 {}
1166
1167 \Configure{authors}
1168 {\HCode{<docAuthor>}} {\HCode{</docAuthor>}}
1169 \Configure{setdate}
1170 {\HCode{<docDate>}} {\HCode{</docDate>}}
1171 \Configure{thanks author date and}{}{}
1172 {{\Configure{thanks author date and}{}{}{}{}{}{}{}{}%
1173 \let\leavevmode=\empty \let\not@math@alphabet=\:gobbleII
1174 \def\text@command##1{##1}\let\selectfont=\empty \let\\=\empty
1175 \no:fonts \def\check@icl ##1\check@icr{}%
1176 \:TITLE: \a:NoSection
1177 \Tag{)author)}{\@author}}%
1178 \HCode{<docAuthor>}}
1179 {\HCode{</docAuthor>}}
1180 {\HCode{<date>}} {\HCode{</date>}}
1181 {\HCode{<!--and-->}}
1182 {}
1183
1184 \Configure{part}
1185 {\OpenDiv{part}} {\CloseDiv{part}}
1186 {\HCode{<head>}} {\CloseHead}
1187 \Configure{section}
1188 {\OpenDiv{section}} {\CloseDiv{section}}
1189 {\HCode{<head>}} {\CloseHead}
1190 \Configure{subsection}
1191 {\OpenDiv{subsection}} {\CloseDiv{subsection}}
1192 {\HCode{<head>}} {\CloseHead}
1193 \Configure{subsubsection}
1194 {\OpenDiv{subsubsection}} {\CloseDiv{subsubsection}}
1195 {\HCode{<head>}} {\CloseHead}
1196 \Configure{paragraph}
1197 {\OpenDiv{paragraph}} {\CloseDiv{paragraph}}
1198 {\HCode{<head>}} {\CloseHead}
1199 \Configure{subparagraph}
1200 {\OpenDiv{subparagraph}} {\CloseDiv{subparagraph}}
1201 {\HCode{<head>}} {\CloseHead}
1202 \Configure{likepart}
1203 {\OpenDiv{likepart}} {\CloseDiv{likepart}}
1204 {\HCode{<head>}} {\CloseHead}
1205 \Configure{likesection}
1206 {\OpenDiv{likesection}} {\CloseDiv{likesection}}
1207 {\HCode{<head>}} {\CloseHead}
1208 \Configure{likesubsection}
1209 {\OpenDiv{likesubsection}} {\CloseDiv{likesubsection}}
1210 {\HCode{<head>}} {\CloseHead}
1211 \Configure{likesubsubsection}
1212 {\OpenDiv{likesubsubsection}} {\CloseDiv{likesubsubsection}}
1213 {\HCode{<head>}} {\CloseHead}
1214 \Configure{likeparagraph}
1215 {\OpenDiv{likeparagraph}} {\CloseDiv{likeparagraph}}
1216 {\HCode{<head>}} {\CloseHead}
1217 \Configure{likesubparagraph}
1218 {\OpenDiv{likesubparagraph}} {\CloseDiv{likesubparagraph}}
1219 {\HCode{<head>}} {\CloseHead}
1220 \Configure{endsection}
1221 {likesection,chapter,likechapter,appendix,part,likepart}
1222 \Configure{endlikesection}
1223 {section,chapter,likechapter,appendix,part,likepart}
1224 \Configure{endsubsection}
1225 {likesubsection,section,likesection,chapter,%
1226 likechapter,appendix,part,likpart}
1227 \Configure{endlikesubsection}
1228 {subsection,section,likesection,chapter,%
1229 likechapter,appendix,part,likpart}
1230 \Configure{endsubsubsection}
1231 {likesubsubsection,subsection,likesubsection,section,%
1232 likesection,chapter,likechapter,appendix,part,likpart}
1233 \Configure{endlikesubsubsection}
1234 {subsubsection,subsection,likesubsection,section,%
1235 likesection,chapter,likechapter,appendix,part,likpart}
1236 \Configure{endparagraph}
1237 {likeparagraph,subsubsection,likesubsubsection,subsection,%
1238 likesubsection,section,%
1239 likesection,chapter,likechapter,appendix,part,likpart}
1240 \Configure{endlikeparagraph}
1241 {paragraph,subsubsection,likesubsubsection,subsection,%
1242 likesubsection,section,%
1243 likesection,chapter,likechapter,appendix,part,likpart}
1244 \Configure{endsubparagraph}
1245 {likesubparagraph,likeparagraph,subsubsection,likesubsubsection,%
1246 subsection,likesubsection,section,%
1247 likesection,chapter,likechapter,appendix,part,likpart}
1248 \Configure{endlikesubparagraph}
1249 {subparagraph,likeparagraph,subsubsection,likesubsubsection,%
1250 subsection,likesubsection,section,%
1251 likesection,chapter,likechapter,appendix,part,likpart}
1252 \ifx \part\:UnDef \else
1253 \Configure{endpart}{likepart}
1254 \Configure{endlikepart}{endpart}
1255 \fi
1256
1257 \ifx \deferred@thm@head\:UnDef\else
1258 \Configure{newtheorem}
1259 {\par\HCode{<title rend="newtheorem-ams">}\IgnorePar\par}
1260 {\HCode{</title>}}
1261 {}
1262 \fi
1263 \ifx \deferred@thm@head\:UnDef\else
1264 \Configure{proof}
1265 {\IgnorePar\EndP\HCode{<note rend="proof"><title>}}
1266 {\HCode{</title>}\ShowPar\par}
1267 {\IgnorePar\EndP\HCode{</note>}\ShowPar\par}
1268
1269 \fi
1270
1271
1272 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1273
1274 \endinput\empty\empty\empty\empty\empty\empty
1275 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1276
1277
1278
1279
1280
1281 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1282 \ConfigureHinput{amsthm}
1283 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1284 \Configure{proof}
1285 {\IgnorePar\EndP\HCode{<note rend="proof"><title>}}
1286 {\HCode{</title>}\ShowPar\par}
1287 {\IgnorePar\EndP\HCode{</note>}\ShowPar\par}
1288
1289
1290 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1291
1292 \endinput\empty\empty\empty\empty\empty\empty
1293 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1309 \ConfigureHinput{plain}
1310 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1311 \expandafter\let\csname tex4ht:4ht\endcsname\empty
1312 \def\no:dupl#1#2{%
1313 \expandafter\ifx \csname #1:4ht\endcsname\relax
1314 \expandafter\let \csname #1:4ht\endcsname\empty
1315 \expand:after{#2}%
1316 \fi
1317 }
1318
1319 \Hinclude{\def\:temp{\ht:everypar={\setbox0=\lastbox\ht:everypar={}}}%
1320 \ifx \NoindentAfter\:temp
1321 \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
1322 {osudeG}
1323 \Hinclude{\ifx\amstexloaded@\relax
1324 \no:dupl{#1}{
1325 \ifx \Space@\:UnDef \expand:after{\input #1.4ht} %
1326 \else \input vanilla.4ht \fi}%
1327 \fi}
1328 {amstex}
1329 \Hinclude{\expandafter\ifx \csname amsppt.sty\endcsname\relax \else
1330 \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
1331 {amsppt}
1332 \Hinclude{\ifx \texinfoversion\:UnDef\else
1333 \no:dupl{#1}{\expand:after{\input texinfo.4ht}}\fi}
1334 {texinfo}
1335 \Hinclude{\ifx \thistubstyle\:UnDef\else
1336 \no:dupl{#1}{\expand:after{\input tugboat.4ht}}\fi}
1337 {tugboat}
1338
1339 \expandafter\let\csname tex4ht:4ht\endcsname\empty
1340 \def\no:dupl#1#2{%
1341 \expandafter\ifx \csname #1:4ht\endcsname\relax
1342 \expandafter\let \csname #1:4ht\endcsname\empty
1343 \expand:after{#2}%
1344 \fi
1345 }
1346
1347 \Hinclude{\ifx \PsfigVersion\:UnDef \else
1348 \no:dupl{#1}{\expand:after{\input psfig.4ht}}\fi}
1349 {psfig}
1350 \Hinclude{\:CheckOption{#1}
1351 \if:Option \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
1352 {pictex}
1353 \Hinclude{%
1354 \expandafter\ifx \csname PSTricksLoaded\endcsname\relax\else
1355 \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
1356 {pstricks}
1357 \Hinclude{%
1358 \ifx \:DraCatCodes\:UnDef \else
1359 \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
1360 {dratex}
1361 \Hinclude{%
1362 \ifx \xyloaded\:UnDef \else
1363 \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
1364 {xy}
1365
1366 \Hinclude{%
1367 \ifx \epsfsetgraph\:UnDef \else
1368 \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
1369 {epsf}
1370
1371 \Hinclude{%
1372 \ifx \diagram@help@messages\:UnDef \else
1373 \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
1374 {diagrams}
1375
1376 \Hinclude{%
1377 \ifx \figvisu\:UnDef \else
1378 \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
1379 {fig4tex}
1380
1381 \Hinclude{}
1382 {pctable}
1383 \Hinclude{%
1384 \:CheckOption{xhtml}\if:Option \fi}
1385 {xhtml}
1386 \Hinclude{\:CheckOption{#1}
1387 \if:Option\else \:CheckOption{ShowFont}\fi
1388 \if:Option\else \:CheckOption{frames-}\fi
1389 \if:Option\else \:CheckOption{frames}\fi
1390 \if:Option\else \:CheckOption{image-maps}\fi
1391 \if:Option\else \:CheckOption{java}\fi
1392 \if:Option\else \:CheckOption{javascript}\fi
1393 \if:Option \no:dupl{#1}{\expand:after{\input #1.4ht}}\fi}
1394 {th4}
1395 \Hinclude{\ifx \sethebrew\:UnDef\else \ifx \ArabTeX\:UnDef\else
1396 \no:dupl{#1}{\expand:after{\input hebtex.4ht}}\fi \fi}
1397 {hebtex}
1398
1399 \:CheckOption{new-accents} \if:Option
1400 \:CheckOption{accent-} \if:Option
1401 \Configure{HAccent}\acute{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
1402 \Configure{HAccent}\bar{}{\Picture+{}}{\EndPicture}
1403 \Configure{HAccent}\breve{}{\Picture+{}}{\EndPicture}
1404 \Configure{HAccent}\check{}{\Picture+{}}{\EndPicture}
1405 \Configure{HAccent}\ddot{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
1406 \Configure{HAccent}\dot{}{\Picture+{}}{\EndPicture}
1407 \Configure{HAccent}\grave{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
1408 \Configure{HAccent}\hat{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
1409 \Configure{HAccent}\tilde{AOaoNn{}}{\Picture+{}}{\EndPicture}
1410 \Configure{HAccent}\vec{}{\Picture+{}}{\EndPicture}
1411 \Configure{HAccent}\widehat{}{\Picture+{}}{\EndPicture}
1412 \Configure{HAccent}\widetilde{}{\Picture+{}}{\EndPicture}
1413 \fi
1414 \:CheckOption{mathaccent-} \if:Option
1415 \Configure{HAccent}\"{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
1416 \Configure{HAccent}\'{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
1417 \Configure{HAccent}\.{}{\Picture+{}}{\EndPicture}
1418 \Configure{HAccent}\={}{\Picture+{}}{\EndPicture}
1419 \Configure{HAccent}\H{}{\Picture+{}}{\EndPicture}
1420 \Configure{HAccent}\^{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
1421 \Configure{HAccent}\`{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
1422 \Configure{HAccent}\b{}{\Picture+{}}{\EndPicture}
1423 \Configure{HAccent}\c{Cc{}}{\Picture+{}}{\EndPicture}
1424 \Configure{HAccent}\d{}{\Picture+{}}{\EndPicture}
1425 \Configure{HAccent}\t{}{\Picture+{}}{\EndPicture}
1426 \Configure{HAccent}\u{}{\Picture+{}}{\EndPicture}
1427 \Configure{HAccent}\v{}{\Picture+{}}{\EndPicture}
1428 \Configure{HAccent}\~{AOaoNn{}}{\Picture+{}}{\EndPicture}
1429 \fi
1430 \Configure{accent}{*}
1431 {<!--tex4ht:accent\Hnewline font="}{" char="}{" type="}{"-->}
1432 {<!--tex4ht:end accent-->}
1433 \Configure{mathaccent}{*}
1434 {<!--tex4ht:mathaccent\Hnewline font="}{" char="}{" type="}{"-->}
1435 {<!--tex4ht:end mathaccent-->}
1436 \Configure{accented}{*}
1437 {<!--tex4ht:accented\Hnewline font="}{" char="}{" type="}{"-->}
1438 {<!--tex4ht:end accented-->}
1439 \Configure{accenting}{*}
1440 {<!--tex4ht:accenting\Hnewline-->}
1441 {<!--tex4ht:end accenting-->}
1442
1443 \else
1444 \Configure{accent}\`\grave{A{A}E{E}I{I}O{O}U{U}%
1445 a{a}e{e}i{i}\i{i}o{o}u{u}{}{}}
1446 {\a:accents{grave}{#1}} {\b:accents{grave}{#1}{#2}}
1447 \Configure{accent}\'\acute{A{A}E{E}I{I}O{O}U{U}Y%
1448 {Y}a{a}e{e}i{i}\i{i}o{o}u{u}y{y}{}{}}
1449 {\a:accents{acute}{#1}} {\b:accents{acute}{#1}{#2}}
1450 \Configure{accent}\^\hat{A{A}E{E}I{I}O{O}U{U}a{a}%
1451 e{e}i{i}\i{i}o{o}u{u}{}{}}
1452 {\a:accents{circ}{#1}} {\b:accents{hat}{#1}{#2}}
1453 \Configure{accent}\~\tilde{A{A}O{O}a{a}o{o}N{N}n{n}{}{}}
1454 {\a:accents{tilde}{#1}} {\b:accents{tilde}{#1}{#2}}
1455 \Configure{accent}\"\ddot{A{A}E{E}I{I}O{O}U{U}Y%
1456 {Y}a{a}e{e}i{i}\i{i}o{o}u{u}y{y}{}{34}}
1457 {\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}}
1458 \Configure{accent}\c\c{C{C}c{c}{}{}}
1459 {\a:accents{cedil}{#1}} {\b:accents{cedil}{#1}{#2}}
1460 \Configure{accent}\t\t{{}{}}
1461 {\a:accents{udot}{#1}} {\b:accents{udot}{#1}{#2}}
1462 \Configure{accent}\H\H{{}{}} {}{\b:accents{Huml}{#1}{#2}}
1463 \Configure{accent}\.\dot{{}{}} {}{\b:accents{dot}{#1}{#2}}
1464 \Configure{accent}\u\breve{{}{}}{}{\b:accents{breve}{#1}{#2}}
1465 \Configure{accent}\vec\vec{{}{}}{}{\b:accents{vec}{#1}{#2}}
1466 \Configure{accent}\v\check{{}{}}{}{\b:accents{check}{#1}{#2}}
1467 \Configure{accent}\=\bar{{}{}} {}{\b:accents{bar}{#1}{#2}}
1468 \Configure{accent}\widetilde\widetilde{{}{}}
1469 {}{\b:accents{widetilde}{#1}{#2}}
1470 \Configure{accent}\widehat\widehat{{}{}}
1471 {}{\b:accents{widehat}{#1}{#2}}
1472
1473 \fi
1474 \let\^^_=\v
1475
1476
1477 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1478
1479 \endinput\empty\empty\empty\empty\empty\empty
1480 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1501 \ConfigureHinput{url}
1502 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1503 \Decl{<!NOTATION URL SYSTEM "" >}
1504 \Configure{url}{%
1505 \urlLink[xr-ent\ent:cnt]{}{}#1\EndurlLink
1506 \Decl{<!ENTITY xr-ent\ent:cnt\space SYSTEM "#1" NDATA URL>}%
1507 \gHAdvance\ent:cnt by 1
1508 }
1509 \LinkCommand\urlLink{xref,doc}
1510
1511 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1512
1513 \endinput\empty\empty\empty\empty\empty\empty
1514 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1779 \ConfigureHinput{ltugboat}
1780 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1781 \Configure{address}
1782 {\HCode{<byline rend="address">}}
1783 {\HCode{</byline>}}
1784 \Configure{netaddress}
1785 {\HCode{<byline rend="netaddress">}}
1786 {\HCode{</byline>}}
1787 \Configure{PersonalURL}
1788 {\HCode{<byline rend="PersonalURL">}}
1789 {\HCode{</byline>}}
1790
1791 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1792
1793 \endinput\empty\empty\empty\empty\empty\empty
1794 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1795
1796
1797
1798 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1799 \ConfigureHinput{ltugproc}
1800 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1801 \Configure{maketitle}
1802 {{\Configure{maketitle}{}{}{}{}{}{}{}{}%
1803 \let\leavevmode=\empty \let\not@math@alphabet=\:gobbleII
1804 \def\text@command##1{##1}\let\selectfont=\empty \let\\=\empty
1805 \no:fonts \def\check@icl ##1\check@icr{}%
1806 \:TITLE: \a:NoSection
1807 \Tag{TITLE+}{\@title}}%
1808 \HCode{<titlePage>}%
1809 \bgroup \Configure{centerline}
1810 {\HCode{<byline rend="centerline">}}
1811 {\HCode{</byline>}}
1812 }
1813 {\egroup \HCode{</titlePage>}}
1814 {\HCode{<docTitle>}}
1815 {\HCode{</docTitle>}}
1816
1817 \Configure{thanks author date and}{}{}
1818 {{\Configure{thanks author date and}{}{}{}{}{}{}{}{}%
1819 \let\leavevmode=\empty \let\not@math@alphabet=\:gobbleII
1820 \def\text@command##1{##1}\let\selectfont=\empty \let\\=\empty
1821 \no:fonts \def\check@icl ##1\check@icr{}%
1822 \:TITLE: \a:NoSection
1823 \count@\authornumber
1824 \@tempcnta0
1825 \let\:temp\relax
1826 \let\@author\empty
1827 \loop
1828 \ifnum\count@>0
1829 \advance\@tempcnta by \@ne
1830 \edef\@author{\@author \ifx\@author\empty\else, \fi
1831 \:temp{\number\@tempcnta}}%
1832 \advance\count@ by \m@ne
1833 \repeat
1834 \let\ignorespaces\empty
1835 \let\unskip\empty
1836 \def\:temp##1{\csname theauthor##1\endcsname}%
1837 \Tag{)author)}{\@author}}%
1838 \HCode{<docAuthor>}}
1839 {\HCode{</docAuthor>}}
1840 {\HCode{<docDate>}} {\HCode{</docDate>}}
1841 {\HCode{<!--and-->}}
1842 {}
1843 \ConfigureEnv{abstract}
1844 {}{} {}{}
1845 \Configure{abstract}
1846 {\bgroup
1847 \HCode{<epigraph rend="abstract"><p>}\IgnoreIndent\par}
1848 {\ifvmode\IgnorePar\fi \EndP\HCode{</p></epigraph>}\egroup}
1849
1850 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1851
1852 \endinput\empty\empty\empty\empty\empty\empty
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
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965 \endinput
1966