Debian Codegraph @

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

raw
1 % th4.4ht (2024-09-24-10:22), generated from tex4ht-4ht.tex
2 % Copyright 1997-2009 Eitan M. Gurari
3 % Copyright 2009-2024 TeX Users Group
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 % https://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 <https://tug.org/tex4ht>.
17 %
18 % If you modify this program, changing the
19 % version identification would be appreciated.
20 \immediate\write-1{version 2024-09-24-10:22}
21
22
23 \ifHtml
24 \:CheckOption{javascript}
25 \if:Option \else\:CheckOption{th4}\fi
26 \if:Option
27 \ScriptCommand{\JavaScript}{\vbox\bgroup \linepenalty1000 \NoFonts
28 \Configure{HVerbatim+}{\z@}{\nobreak\space}%
29 \A:JavaScript }{\B:JavaScript \EndNoFonts
30 \ht:special{t4ht@(}\egroup \ht:special{t4ht@)}}
31 \NewConfigure{JavaScript}[2]{\def\A:JavaScript{\ht:everypar{}#1}%
32 \def\B:JavaScript{#2}}
33 \def\javascript#1{\b:jv#1\e:jv}
34 \def\b:jv{\begingroup \vrb:tt
35 \leftskip\z@ \parindent\z@
36 \Configure{HVerbatim}{}{}{}{}\Configure{HVerbatim+}{\z@}{ }%
37 \NoFonts \A:JavaScript \ht:special{t4ht@@}}
38 \def\e:jv{\ht:special{t4ht@@}%
39 \B:JavaScript\EndNoFonts\endgroup}
40
41 \else
42 \Log:Note{for javascript support,
43 use the command line option `javascript'}
44 \fi
45 \:CheckOption{java}
46 \if:Option \else\:CheckOption{th4}\fi
47 \if:Option
48 \Odef\Applet[#1]#2{\Appl:[#1]#2,,,!*?: }
49 \def\Appl:[#1]#2,#3,#4,#5!*?: {%
50 \def\:temp{#3}\def\LastApplet{#4}%
51 \HCode{<applet code="#2.class"
52 \ifx \:temp\empty \else width="#3" \fi
53 \ifx \LastApplet\empty \else HEIGHT="#4" \fi #1\Hnewline >}%
54 \xdef\LastApplet{#2}\Applet:Needs{#2}}
55 \def\EndApplet{\HCode{</applet>}}
56
57 \def\AppletInfo{\def\Applet:Needs##1}
58 \AppletInfo{\Needs-{needs #1.class}}
59
60 \else
61 \Log:Note{for java support,
62 use the command line option `java'}
63 \fi
64 \:CheckOption{image-maps}
65 \if:Option \else\:CheckOption{th4}\fi
66 \if:Option
67 \Odef\Ar:a[#1]#2{{\def\tag:A{area}\Link[#1 ]{#2}{}\EndLink}}
68 \Odef\Map[#1]#2#3{%
69 \def\:tempd{\Map:[#1]{#2}{#3}}%
70 \rm:attr{#1}\ifx \:tempB\empty \expand:after{\let\:tempc}\csname
71 cw:)#2\endcsname
72 \ifx\:tempc\relax\else
73 \edef\:tempd{\noexpand\in:mp\:tempc!*?: {#1}}%
74 \def\:temp{#3}\ifx \:temp\empty\else
75 \Tag{)#3}{\:tempc}%
76 \fi \fi
77 \fi \:tempd}
78
79 \def\in:mp#1=#2=#3==#4!*?: #5{\IMG:LINK{#1}{#4#5}{#2}{#3}}
80 \def\rm:attr#1{\edef\:tempB{\noexpand\rm:atr#1 !*?: }\:tempB}
81 \def\rm:atr#1 #2!*?: {\def\:tempB{#1}}
82
83 \Odef\Map:[#1]#2#3{%
84 \NewHaddr\:tempA \def\:temp##1-{##1-imap}%
85 \edef\:tempA{\expandafter\:temp\:tempA}%
86 %
87 \NewHaddr\alt:map
88 \def\:temp{#3}\ifx \:temp\:empty\else
89 \rm:attr{#1}%
90 \Tag{)#3}{\alt:map=\:tempA=#2==\:tempB}\fi
91 \edef\:tempB{\noexpand\IMG:LINK{\noexpand\alt:map}{#1}}\:tempB
92 \:tempA{#2}\let\:Map\empty
93 %
94 \HCode{<map\Hnewline name="\GetHname\:tempA" id="imap-\:tempA">}%
95 \def\EndMap{%
96 \HPage[\alt:map]{}{\let\set:mp\st:mp \:Map}\EndHPage{}%
97 \HCode{</map>}%
98 \let\u:map\empty}}
99
100 \let\set:mp\relax
101 \def\st:mp#1#2#3{\def\:temp{#1#2}\ifx \:temp\empty \else
102 [\Link[#1]{#2}{}#3\EndLink]
103 \fi }
104 \def\IMG:LINK#1#2#3#4{\Link[\RefFile{#1}]{}{}%
105 {\def\tag:A{img}\def\HREF:{src=}\def\empty:lnk{/}%
106 \Link[#2 alt="textual map" usemap="\GetHref#3"]{#4}{}}\EndLink}
107 \def\RectArea(#1){\bgroup\def\:tempa{\M:nMx#1,}\def\:tempb{rect}\Are:}
108 \def\CircleArea(#1){\bgroup\def\:tempa{#1}\def\:tempb{circle}\Are:}
109 \def\PolyArea(#1){\bgroup\def\:tempa{#1}\def\:tempb{poly}\Are:}
110 \def\M:nMx#1,#2,#3,#4,{\M:n{#1}{#3},%
111 \M:n{#2}{#4},\M:x{#1}{#3},\M:x{#2}{#4}}
112 \Odef\Are:[#1]#2#3{%
113 \xdef\:Map{\:Map\set:mp{#1}{#2}{#3}}%
114 \Ar:a[#1\Hnewline shape="\:tempb"\Hnewline
115 coords="\:tempa"\Hnewline alt="#3"]{#2}\egroup}
116 \def\M:n#1#2{\ifnum #1<#2 #1\else #2\fi}
117 \def\M:x#1#2{\ifnum #1<#2 #2\else #1\fi}
118
119 \else
120 \Log:Note{for image maps support,
121 use the command line option `image-maps'}
122 \fi
123 \:CheckOption{frames-}
124 \if:Option \else\:CheckOption{frames}\fi
125 \if:Option \else\:CheckOption{th4}\fi
126 \if:Option
127 \def\HorFrames{\def\:tempa{cols}\:Frames}
128 \def\VerFrames{\def\:tempa{rows}\:Frames}
129 \Odef\:Frames[#1]#2{%
130 \PushStack\Frm:Stc{</frameset>}%
131 \HCode{<frameset\Hnewline \:tempa="#2" #1>}}
132 \def\NoFrames{%
133 \PopStack\Frm:Stc\:temp
134 \PushStack\Frm:Stc{</body></noframes></frameset>}
135 \HCode{<noframes><body>}}
136 \def\EndFrames{\PopStack\Frm:Stc\:tempc \HCode{\:tempc}}
137 \Odef\Frame[#1]#2{{\def\HREF:{ src=}\def\tag:A{frame}%
138 \def\empty:lnk{ /}\Link[#1]{#2}{}}}
139
140 \Log:Note{for frames support,
141 use the command line option `frames-' or `frames'}
142 \fi
143 \:CheckOption{ShowFont}
144 \if:Option \else\:CheckOption{th4}\fi
145 \if:Option
146 \:CheckOption{ShowFont} \if:Option
147 \def\HObey{\SaveEverypar \par \ht:everypar{}%
148 {\parindent\z@ \leftskip\z@ \leavevmode
149 \HCode{ <table \Hnewline \:zbsp{HObey}
150 width="100\%"><tr class="HObey"><td\Hnewline
151 class="HObey"><pre class="HObey">}\par}}
152 \def\EndHObey{\HCode{</pre>}\IgnoreIndent
153 \end:TTT \RecallEverypar}
154
155 \def\ShowFont#1{{\ifx \sevenrm\Undef \let\sevenrm\rm\fi
156 \Picture*{ \a:@Picture{ShowFont}}\begingroup \HObey
157 % Variants of Knuth's macros
158 \postdisplaypenalty=-10000 \global\tmp:cnt=0 #1
159 \tabskip0.06\hsize \def\:{\setbox0=\hbox{\char\tmp:cnt}%
160 \ifdim\ht0>7.5pt\reposition
161 \else\ifdim\dp0>2.5pt\reposition\fi\fi
162 \box0\global\advance\tmp:cnt by1 }%
163 \def\cr:line{\cr \noalign{\nointerlineskip}
164 \multispan{17}\hrulefill&
165 \cr \noalign{\nointerlineskip}}%
166 \def\reposition{\setbox0=\hbox{$\vcenter{\kern2pt\box0\kern2pt}$}}%
167 \def\chartLine##1{\hbox to 13.8pt{\hfil\sevenrm ##1 }}%
168 \HAssign\:tempc0
169 \def\:tempd{\chartLine\:tempc
170 \vrule &\:&&\:&&\:&&\:&&\:&&\:&&\:&&\:&\cr:line
171 \noalign{\nointerlineskip}%
172 \gHAdvance\:tempc by 8 \ifnum \:tempc<256 \expandafter\:tempd \fi}%
173 %
174 \halign to\hsize\bgroup \lower4.5pt\vbox to14pt{}%
175 ##\tabskip\z@ plus10pt& &\hfil##\hfil&\vrule##\cr
176 \lower6.5pt\null
177 \chartLine{}\vrule &\sevenrm 0&&\sevenrm 1&&\sevenrm
178 2&&\sevenrm 3&&\sevenrm 4&&\sevenrm 5&&\sevenrm 6&&\sevenrm 7&\cr:line
179 \:tempd \cr
180 %
181 \egroup
182 \EndHObey \endgroup \EndPicture}}
183 \csname newread\endcsname\in:strm
184 \def\Uii:{\expandafter\Uii:o\in:buf xxxxxxxxx;}
185 \def\Uii:o#1x#2#3#4xxxx;{#2#3}
186 \catcode`\@=6
187 \catcode`\#=12
188 \def\Uiv:{\expandafter\Uiv:o\in:buf '&#xxxxxxxxx;}
189 \def\Uiv:o@1'&#x@2@3@4@5@6xxxx;{@2@3@4@5}
190 \catcode`\@=11
191 \catcode`\#=6
192
193 \def\:gobbleM#1->{}
194 \def\Uni:symbols{\ifnum \char:n<256
195 \HCode{\Hnewline<tr><td>}\char:n{}\HCode{</td>}
196 \bgroup \catcode`\#=12 \catcode`\\=12
197 \catcode`\%=12 \catcode`\{=12 \catcode`\}=12
198 \catcode`\_=12 \catcode`\^=12 \catcode`\~=12
199 % \ifeof\in:strm \else
200 \read\in:strm to\in:buf
201 \ifeof\in:strm \gHAssign\char:n=256 \else
202 \def\:temp{\par}
203 \ifx\in:buf\:temp\else
204 \edef\:tempa{\Uiv:}\def\:temp{xxxx}
205 \ifx \:temp\:tempa \let\:tempa=\:gobble
206 \else \let\:tempa=\empty\fi
207 \HCode{<td>}
208 \:tempa{\Picture{http://charts.unicode.org/Unicode.charts%
209 /Small.Glyphs/\Uii:/U\Uiv:.gif}}
210 \HCode{</td><td>}
211 \:tempa{\Picture{http://www.w3.org/TR/PR-math/chap6/glyphs/%
212 \Uii:/U\Uiv:.gif}}
213 \HCode{</td><td>}{\font:nm\char\char:n}
214 \HCode{</td><td>}{\font:nm \Picture+{}\char
215 \char:n\EndPicture}
216 \HCode{</td><td class="htf">}\:tempa\Uiv:
217 \:tempa\:gobble{\tt\expandafter\:gobbleM\meaning\in:buf}
218 \HCode{</td>}
219 \fi\fi%\fi
220 \egroup
221 \HCode{</tr>}
222 \HAdvance\char:n by 1 \expandafter\Uni:symbols\fi}
223 \def\ShowFontU#1#2{%
224 \font\font:nm=#2
225 \openin\in:strm=#1\relax
226 \ifeof\in:strm \writesixteen{.........can't open #1}\else
227 \read\in:strm to\in:buf\relax
228 \HAssign\char:n=0 \HCode{<table class="unicodes" border="1"><tr>
229 <td>char<br\xml:empty>number</td>
230 <td>unicode<br\xml:empty>org</td>
231 <td>ams<br\xml:empty>org</td>
232 <td>htf +<br\xml:empty>browser</td>
233 <td>actual<br\xml:empty>(la)tex<br\xml:empty>symbol</td>
234 <td>htf<br\xml:empty>entry</td>
235 </tr>}
236 \Uni:symbols
237 \HCode{</table>}
238 \Css{.unicodes{border:solid 1px;}}
239 \Css{.unicodes td{text-align:center;}}
240 \Css{.unicodes td.htf{text-align:left;}}
241 \fi
242 \closein\in:strm}
243
244 \fi
245
246 \fi
247 \fi
248 \:CheckOption{th4}\if:Option
249 \edef\:temp{\meaning\everypar}
250 \edef\:tempa{\string\everypar}
251 \ifx \:temp\:tempa
252 \let\ht:everypar\everypar
253 \fi
254 \def\Verb{\bgroup \no:catcodes0{255}{12}\catcode`\ = 10
255 \catcode`\^^M = 10 \catcode`\^^I = 10 \leavevmode \:ctgs}
256
257 \ifHtml \def\:ctgs#1{\def\:eat##1#1{{\vrb:tt
258 ##1}\egroup}\:eat }
259
260 \fi
261
262 \long\def\c:Item:#1#2{\c:def\a:Item{#1}\c:def\b:Item{#2}}
263 \def\Begin:Block#1{\begingroup \def\:EndBlock{#1}}
264
265 \def\End:Block#1{%
266 \expandafter\ifx \csname :EndBlock\endcsname\relax
267 \:warning{Block #1 is already closed}%
268 \else
269 \def\:test{#1}%
270 \ifx \:test\:EndBlock \endgroup
271 \else
272 \:warning{End environment #1 within
273 environment \:EndBlock?}%
274 \fi\fi}
275 \Def:Section\Chapter{\theChapterCounter}{#1}
276 \Def:Section\LikeChapter{\theChapterCounter}{#1}
277 \Def:Section\Appendix{\theChapterCounter}{#1}
278 \NewConfigure{Chapter}[4]{%
279 \Configure:Sec {Chapter}{#3}%
280 {#4\xdef\:curch{Q1-\file:id-\TitleCount }%
281 }%
282 {\ifnum \ChapterCounter<1 \gdef\ChapterCounter{1}%
283 \else \gHAdvance\ChapterCounter 1 \fi
284 \ifnum \pageno<0 \global\pageno1 \fi
285 \gHAssign\SectionCounter0
286 %
287 #1}{#2}}
288 \NewConfigure{Appendix}[4]{%
289 \Configure:Sec {Appendix}{#3}%
290 {#4\xdef\:curch{Q1-\file:id-\TitleCount }%
291 }%
292 {\ifnum \pageno<0 \global\pageno1 \fi
293 \ifnum \ChapterCounter<0 \gHAdvance\ChapterCounter -1
294 \else \gdef\ChapterCounter{-1}\fi
295 \gHAssign\SectionCounter0
296 %
297 #1}{#2}}
298 \NewConfigure{LikeChapter}[4]{%
299 \Configure:Sec {LikeChapter}{#3}%
300 {#4\xdef\:curch{Q1-\file:id-\TitleCount }%
301 }%
302 {\gHAssign\ChapterCounter0
303 \gHAssign\SectionCounter0
304 %
305 #1}{#2}}
306 \ifx\ChapterFonts\:UnDef
307 \font\:ChFont=cmbx10 scaled \magstep5
308
309 \def\ChapterFonts{\let\bf\:ChFont
310 \baselineskip29.85pt}
311 \fi
312 \gHAssign\ChapterCounter0
313
314 \def\theChapterCounter{%
315 \ifnum \ChapterCounter>0 \ChapterCounter
316 \else \ifnum \ChapterCounter<0 \:Alph{-\ChapterCounter}\fi\fi}
317 \def\:Alph#1{\ifcase #1\or
318 A\or B\or C\or D\or E\or F\or G\or H\or I\or J\or
319 K\or L\or M\or N\or O\or P\or Q\or R\or S\or T\or
320 U\or V\or W\or X\or Y\or Z\else \fi}
321
322 \Def:Section\Section{\theSectionCounter}{#1}
323 \Def:Section\LikeSection{}{#1}
324 \def\theSection{\theSectionCounter}
325 \ifx \SectionFonts\:UnDef
326 \font\:SecBF=cmbx10 scaled \magstep3
327 \font\:SecTT=cmtt10 scaled \magstep3
328
329 \def\SectionFonts{\let\tt\:SecTT
330 \let\bf\:SecBF \baselineskip20.74pt}
331 \fi
332 \gHAssign\SectionCounter0
333
334 \def\theSectionCounter{%
335 \ifnum \ChapterCounter=0 \else \theChapterCounter.\fi
336 \SectionCounter }
337
338 \Def:Section\SubSection{}{#1}
339 \ifx\SubSectionFonts\:UnDef
340 \font\:SubSecFont=cmbx10 scaled \magstep2
341 \def\SubSectionFonts{\let\bf\:SubSecFont \baselineskip17.28pt}
342 \fi
343
344 \Def:Section\Part{}{#1}
345 \def\OddPartHPage{%
346 \def\:HPageBeforePart{\ifodd \pageno \else \leavevmode\ \newpage\fi}%
347 \def\:HPageAfterPart{\newpage\leavevmode\ }}
348 \def\:NoOddChapterHPage{\def\:HPageBeforePart{}\def\:HPageAfterPart{}}
349 \:NoOddChapterHPage
350
351 \ht:everypar{\if:nopar \hskip -\parindent
352 \ShowPar \fi}
353 \expandafter\csname newtoks\endcsname\EveryItem
354 \def\ListParSkip{\def\:ListParSkip}
355 \ifHtml
356 \ListParSkip{\HtmlPar}
357 \fi
358 \def\lbl:tm{%
359 \def\:ord{\a:Item\ListCounter\b:Item}%
360 \def\:roman{\a:Item\romannumeral\ListCounter\b:Item}%
361 \def\:alph{{\Advance: \ListCounter 96
362 \a:Item \char\ListCounter\b:Item}}%
363 \def\:Roman{\a:Item\uppercase{\romannumeral\ListCounter}\b:Item}%
364 \def\:Alph{{\Advance: \ListCounter 64
365 \a:Item \char\ListCounter\b:Item}}%
366 }
367 \def\:lbl#1{\a:Item#1\b:Item}
368
369 \def\Verbatim{\par\V:rbatim}
370 \def\c:Verbatim:{\Configure{HVerbatim}}
371 \expandafter\def\csname c:Verbatim+:\endcsname
372 {\Configure{HVerbatim+}}
373 \if:latex \else
374 \def\TableOfContents{\futurelet\:temp\:TOC}
375 \def\:TOC{\ifx [\:temp \expandafter\:TableOfContents
376 \else \:TableOfContents[Part,Chapter,LikeChapter,Appendix,%
377 Section,LikeSection]\fi}
378
379 \ifHtml \def\tocPart#1#2#3{\IgnorePar\HCode{<div
380 align="center">}#2\HCode{</div>}\IgnoreIndent}%
381 \def\tocChapter#1#2#3{%
382 \ifx \tocSubSection:idnt\:UnDef
383 \def\tocSection:idnt{\ }%
384 \def\tocSubSection:idnt{\ \ }%
385 \fi
386 %
387 \par\ignorespaces #1 #2\par }
388 \def\tocLikeChapter{\tocChapter}
389 \def\tocAppendix{\tocChapter}
390 \def\tocSection#1#2#3{%
391 \ifx \tocSubSection:idnt\:UnDef
392 \let\tocSection:idnt\empty
393 \def\tocSubSection:idnt{\ }%
394 \else
395 \ifx \SubSection:idnt\:UnDef
396 \let\tocSection:idnt\empty
397 \def\tocSubSection:idnt{\ }%
398 \fi
399 \fi
400 %
401 \par\tocSection:idnt \ignorespaces #1 #2\par}%
402 \def\tocLikeSection{\tocSection}
403 \def\tocSubSection#1#2#3{\par\csname tocSubSection:idnt\endcsname
404 \ignorespaces #1 #2\par}
405
406 \fi\fi
407 \ifHtml
408 \protected\def\({\leavevmode\st:math}
409 \protected\def\){\ed:math}
410 \NewConfigure{()}[2]{\def\st:math{#1}\def\ed:math{#2}}
411 \def\[{\st:Math}
412 \def\]{\ed:Math}
413 \NewConfigure{[]}[2]{\def\st:Math{#1}\def\ed:Math{#2}}
414 \Configure{()}{$}{$}
415 \Configure{[]}{$$}{$$}
416
417
418
419
420
421 \def\TagCh#1{\Tag{#1(C }{\theChapterCounter}\Tag
422 {#1(c }{\:curch}}
423 \def\RefCh#1{\Link{\LikeRef{#1(c }}{}Chapter\ \XRef
424 {#1(C }\EndLink}
425 \def\TagApp#1{\Tag{#1(A }{\theChapterCounter}\Tag
426 {#1(a }{\:curch}}
427 \def\RefApp#1{\Link{\LikeRef{#1(a }}{}Appendix\ \XRef
428 {#1(A }\EndLink}
429 \def\TagSec#1{\Tag{#1(S }{\theSectionCounter}\Tag
430 {#1(s }{\:cursec}}
431 \def\RefSec#1{\Link{\LikeRef{#1(s }}{}Section\ \XRef
432 {#1(S }\EndLink}
433 \def\TagPage#1{%
434 \Link{}{page#1}\EndLink\Tag{#1}{}}
435 \def\RefPage#1{\Link{page#1}{}\XRef{#1}\EndLink}
436
437 \def\List#1{\begingroup {\hfil\break\IgnorePar}%
438 \HAssign\ListCounter0
439 \let\:temp\empty \def\:tempA{#1}%
440 \def\:tempB{ord}%
441 \ifx\:tempA\:tempB \else \let\:temp\:tempA \def\:tempB{1}\fi
442 \ifx\:tempA\:tempB \else \def\:tempB{a}\fi
443 \ifx\:tempA\:tempB \else \def\:tempB{A}\fi
444 \ifx\:tempA\:tempB \else \def\:tempB{i}\fi
445 \ifx\:tempA\:tempB \else \def\:tempB{I}\fi
446 \let\item\:LIitem
447 \ifx \:tempA\:tempB {\a:OList}%
448 \def\EndList{\b:OList\endgroup }%
449 %
450 \let\a:List\c:OList
451 \else \def\:tempB{}%
452 \ifx \:tempA\:tempB \a:DList \let\item\:DLitem \let\End:dd\empty
453 \def\EndList{\b:DList\endgroup }%
454 %
455 \else \def\:tempB{button}%
456 \ifx \:tempA\:tempB \a:buttonList
457 \let\Item\It:em
458 \edef\but:file{\RefFileNumber\FileNumber}%
459 \ifx \but:file\empty \edef\but:file{\j:bname tmp.\:html}\fi
460 \def\ALL:file##1.##2!*?: {\def\ALL:file{##1-}}%
461 \NewFileName\all:file \expandafter\ALL:file\all:file.!*?: %
462 \HPage<\all:file>{}\IgnorePar
463 \let\item\B:item
464 \def\EndList{%
465 \ifnum \ListCounter>1 \l:Bd{#1}\fi
466 \EndHPage{}%
467 \b:buttonList \endgroup }%
468 %
469 \else \a:UList \def\EndList{\b:UList\endgroup }%
470 %
471 \let\a:List\c:UList
472 \fi\fi\fi
473 \let\Li:Par\:ListParSkip
474 \ht:everypar{\if:nopar \else \HtmlPar\fi}%
475 %
476 \lbl:tm
477 %
478 }
479 \NewConfigure{OList}{3}
480 \NewConfigure{UList}{3}
481 \NewConfigure{DList}{4}
482 \let\:UL:\empty
483 \def\:LIitem{%
484 {\parindent=0pt\leavevmode}\:noparfalse \ht:everypar{\Li:Par}%
485 \Advance:\ListCounter 1 \a:List
486 }
487 \def\:DLitem#1{%
488 \Advance:\ListCounter 1
489 \c:DList #1\d:DList \ht:everypar{\Li:Par}%
490 }
491 \def\B:item#1{%
492 \ifnum \ListCounter>0 \l:Bd{#1}\fi
493 \Advance:\ListCounter 1
494 \FileStream\but:file
495 \Recall:Link\bt:fl \Recall:HPage\hpg:fl \Recall:HPageTag\hptg:fl
496 \L:Ba{#1}\Link[\all:file]{\ALL:file
497 \ListCounter}{\ALL:file\ListCounter}%
498 \L:Bb{#1}\EndLink
499 \L:Bc{#1}\FileStream\all:file
500 \Save:Link\bt:fl \Save:HPage\hpg:fl \Save:HPageTag\hptg:fl
501 \l:Ba{#1}\Link[\but:file]{\ALL:file
502 \ListCounter}{\ALL:file\ListCounter}%
503 \l:Bb{#1}\EndLink
504 \l:Bc{#1}\HtmlEnv}
505 \def\It:em{\bgroup \csname no:catcodes\endcsname0{255}{12}%
506 \catcode`\^^I=13\relax\:Itm}
507 \bgroup
508 \global\let\:grp\egroup
509 \def\:temp{%
510 \csname no:catcodes\endcsname0{255}{12}
511 \catcode`\/0 \catcode`\{1 \catcode`\}2 \catcode`\#6
512 \catcode`\:11 \catcode`\g11 \catcode`\r11 \catcode`\p11
513 \gdef\:Itm }
514 \:temp#1\ContItem{/:grp/g:rp{#1}}/:grp
515
516 \catcode`\^^I=13
517 \def\g:rp#1{%
518 \immediate\openout15=\jobname.tmp
519 {\newlinechar`\^^M \def^^I{\space\space}%
520 \immediate\write15{\string\ignorespaces\space#1}}%
521 \immediate\closeout15
522 \B:item{\input \jobname.tmp}}
523 \catcode`\^^I=10
524 \NewConfigure{buttonList}[5]{\def\a:buttonList{#1}%
525 \def\b:buttonList{#2}%
526 \def\L:Ba##1{#3}\def\L:Bb##1{#5}\def\L:Bc##1{#4}}
527 \NewConfigure{buttonList+}[4]{%
528 \def\l:Ba##1{#1}\def\l:Bb##1{#4}\def\l:Bc##1{#2}\def\l:Bd##1{#3}}
529
530 \def\Margin{\HCode{<table \Hnewline
531 align="right"><tr><td \Hnewline>}}
532 \def\EndMargin{\HCode{</td></tr></table>}}
533 \def\add:col{\Advance:\:cols -1 \HAdvance\HCol 1\relax
534 \ifnum \:cols>0
535 \c:Cols \vsplit0 to \tmp:dim \d:Cols \expandafter\add:col
536 \fi}
537 \NewConfigure{Columns}{4}
538 \def\c:Cols{\edef\sv:dim{\the\tmp:dim}\c:Columns}
539 \def\d:Cols{\d:Columns \tmp:dim\sv:dim }
540 \def\ColMag#1{\tmp:dim #1\tmp:dim}
541 \def\Columns#1{%
542 \a:Columns
543 \HAssign\:cols#1 \setbox0=\vbox\bgroup
544 \divide\hsize #1 }
545 \def\EndColumns{\egroup \HAssign\HCol0
546 \tmp:dim\ht0 \advance\tmp:dim \dp0 \divide\tmp:dim \:cols
547 \add:col \c:Cols \box0 \d:Cols \b:Columns}
548
549 \def\HTable{%
550 \let\:TR\empty
551 \let\TABLE:\empty
552 \futurelet\:temp\T:ABLE}
553 \def\T:ABLE{%
554 \ifx \bgroup\:temp \let\:temp\HT:ble
555 \else \ifx [\:temp \let\:temp\HT:ble
556 \else \let\:tempb\TA:BLE
557 \ifx B\:temp \edef\TABLE:{\HTable:B \TABLE:}%
558 \def\:tempb##1{\futurelet\:temp\T:ABLE}%
559 \fi
560 \HTable:brdr P{cellpadding}%
561 \HTable:brdr S{cellspacing}%
562 \let\:temp\:tempb
563 %
564 \fi \fi \:temp}
565
566 \def\TA:BLE#1{%
567 \let\:tempb\:TR \al:gn\:TR#1%
568 \ifx \:tempb\:TR \expand:after{\HT:ble#1}%
569 \else \expand:after{\futurelet\:temp\T:ABLE}\fi
570 }
571 \def\HTable:brdr#1#2{\ifx #1\:temp
572 \def\:tempb##1{\afterassignment\:tempa\tmp:cnt}%
573 \def\:tempa{%
574 \edef\TABLE:{#2="\the\tmp:cnt" \TABLE:}%
575 \futurelet\:temp\T:ABLE }%
576 \fi}
577 \def\arg:HTable#1#2{%
578 \def\:temp{#1}\ifx \:temp\empty \else
579 \expandafter\def\csname HTable:\string#1\endcsname{#2}%
580 \expandafter\arg:HTable
581 \fi
582 }
583 \NewConfigure{HTable+}[2]{\arg:HTable{#1}{#2}}
584 \def\al:gn#1#2{%
585 \add:TD#1<#2{\csname HTable:<\endcsname }%
586 \add:TD#1>#2{\csname HTable:>\endcsname }%
587 \add:TD#1-#2{\csname HTable:-\endcsname }%
588 \add:TD#1^#2{\csname HTable:\string^\endcsname }%
589 \add:TD#1|#2{\csname HTable:|\endcsname }%
590 \add:TD#1_#2{\csname HTable:\string_\endcsname }%
591 \add:TD#1=#2{\csname HTable:=\endcsname }%
592 }
593 \def\add:TD#1#2#3#4{\chardef\:temp`#2
594 \chardef\:tempa`#3
595 \ifnum \:temp=\:tempa\edef#1{#1\space #4}\fi}
596 \let\:TR\empty
597 \def\HT:ble{\bgroup \let\sv:row\HRow \let\sv:col\HCol
598 \gHAssign\HRow1 \gHAssign\HCol0
599 \htbl: }
600 \def\htbl:{%
601 \let\GetInt\Get:Int
602 \let\GetArg\Get:Arg \a:HTable
603 \let\:EndHTableScript\:EndHTblScript
604 \let\:HTableScript\:HTblScript
605 \let\:HTbleAtt\:HTblAtt
606 \let\:EndHTblScript\empty
607 \let\:HTblScript\empty
608 \let\:HTblAtt\empty
609 %
610 %
611 \c:HTable\hfil\break
612 \ht:everypar{}\futurelet\:temp\tbl:bd }
613 \NewConfigure{HTable}{6}
614 \def\EndHTable{%
615 \end:cell \d:HTable \b:HTable
616 \global\let\HRow\sv:row \global\let\HCol\sv:col \egroup
617 \let\:EndHTblScript\empty
618 \let\:HTblScript\empty
619 \let\:HTblAtt\empty
620 }
621 \def\tbl:bd{\ifx \:temp\bgroup \let\tbl:typ\tbl:bdy
622 \else \ifx /\:temp \def\tbl:typ##1{\env:tbl}%
623 \else \let\tbl:typ\env:tbl
624 \fi \fi \tbl:typ }
625 \long\def\tbl:bdy#1{%
626 \def\hfil{\ifx \EndPicture\:UnDef \space \else\:hfil\fi}%
627 \def\hfill{\ifx \EndPicture\:UnDef \space \else\:hfill\fi}%
628 \expandafter\let\csname cr\endcsname\:cr
629 \:HTable#1&\EndH:Table }
630 \let\:hfil\hfil
631 \let\:hfill\hfill
632 \def\env:tbl{\def\&{\end:cell \TD:cell }\TD:cell }
633 \def\CR{\end:cell
634 \gHAdvance\HRow 1 \gHAssign\HCol0
635 \d:HTable\c:HTable\hfil\break \TD:cell }
636 \long\def\:HTable#1&#2\EndH:Table{%
637 \def\:htbend{#2}%
638 \insert:TD#1\tok:nmath
639 \def\:temp{#2}\ifx\:temp\empty \EndHTable
640 \else \expand:after{\end:cell
641 \:HTable#2\EndH:Table}\fi }
642 \def\tok:nmath{\empty}
643 \def\end:cell{\:EndHTableScript \f:HTable}
644 \def\:cr{\ifx \EndPicture\:UnDef \expandafter\:cR
645 \else \expandafter\:c:r\fi}
646 \expandafter\let\csname :c:r\endcsname\cr
647 \long\def\:cR#1{\relax
648 \ifx\:htbend\empty
649 \def\:temp{#1}%
650 \ifx\:temp\NoArg \else \expandafter\mpty:cr\fi
651 \else \mpty:cr
652 \fi #1}%
653
654 \def\mpty:cr{%
655 \expand:after{\end:cell \gHAdvance\HRow 1 \gHAssign\HCol0
656 \d:HTable\c:HTable \insert:TD}}
657 \def\TD:cell{\gHAdvance\HCol 1 \futurelet\:temp\TD:cll }
658 \def\TD:cll{%
659 \ifx [\:temp \let\:temp\T:D
660 \else \expandafter\ifx\space\:temp
661 \expand:after{\def\:temp}\space{\futurelet\:temp\TD:cll}\else
662 \tbl:ch
663 \fi \fi \:temp}
664 \catcode`\^=13 \catcode`\_=13
665 \def\tbl:ch{{\def^{\string^}\def_{\string_}%
666 \xdef\:temp{\noexpand\T:D[\:HTbleAtt]}}}
667 \catcode`\^=7 \catcode`\_=8
668 \def\insert:TD{\futurelet\:tempc\TD:}
669
670 \def\TD:{%
671 \ifx \par\:tempc \def\:temp\par{\insert:TD}\go:out\:temp\fi
672 \expandafter\ifx \space\:tempc
673 \expand:after{\def\:temp}\space{\insert:TD}%
674 \go:out\:temp \fi
675 \ifx \EndH:Table\:tempc \go:out\empty\fi
676 \gHAdvance\HCol 1 \chk:tblop \tbl:ch \go:out\:temp\empty
677 \:out}
678
679 \def\chk:tblop{\ifx [\:tempc \go:out\T:D \fi}
680 \def\T:D[{\def\TD:typ{td}\let\TD:more\empty \scan:TD}
681 \def\scan:TD#1{%
682 \ifx ]#1\e:HTable
683 \go:out\:HTableScript \fi
684 \ifx /#1\def\:temp##1]{\edef\TD:more{\TD:more\space##1}\scan:TD]}%
685 \go:out\:temp \fi
686 \ifx H#1\def\TD:typ{th}\go:out\scan:TD\fi
687 \ifx R#1\SP:N{rowspan}\fi
688 \ifx C#1\SP:N{colspan}\fi
689 \al:gn\TD:more#1%
690 \go:out\scan:TD\empty\:out }
691
692 \def\SP:N#1{%
693 \def\:temp{\edef\TD:more{ #1="\the\tmp:cnt"\TD:more
694 \Hnewline}\scan:TD}%
695 \def\:tempa##1{\afterassignment\:temp \tmp:cnt##1}%
696 \go:out\:tempa}
697 \def\HTableScript{\futurelet\:temp\tblScrpt:}
698 \def\tblScrpt:{\ifx [\:temp \expandafter\:tblScrpt
699 \else \expand:after{\:tblScrpt[]}\fi }
700 \long\def\:tblScrpt[#1]#2#3{%
701 \def\:HTblAtt{#1}%
702 \def\:HTblScript{#2\go:out\empty!*?: \:out}%
703 \def\:EndHTblScript{#3}}
704 \let\:EndHTblScript\empty
705 \let\:HTblScript\empty
706 \let\:HTblAtt\empty
707
708 \def\go:out#1{\expand:after{\g:out#1}}
709 \long\def\g:out#1#2\:out{#1}
710 \long\def\Get:Int#1#2!*?: \:out{%
711 \def\:next{%
712 \edef\:next{\the\tmp:cnt\space}%
713 \HAssign#1\:next #2!*?: \:out}%
714 \afterassignment\:next
715 \tmp:cnt }
716 \def\DefGetArg#1#2#3{\def\:temp{#3}%
717 \ifx \:temp\NoArg \D:fGetArg{#1}{#2}#3#3\else
718 \D:fGetArg{#1}{#2}{#3}{}\fi
719 }
720 \def\D:fGetArg#1#2#3#4{%
721 \expand:after{\long\def}\csname
722 Get:Arg:#1:#2\endcsname##1##2!*?: \:out{%
723 \def\:next####1#3{\def##1{####1}%
724 \ifx \tbl:typ\tbl:bdy \else
725 \ifx ##1\&\let##1\NoArg\fi
726 \ifx ##1\CR \let##1\NoArg\fi
727 \fi
728 #4##2!*?: \:out}%
729 \:next }}
730
731 \DefGetArg{}{}{}
732 \def\stgt:arg#1#2{%
733 \expand:after{\let\:tempa=}\csname Get:Arg:#1:#2\endcsname
734 \ifx \:tempa\relax \else \let\:temp\:tempa \fi }
735 \def\Get:Arg{%
736 \let\:temp\Get:Arg::\stgt:arg{}\HCol \stgt:arg\HRow{}%
737 \stgt:arg\HRow\Col \:temp}
738 \def\NoArg{\tok:nmath}
739
740 \ifHtml
741 \:CheckOption{postscript} \if:Option
742 \expandafter\def\csname i:0\endcsname{0}
743 \expandafter\def\csname i:1\endcsname{1}
744 \expandafter\def\csname i:2\endcsname{2}
745 \expandafter\def\csname i:3\endcsname{3}
746 \expandafter\def\csname i:4\endcsname{4}
747 \expandafter\def\csname i:5\endcsname{5}
748 \expandafter\def\csname i:6\endcsname{6}
749 \expandafter\def\csname i:7\endcsname{7}
750 \expandafter\def\csname i:8\endcsname{8}
751 \expandafter\def\csname i:9\endcsname{9}
752 \def\i:A{10} \let\i:a\i:A
753 \def\i:B{11} \let\i:b\i:B
754 \def\i:C{12} \let\i:c\i:C
755 \def\i:D{13} \let\i:d\i:D
756 \def\i:E{14} \let\i:e\i:E
757 \def\i:F{15} \let\i:f\i:F
758
759 \def\Hex:Frac#1#2{\tmp:cnt\csname i:#1\endcsname
760 \multiply\tmp:cnt by 16
761 \advance\tmp:cnt\csname i:#2\endcsname
762 \multiply\tmp:cnt by 100
763 \divide\tmp:cnt by 255
764 \edef\:temp{\ifnum \tmp:cnt>99 1.0\else 0.\the\tmp:cnt\fi}}
765
766 \def\df:clr#1#2#3#4#5#6#7{\Hex:Frac#2#3\let#1\:temp
767 \Hex:Frac#4#5\edef#1{ #1 \:temp}%
768 \Hex:Frac#6#7\edef#1{#1 \:temp\space setrgbcolor }}
769
770 \def\DefPsColor#1#2{\df:clr#1#2}
771 \let\PsCode\relax
772 %
773 \def\MarkPsLoc(#1){%
774 \PsCode{ currentpoint
775 /Psy#1 exch def
776 /PsX#1 exch def
777 }}
778 \def\RecallPsLoc(#1){ PsX#1 Psy#1 }
779
780 \ifx \PsCodeSpecial\:UnDef \def\PsCodeSpecial{ps:}\fi
781
782 \fi
783 \fi
784
785 \:CheckOption{draw} \if:Option
786 \NewConfigure{Fig}{2}
787 \Odef\Fig[#1]{\bgroup
788 \ifx \EndPicture\:Undef
789 \ifx \EndFig\:Undef
790 \def\EndFig{\b:Fig\egroup}%
791 \def\AltFig{#1}\a:Fig
792 \else \let\EndFig\egroup \fi
793 \else \let\EndFig\egroup \fi
794 \HAssign\y::=0
795 \def\Text##1"##2"{\raise \y:: pt \hbox to 0pt{##2\hss}\ignorespaces}%
796 \def\Line{\afterassignment\Ln:A\tmp:cnta}%
797 \def\Move{\afterassignment\Mv:A\tmp:cnta}\ignorespaces}
798
799 \def\Ln:A{\afterassignment\Ln:B\tmp:cntb}
800 \def\Ln:B{\bgroup \leavevmode
801 \HAssign\I::=\ifnum \tmp:cnta<0 -\fi \tmp:cnta
802 \HAssign\J::=\ifnum \tmp:cntb<0 -\fi \tmp:cntb
803 \ifnum \I::>\J:: \HAssign\J::=\I:: \fi \relax
804 \ifnum \J::>0
805 \tmp:dim=\tmp:cnta pt
806 \ifnum \tmp:cnta<0
807 \tmp:dim-\tmp:dim
808 \vrule depth \z@ height \z@ width \tmp:cnta pt
809 \HAdvance\y:: by \tmp:cntb \tmp:cntb-\tmp:cntb
810 \fi
811 \divide\tmp:dim by \J:: \edef\C::{\the\tmp:dim}%
812 \tmp:dima=\tmp:cntb pt \divide\tmp:dima by \J::
813 \edef\D::{\the\tmp:dima}%
814 \tmp:dima \y:: pt
815 \HAssign\I::-1 \tmp:dim\z@ \Ln:C
816 \ifnum \tmp:cnta>0 \else
817 \vrule depth \z@ height \z@ width -\tmp:cnta pt
818 \fi\fi
819 %
820 \egroup \Mv:B }
821
822 \def\Ln:C{\ifnum \I::<\J::
823 \vrule depth \z@ height \z@ width \tmp:dim
824 \raise \tmp:dima \hbox{\vrule height 0.5pt depth 0.5pt width 1pt}%
825 \vrule depth \z@ height \z@ width -\tmp:dim
826 \vrule depth \z@ height \z@ width -1.0pt
827 \advance\tmp:dim by \C::
828 \advance\tmp:dima by \D::
829 \Advance:\I:: by 1
830 \expandafter\Ln:C \fi }
831
832 \def\Mv:A{\afterassignment\Mv:B\tmp:cntb}
833 \def\Mv:B{\leavevmode
834 \vrule depth \z@ height \z@ width \tmp:cnta pt
835 \Advance:\y:: by \tmp:cntb \ignorespaces }
836
837 \csname newcount\endcsname\tmp:cnta
838 \csname newcount\endcsname\tmp:cntb
839 \csname newdimen\endcsname\tmp:dima
840
841 \fi
842
843 \:CheckOption{index} \if:Option
844 \let\mi:nus=\-
845 \def\-{\futurelet\:temp\:idxentry}
846 \def\:idxentry{\ifx \:temp- \expandafter\:addidx
847 \else\expandafter\mi:nus\fi}
848 \def\:addidx-#1/#2/#3/{{\def\:ii{#2}%
849 \csname a:--\endcsname
850 %
851 \ifx\:ii\empty
852 \edef\:temp{\write\:idx{\string\--{#1}{ }{#3}%
853 {\csname b:--\endcsname
854 }\relax}}%
855 \else
856 \edef\:temp{\write\:idx{\string\--{#1}{#2}{#3}%
857 {\csname b:--\endcsname
858 }\relax}}%
859 \fi \:temp}}
860 \csname newwrite\endcsname\:idx
861 \openout\:idx=\jobname.idx
862 \def\Index{%
863 \def\--{\IndexEntry}%
864 \openin15=\jobname.xdi
865 \ifeof15 \write\:idx{ \pageno=\the\pageno}
866 \else
867 {\a:index \input \jobname.xdi \b:index }
868 \fi}
869 \def\IndexEntry#1#2#3#4{%
870 \gdef\:temp{#1}\let\:tempa\empty
871 \ifx \:temp\prev:A \gdef\:temp{#2}\ifx \:temp\prev:B
872 \let\:tempa\relax
873 \fi\fi
874 \ifx \:tempa\relax ,\else
875 \gdef\:temp{#1}\ifx \:temp\prev:A \else \c:index #1\d:index\fi
876 \def\:temp{#2}\ifx \:temp\space
877 \else \hfill\break \e:index#2\f:index\fi
878 \fi
879 \g:index #4\h:index
880 \gdef\prev:A{#1}\gdef\prev:B{#2}%
881 }
882 \NewConfigure{index}{8}
883 \ifx \IndexFonts\:UnDef
884 \def\IndexFonts{%
885 \setbox\strutbox=\hbox{\vrule height8.0pt depth3.0pt width0pt}
886 \font\ninerm=cmr9 \font\ninebf=cmbx9 \font\ninesl=cmsl9
887 \font\nineit=cmti9 \font\ninett=cmtt9 \font\ninei =cmmi9
888 \font\ninesy=cmsy9 \font\nineex=cmex10
889 \textfont0=\ninerm \textfont1=\ninei \textfont2=\ninesy
890 \textfont3=\nineex \scriptfont3=\nineex \scriptscriptfont3=\nineex
891 \textfont\bffam=\ninebf \textfont\slfam=\ninesl
892 \textfont\itfam=\ninei \textfont\ttfam=\ninett
893 \def\rm{\fam=0 \ninerm}%
894 \def\bf{\fam=\bffam\ninebf}%
895 \def\sl{\fam=\slfam\ninesl}%
896 \def\it{\fam=\itfam\nineit}%
897 \def\tt{\fam=\ttfam\ninett}%
898 \def\cal{\fam=2}%
899 \def\mit{\fam=1}%
900 \skewchar\ninei =127 \skewchar\ninesy =46 \rm
901 \baselineskip=11pt }
902 \fi
903 \NewConfigure{--}{2}
904 \Configure{--}
905 {\html:addr \Link-{}{index\last:haddr}\EndLink}
906 {\string\csname\space :gobble\string\endcsname{\html:lbl}%
907 \string\Link[\FileName]{index\last:haddr}{}\folio
908 \string\EndLink
909 }
910
911 \fi
912
913 % \expand:after{\Hinput{th4}}
914 \else
915 \def\List#1{%
916 \def\:tempa##1##2{%
917 \ifx\:tempA\:tempB \def\:tempb{\L:st{##1}}\fi \def\:tempB{##2}}%
918 \def\:tempb{\L:st{#1}}\def\:tempA{#1}\def\:tempB{ord}%
919 \:tempa\:ord1%
920 \:tempa{\:ord}{a}%
921 \:tempa{\:alph}{A}%
922 \:tempa{\:Alph}{i}%
923 \:tempa{\:roman}{I}%
924 \:tempa{\:Roman}{disc}%
925 \:tempa{$\bullet$}{circle}%
926 \:tempa{$\circle$}{square}%
927 \:tempa{\vrule depth \z@ height 1ex width 1ex}{}%
928 \:tempa{\:lbl}{}%
929 \:tempb }
930
931 \def\L:st#1{\par \nobreak
932 {\advance \medskipamount -\parskip \:medskip}%
933 \:noparfalse
934 \Begin:Block{List}%
935 \Configure{Item}{}{.}%
936 %
937 \lbl:tm
938 %
939 \advance \leftskip 1.5em
940 \parindent0em
941 \HAssign\ListCounter0
942 \def\item{%
943 \par \leavevmode \parskip\:ListParSkip
944 \Advance:\ListCounter 1
945 \the\EveryItem}%
946 \def\:temp{#1}\def\:tempa{\:lbl}\ifx \:temp\:tempa
947 \EveryItem={\hskip-1.5em\:ListItem}%
948 \else \EveryItem={%
949 \llap{#1\hskip 0.5em}}\fi
950 %
951 }
952 \def\EndList{\par
953 \End:Block{List}%
954 {\advance\medskipamount -\parskip \:medskip}}
955 \expandafter\csname newskip\endcsname\ListParSkip
956 \def\:ListParSkip{\ListParSkip}
957 \ListParSkip4.5pt plus 1.5pt minus 1.5pt
958 \def\:ListItem#1{\:lbl{#1}\hskip 0.5em\ignorespaces}
959
960 \let\Columns\:gobble
961 \let\EndColumns\empty
962 \def\:bigskip{%
963 \ifvmode
964 \ifdim \lastskip<\bigskipamount
965 \vskip -\lastskip \bigskip \fi
966 \else \bigskip\fi}
967
968 \def\:medskip{%
969 \ifvmode
970 \ifdim \lastskip<\medskipamount
971 \vskip -\lastskip \medskip \fi
972 \else \medskip\fi}
973
974 \def\:smallskip{%
975 \ifvmode
976 \ifdim \lastskip<\smallskipamount
977 \vskip -\lastskip \smallskip \fi
978 \else \smallskip \fi}
979
980
981
982 \def\Verb:sp{\phantom{x}}
983 \let\Verb:boln\empty
984 \let\Verb:eoln\empty
985 \Configure{VerbatimEnv}
986 {\medskip \parskip0pt}
987 {\smallskip }
988 \let\vrb:tt\tt
989
990 \def\:StartSec#1#2#3{%
991 %
992 \expandafter\ifx \csname a:#1\endcsname\relax \else
993 \csname a:#1\endcsname{#3}%
994 \fi
995 \:Ttle{#1}{#2}{\csname #1:ttl\endcsname{#3}}%
996 \expandafter\ifx \csname b:#1\endcsname\relax \else
997 \csname b:#1\endcsname{#3}%
998 \fi
999 %
1000 }
1001 \let\html:addr\empty
1002 \let\protect:wrtoc\empty
1003 \let\html:tocsec \empty
1004 \let\html:sectoc\empty
1005
1006
1007
1008
1009
1010 \def\:ctgs#1{\def\:eat##1#1{{\vrb:tt ##1}\egroup}\:eat}
1011
1012 \fi
1013 \fi
1014 \ifHtml \expand:after{\Hinput{th4}}\fi
1015 \endinput
1016