1
% Compile 3 timws: latex tex4ht-html4
2
% or xhlatex tex4ht-html4 "html,3,sections+"
3
% Copy html.4ht into the work directory before each of the
4
% first two compilations
6
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8
% Copyright (C) 1996-- Eitan M. Gurari %
10
% This work may be distributed and/or modified under the %
11
% conditions of the LaTeX Project Public License, either %
12
% version 1.3 of this license or (at your option) any %
13
% later version. The latest version of this license is %
15
% http://www.latex-project.org/lppl.txt %
16
% and version 1.3 or later is part of all distributions %
17
% of LaTeX version 2003/12/01 or later. %
19
% This work has the LPPL maintenance status "maintained".%
21
% This Current Maintainer of this work %
22
% is Eitan M. Gurari. %
24
% If you modify this file your changing the signature %
25
% in \message{(signature)} below will be appreciated. %
27
% gurari@cse.ohio-state.edu %
28
% http://www.cse.ohio-state.edu/~gurari %
29
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
30
\message{(<signature>)}
35
\def\HTML{html4,html4-math,html4-uni}
37
\def\MAKETITLE{\author{Eitan M. Gurari}}
38
\def\next{\input mktex4ht.4ht \endinput}
39
\def\OPTIONS{xhtml,3,sections+}
45
%%%%%%%%%%%%%%%%%% definitions %%%%%%%%%%%%%%%%%%%%%%%%%
47
\let\AltxModifyShowCode=\ModifyShowCode
49
\def\by{by}\def\={=}\AltxModifyShowCode}
50
\let\pReModifyOutputCode=\ModifyOutputCode
51
\def\ModifyOutputCode{%
55
\newcount\tmpcnt \tmpcnt\time \divide\tmpcnt 60
56
\edef\temp{\the\tmpcnt}
57
\multiply\tmpcnt -60 \advance\tmpcnt \time
59
\edef\version{\the\year-\ifnum \month<10 0\fi
60
\the\month-\ifnum \day<10 0\fi\the\day
61
-\ifnum \temp<10 0\fi \temp
62
:\ifnum \tmpcnt<10 0\fi\the\tmpcnt}
65
\ifnum #1=\year #1\space\space\space\space\space\space
66
\else #1--\the\year\fi
69
\def\.{\string\a:mathml:\space}
72
\TocAt{section,subsection,likesubsection}
74
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
75
\Needs{"ls -l tex4ht-*.tex > ls-links.log"}
76
\openin15=ls-links.log
77
\ifeof15 \else \closein15
80
\def-#1tex4ht-{\bgroup \catcode`\-=12
82
[\Link[tex4ht\string-##1.html]{}{}##1\EndLink]}
84
\input ls\string-links.log
87
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
91
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
92
\chapter{The Calling Tree for 4ht Files}
93
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
96
\if:latex |<Hinclude latex|>
97
\else |<Hinclude plain|> \fi
101
|<Hinclude plain lib|>
102
|<Hinclude plain + latex lib|>
106
|<Hinclude latex lib|>
107
|<Hinclude plain + latex lib|>
113
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
114
% html4.4ht |version %
115
% Copyright (C) |CopyYear.1997. Eitan M. Gurari %
121
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
122
% html4-math.4ht |version %
123
% Copyright (C) |CopyYear.1999. Eitan M. Gurari %
130
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
132
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
142
{\IgnorePar\HCode{<html \a:@HTML
143
\:xhtml{|<xmlns|>\Hnewline}>\Hnewline}}
144
{\ifvmode\IgnorePar\fi\HCode{</html>\Hnewline}}
148
{\IgnorePar\NoFonts\HCode {<head>}}
149
{\HCode{</head>}\EndNoFonts}
152
\:CheckOption{frames} \if:Option
155
\Log:Note{for content and toc
156
in 2 frames, use the command line option `frames'}
157
\Log:Note{for content, toc, and footnotes
158
in 3 frames, use the command line option `frames-fn'}
162
\Configure{TITLE}{\Protect\IgnorePar
163
\HCode{<title>}}{\HCode{</title>\Hnewline}}
165
\ifx \a:@HEAD\relax \let\a:@HEAD=\empty\fi
168
\:CheckOption{css-in} \if:Option
169
\Log:Note{the inline CSS code is extracted from the input of the
170
previous compilation, so an extra compilation might be needed}
171
\Configure{@HEAD}{|<css inline|>}
173
\Log:Note{for inline CSS code, use the command line option `css-in'}
174
\Configure{@HEAD}{\HCode{<link
175
rel="stylesheet" type="text/css"
176
href="\aa:CssFile"\xml:empty>\Hnewline}}
180
\:CheckOption{mouseover} \if:Option
181
|<onmouseover @HEAD|>
183
\Log:Note{for pop ups on mouse over,
184
use the command line option `mouseover'}
189
\openin15=\jobname .css
190
\ifeof15 \else \:warning{Missing file: \jobname .css }%
192
\catcode`\{=12 \catcode`\}=12 \catcode`\%=12 \catcode`\#=12
193
\HCode{\Hnewline<style type="text/css">\Hnewline <!-- \Hnewline}%
196
\def\:tempa{\par}\ifx \:temp\:tempa \let\:temp\empty \fi
198
\expandafter\tmp:toks\expandafter{\:temp}%
199
\HCode{\the\tmp:toks \Hnewline}%
201
\HCode{\Hnewline-->\Hnewline</style>\Hnewline}%
210
\:CheckOption{uni-html4} \if:Option
211
\def\A:charset{charset=utf-8}
213
\def\A:charset{charset=iso-8859-1}
217
\verb'\a:charset' can come from a private configuration file, and from
218
a poackage option. It takes precedence over \verb'\A:charset'.
223
\section{XML Version}
226
\<xhtml dtd xml-version\><<<
227
|<xml encoding utility|>
229
{\HCode{<?xml version="1.0" |<xml encoding|> ?>\Hnewline}}
236
\<tex4ht doctype\><<<
237
\ifx \a:DOCTYPE\relax
238
\:CheckOption{frames} \if:Option
241
|<no frames xhtml DOCTYPE|>
242
|<no frames DOCTYPE|>
248
\<no frames xhtml DOCTYPE\><<<
249
\:CheckOption{xhtml} \if:Option
250
\NewConfigure{@DOCTYPE}[1]{\def\:temp{#1}%
251
\ifx \:temp\empty \let\a:@DOCTYPE|=\empty
252
\else \ifx \a:@DOCTYPE\relax \let\a:@DOCTYPE|=\empty\fi
253
\pend:def\a:@DOCTYPE{#1}\fi}
254
\let\a:@DOCTYPE|=\relax
258
\<configure html4 Preamble\><<<
259
\Configure{PROLOG}{VERSION,DOCTYPE,*XML-STYLESHEET}
260
\:CheckOption{mouseover} \if:Option
261
|<DOCTYPE in PROLOG under mouseover|>
263
\:CheckOption{no-DOCTYPE} \if:Option
264
\Configure{PROLOG}{VERSION,*XML-STYLESHEET}
266
\Log:Note{to remove the DOCTYPE declaration
267
use the command line option `no-DOCTYPE'}
274
\<no frames DOCTYPE\><<<
275
\:CheckOption{xhtml} \if:Option
285
Don't place the full address
286
\''http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'
287
within DOCTYPE. It can stop tools like xt when the serves doen't respond
291
|<xhtml dtd xml-version|>%
293
{\HCode{<!DOCTYPE html \xhtml:DOCTYPE> \Hnewline
294
<!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd-->
296
\def\xhtml:DOCTYPE{PUBLIC
297
"-//W3C//DTD XHTML 1.0 Transitional//|<dtd lang|>"\Hnewline
298
\space\space "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"}
304
\ifx \csname a:dtd-lang\endcsname\relax EN\else
305
\csname a:dtd-lang\endcsname
312
{<!ENTITY \% xhtml.dtd \xhtml:DOCTYPE>\Hnewline\%xhtml.dtd; \Hnewline}
316
\Configure{DOCTYPE}{\IgnorePar\HCode
317
{<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//|<dtd lang|>"
318
\Hnewline\space\space "http://www.w3.org/TR/html4/loose.dtd">
325
\:CheckOption{xhtml} \if:Option
327
{\HCode{<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//|<dtd lang|>"
328
\Hnewline "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">\Hnewline}}
331
{\HCode{<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//|<dtd lang|>"
332
\Hnewline "http://www.w3.org/TR/html4/frameset.dtd">\Hnewline}}
341
Xerces reqires the following encoding.
343
\<tex4ht doctype\><<<
348
encoding="\expandafter\ifx \csname a:charset\endcsname\relax
349
\expandafter\:encoding\A:charset
350
\else \expandafter\:encoding\a:charset\fi"
358
\:CheckOption{mouseover} \if:Option
360
{\:xhtml{\SaveEndP}\IgnorePar\HCode{<body\Hnewline
361
\csname a:!BODY\endcsname >}|<overDiv|>\ShowPar\par}
362
{\IgnorePar\:xhtml{\EndP}\HCode{\Hnewline
363
</body>}\:xhtml{\RecallEndP}}%
366
{\:xhtml{\SaveEndP}\IgnorePar\HCode{<body\Hnewline
367
\csname a:!BODY\endcsname >}\ShowPar\par }
368
{\IgnorePar\:xhtml{\EndP}\HCode{\Hnewline
369
</body>}\:xhtml{\RecallEndP}}%
374
\def\Frame:Name{menu}
375
|<no frames xhtml DOCTYPE|>%
378
\a:frames \NoFrames \PushStack\BODY:stack{}
380
|<no frames DOCTYPE|>%
381
\HPage[tex4ht-p1]{table of contents}%
382
\Link{}{|<tex4ht-toc|>}\EndLink
384
\Configure{Link}{a}{target="|<tex4ht-main|>" href=}{ name=}{}
387
\def\Frame:Name{main}
388
\EndHPage{tex4ht-p1} \Tg<br />
389
\HPage[tex4ht-p2]{text}\Link{}{|<tex4ht-body|>}\EndLink
391
{\EndHPage{tex4ht-p2}}
392
\NewConfigure{frames}{2}
393
\Css{body\#|<tex4ht-menu|> {white-space: nowrap; }}
397
\<sub frames BODY\><<<
398
\:CheckOption{mouseover} \if:Option
400
{\PushStack\BODY:stack{x}%
401
\:xhtml{\SaveEndP}\IgnorePar\HCode{<body\Hnewline
402
\ifx\Frame:Name\empty\else id="tex4ht-\Frame:Name"\fi
403
\csname a:!BODY\endcsname
404
>}|<overDiv|>\ShowPar\par \let\Frame:Name=\empty}
405
{\IgnorePar\:xhtml{\EndP}\PopStack\BODY:stack\:temp
406
\ifx \:temp\empty \EndFrames \else
407
\HCode{\Hnewline </body>}\fi
408
\:xhtml{\RecallEndP}}%
411
{\PushStack\BODY:stack{x}%
412
\:xhtml{\SaveEndP}\IgnorePar\HCode{<body\Hnewline
413
\ifx\Frame:Name\empty\else id="tex4ht-\Frame:Name"\fi
414
\csname a:!BODY\endcsname >}\ShowPar\par \let\Frame:Name\empty}
415
{\IgnorePar\:xhtml{\EndP}\PopStack\BODY:stack\:temp
416
\ifx \:temp\empty \EndFrames
417
\else \HCode{\Hnewline </body>}\fi
418
\:xhtml{\RecallEndP}}%
441
\:CheckOption{xht} \if:Option
442
\:CheckOption{xhtml}\if:Option \else \:CheckOption{xml}\fi
444
\if:Option |<xht extension file name|>
445
\else |<html extension file name|>\fi
447
|<meta generator / originator|>
448
\immediate\write-1{TeX4ht package options:
449
\expandafter\:gobbleM\meaning\Preamble}
451
{\HCode{<meta name="src" content="\jobname.tex"\xml:empty>\Hnewline}}
453
{\HCode{<meta name="date" content="\:today"\xml:empty>\Hnewline}}
457
\<xht extension file name\><<<
458
\Configure{@HEAD}{\HCode{<meta
459
http-equiv="Content-Type" content="application/xhtml+xml;
460
\expandafter\ifx \csname a:charset\endcsname\relax\A:charset
461
\else \a:charset\fi"\xml:empty>\Hnewline}}
462
\Configure{html}{xht}
465
\<html extension file name\><<<
466
\Log:Note{for file extension name xht, use the command line option `xht'}%
467
\Configure{@HEAD}{\HCode{<meta
468
http-equiv="Content-Type" content="text/html;
469
\expandafter\ifx \csname a:charset\endcsname\relax\A:charset
470
\else \a:charset\fi"\xml:empty>\Hnewline}}
474
\verb'\Hnewline' is needed at end of file to avoid loosing the
475
last line under some applications.
481
Tex4ht pages published through FrontPage loose the generator metas,
482
but not the originator-metas.
487
\<meta generator / originator\><<<
488
\Configure{@HEAD}{\HCode{<meta
489
name="generator" content="TeX4ht
490
(http://www.cse.ohio-state.edu/\string
491
~gurari/TeX4ht/mn.html)"\xml:empty>\Hnewline}}
492
\Configure{@HEAD}{\HCode{<meta
493
name="originator" content="TeX4ht
494
(http://www.cse.ohio-state.edu/\string
495
~gurari/TeX4ht/mn.html)"\xml:empty>\Hnewline
496
<!--\space\expandafter\:gobbleM\meaning
497
\Preamble\space-->\Hnewline}}
513
\:CheckOption{frames} \if:Option
514
\:CheckOption{frames-fn} \if:Option
516
{\HorFrames[rows="*"]{*,3*}
517
\VerFrames[cols="*"]{3*,*}
518
\Frame[ name="|<tex4ht-menu|>"
519
frameborder="0" ]{|<tex4ht-toc|>}
520
\Frame[ name="|<tex4ht-fn|>"
523
\Frame[ name="|<tex4ht-main|>"
524
frameborder="0" ]{|<tex4ht-body|>}}
525
{\let\contentsname=\empty \tableofcontents}
528
{\HorFrames[rows="*"]{*,3*}
529
\Frame[ name="|<tex4ht-menu|>"
530
frameborder="0" ]{|<tex4ht-toc|>}
531
\Frame[ name="|<tex4ht-main|>"
532
frameborder="0" ]{|<tex4ht-body|>}}
533
{\let\contentsname=\empty \tableofcontents}
543
\<configure html4 Preamble\><<<
544
\:CheckOption{frames-fn} \if:Option
545
\edef\Preamble{\Preamble,frames}
551
\<beamer ver frames\><<<
553
{\VerFrames[ cols="*"]{4*,*}
554
\Frame[ name="|<tex4ht-main|>"
555
frameborder="1" ]{|<tex4ht-body|>}
556
\Frame[ name="|<tex4ht-menu|>"
557
frameborder="1" ]{|<tex4ht-toc|>}}
558
{\beamer:bookmarks \tableofcontents}
561
\<beamer hor frames\><<<
563
{\HorFrames[ rows="*"]{*,3*}
564
\Frame[ name="|<tex4ht-menu|>"
565
frameborder="1" ]{|<tex4ht-toc|>}
566
\Frame[ name="|<tex4ht-main|>"
567
frameborder="1" ]{|<tex4ht-body|>}}
568
{\beamer:bookmarks \tableofcontents}
572
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
574
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
578
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
580
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
582
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
583
\subsection{Sub Sections}
584
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
586
\<shared h4 subsection\><<<
587
\ConfigureMark{subsection}
588
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
590
\HCode{<span class="titlemark">}\@seccntformat{subsection}%
592
\Configure{subsection}{}{}
593
{\ifvmode \IgnorePar\fi
594
\EndP\bgroup \IgnorePar\HCode{<h4 class="subsectionHead"\a:LRdir>}%
595
\TitleMark\space \HtmlParOff}
596
{\HCode{</h4>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
597
\Configure{subsectionTITLE+}{\thesubsection \space#1}
598
\Configure{likesubsection}{}{}{\EndP\bgroup
599
\ifvmode \IgnorePar\fi
600
\HCode{<h4 class="likesubsectionHead"\a:LRdir>}\HtmlParOff }
601
{\HCode{</h4>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
602
\Configure{likesubsectionTITLE+}{#1}
606
\<configure html4 emulateapj\><<<
607
\ConfigureMark{subsection}
608
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
610
\HCode{<span class="titlemark">}\@seccntformat{section}%
611
\thesubsection\HCode{</span>}\fi}
612
\Configure{subsection}{}{}
613
{\EndP\bgroup \IgnorePar\HCode{<h4 class="subsectionHead"\a:LRdir>}%
614
\TitleMark{. \space}}
615
{\HCode{</h4>}\IgnoreIndent\egroup}
618
\<configure html4 titlesec\><<<
619
\ConfigureMark{subsection}
620
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble \else
621
\csname thetitlesubsection\endcsname\fi}
622
\Configure{subsection}{}{}
623
{\EndP\bgroup \IgnorePar\HCode{<h4 class="subsectionHead"\a:LRdir>}%
625
{\HCode{</h4>}\IgnoreIndent\egroup}
630
\ConfigureMark{subsection}
631
{\ifHeadingNumbered \HCode{<span class="titlemark">}\mw@seccntformat
632
\HeadingNumber \HCode{</span>}\fi}
633
\Configure{subsection}{}{}
634
{\NoFonts \ifvmode \IgnorePar\fi
635
\EndP\bgroup \IgnorePar\HCode{<h4 class="subsectionHead"\a:LRdir>}%
636
\TitleMark \HtmlParOff}
637
{\HCode{</h4>}\HtmlParOn \EndNoFonts \IgnoreIndent\egroup\par}
638
\Configure{subsectionTITLE+}{\thesubsection \space#1}
642
\Configure{likesubsection}{}{}{\EndP\bgroup
643
\ifvmode \IgnorePar\fi
644
\HCode{<h4 class="likesubsectionHead"\a:LRdir>}\HtmlParOff }
645
{\HCode{</h4>}\HtmlParOn \IgnoreIndent\egroup\par}
646
\Configure{likesubsectionTITLE+}{#1}
650
\<ams art,proc,book div\><<<
651
\ConfigureMark{subsection}
652
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
654
\HCode{<span class="titlemark">}%
655
\@ifundefined{subsectionname}{}{%
656
\ignorespaces\subsectionname\space}%
657
\@seccntformat{subsection}%
659
\Configure{subsectionTITLE+}{\thesubsection \space#1}
664
\Configure{subsection}{}{}
665
{\ifvmode \IgnorePar\fi
666
\EndP\bgroup \IgnorePar\HCode{<h4 class="subsectionHead"\a:LRdir>}%
667
\TitleMark\space \HtmlParOff}
668
{\HCode{</h4>}\HtmlParOn \IgnoreIndent\egroup\par}
672
\Configure{subsection}{}{}
674
\HCode{<span class="subsectionHead"\a:LRdir>}\begingroup\bf
676
{.\endgroup\HCode{</span>}\IgnorePar\par}
681
\<scr report,book\><<<
682
\ConfigureMark{subsection}
683
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
685
\HCode{<span class="titlemark">}\thesubsection
687
\Configure{subsection}{}{}
688
{\ifvmode \IgnorePar\fi
689
\EndP\bgroup \IgnorePar\HCode{<h4 class="subsectionHead"\a:LRdir>}%
690
\TitleMark.~~\HtmlParOff}
691
{\HCode{</h4>}\HtmlParOn \IgnoreIndent\egroup\par}
692
\Configure{subsectionTITLE+}{\thesubsection \space#1}
693
\Configure{likesubsection}{}{}{\EndP\bgroup
694
\ifvmode \IgnorePar\fi
695
\HCode{<h4 class="likesubsectionHead"\a:LRdir>}\HtmlParOff }
696
{\HCode{</h4>}\HtmlParOn \IgnoreIndent\egroup\par}
697
\Configure{likesubsectionTITLE+}{#1}
701
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
702
\subsection{Sub Sub Sections}
703
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
706
\<ams art,proc,book div\><<<
707
\ConfigureMark{subsubsection}
708
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
710
\HCode{<span class="titlemark">}%
711
\@ifundefined{subsubsectionname}{}{%
712
\ignorespaces\subsubsectionname\space}%
713
\@seccntformat{subsubsection}%
715
\Configure{subsubsectionTITLE+}{\thesubsubsection \space#1}
720
\Configure{subsubsection}{}{}
721
{\ifvmode \IgnorePar \fi \EndP
722
\bgroup \IgnorePar\HCode{<h5 class="subsubsectionHead"\a:LRdir>}%
723
\TitleMark\space \HtmlParOff}
724
{\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
728
\Configure{subsubsection}{}{}
730
\HCode{<span class="subsubsectionHead"\a:LRdir>}\begingroup\it
732
{.\endgroup\HCode{</span>}\IgnorePar}
736
\<shared h5 subsubsection\><<<
737
\ConfigureMark{subsubsection}
738
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
740
\HCode{<span class="titlemark">}\@seccntformat{subsubsection}%
742
\Configure{subsubsection}{}{}
743
{\ifvmode \IgnorePar \fi \EndP
744
\bgroup \IgnorePar\HCode{<h5 class="subsubsectionHead"\a:LRdir>}%
745
\TitleMark\space \HtmlParOff}
746
{\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
747
\Configure{likesubsubsection}{}{}
748
{\ifvmode \IgnorePar\fi \EndP\bgroup\IgnorePar
749
\HCode{<h5 class="likesubsubsectionHead"\a:LRdir>}\HtmlParOff}
750
{\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
751
\Configure{subsubsectionTITLE+}{\thesubsubsection \space#1}
757
\ConfigureMark{subsubsection}
758
{\ifHeadingNumbered \HCode{<span class="titlemark">}\mw@seccntformat
759
\HeadingNumber \HCode{</span>}\fi}
760
\Configure{subsubsection}{}{}
761
{\NoFonts \ifvmode \IgnorePar \fi \EndP
762
\bgroup \IgnorePar\HCode{<h5 class="subsubsectionHead"\a:LRdir>}%
763
\TitleMark \HtmlParOff}
764
{\HCode{</h5>}\HtmlParOn \EndNoFonts \IgnoreIndent\egroup
766
\Configure{subsubsectionTITLE+}{\thesubsubsection \space#1}
772
\Configure{likesubsubsection}{}{}
773
{\ifvmode \IgnorePar\fi \EndP\bgroup\IgnorePar
774
\HCode{<h5 class="likesubsubsectionHead"\a:LRdir>}\HtmlParOff}
775
{\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup \par\ShowPar}
781
\<configure html4 titlesec\><<<
782
\ConfigureMark{subsubsection}
783
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble \else
784
\csname thetitlesubsubsection\endcsname\fi}
785
\Configure{subsubsection}{}{}
786
{\EndP\bgroup \IgnorePar\HCode{<h5 class="subsubsectionHead"\a:LRdir>}%
788
{\HCode{</h5>}\IgnoreIndent\egroup \par\ShowPar}
793
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
794
\section{Sectioning Pagination}
795
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
799
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
800
\subsection{article,report,book}
801
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
804
\<article,report,book options 1, 2, 3\><<<
805
|<html latex tocs|> |%should appear before TocAt|%
806
|<cut and toc at for options 1, 2, 3|>
813
\<cut and toc at for options 1, 2, 3\><<<
814
\:CheckOption{7} \if:Option
815
\expandafter\ifx \csname @chapter\endcsname\relax
816
|<cut toc: part|> |%cut toc before cutat|%
821
|<cutat: subsection|>
822
|<cut toc: subsubsec|>
823
|<cutat: subsubsection|>
824
|<cut toc: paragraph|>
826
|<cut toc: subparagraph|>
827
|<cutat: subparagraph|>
830
|<tocat: subsection|>
831
|<tocat: subsubsection|>
834
|<cut toc: part|> |%cut toc before cutat|%
841
|<cutat: subsection|>
842
|<cut toc: subsubsec|>
843
|<cutat: subsubsection|>
844
|<cut toc: paragraph|>
846
|<cut toc: subparagraph|>
847
|<cutat: subparagraph|>
851
|<tocat: subsection|>
852
|<tocat: subsubsection|>
855
\else\:CheckOption{6} \if:Option
856
\expandafter\ifx \csname @chapter\endcsname\relax
857
|<cut toc: part|> |%cut toc before cutat|%
862
|<cutat: subsection|>
863
|<cut toc: subsubsec|>
864
|<cutat: subsubsection|>
865
|<cut toc: paragraph|>
869
|<tocat: subsection|>
870
|<tocat: subsubsection|>
872
|<cut toc: part|> |%cut toc before cutat|%
879
|<cutat: subsection|>
880
|<cut toc: subsubsec|>
881
|<cutat: subsubsection|>
882
|<cut toc: paragraph|>
887
|<tocat: subsection|>
888
|<tocat: subsubsection|>
890
\else \:CheckOption{5} \if:Option
891
\expandafter\ifx \csname @chapter\endcsname\relax
892
|<cut toc: part|> |%cut toc before cutat|%
897
|<cutat: subsection|>
898
|<cut toc: subsubsec|>
899
|<cutat: subsubsection|>
902
|<tocat: subsection|>
904
|<cut toc: part|> |%cut toc before cutat|%
911
|<cutat: subsection|>
912
|<cut toc: subsubsec|>
913
|<cutat: subsubsection|>
917
|<tocat: subsection|>
919
\else\:CheckOption{4} \if:Option
920
\expandafter\ifx \csname @chapter\endcsname\relax
921
|<cut toc: part|> |%cut toc before cutat|%
926
|<cutat: subsection|>
930
|<cut toc: part|> |%cut toc before cutat|%
937
|<cutat: subsection|>
942
\else\:CheckOption{3} \if:Option
943
\expandafter\ifx \csname @chapter\endcsname\relax
944
|<cut toc: part|> |%cut toc before cutat|%
948
|<cutat: subsection|>
953
|<cut toc: part|> |%cut toc before cutat|%
962
\else\:CheckOption{2} \if:Option
963
\expandafter\ifx \csname @chapter\endcsname\relax
964
|<cut toc: part|> |%cut toc before cutat|%
970
|<cut toc: part|> |%cut toc before cutat|%
976
\else\:CheckOption{1} \if:Option
977
|<cut toc: part|> |%cut toc before cutat|%
980
\Log:Note{for automatic sectioning
981
pagination, use the command line option
982
`1', `2', `3', '4', '5', '6', or '7'}%
983
\fi \fi \fi \fi \fi \fi \fi
996
\<cutat: chapter\><<<
997
\CutAt{chapter,likechapter,appendix,part}
998
\CutAt{likechapter,appendix,part}
999
\CutAt{appendix,chapter,likechapter,part}
1005
\CutAt{section,likesection,chapter,likechapter,appendix,part}
1006
\CutAt{likesection,chapter,likechapter,appendix,part}
1010
\<cutat: subsection\><<<
1011
\CutAt{subsection,section,likesection,%
1012
chapter,likechapter,appendix,part}
1013
\CutAt{likesubsection,section,likesection,%
1014
chapter,likechapter,appendix,part}
1024
\<ams options 1, 2, 3\><<<
1025
|<cut and toc at for options 1, 2, 3|>
1032
\subsection{File Naming}
1035
\<cut and toc at for options 1, 2, 3\><<<
1036
\:CheckOption{sec-filename} \if:Option \else
1037
\Log:Note{for files named after section
1038
titles, use the command line option `sec-filename'}%
1043
\<configure html4 tex4ht\><<<
1045
\if:Option \else \:CheckOption{3}\fi
1046
\if:Option \else \:CheckOption{2}\fi
1047
\if:Option \:CheckOption{sec-filename}\fi
1049
\Configure{CutAt-filename}{%
1050
\ifx \:NxtNwFN\:Undef
1052
\immediate\openout15=\jobname .tmp
1053
\immediate\write15{\string\next{\the\tmp:toks}}%
1054
\immediate\closeout15
1056
\def\next{\xdef\:temp}%
1057
\csname no:catcodes\endcsname{32}{47}{9}%
1058
\csname no:catcodes\endcsname{58}{64}{9}%
1059
\csname no:catcodes\endcsname{91}{91}{9}%
1060
\csname no:catcodes\endcsname{93}{96}{9}%
1061
\csname no:catcodes\endcsname{126}{126}{9}%
1062
\input \jobname .tmp
1070
\ifnum \tmp:cnt>0 \the\tmp:cnt\fi\endcsname\relax
1071
\expandafter\global\expandafter\let
1073
\ifnum\tmp:cnt>0 \the\tmp:cnt\fi
1075
\ifx \:temp\empty \else
1077
\ifnum \tmp:cnt>0 \the\tmp:cnt\fi .\:html}%
1080
\advance\tmp:cnt by 1 \expandafter\uniq:fn
1087
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1088
\section{Tables of Contents: Choice of Entries}
1089
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1095
\<toc article,report options 1\><<<
1096
\:CheckOption{notoc*} \if:Option
1097
\:CheckOption{nominitoc} \if:Option
1100
\TocAt*{part,/likepart,section,subsection}
1102
\Configure{tableofcontents*}{part,section}
1104
\:CheckOption{nominitoc} \if:Option
1107
\TocAt*{part,/likepart,section,likesection,%
1108
subsection,likesubsection}
1111
\Configure{tableofcontents*}{part,likepart,section,likesection}
1115
\<toc book options 1\><<<
1116
\:CheckOption{notoc*} \if:Option
1117
\:CheckOption{nominitoc} \if:Option
1120
\TocAt*{part,/likepart,chapter,appendix,section}
1123
\:CheckOption{nominitoc} \if:Option
1126
\TocAt*{part,/likepart,chapter,likechapter,appendix,%
1127
section,likesection}
1136
\<cut toc: part\><<<
1137
\:CheckOption{notoc*} \if:Option
1138
\Configure{tableofcontents*}
1139
{part,chapter,appendix}
1142
\Configure{tableofcontents*}
1143
{part,likepart,chapter,likechapter,appendix}
1149
\:CheckOption{notoc*} \if:Option
1151
\:CheckOption{nominitoc} \if:Option
1154
\TocAt*{part,/likepart,chapter,likechapter,appendix,%
1155
section,likesection}
1156
\TocAt*{likepart,/part,chapter,likechapter,appendix,%
1157
section,likesection}
1164
\:CheckOption{notoc*} \if:Option
1165
\Configure{tableofcontents*}{part,chapter,%
1166
appendix,section\expandafter\ifx
1167
\csname @chapter\endcsname\relax ,subsection\fi}
1170
\Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
1171
appendix,section,likesection\expandafter\ifx
1172
\csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
1177
\:CheckOption{notoc*} \if:Option
1178
\:CheckOption{nominitoc} \if:Option
1181
\TocAt*{chapter,/likechapter,/appendix,/part,%
1183
\TocAt*{likechapter,/appendix,/chapter,/part,%
1185
\TocAt*{appendix,/chapter,/likechapter,/part,%
1189
\:CheckOption{nominitoc} \if:Option
1192
\TocAt*{chapter,/likechapter,/appendix,/part,%
1193
section,likesection,subsection,likesubsection}
1194
\TocAt*{likechapter,/appendix,/chapter,/part,%
1195
section,likesection,subsection,likesubsection}
1196
\TocAt*{appendix,/chapter,/likechapter,/part,%
1197
section,likesection,subsection,likesubsection}
1203
\:CheckOption{notoc*} \if:Option
1204
\Configure{tableofcontents*}{part,chapter,appendix,section%
1205
\expandafter\ifx \csname @chapter\endcsname\relax
1209
\Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
1210
appendix,section,likesection%
1211
\expandafter\ifx \csname @chapter\endcsname\relax
1212
,subsection,likesubsection\fi}
1216
\<tocat: section\><<<
1217
\:CheckOption{notoc*} \if:Option
1218
\:CheckOption{nominitoc} \if:Option
1221
\TocAt*{section,/likesection,/chapter,/likechapter,/appendix,/part,%
1222
subsection,subsubsection}
1223
\TocAt*{likesection,/section,/chapter,/likechapter,/appendix,/part,%
1224
subsection,subsubsection}
1227
\:CheckOption{nominitoc} \if:Option
1230
\TocAt*{section,/likesection,/chapter,/likechapter,/appendix,/part,%
1231
subsection,likesubsection,subsubsection,likesubsubsection}
1232
\TocAt*{likesection,/section,/chapter,/likechapter,/appendix,/part,%
1233
subsection,likesubsection,subsubsection,likesubsubsection}
1239
\<cut toc: subsec\><<<
1240
\:CheckOption{notoc*} \if:Option
1241
\Configure{tableofcontents*}{part,chapter,%
1242
appendix,section,subsection}
1245
\Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
1246
appendix,section,likesection,likesubsection,subsection}
1252
\<tocat: subsection\><<<
1253
\:CheckOption{notoc*} \if:Option
1254
\:CheckOption{nominitoc} \if:Option
1257
\TocAt*{subsection,/likesubsection,/section,/likesection,%
1258
/chapter,/likechapter,%
1260
subsubsection,paragraph}
1261
\TocAt*{likesubsection,/subsection,/likesection,%
1262
/section,/chapter,/likechapter,/appendix,/part,%
1263
subsubsection,paragraph}
1266
\:CheckOption{nominitoc} \if:Option
1269
\TocAt*{subsection,/likesubsection,/section,/likesection,%
1270
/chapter,/likechapter,/appendix,/part,%
1271
subsubsection,likesubsubsection,%
1273
\TocAt*{likesubsection,/subsection,%
1274
/likesection,/section,/chapter,/likechapter,/appendix,/part,%
1275
subsubsection,likesubsubsection,%
1282
\<cut toc: subsubsec\><<<
1283
\:CheckOption{notoc*} \if:Option
1284
\Configure{tableofcontents*}{part,chapter,%
1285
appendix,section,subsection,subsubsection}
1288
\Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
1289
appendix,section,likesection,%
1290
likesubsection,subsection,likesubsubsection,subsubsection}
1297
\<tocat: subsubsection\><<<
1298
\:CheckOption{notoc*} \if:Option
1299
\:CheckOption{nominitoc} \if:Option
1302
\TocAt*{subsubsection,/likesubsubsection,/subsection,%
1303
/likesubsection,/section,/likesection,%
1304
/chapter,/likechapter,%
1306
paragraph,subparagraph}
1307
\TocAt*{likesubsubsection,/subsubsection,/likesubsection,%
1308
/subsection,/likesection,%
1309
/section,/chapter,/likechapter,/appendix,/part,%
1310
paragraph,subparagraph}
1313
\:CheckOption{nominitoc} \if:Option
1316
\TocAt*{subsubsection,/likesubsubsection,%
1317
/subsection,/likesubsection,/section,/likesection,%
1318
/chapter,/likechapter,/appendix,/part,%
1319
paragraph,subparagraph}
1320
\TocAt*{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
1321
/likesection,/section,/chapter,/likechapter,/appendix,/part,%
1322
paragraph,subparagraph}
1332
\<cut toc: paragraph\><<<
1333
\:CheckOption{notoc*} \if:Option
1334
\Configure{tableofcontents*}{part,chapter,%
1335
appendix,section,subsection,subsubsection,paragraph}
1338
\Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
1339
appendix,section,likesection,%
1340
likesubsection,subsection,likesubsubsection,subsubsection,%
1346
\<tocat: paragraph\><<<
1347
\:CheckOption{notoc*} \if:Option
1348
\:CheckOption{nominitoc} \if:Option
1351
\TocAt*{paragraph,/subsubsection,/likesubsubsection,/subsection,%
1352
/likesubsection,/section,/likesection,%
1353
/chapter,/likechapter,%
1358
\:CheckOption{nominitoc} \if:Option
1361
\TocAt*{paragraph,/subsubsection,/likesubsubsection,%
1362
/subsection,/likesubsection,/section,/likesection,%
1363
/chapter,/likechapter,/appendix,/part,%
1376
\<cut toc: subparagraph\><<<
1377
\:CheckOption{notoc*} \if:Option
1378
\Configure{tableofcontents*}{part,chapter,%
1379
appendix,section,subsection,subsubsection,%
1380
paragraph,subparagraph}
1383
\Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
1384
appendix,section,likesection,%
1385
likesubsection,subsection,likesubsubsection,subsubsection,%
1386
paragraph,subparagraph}
1391
\<cutat: subsubsection\><<<
1392
\CutAt{subsubsection,subsection,likesubsection,section,likesection,%
1393
chapter,likechapter,appendix,part}
1394
\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
1395
chapter,likechapter,appendix,part}
1398
\<cutat: paragraph\><<<
1399
\CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
1400
section,likesection,chapter,likechapter,appendix,part}
1403
\<cutat: subparagraph\><<<
1404
\CutAt{subparagraph,paragraph,subsubsection,likesubsubsection,%
1405
subsection,likesubsection,%
1406
section,likesection,chapter,likechapter,appendix,part}
1416
\<toc scrbook options 1\><<<
1417
\:CheckOption{notoc*} \if:Option
1418
\:CheckOption{nominitoc} \if:Option
1421
\TocAt*{part,/likepart,chapter,addchap,appendix,section}
1424
\:CheckOption{nominitoc} \if:Option
1427
\TocAt*{part,/likepart,chapter,likechapter,addchap,appendix,%
1428
section,likesection}
1434
\<cut toc scr: part\><<<
1435
\:CheckOption{notoc*} \if:Option
1436
\Configure{tableofcontents*}
1437
{part,chapter,addchap,appendix}
1440
\Configure{tableofcontents*}
1441
{part,likepart,chapter,likechapter,addchap,appendix}
1447
\<tocat scr: part\><<<
1448
\:CheckOption{notoc*} \if:Option
1449
\:CheckOption{nominitoc} \if:Option
1452
\TocAt*{part,/likepart,chapter,addchap,appendix,section}
1453
\TocAt*{likepart,/part,chapter,addchap,appendix,section}
1456
\:CheckOption{nominitoc} \if:Option
1459
\TocAt*{part,/likepart,chapter,likechapter,addchap,appendix,%
1460
section,likesection}
1461
\TocAt*{likepart,/part,chapter,likechapter,addchap,appendix,%
1462
section,likesection}
1467
\<tocat scr: ch\><<<
1468
\:CheckOption{notoc*} \if:Option
1469
\:CheckOption{nominitoc} \if:Option
1472
\TocAt*{chapter,/likechapter,/addchap,/appendix,/part,%
1474
\TocAt*{likechapter,/addchap,/appendix,/chapter,/part,%
1476
\TocAt*{addchap,/likechapter,/appendix,/chapter,/part,%
1478
\TocAt*{appendix,/chapter,/likechapter,/addchap,/part,%
1482
\:CheckOption{nominitoc} \if:Option
1485
\TocAt*{chapter,/likechapter,/addchap,/appendix,/part,%
1486
section,likesection,subsection,likesubsection}
1487
\TocAt*{likechapter,/addchap,/appendix,/chapter,/part,%
1488
section,likesection,subsection,likesubsection}
1489
\TocAt*{addchap,/likechapter,/appendix,/chapter,/part,%
1490
section,likesection,subsection,likesubsection}
1491
\TocAt*{appendix,/chapter,/likechapter,/addchap,/part,%
1492
section,likesection,subsection,likesubsection}
1498
\<tocat scr: section\><<<
1499
\:CheckOption{notoc*} \if:Option
1500
\:CheckOption{nominitoc} \if:Option
1503
\TocAt*{section,/likesection,/chapter,/likechapter,%
1504
/addchap,/appendix,/part,%
1505
subsection,subsubsection}
1506
\TocAt*{likesection,/section,/chapter,/likechapter,%
1507
/addchap,/appendix,/part,%
1508
subsection,subsubsection}
1511
\:CheckOption{nominitoc} \if:Option
1514
\TocAt*{section,/likesection,/chapter,/likechapter,%
1515
/addchap,/appendix,/part,%
1516
subsection,likesubsection,subsubsection,likesubsubsection}
1517
\TocAt*{likesection,/section,/chapter,/likechapter,%
1518
/addchap,/appendix,/part,%
1519
subsection,likesubsection,subsubsection,likesubsubsection}
1525
\<tocat scr: subsection\><<<
1526
\:CheckOption{notoc*} \if:Option
1527
\CutAt{subsection,section,chapter,addchap,appendix,part}
1528
\CutAt{likesubsection,section,chapter,addchap,appendix,part}
1530
\CutAt{subsection,section,likesection,%
1531
chapter,likechapter,addchap,appendix,part}
1532
\CutAt{likesubsection,section,likesection,%
1533
chapter,likechapter,addchap,appendix,part}
1540
\ConfigureToc{foilheads}{}{ *\ }{}{}
1541
\Configure{tableofcontents*}{foilheads}
1545
The `notoc*' is applicable only to pages that are automatically
1546
decomposed into separate web pages along section divides. It
1547
should be used whe addcontentline instructions are present.
1551
\addcontentsline{toc}{section}{....}
1557
\Log:Note{for tocs without * entries, use
1558
command line option `notoc*'}
1563
\<toc for multind\><<<
1564
\:CheckOption{1} \if:Option
1565
\:CheckOption{notoc*} \if:Option
1566
\addcontentsline{toc}{section}{\indexname}%
1568
\else \:CheckOption{2} \if:Option
1569
\:CheckOption{notoc*} \if:Option
1570
\addcontentsline{toc}{section}{\indexname}%
1572
\else \:CheckOption{3} \if:Option
1573
\:CheckOption{notoc*} \if:Option
1574
\addcontentsline{toc}{section}{\indexname}%
1576
\else \:CheckOption{4} \if:Option
1577
\:CheckOption{notoc*} \if:Option
1578
\addcontentsline{toc}{section}{\indexname}%
1581
\addcontentsline{toc}{section}{\indexname}%
1587
\<note nominitoc\><<<
1588
\Log:Note{to eliminate mini tables of
1589
contents, use the command line option `nominitoc'}
1592
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1593
\section{Tables of Contents: Configurations}
1594
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1597
\<configure html4 latex\><<<
1599
{|<save configure tableofcontents|>%
1600
\Configure{tableofcontents}
1601
{\IgnorePar\EndP\HCode{<div class="\sec:typ TOCS">}}
1602
{}{\IgnorePar\HCode{</div>}\ShowPar}{\HCode{<br\xml:empty>}}{}%
1603
\ifvmode \IgnorePar\fi \EndP
1605
{|<recall configure tableofcontents|>\par\ShowPar}
1607
{|<save configure tableofcontents|>%
1608
\Configure{tableofcontents}
1609
{\IgnorePar\EndP\HCode{<div class="\sec:typ TOCS">}}
1610
{}{\IgnorePar\HCode{</div>}\ShowPar}{\HCode{<br\xml:empty>}}{}%
1611
\ifvmode \IgnorePar\fi \EndP
1613
{|<recall configure tableofcontents|>\par\ShowPar}
1619
\<configure html4 latex\><<<
1620
\Configure{tableofcontents}
1621
{\IgnorePar\EndP\HCode{<div class="tableofcontents">}\IgnorePar}
1623
{\IgnorePar\EndP\HCode{</div>}\ShowPar}
1624
{\HCode{<br\xml:empty>}} {}
1627
\<save configure tableofcontents\><<<
1628
\let\sv:atoc|=\a:tableofcontents
1629
\let\sv:btoc|=\b:tableofcontents
1630
\let\sv:ctoc|=\c:tableofcontents
1631
\let\sv:dtoc|=\d:tableofcontents
1632
\let\sv:etoc|=\e:tableofcontents
1636
\<recall configure tableofcontents\><<<
1637
\let\a:tableofcontents|=\sv:atoc
1638
\let\b:tableofcontents|=\sv:btoc
1639
\let\c:tableofcontents|=\sv:ctoc
1640
\let\d:tableofcontents|=\sv:dtoc
1641
\let\e:tableofcontents|=\sv:etoc
1645
\<html latex tocs\><<<
1646
\def\tocpart#1#2#3{\par\:SPAN{partToc}{\if !#1!\else #1~~\fi #2}\par}%
1647
\def\toclikepart#1#2#3{\par\:SPAN{likepartToc}{#2}\par}%
1649
\expandafter\ifx \csname @chapter\endcsname\relax
1650
\def\tocsection#1#2#3{\par
1651
\:SPAN{sectionToc}{\def\:temp{#1}\ifx \:temp\empty\else
1653
\def\toclikesection#1#2#3{\par\:SPAN{likesectionToc}{#2}\par}%
1654
\def\tocsubsection#1#2#3{\par\ \toc:num{subsection}{#1}{#2}\par}
1655
\def\toclikesubsection#1#2#3{\par\ \:SPAN{likesubsectionToc}{#2}\par}
1656
\def\tocsubsubsection#1#2#3{\par
1657
\ \ \toc:num{subsubsection}{#1}{#2}\par}
1658
\def\toclikesubsubsection#1#2#3{\par
1659
\ \ \:SPAN{likesubsubsectionToc}{#2}\par}
1660
\def\tocparagraph#1#2#3{\par\ \ \toc:num{paragraph}{#1}{#2}\par}
1661
\def\toclikeparagraph#1#2#3{\par\ \ \:SPAN{likeparagraphToc}{#2}\par}
1662
\def\tocsubparagraph#1#2#3{\par
1663
\ \ \ \ \toc:num{subparagraph}{#1}{#2}\par}
1664
\def\toclikesubparagraph#1#2#3{\par
1665
\ \ \ \ \:SPAN{likesubparagraphToc}{#2}\par}
1667
|<chapter toc css|>%
1668
\def\tocchapter#1#2#3{\par\:SPAN{chapterToc}{#1 #2}\par}
1669
\def\toclikechapter#1#2#3{\par\:SPAN{likechapterToc}{#2}\par}%
1670
\def\tocappendix#1#2#3{\par\:SPAN{appendixToc}{#1 #2}\par}
1671
\def\tocsection#1#2#3{\par\ \toc:num{section}{#1}{#2}\par}
1672
\def\toclikesection#1#2#3{\par\ \:SPAN{likesectionToc}{#2}\par}
1673
\def\tocsubsection#1#2#3{\par\ \ \toc:num{subsection}{#1}{#2}\par}
1674
\def\toclikesubsection#1#2#3{\par
1675
\ \ \:SPAN{likesubsectionToc}{#2}\par}
1676
\def\tocsubsubsection#1#2#3{\par
1677
\ \ \ \toc:num{subsubsection}{#1}{#2}\par}
1678
\def\toclikesubsubsection#1#2#3{\par
1679
\ \ \ \:SPAN{likesubsubsectionToc}{#2}\par}
1680
\def\tocparagraph#1#2#3{\par\ \ \ \toc:num{paragraph}{#1}{#2}\par}
1681
\def\toclikeparagraph#1#2#3{\par
1682
\ \ \ \:SPAN{likeparagraphToc}{#2}\par}
1683
\def\tocsubparagraph#1#2#3{\par
1684
\ \ \ \ \ \toc:num{subparagraph}{#1}{#2}\par}
1685
\def\toclikesubparagraph#1#2#3{\par
1686
\ \ \ \ \ \:SPAN{likesubparagraphToc}{#2}\par}
1688
\def\toc:num#1#2#3{\def\:temp{#1#2}\:SPAN{#1Toc}{\ifx \:temp\empty \else
1694
\<scr report,book\><<<
1695
\def\tocpart#1#2#3{\par\:SPAN{partToc}{\if !#1!\else #1~~\fi #2}\par}%
1696
\def\toclikepart#1#2#3{\par\:SPAN{likepartToc}{#2}\par}%
1697
\Css{.partToc a, .partToc, .likepartToc a, .likepartToc
1698
{line-height: 200\%; font-weight:bold; font-size:110\%;}}
1699
\Css{.chapterToc a, .chapterToc, .likechapterToc a, .likechapterToc,
1700
.appendixToc a, .appendixToc, .addchapToc a
1701
{line-height: 200\%; font-weight:bold;}}
1702
\def\tocchapter#1#2#3{\par\:SPAN{chapterToc}{#1~~#2}\par}
1703
\def\toclikechapter#1#2#3{\par\:SPAN{likechapterToc}{#2}\par}%
1704
\def\tocaddchap#1#2#3{\par\:SPAN{addchapToc}{#2}\par}%
1705
\def\tocappendix#1#2#3{\par\:SPAN{appendixToc}{#1~~#2}\par}
1706
\def\tocsection#1#2#3{\par\ \toc:num{section}{#1}{#2}\par}
1707
\def\toclikesection#1#2#3{\par\ \:SPAN{likesectionToc}{#2}\par}
1708
\def\tocsubsection#1#2#3{\par\ \ \toc:num{subsection}{#1}{#2}\par}
1709
\def\toclikesubsection#1#2#3{\par
1710
\ \ \:SPAN{likesubsectionToc}{#2}\par}
1711
\def\tocsubsubsection#1#2#3{\par
1712
\ \ \ \toc:num{subsubsection}{#1}{#2}\par}
1713
\def\toclikesubsubsection#1#2#3{\par
1714
\ \ \ \:SPAN{likesubsubsectionToc}{#2}\par}
1715
\def\tocparagraph#1#2#3{\par\ \ \ \toc:num{paragraph}{#1}{#2}\par}
1716
\def\toclikeparagraph#1#2#3{\par
1717
\ \ \ \:SPAN{likeparagraphToc}{#2}\par}
1718
\def\tocsubparagraph#1#2#3{\par
1719
\ \ \ \ \ \toc:num{subparagraph}{#1}{#2}\par}
1720
\def\toclikesubparagraph#1#2#3{\par
1721
\ \ \ \ \ \:SPAN{likesubparagraphToc}{#2}\par}
1722
\def\toc:num#1#2#3{\def\:temp{#1#2}\:SPAN{#1Toc}{\ifx \:temp\empty \else
1727
\<revtex sections\><<<
1728
\def\tocpart#1#2#3{\par\:SPAN{partToc}{\if !#1!\else #1~~\fi #2}\par}%
1729
\def\toclikepart#1#2#3{\par\:SPAN{likepartToc}{#2}\par}%
1730
\Css{.partToc a, .partToc, .likepartToc a, .likepartToc
1731
{line-height: 200\%; font-weight:bold; font-size:110\%;}}
1733
\expandafter\ifx \csname @chapter\endcsname\relax
1734
\def\tocsection#1#2#3{\par
1735
\:SPAN{sectionToc}{\def\:temp{#1}\ifx \:temp\empty\else
1737
\def\toclikesection#1#2#3{\par\:SPAN{likesectionToc}{#2}\par}%
1738
\def\tocsubsection#1#2#3{\par\ \toc:num{subsection}{#1}{#2}\par}
1739
\def\toclikesubsection#1#2#3{\par\ \:SPAN{likesubsectionToc}{#2}\par}
1740
\def\tocsubsubsection#1#2#3{\par
1741
\ \ \toc:num{subsubsection}{#1}{#2}\par}
1742
\def\toclikesubsubsection#1#2#3{\par
1743
\ \ \:SPAN{likesubsubsectionToc}{#2}\par}
1744
\def\tocparagraph#1#2#3{\par\ \ \toc:num{paragraph}{#1}{#2}\par}
1745
\def\toclikeparagraph#1#2#3{\par\ \ \:SPAN{likeparagraphToc}{#2}\par}
1746
\def\tocsubparagraph#1#2#3{\par
1747
\ \ \ \ \toc:num{subparagraph}{#1}{#2}\par}
1748
\def\toclikesubparagraph#1#2#3{\par
1749
\ \ \ \ \:SPAN{likesubparagraphToc}{#2}\par}
1751
\Css{.chapterToc a, .chapterToc, .likechapterToc a, .likechapterToc,
1752
.appendixToc a, .appendixToc
1753
{line-height: 200\%; font-weight:bold;}}
1755
\def\tocchapter#1#2#3{\par\:SPAN{chapterToc}{#1 #2}\par}
1756
\def\toclikechapter#1#2#3{\par\:SPAN{likechapterToc}{#2}\par}%
1757
\def\tocappendix#1#2#3{\par\:SPAN{appendixToc}{#1 #2}\par}
1758
\def\tocsection#1#2#3{\par\ \toc:num{section}{#1}{#2}\par}
1759
\def\toclikesection#1#2#3{\par\ \:SPAN{likesectionToc}{#2}\par}
1760
\def\tocsubsection#1#2#3{\par\ \ \toc:num{subsection}{#1}{#2}\par}
1761
\def\toclikesubsection#1#2#3{\par
1762
\ \ \:SPAN{likesubsectionToc}{#2}\par}
1763
\def\tocsubsubsection#1#2#3{\par
1764
\ \ \ \toc:num{subsubsection}{#1}{#2}\par}
1765
\def\toclikesubsubsection#1#2#3{\par
1766
\ \ \ \:SPAN{likesubsubsectionToc}{#2}\par}
1767
\def\tocparagraph#1#2#3{\par\ \ \ \toc:num{paragraph}{#1}{#2}\par}
1768
\def\toclikeparagraph#1#2#3{\par
1769
\ \ \ \:SPAN{likeparagraphToc}{#2}\par}
1770
\def\tocsubparagraph#1#2#3{\par
1771
\ \ \ \ \ \toc:num{subparagraph}{#1}{#2}\par}
1772
\def\toclikesubparagraph#1#2#3{\par
1773
\ \ \ \ \ \:SPAN{likesubparagraphToc}{#2}\par}
1775
\def\toc:num#1#2#3{\def\:temp{#1#2}\:SPAN{#1Toc}{\ifx \:temp\empty \else
1781
\subsection{Tables of Contents}
1785
\<ams art,proc,book toc\><<<
1787
{\HCode{<span class="partToc">}\toc:Mark{part}}
1790
{\HCode{</span><br\xml:empty>}}
1791
\ConfigureToc{section}
1792
{\HCode{<span class="sectionToc">}\toc:Mark{section}}
1795
{\HCode{</span><br\xml:empty>}}
1796
\ConfigureToc{subsection}
1797
{\HCode{<span class="subsectionToc">}~~\toc:Mark{subsection}}
1800
{\HCode{</span><br\xml:empty>}}
1801
\ConfigureToc{subsubsection}
1803
class="subsubsectionToc">}~~~~\toc:Mark{subsubsection}}
1806
{\HCode{</span><br\xml:empty>}}
1807
\def\toc:Mark#1#2\End:Mark{\if !#2!\else
1808
\expandafter\ifx \csname #1name\endcsname\relax\else
1809
\csname #1name\endcsname~\fi #2.~~\fi}
1814
\ConfigureToc{likepart}
1815
{\HCode{<span class="likepartToc">}}
1818
{\HCode{</span><br\xml:empty>}}
1819
\ConfigureToc{chapter}
1820
{\HCode{<span class="chapterToc">}%
1821
\ifx \chaptername\:UnDef\else \chaptername~\fi}
1824
{\HCode{</span><br\xml:empty>}}
1825
\ConfigureToc{likechapter}
1826
{\HCode{<span class="likechapterToc">}}
1829
{\HCode{</span><br\xml:empty>}}
1830
\ConfigureToc{appendix}
1831
{\HCode{<span class="appendixToc">}%
1832
\ifx \appendixname\:UnDef\else \appendixname~\fi}
1835
{\HCode{</span><br\xml:empty>}}
1839
\Css{.chapterToc a, .chapterToc, .appendixToc a, .appendixToc
1840
{line-height: 200\%; font-weight:bold;}}
1844
\<ams art,proc,book toc\><<<
1845
\Css{.partToc a, .partToc, .likepartToc a, .likepartToc
1846
{line-height: 200\%; font-weight:bold; font-size:110\%;}}
1850
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1851
\section{Tables and Arrays}
1852
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1855
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1856
\subsection{LaTeX Tabular and Array}
1857
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1861
\:CheckOption{pic-tabular} \if:Option
1862
\ConfigureEnv{tabular}
1863
{\IgnorePar\EndP\Tg<div class="pic-tabular">\Picture*{}}
1864
{\EndPicture\Tg</div>}{}{}
1865
\Css{div.pic-tabular {text-align:center;}}
1867
\Log:Note{for pictorial tabular,
1868
use the command line option `pic-tabular'}
1874
\<math html latex array/tabular\><<<
1875
\:CheckOption{pic-array} \if:Option \else
1876
\Log:Note{for pictorial array,
1877
use the command line option `pic-array'}
1878
\ConfigureEnv{array}
1879
{\IgnorePar\EndP\PushStack\Col:Marg\AllColMargins
1880
\HCode{<div class="array">}}
1881
{\HCode{</div>}\PopStack\Col:Marg\AllColMargins\ShowPar}{}{}
1882
\Css{div.array {text-align:center;}}
1887
\<html latex array/tabular Config 4.0t\><<<
1888
\:CheckOption{pic-tabular} \if:Option \else
1889
\ConfigureEnv{tabular}
1890
{|<configure tabular noalign|>%
1891
\IgnorePar|<inline comment|>\EndP\HCode{<div class="tabular">}%
1892
\PushStack\Col:Marg\AllColMargins
1894
{\HCode{</div>}\PopStack\Col:Marg\AllColMargins\ShowPar
1895
|<configure clear noalign|>%
1896
|<try env inline par|>%
1898
\Css{div.tabular, div.center div.tabular {text-align: center;
1899
margin-top:0.5em; margin-bottom:0.5em; }}
1900
\Css{table.tabular td p{margin-top:0em;}}
1901
\Css{table.tabular {margin-left: auto;
1902
margin-right: auto;}} |% centering |%
1906
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1907
\subsection{LaTeX Tabule}
1908
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1912
\<article,report,book\><<<
1913
\ConfigureEnv{table}
1914
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="table">}}
1915
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par\ShowPar}
1920
\subsection{multirow}
1923
\<configure html4 multirow\><<<
1924
\Configure{multirow}
1925
{\HCode{<div class="multirow"><!-- rows=\the\@tempcnta\space -->}}
1929
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1930
\section{Bibliography}
1931
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1933
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1935
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1937
\<onmouseover cite\><<<
1939
{\HCode{<span class="cite">}}
1941
{\Link[ |<mouseover-cite arguments|>]}
1943
\expandafter\def\csname c:mouseover-cite:\endcsname{%
1944
\def\:tempb{cite}\csname c:mouseover-?:\endcsname}
1945
\Configure{mouseover-cite}{tex4ht.body,FULLHTML}
1949
\<mouseover-cite arguments\><<<
1950
\mo:args{cite}{\@citeb}{\expandafter
1951
\jsHash\expandafter{\expandafter X\@citeb}}%
1956
{\HCode{<span class="cite">}} {\HCode{</span>}}
1960
\<cite in TocLink\><<<
1961
\Configure{cite}{}{}{}{}%
1965
\<mouseover cite config\><<<
1966
\string\Configure{mouseover-vars}{cite}{Author,Title}%
1970
\<mouseover cite css\><<<
1971
\string\Configure {mouseover-cite}
1972
{tex4ht.body,CAPTION,tex4ht.caption+tex4ht.var,FULLHTML}%
1975
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1976
\subsection{Bib Item}
1977
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1980
\<default bibitem\><<<
1981
\Configure{bibitem}{\Link}{\EndLink}
1984
\<onmouseover bibitem\><<<
1987
{\EndLink|<js end skip bib|>}
1988
\def\bibitem:link#1#2{|<js skip bib|>\HCode
1989
{<!--}|<js mark 1 bib|>\HCode{#2=}|<js mark 2 bib|>\HCode
1995
\<config bib-p HtmlPar\><<<
1997
{\EndP\HCode{<p class="bibitem-p">}}
1998
{\EndP\HCode{<p class="bibitem-p">}}
1999
{\Tg</p>} {\Tg</p>}%
2004
\<config bib HtmlPar\><<<
2006
{\EndP\HCode{<p class="bibitem">}}
2007
{\EndP\HCode{<p class="bibitem">}}
2008
{\Tg</p>} {\Tg</p>}%
2013
\<config bib-p HtmlParNO\><<<
2015
{\HCode{</p><p class="bibitem-p">}}
2016
{\HCode{</p><p class="bibitem-p">}}
2022
\Css{p.bibitem { text-indent: -2em; margin-left: 2em;
2023
margin-top:0.6em; margin-bottom:0.6em; }}
2024
\Css{p.bibitem-p { text-indent: 0em; margin-left: 2em;
2025
margin-top:0.6em; margin-bottom:0.6em; }}
2029
\Configure{bibitem2}
2030
{|<config bib HtmlPar|>\par\ShowPar
2031
\HCode{<span class="biblabel">}%
2032
|<config bib-p HtmlPar|>%
2035
{\HCode{<span class="bibsp">}~~~\HCode{</span></span>}}
2045
|<js end skip bib|>%
2048
|<js end skip bib|>%
2049
\HCode{<div class="js">}%
2052
|<js end skip bib|>%
2058
|<js end skip bib|>%
2059
\HCode{</div></bibitem>\Hnewline}%
2064
\<js p.bibitem-p css\><<<
2068
\<js p.bibitem css\><<<
2073
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2074
\subsection{The Bibliography}
2075
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2078
The bibliography environment is prooblematic because
2079
it carries a definition that implies an environment similar
2089
The \verb+\begin{...}+ has a \verb+\SaveEverypar+, and
2090
\verb+\end{...}+ has a \verb+\RecallEverypar+. In the case of
2091
paginations across sectioning commands, we have also the saving and
2092
recalling also at the start and end of each section (each page). In
2093
such a case, we don't have proper nestings of environments.
2099
\<shared bib env\><<<
2100
\ConfigureEnv{thebibliography}{\IgnorePar}{\ShowPar\par}{}{}
2104
\ConfigureEnv{thebibliography}{\par\leavevmode}{\ShowPar}{}{}
2108
\<default thebibliography\><<<
2109
\ConfigureList{thebibliography}%
2110
{\ifvmode\IgnorePar\fi \EndP \HCode{<div
2111
class="thebibliography">}\let\en:bib=\empty}
2112
{\en:bib \ifvmode\IgnorePar\fi \EndP \HCode{</div>}}
2113
{\en:bib\def\en:bib{|<bibliography2|>\EndP}%
2114
|<config bib HtmlPar|>\par\ShowPar
2115
\HCode{<span class="biblabel">}|<config bib-p HtmlPar|>}
2116
{\HCode{<span class="bibsp">}\:nbsp
2117
\:nbsp\:nbsp\HCode{</span></span>}}
2129
\<onmouseover thebibliography\><<<
2130
\ConfigureList{thebibliography}%
2131
{\ifvmode\IgnorePar\fi\EndP |<start js|>\HCode{<div
2132
class="thebibliography">}\let\en:bib=\empty}
2133
{\en:bib \ifvmode\IgnorePar\fi\EndP \HCode{</div>}}
2134
{\en:bib\def\en:bib{|<js bibliography2|>%
2135
\EndP}|<js /bibitem|>|<js bibitem|>%
2136
|<config bib HtmlPar|>\par\ShowPar
2137
\leavevmode |<js skip bib|>\HCode{<span
2138
class="biblabel">}|<config bib-p HtmlPar|>}
2139
{\HCode{<span class="bibsp">}\:nbsp
2140
\:nbsp\:nbsp\HCode{</span></span>}|<js end skip bib|>}
2145
\:CheckOption{bibtex2} \if:Option
2146
\Configure{bibliography2}
2156
\<config bibitem\><<<
2157
\:CheckOption{no-bib} \if:Option\else
2158
\:CheckOption{mouseover} \if:Option
2159
|<onmouseover cite|>
2160
|<onmouseover bibitem|>
2169
\<thebib config\><<<
2170
\:CheckOption{no-bib} \if:Option\else
2171
\:CheckOption{mouseover} \if:Option
2172
|<onmouseover thebibliography|>
2174
|<default thebibliography|>
2180
\<bibliography2\><<<
2181
\csname bibliography2\endcsname
2184
\<js bibliography2\><<<
2185
|<js skip bib|>\csname bibliography2\endcsname
2186
|<js end skip bib|>%
2193
% \HCode{\Hnewline\string\jselement{footnote}%
2194
% \string\jselement{bibitem}\Hnewline}%
2200
\<bib in amsppt.sty\><<<
2201
\Configure{vol}{\HCode{<strong>}}{\HCode{</strong>}}
2202
\Configure{book}{\HCode{<em>}}{\HCode{</em>}}
2203
\Configure{paper}{\HCode{<em>}}{\HCode{</em>}}
2204
\Configure{Refs}{\IgnorePar\EndP\HCode{<table class="Refs">}}
2206
\Configure{ref}{\HCode{<tr valign="top"><td align="right">}}
2207
{\EndP\HCode{</td></tr>}}{}
2208
\Configure{keyformat}{}{\EndP\HCode{</td><td>}}
2213
\subsection{acm-proc-article-sp}
2216
\<acm-proc-article-sp thebib config\><<<
2217
\:CheckOption{no-bib} \if:Option\else
2218
\:CheckOption{mouseover} \if:Option
2219
|<acm-proc-article-sp onmouseover thebibliography|>
2221
|<acm-proc-article-sp default thebibliography|>
2228
\<acm-proc-article-sp default thebibliography\><<<
2229
\ConfigureEnv{thebibliography}%
2230
{\ifvmode\IgnorePar\fi \EndP \HCode{<div
2231
class="thebibliography">}\let\en:bib=\empty}
2232
{\en:bib \ifvmode\IgnorePar\fi \EndP \HCode{</div>}}
2234
\ConfigureList{thebibliography}%
2236
{\en:bib\def\en:bib{|<bibliography2|>\EndP}%
2237
|<config bib HtmlPar|>\par\ShowPar
2238
\HCode{<span class="biblabel">}|<config bib-p HtmlPar|>}
2239
{\HCode{<span class="bibsp">}\:nbsp
2240
\:nbsp\:nbsp\HCode{</span></span>}}
2244
\<acm-proc-article-sp onmouseover thebibliography\><<<
2245
\ConfigureEnv{thebibliography}%
2246
{\ifvmode\IgnorePar\fi\EndP |<start js|>\HCode{<div
2247
class="thebibliography">}\let\en:bib=\empty}
2248
{\en:bib \ifvmode\IgnorePar\fi\EndP \HCode{</div>}}
2250
\ConfigureList{thebibliography}%
2252
{\en:bib\def\en:bib{|<js bibliography2|>%
2253
\EndP}|<js /bibitem|>|<js bibitem|>%
2254
|<config bib HtmlPar|>\par\ShowPar
2255
\leavevmode |<js skip bib|>\HCode{<span
2256
class="biblabel">}|<config bib-p HtmlPar|>}
2257
{\HCode{<span class="bibsp">}\:nbsp
2258
\:nbsp\:nbsp\HCode{</span></span>}|<js end skip bib|>}
2264
\subsection{JS Contributions}
2270
\ht:special {t4ht@DCopyTo: \jobname-js.tex From bib }%
2274
\ht:special {t4ht@DCopyTo: \jobname-js.tex Skip bib }%
2277
\<js end skip bib\><<<
2278
\ht:special {t4ht@DCopyTo: \jobname-js.tex Cont bib }%
2282
\ht:special {t4ht@DCopyTo: \jobname-js.tex Until bib }%
2286
\ht:special {t4ht@DCopyTo: \jobname-js.tex Set1 bib }%
2290
\ht:special {t4ht@DCopyTo: \jobname-js.tex Set2 bib }%
2293
\<js mark 1 bib\><<<
2294
\ht:special {t4ht@DCopyTo: \jobname-js.tex Addr1 bib }%
2297
\<js mark 2 bib\><<<
2298
\ht:special {t4ht@DCopyTo: \jobname-js.tex Addr2 bib }%
2304
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2306
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2309
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2311
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2315
\<configure html4 latex\><<<
2316
\Css{li p.indent { text-indent: 0em }}
2317
\ConfigureEnv{trivlist}
2318
{}{|<try env inline par|>}{}{}
2319
\ConfigureList{trivlist}%
2320
{\EndP\HCode{<dl \a:LRdir class="trivlist">}%
2321
|<save end:itm|>\global\let\end:itm=\empty}
2322
{|<recall end:itm|>\EndP\HCode{</dd></dl>}\ShowPar}
2323
{\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
2324
class="trivlist">}\bgroup \bf}
2325
{\egroup\HCode{</dt><dd\Hnewline class="trivlist">}}
2327
{}{|<try env inline par|>}{}{}
2328
\ConfigureList{list}%
2329
{\EndP\HCode{<dl \a:LRdir class="list\expandafter\the
2330
\csname @listdepth\endcsname">}%
2331
|<save end:itm|>\global\let\end:itm=\empty}
2332
{|<recall end:itm|>\EndP\HCode{</dd></dl>}\ShowPar}
2333
{\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
2334
class="list">}\bgroup \bf}
2335
{\egroup\HCode{</dt><dd\Hnewline class="list">}}
2336
\ConfigureEnv{itemize}
2337
{\ifvmode \IgnorePar\fi \EndP}{|<try env inline par|>}
2339
\ConfigureList{itemize}%
2340
{\EndP\HCode{<ul \a:LRdir class="itemize\expandafter\the
2341
\csname @itemdepth\endcsname">}%
2342
|<save end:itm|>\global\let\end:itm=\empty}
2343
{|<recall end:itm|>\ifvmode \IgnorePar\fi
2344
\EndP\HCode{</li></ul>}\ShowPar}
2345
{\end:itm \global\def\end:itm{\EndP\Tg</li>}\DeleteMark}
2346
{\HCode{<li class="itemize">}}
2347
\ConfigureEnv{enumerate}
2348
{}{|<try env inline par|>}{}{}
2349
\:CheckOption{li-} \if:Option
2350
\ConfigureList{enumerate}%
2356
\ConfigureList{enumerate}%
2361
\Log:Note{for enumerated list elements li's without value attributes,
2362
use the command line option `li-'}
2364
\:CheckOption{css2} \if:Option
2367
\Log:Note{for CSS2 code, use the command line option `css2'}
2372
\Css{ul.itemize1 {list-style-type: none;}}
2373
\Css{ul.itemize1 li.itemize:before { display: marker;
2374
marker-offset: 0.5em;
2375
content: "\labelitemi\space" }}
2376
\Css{ul.itemize2 {list-style-type: none;}}
2377
\Css{ul.itemize2 li.itemize:before { display: marker;
2378
marker-offset: 0.5em;
2379
content: "\labelitemii\space" }}
2380
\Css{ul.itemize3 {list-style-type: none;}}
2381
\Css{ul.itemize3 li.itemize:before { display: marker;
2382
marker-offset: 0.5em;
2383
content: "\labelitemiii\space" }}
2389
\EndP\HCode{<ol \a:enumerate:\space
2390
class="enumerate\expandafter\the\csname @enumdepth\endcsname"
2392
>}|<save end:itm|>\global\let\end:itm=\empty
2397
\EndP\HCode{</li></ol>}\ShowPar
2401
\<enumerate III\><<<
2402
\end:itm \gdef\end:itm{\EndP\Tg</li>}\DeleteMark
2406
\HCode{<li class="enumerate" value="\expandafter\the\csname
2407
c@enum\romannumeral\the\@enumdepth\endcsname"\Hnewline>}\AnchorLabel
2412
\<enumerate IV-\><<<
2413
\HCode{<li class="enumerate">}\AnchorLabel
2416
It is better to put the LI in the third field to avoid extra space
2417
to the following text.
2419
\<configure html4 latex\><<<
2420
\def\c:enumerate:#1{\c:enu #1|<par del|>}
2421
\def\c:enu#1#2#3#4#5|<par del|>{%
2422
\def\a:enumerate:{\ifcase \@enumdepth \or
2423
#1\or #2\or #3\or #4\else\fi #5}}
2426
\<configure html4 latex\><<<
2427
\Configure{enumerate}{{}{}{}{}}
2428
\Css{.enumerate1 {list-style-type:decimal;}}
2429
\Css{.enumerate2 {list-style-type:lower-alpha;}}
2430
\Css{.enumerate3 {list-style-type:lower-roman;}}
2431
\Css{.enumerate4 {list-style-type:upper-alpha;}}
2435
\:CheckOption{html+} \if:Option
2436
\Configure{enumerate}
2438
{style="list-style-type:decimal"}%
2439
{style="list-style-type:lower-alpha"}%
2440
{style="list-style-type:lower-roman"}%
2441
{style="list-style-type:upper-alpha"}%
2444
\Log:Note{for stricter html code,
2445
use the command line option `html+'}
2446
\Configure{enumerate}{%
2448
{type="\theenumii"}%
2449
{type="\theenumiii"}%
2450
{type="\theenumiv"}}
2454
% \Configure{enumerate}{{type="1"}{type="a"}{type="i"}{type="A"}}
2456
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2457
\subsection{Prosper}
2458
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2460
\<prosper lists\><<<
2461
\ConfigureEnv{Itemize}
2462
{\ifvmode \IgnorePar\fi \EndP}{|<try env inline par|>}
2464
\ConfigureList{Itemize}%
2465
{\EndP\HCode{<ul \a:LRdir class="itemize\expandafter\the
2466
\csname @itemdepth\endcsname">}%
2467
|<save end:itm|>\global\let\end:itm=\empty}
2468
{|<recall end:itm|>\EndP\HCode{</li></ul>}\ShowPar}
2469
{\end:itm \global\def\end:itm{\EndP\Tg</li>}\DeleteMark}
2470
{\HCode{<li class="itemize">}}
2473
\<prosper lists\><<<
2474
\ConfigureEnv{itemstep}
2475
{\ifvmode \IgnorePar\fi
2476
\EndP\HCode{<ul \a:LRdir class="itemstep\expandafter\the
2477
\csname @itemdepth\endcsname">}%
2478
|<save end:itm|>\global\let\end:itm=\empty}
2479
{|<recall end:itm|>\ifvmode \IgnorePar\fi\EndP
2480
\HCode{</li></ul>}\ShowPar}
2483
\ConfigureList{itemstep}
2486
{\end:itm \global\def\end:itm{\EndP\Tg</li>}\DeleteMark}
2487
{\HCode{<li class="itemize\ifnum
2488
\c@item@step>\c@overlaysCount -hide\fi">}}
2489
\Css{li.itemize-hide {visibility:hidden;}}
2493
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2495
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2500
\<configure html4 jeep\><<<
2501
\ConfigureEnv{outline}
2502
{}{|<try env inline par|>}{}{}
2503
\ConfigureList{outline}%
2504
{|<enumerate I jeep|>}
2510
\<enumerate I jeep\><<<
2511
\EndP\HCode{<ol type="1"
2512
class="enumerate\expandafter\the\csname @enumdepth\endcsname"
2514
>}|<save end:itm|>\global\let\end:itm=\empty
2518
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2519
\subsection{Description}
2520
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2523
\<description 4\><<<
2524
\ConfigureList{description}%
2525
{\EndP\HCode{<dl \a:LRdir class="description">}%
2526
|<save end:itm|>\global\let\end:itm=\empty}
2527
{|<recall end:itm|>\EndP\HCode{</dd></dl>}\ShowPar}
2528
{\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
2529
class="description">}\bgroup \bf}
2530
{\egroup\EndP\HCode{</dt><dd\Hnewline class="description">}}
2533
\<32,4 report,book\><<<
2534
\ConfigureEnv{description}{\IgnorePar}{}{}{}
2537
\<configure html4 scrbook\><<<
2538
\ConfigureEnv{description}{\IgnorePar}{}{}{}
2541
\<configure html4 scrreprt\><<<
2542
\ConfigureEnv{description}{\IgnorePar}{}{}{}
2545
\<ams art,proc,book\><<<
2547
\ConfigureEnv{description}{\IgnorePar}{}{}{}
2550
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2551
\subsection{List Utilities}
2552
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2556
Latex allows groups like the following, so we need global \verb+\end:itm+
2571
\<recall end:itm\><<<
2572
\PopMacro\end:itm \global\let\end:itm \end:itm
2576
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2577
\subsection{mdwlist}
2578
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2580
\<configure html4 mdwlist\><<<
2581
\ConfigureEnv{itemize*}
2582
{\ifvmode \IgnorePar\fi \EndP}{|<try env inline par|>}
2584
\ConfigureList{itemize*}%
2585
{\EndP\HCode{<ul \a:LRdir class="itemize\expandafter\the
2586
\csname @itemdepth\endcsname">}%
2587
|<save end:itm|>\global\let\end:itm=\empty}
2588
{|<recall end:itm|>\EndP\HCode{</li></ul>}\ShowPar}
2589
{\end:itm \global\def\end:itm{\EndP\Tg</li>}\DeleteMark}
2590
{\HCode{<li class="itemize">}}
2591
\ConfigureEnv{enumerate*}
2592
{}{|<try env inline par|>}{}{}
2593
\ConfigureList{enumerate*}%
2598
\ConfigureList{description*}%
2599
{\EndP\HCode{<dl \a:LRdir class="description">}%
2600
|<save end:itm|>\global\let\end:itm=\empty}
2601
{|<recall end:itm|>\EndP\HCode{</dd></dl>}\ShowPar}
2602
{\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
2603
class="description">}\bgroup \bf}
2604
{\egroup\EndP\HCode{</dt><dd\Hnewline class="description">}}
2605
\ConfigureList{basedescript}
2606
{\EndP\HCode{<dl \a:LRdir class="basedescript">}%
2607
\PushMacro\end:itm \global\let\end:itm=\empty}
2608
{\PopMacro\end:itm \global\let\end:itm \end:itm
2609
\EndP\HCode{</dd></dl>}\ShowPar}
2610
{\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
2611
class="basedescript">}\bgroup \bf}
2612
{\egroup\EndP\HCode{</dt><dd\Hnewline class="basedescript">}}
2618
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2620
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2622
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2624
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2627
\<config book-report-article\><<<
2628
|<book-report-article index|>
2633
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2635
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2638
\<32,4 report,book\><<<
2639
\Configure{@begin}{theindex}{\ifx \indexname\empty \else
2640
\chapter*{\indexname}\fi}
2643
\<configure html4 article\><<<
2644
\Configure{@begin}{theindex}{\ifx \indexname\empty \else
2645
\section*{\indexname}\fi}
2649
\<scr report,book\><<<
2650
\Configure{@begin}{theindex}{\ifx \indexname\empty \else
2651
\chapter*{\indexname}\fi}
2655
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2656
\subsection{multiind}
2657
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2661
\<configure html4 multind\><<<
2662
\Configure{@begin}{theindex}
2663
{\ifx \indexname\empty \else|<toc for multind|>\fi}
2667
% \ifx \indexname\empty \else
2668
% \ifx\chapter\:Undef \section*{\indexname}\else
2669
% \chapter*{\indexname}\fi
2670
% \let\indexname=\empty
2675
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2677
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2680
\<configure html4 index\><<<
2681
\Configure{NoSection}
2682
{\let\sv:index|=\p@index \let\sv:label|=\label
2683
\let\sv:newline|=\newline \def\newline{ }%
2684
\def\p@index[##1]{\@gobble}\let\label|=\@gobble
2687
{\let\p@index|=\sv:index \let\label|=\sv:label
2689
\let\newline|=\sv:newline
2694
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2695
\subsection{texinfo}
2696
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2699
\<configure html4 texinfo\><<<
2701
{\IgnorePar\leavevmode\EndP\Tg<div class="index">}
2702
{\IgnorePar\EndP\Tg</div>}
2703
{\leavevmode\Tg<span class="entry">}
2704
{\Tg</span>\Tg<br />\IgnorePar}
2709
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2710
\subsection{ConTeXt}
2711
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2717
\<configure html4 context\><<<
2720
|<context sectioning|>
2723
|<context description|>
2724
|<context item group|>
2725
|<context verbatim|>
2731
|<context cross references|>
2736
\NewConfigure{-@@ly}{2}
2739
\<context cross references\><<<
2741
{\HCode{<span class="url">}}
2746
\<context chapter name\><<<
2750
\<context section name\><<<
2754
\<context subsection name\><<<
2758
\<context subsubsection name\><<<
2759
\v!sub \v!sub \v!paragraaf
2762
\<context subsubsubsection name\><<<
2763
\v!sub \v!sub \v!sub \v!paragraaf
2766
\<context subsubsubsubsection name\><<<
2767
\v!sub \v!sub \v!sub \v!sub \v!paragraaf
2772
\<context sectioning\><<<
2774
{\gHAdvance \sec:Level by 1\relax
2776
\ifvmode \IgnorePar\fi \EndP
2777
\HCode{<div class="\cur:Name">}%
2779
\HCode{<span class="\cur:Name">}%
2782
{\ifnum \sec:Level=1
2783
\ifvmode \IgnorePar\fi \EndP
2788
\gHAdvance \sec:Level by -1\relax
2790
\HAssign\sec:Level=0
2796
\<context sectioning\><<<
2799
{\HCode{<span class="titlemark">}\finalsectionnumber
2802
{\ifvmode \IgnorePar\fi \EndP\IgnorePar
2803
\HCode{<#2 class="#1Head"\a:LRdir>}\NoFonts
2804
\TitleMark\space\HtmlParOff}
2805
{\EndNoFonts \HCode{</#2>}\HtmlParOn
2806
\IgnoreIndent \par \ShowPar}
2807
\Configure{chapterTITLE+}{\finalsectionnumber\space##1}
2808
\ifx \end:secs\empty \else
2809
\edef\:temp{\noexpand\Configure{end#1}{\end:secs}}\:temp
2811
\edef\end:secs{\end:secs,#1}%
2812
\NewConfigure{#1-ko}{2}
2815
\def\:tempd#1{\edef\:temp{\noexpand\:tmp{#1}}\:temp}
2816
\:tempd{|<context chapter name|>}{h1}
2817
\:tempd{|<context section name|>}{h2}
2818
\:tempd{|<context subsection name|>}{h3}
2819
\:tempd{|<context subsubsection name|>}{h4}
2820
\:tempd{|<context subsubsubsection name|>}{h5}
2821
\:tempd{|<context subsubsubsubsection name|>}{h5}
2824
\<context sectioning NO\><<<
2825
\ConfigureMark{part}
2826
{\HCode{<span class="titlemark">}\finalsectionnumber
2828
\Configure{part}{}{}
2829
{\ifvmode \IgnorePar\fi \EndP\IgnorePar
2830
\HCode{<h1 class="partHead"\a:LRdir>}\NoFonts
2831
\TitleMark\space\HtmlParOff}
2832
{\EndNoFonts \HCode{</h1>}\HtmlParOn \IgnoreIndent \par}
2833
\Configure{partTITLE+}{\finalsectionnumber\space#1}
2836
\<context sectioning NO\><<<
2837
\ConfigureMark{chapter}
2838
{\HCode{<span class="titlemark">}\finalsectionnumber
2840
\Configure{chapter}{}{}
2841
{\ifvmode \IgnorePar\fi \EndP\IgnorePar
2842
\HCode{<h2 class="chapterHead"\a:LRdir>}\NoFonts
2843
\TitleMark\space\HtmlParOff}
2844
{\EndNoFonts \HCode{</h2>}\HtmlParOn
2845
\IgnoreIndent \par \ShowPar}
2846
\Configure{chapterTITLE+}{\finalsectionnumber\space#1}
2847
\Configure{endsection}{part}
2851
\<context sectioning NO\><<<
2852
\ConfigureMark{section}
2853
{\HCode{<span class="titlemark">}\finalsectionnumber
2855
\Configure{section}{}{}
2856
{\ifvmode \IgnorePar\fi \EndP\IgnorePar
2857
\HCode{<h3 class="sectionHead"\a:LRdir>}\NoFonts
2858
\TitleMark\space\HtmlParOff}
2859
{\EndNoFonts \HCode{</h3>}\HtmlParOn
2860
\IgnoreIndent \par \ShowPar}
2861
\Configure{sectionTITLE+}{\finalsectionnumber\space#1}
2862
\Configure{endsection}{part,chapter}
2870
\<context sectioning NO\><<<
2871
\ConfigureMark{subsection}
2872
{\HCode{<span class="titlemark">}\finalsectionnumber
2874
\Configure{subsection}{}{}
2875
{\ifvmode \IgnorePar\fi \EndP\IgnorePar
2876
\HCode{<h4 class="subsectionHead"\a:LRdir>}\NoFonts
2877
\TitleMark\space\HtmlParOff}
2878
{\EndNoFonts \HCode{</h4>}\HtmlParOn
2879
\IgnoreIndent \par \ShowPar}
2880
\Configure{subsectionTITLE+}{\finalsectionnumber\space#1}
2881
\Configure{endsection}{part,chapter,section}
2884
\<context sectioning NO\><<<
2885
\ConfigureMark{subsubsection}
2886
{\HCode{<span class="titlemark">}\finalsectionnumber
2888
\Configure{subsubsection}{}{}
2889
{\ifvmode \IgnorePar\fi \EndP\IgnorePar
2890
\HCode{<h5 class="subsubsectionHead"\a:LRdir>}\NoFonts
2891
\TitleMark\space\HtmlParOff}
2892
{\EndNoFonts \HCode{</h5>}\HtmlParOn \IgnoreIndent \par}
2893
\Configure{subsubsectionTITLE+}{\finalsectionnumber\space#1}
2894
\Configure{endsection}{part,chapter,section,subsection}
2897
\<context sectioning NO\><<<
2898
\ConfigureMark{subsubsubsection}
2899
{\HCode{<span class="titlemark">}\finalsectionnumber
2901
\Configure{subsubsubsection}{}{}
2902
{\ifvmode \IgnorePar\fi \EndP\IgnorePar
2903
\HCode{<h5 class="subsubsubsectionHead"\a:LRdir>}\NoFonts
2904
\TitleMark\space\HtmlParOff}
2905
{\EndNoFonts \HCode{</h5>}\HtmlParOn \IgnoreIndent \par}
2906
\Configure{subsubsubsectionTITLE+}{\finalsectionnumber\space#1}
2907
\Configure{endsection}{part,chapter,section,subsection,%
2911
\<context sectioning NO\><<<
2912
\ConfigureMark{subsubsubsubsection}
2913
{\HCode{<span class="titlemark">}\finalsectionnumber
2915
\Configure{subsubsubsubsection}{}{}
2916
{\ifvmode \IgnorePar\fi \EndP\IgnorePar
2917
\HCode{<h5 class="subsubsubsubsectionHead"\a:LRdir>}\NoFonts
2918
\TitleMark\space\HtmlParOff}
2919
{\EndNoFonts \HCode{</h5>}\HtmlParOn \IgnoreIndent \par}
2920
\Configure{subsubsubsubsectionTITLE+}{\finalsectionnumber\space#1}
2921
\Configure{endsection}{part,chapter,section,subsection,%
2922
subsubsection,subsubsubsection}
2929
\Configure{placecontent}
2930
{\ifvmode \IgnorePar\fi \EndP
2931
\def\toc:br{\def\toc:br{\HCode{<br\xml:empty>}}}%
2932
\HCode{<div class="tableofcontents">}\IgnorePar}
2934
{\IgnorePar\EndP\HCode{</div>}\ShowPar}
2936
\Configure{contenthead}
2937
{\ifvmode \IgnorePar\fi \EndP \HCode{<h2>}\NoFonts}
2938
{\ifvmode \IgnorePar\fi \EndNoFonts \HCode{</h2>}\par}
2946
\HCode{<span class="partToc"><span class="toc-mark">}}
2956
\ConfigureToc{chapter}
2958
\HCode{<span class="chapterToc"><span class="toc-mark">}}
2966
\ConfigureToc{section}
2968
\HCode{<span class="sectionToc"><span class="toc-mark">}}
2976
\ConfigureToc{subsection}
2978
\HCode{<span class="subsectionToc"><span class="toc-mark">}}
2986
\ConfigureToc{subsubsection}
2988
\HCode{<span class="subsubsectionToc"><span class="toc-mark">}}
2996
\ConfigureToc{subsubsubsection}
2998
\HCode{<span class="subsubsubsectionToc"><span class="toc-mark">}}
3006
\ConfigureToc{subsubsubsubsection}
3008
\HCode{<span class="subsubsubsubsectionToc"><span class="toc-mark">}}
3016
\<context spacing\><<<
3017
\Configure{narrower}
3018
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="narrower">}}
3019
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
3020
\Css{div.narrower {margin-left:2em; margin-right:2em;}}
3025
\<context spacing\><<<
3026
\Configure{midaligned}
3027
{\ifvmode \IgnorePar\fi \EndP
3028
\HCode{<div class="midaligned">}}
3029
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par}
3030
\Configure{leftaligned}
3031
{\ifvmode \IgnorePar\fi \EndP
3032
\HCode{<div class="leftaligned">}}
3033
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par}
3034
\Configure{rightaligned}
3035
{\ifvmode \IgnorePar\fi \EndP
3036
\HCode{<div class="rightaligned">}}
3037
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par}
3038
\Css{div.midaligned {text-align:center;}}
3039
\Css{div.leftaligned {text-align:left;}}
3040
\Css{div.rightaligned {text-align:right;}}
3044
\<context system\><<<
3045
\Configure{startstop}
3046
{\ifvmode \IgnorePar \EndP
3047
\HCode{<div class="startstop">}\par
3048
\def\end:startstop{\ifvmode \IgnorePar \EndP \fi
3049
\HCode{</div>}\par}%
3051
\HCode{<span class="startstop">}%
3052
\def\end:startstop{\ifvmode \IgnorePar \HCode{</span>}\par
3053
\else \HCode{</span>}\fi}%
3059
\<context description\><<<
3060
\Configure{description-item}
3061
{\ifvmode \IgnorePar\fi \EndP
3062
\HCode{<dl class="description-item">
3063
<dt class="description-dt">}\everypar{}}
3064
{\HCode{</dt><dd class="description-dd">}\everypar{\HtmlPar}\par}
3065
{\ifvmode \IgnorePar\fi \EndP
3069
\<context description\><<<
3070
\Configure{description-word}
3071
{\HCode{<span class="description-word">}}
3072
{\ifvmode \IgnorePar \HCode{</span>}\par
3073
\else \HCode{</span>}\fi}
3078
\<context item group\><<<
3079
\Configure{itemgroup}
3080
{\ifvmode\IgnorePar\fi \EndP
3081
\HCode{<dl class="\currentitemgroup">}\let\end:dd=\empty}
3082
{\ifvmode\IgnorePar\fi \EndP \end:dd \HCode{</dl>}}
3083
\Configure{head-listitem}
3084
{\ifvmode\IgnorePar\fi \EndP
3085
\end:dd \HCode{<dt class="\currentitemgroup
3087
{\ifvmode\IgnorePar\fi \EndP
3088
\HCode{</dt><dd class="\currentitemgroup -head%
3089
">}\def\end:dd{\HCode{</dd>}}}
3090
\Configure{symbol-listitem}
3091
{\ifvmode\IgnorePar\fi \EndP
3092
\end:dd \HCode{<dt class="\currentitemgroup
3094
{\ifvmode\IgnorePar\fi \EndP
3095
\HCode{</dt><dd class="\currentitemgroup -symbol%
3096
">}\def\end:dd{\HCode{</dd>}}}
3097
\Configure{other-listitem}
3098
{\ifvmode\IgnorePar\fi \EndP
3099
\end:dd \HCode{<dt class="\currentitemgroup
3101
{\ifvmode\IgnorePar\fi \EndP
3102
\HCode{</dt><dd class="\currentitemgroup -other%
3103
">}\def\end:dd{\HCode{</dd>}}}
3106
\<context verbatim\><<<
3108
{\ifvmode \IgnorePar\fi \EndP \par \ShowPar
3110
\HCode{<div class="typing">}%
3111
\gdef\verb:par{\HCode{<br />}}}%
3113
{\ifvmode \IgnorePar\fi \HCode{</div>}\par}
3115
{\HCode{\string&}\HChar{-35}\HCode{x00A0;}}
3117
{font-family: monospace; white-space: nowrap; }}
3121
\<context floats\><<<
3122
\Configure{plaatsblok}
3123
{\ifvmode \IgnorePar\fi \EndP\HCode{<div class="float">}}
3124
{\ifvmode \IgnorePar\fi \EndP\HCode{</div>}}
3126
{\HCode{<span class="caption-label">}} {\HCode{</span>}}
3127
{\HCode{<span class="caption-text">}} {\HCode{</span>}}
3130
Q. Where placefigure is declared?
3132
\<context floats\><<<
3133
\NewConfigure{figure}{2}
3135
{\ifvmode \IgnorePar\fi \EndP\HCode{<div class="figure">}}
3136
{\ifvmode \IgnorePar\fi \EndP\HCode{</div>}}
3140
\<context floats\><<<
3141
\Configure{externalfigure}{\Picture[fig]}
3144
\<context floats\><<<
3145
\Configure{figure-li}
3146
{\ifvmode \IgnorePar\fi \EndP
3147
\HCode{<div class="entry"><span class="num">}\par\IgnorePar}
3148
{\HCode{</span><span class="title">}}
3149
{\HCode{</span><span class="page"><!--}}
3150
{\HCode{--></span></div>}}
3151
\Configure{-@@kjfigure}
3152
{\HCode{<span class="figure-caption">}}
3157
\<context toc NO\><<<
3158
\Configure{title-ko}
3159
{\ifvmode \IgnorePar\fi \EndP
3160
\HCode{<div class="toc-title">}%
3161
\def\end:ko{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}\bgroup
3163
\Configure{title-ko}{\bgroup}{\egroup}%
3171
\Configure{\v!tabulate}
3172
{\ifvmode \IgnorePar\fi
3173
\EndP \HCode{<pre class="\v!tabulate">}}
3174
{\ifvmode\IgnorePar\fi\HCode{</pre>}\par}
3179
\<context tables\><<<
3181
{\PushStack\Table:Stck\TableNo
3182
\PushStack\Row:Stck\HRow \HAssign\HRow=0\relax
3183
\PushStack\Col:Stck\Prev:Col
3184
\gHAdvance\Table:No by 1\relax
3185
\HAssign\TableNo=\Table:No\relax
3186
\ifvmode \IgnorePar\fi \EndP\halignTB{table}\putVBorder
3189
\PopStack\Table:Stck\TableNo
3190
\PopStack\Row:Stck\HRow
3191
\PopStack\Col:Stck\Prev:Col
3193
{\gHAdvance\HRow by 1
3194
\HCode{<tr class="TBL-\TableNo-\HRow">}%
3195
\currentTABLEcolumn=0 \gHAssign\Prev:Col=0 }
3197
{\HAssign\HCol=\the\currentTABLEcolumn\relax
3198
\HAssign\HMultispan=\HCol\relax
3199
\HAdvance\HMultispan by -\Prev:Col\relax
3200
\gHAssign\Prev:Col=\HCol\relax
3201
\HAdvance\HCol by 1\relax
3202
\ifnum \HMultispan>1 \HAdvance\HCol by 1
3203
\HAdvance\HCol by -\HMultispan\relax \fi
3204
\HCode{\Hnewline<td class="TBL-\TableNo-\HRow-\HCol" }%
3206
\HCode{ \ifnum \HMultispan>1 colspan="\HMultispan" \fi >}%
3211
\def\x:tableCell{\e:tableCell \global\let\x:tableCell=\empty}%
3222
\<context tables\><<<
3223
\Configure{tableCell}
3224
{\e:table\HCode{<div class="cell-1">}\ShowPar\par}
3225
{\e:table\HCode{<div class="cell-2">}\ShowPar\par}
3226
{\e:table\HCode{<div class="cell-3">}\ShowPar\par}
3227
{\e:table\HCode{<div class="cell-4">}\ShowPar\par}
3228
{\ifvmode \IgnorePar\fi \EndP\HCode{</div>}\f:table}
3232
\<context tables\><<<
3233
\let\VBorder\empty \let\AllColMargins\empty
3236
\let\AllColMargins\empty
3237
\global\let\GROUPS\empty
3238
\HAssign\NewGroup = 0
3241
\let\:temp\TableNo \let\TableNo=\relax
3242
\edef\VBorder{\VBorder\ifnum \NewGroup> 0 </colgroup>\fi}%
3244
\HAssign\NewGroup = 0
3245
\gdef\GROUPS{rules="groups"}%
3247
{\Advance:\NewGroup by 1
3248
\let\:temp\TableNo \let\TableNo=\relax
3249
\ifnum \NewGroup=1 \edef\VBorder{\VBorder<colgroup
3250
id="TBL-\TableNo-\ar:cnt g">}\fi
3251
\edef\VBorder{\VBorder<col\Hnewline id="TBL-\TableNo
3252
-\ar:cnt"\xml:empty>}\xdef\AllColMargins{\AllColMargins1}%
3256
\let\:temp\TableNo \let\TableNo=\relax
3257
\edef\AllColMargins{\AllColMargins 0}%
3261
\Css{table.table td {vertical-align:top;}}
3264
\<context tables\><<<
3265
\Css{table.table td { padding-left:3pt; padding-right:3pt; }}
3267
\Configure{halignTB}{\HCode{<table }}{\HCode{>}}
3268
\Configure{halignTB<>}{table}{\HCode{class="table"\Hnewline
3269
cellspacing="0" cellpadding="0" \GROUPS\Hnewline
3270
frame="\ifx \GROUPS\empty void\else border\fi" id="TBL-\TableNo-"
3274
\<context tables\><<<
3275
\Configure{TABLElongrule}{\HCode{<hr />}}
3279
\tmp:cnt=\maxTABLEcolumn
3280
\advance\tmp:cnt by 2
3281
\HCode{<td colspan="\the\tmp:cnt"><hr /></td>}%
3287
\<context tables\><<<
3288
\Configure{halignTD} {}{}
3289
{<}{\HCode{ % align="left"
3290
style="white-space:nowrap; text-align:left;"}}
3291
{-}{\HCode{ % align="center"
3292
style="white-space:nowrap; text-align:center;"}}
3293
{>}{\HCode{ % align="right"
3294
style="white-space:nowrap; text-align:right;"}}
3295
{l}{\HCode{ % align="left"
3296
style="white-space:nowrap; text-align:left;"}}
3297
{c}{\HCode{ % align="center"
3298
style="white-space:nowrap; text-align:center;"}}
3299
{r}{\HCode{ % align="right"
3300
style="white-space:nowrap; text-align:right;"}}
3301
{^}{\HCode{ valign="top" style="white-space:nowrap;"}}
3302
{=}{\HCode{ valign="baseline" style="white-space:nowrap;"}}
3303
{||}{\HCode{ valign="middle" style="white-space:nowrap;"}}
3304
{_}{\HCode{ valign="bottom" style="white-space:nowrap;"}}
3305
{p}{\HCode{ % align="left"
3306
style="white-space:nowrap; text-align:left;"}\Protect\a:HColWidth}
3307
{m}{\HCode{ % align="left"
3308
style="white-space:nowrap; text-align:left;" valign="middle"}}
3309
{b}{\HCode{ % align="left"
3310
style="white-space:nowrap; text-align:left;" valign="baseline"}}
3315
\<context index\><<<
3317
{\Link{}{in-\nextinternalreference}\EndLink}
3318
\Configure{indexpage}{%
3319
\gHAdvance\Idx:No by 1 #1%
3323
{\Link{in-#3}{}\Idx:No\EndLink}}
3327
\<context index\><<<
3328
\Configure{indexchar}
3329
{\ifvmode \IgnorePar\fi \EndP
3330
\HCode{<div class="indexchar">}}
3331
{\HCode{</div>}\par}
3332
\Css{div.indexchar{margin-top:0.2em; margin-bottom:0.1pt;}}
3335
\<context index\><<<
3336
\Configure{index-env}
3337
{\ifvmode \IgnorePar\fi \EndP\HCode{<div class="index-env">}\par}
3338
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par}
3339
\Css{div.index-env p{margin-top:0em; margin-bottom:0em;}}
3340
\NewConfigure{-@@idindex}{2}
3344
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3345
\subsection{letters}
3346
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3349
\<configure html4 g-brief\><<<
3351
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="g-brief">}%
3352
\let\sv:@imakebox\@imakebox
3353
\let\sv:br=\\ \def\\{\HCode{</tr><tr>}}%
3354
\let\:clearpage\clearpage
3355
\def\clearpage{\let\clearpage\:clearpage
3356
\ifvmode \IgnorePar\fi \EndP
3357
\HCode{<table class="date"><tr>}%
3361
\def\@imakebox[##1][##2]##3{%
3362
\HCode{<td class="makebox-##2">}%
3363
\bgroup \let\\=\sv:br \let\@imakebox\sv:@imakebox
3368
\def\par{\let\par\brf:par
3369
\ifvmode \IgnorePar\fi \EndP
3370
\HCode{</tr></table>}}%
3373
{\let\\=\sv:br \let\@imakebox\sv:@imakebox
3374
\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
3375
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="end-g-brief">}}
3376
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
3377
\Css{table.date {width:100\%; margin-top:2em;}}
3378
\Css{table.date td{white-space: nowrap;}}
3381
\<configure html4 g-brief\><<<
3382
\Configure{letterfoot}
3383
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="letterfoot">}}
3386
\Configure{letterhead}
3387
{\ifvmode \IgnorePar\fi \EndP
3388
\HCode{<div class="letterhead"><table
3389
class="from"><tr><td class="name">}}
3390
{\HCode{</td><td class="address">}}
3391
{\ifvmode \IgnorePar\fi \EndP
3392
\HCode{</td></tr></table><div class="retouradresse">}}
3393
{\ifvmode \IgnorePar\fi \EndP \HCode{</div><div class="postage">}}
3394
{\HCode{</div></div>}}
3395
\Css{.letterfoot .tabular {text-align: left; margin-top:4em; }}
3396
\Css{table.from {width:100\%; margin-bottom:2em;}}
3397
\Css{table.from .address table {width:100\%;}}
3398
\Css{.makebox-r {text-align:right;}}
3401
\<configure html4 g-brief\><<<
3402
\Configure{datumtext}
3403
{\HCode{<span class="datumtext">}}
3406
{\HCode{<span class="datum">}}
3407
{\HCode{</span>}\IgnorePar}
3409
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="anrede">}}
3412
{\ifvmode \IgnorePar\fi \EndP\HCode{<div class="betreff">}}
3414
\Css{.betreff{margin-top:2em; margin-bottom:1em;}}
3416
{\HCode{<span class="gruss">}}
3418
\Configure{unterschrift}
3419
{\HCode{<span class="unterschrift">}}
3422
{\HCode{<span class="anlagen">}}
3424
\Configure{verteiler}
3425
{\HCode{<span class="verteiler">}}
3428
{\HCode{<span class="sprache">}}
3430
\Configure{telefontex}
3431
{\HCode{<span class="telefontex">}}
3433
\Configure{telefaxtext}
3434
{\HCode{<span class="telefaxtext">}}
3436
\Configure{telextext}
3437
{\HCode{<span class="telextext">}}
3439
\Configure{emailtext}
3440
{\HCode{<span class="emailtext">}}
3442
\Configure{httptext}
3443
{\HCode{<span class="httptext">}}
3445
\Configure{banktext}
3446
{\HCode{<span class="banktext">}}
3449
{\HCode{<span class="blztext">}}
3451
\Configure{betrefftext}
3452
{\HCode{<span class="betrefftext">}}
3454
\Configure{ihrzeichentext}
3455
{\HCode{<span class="ihrzeichentext">}}
3457
\Configure{ihrschreibentext}
3458
{\HCode{<span class="ihrschreibentext">}}
3460
\Configure{meinzeichentext}
3461
{\HCode{<span class="meinzeichentext">}}
3463
\Configure{unserzeichentext}
3464
{\HCode{<span class="unserzeichentext">}}
3467
{\HCode{<span class="anlagen">}}
3470
{\HCode{<span class="adresse">}}
3473
{\HCode{<span class="bank">}}
3476
{\HCode{<span class="blz">}}
3479
{\HCode{<span class="email">}}
3482
{\HCode{<span class="gruss">}}
3484
\Configure{grussskip}
3485
{\HCode{<span class="grussskip">}}
3488
{\HCode{<span class="http">}}
3490
\Configure{ihrschreiben}
3491
{\HCode{<span class="ihrschreiben">}}
3493
\Configure{ihrzeichen}
3494
{\HCode{<span class="ihrzeichen">}}
3497
{\HCode{<span class="konto">}}
3500
{\HCode{<span class="land">}}
3502
\Configure{meinzeichen}
3503
{\HCode{<span class="meinzeichen">}}
3506
{\HCode{<span class="name">}}
3509
{\HCode{<span class="ort">}}
3511
\Configure{postvermerk}
3512
{\HCode{<span class="postvermerk">}}
3514
\Configure{retouradresse}
3515
{\HCode{<span class="retouradresse">}}
3517
\Css{div.retouradresse { margin-bottom:2em; }}
3519
{\HCode{<span class="strasse">}}
3522
{\HCode{<span class="telefax">}}
3525
{\HCode{<span class="telefon">}}
3528
{\HCode{<span class="telex">}}
3530
\Configure{unterschrift}
3531
{\HCode{<span class="unterschrift">}}
3533
\Configure{verteiler}
3534
{\HCode{<span class="verteiler">}}
3537
{\HCode{<span class="zusatz">}}
3541
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3543
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3547
\Configure{@begin}{theindex}{\section*{\indexname}}
3548
\Configure{theindex}
3549
{\ifvmode \IgnorePar\fi \EndP
3550
\HCode{<div class="theindex">}\let\end:theidx\empty}
3551
{\end:theidx\HCode{</div>}}
3552
{} {\HCode{<br\xml:empty>}\hfil\break}
3553
{\ \ \ \ } {\HCode{<br\xml:empty>}\hfil\break}
3554
{\ \ \ \ \ \ \ \ } {\HCode{<br\xml:empty>}\hfil\break}
3555
{\hbox{\end:theidx\HCode{<p class="theindex">}}%
3556
\def\end:theidx{\HCode{</p>}}}
3559
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3560
\subsection{Into Columns}
3561
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3564
\<book-report-article index\><<<
3565
\def\:temp#1index=#2,#3|<par del|>{%
3566
\ifnum #2>1 |<conf multi cols|>\fi
3569
\expandafter\:temp\Preamble,index=0,|<par del|>
3578
The \verb=\Configure{IndexColumns}= instruction is to allow documents
3579
that have more than one index to employ different number of columns.
3580
The `index=i' provides the initial setting.
3583
\<one-col index\><<<
3584
\Log:Note{for i-columns index,
3585
use the command line option `index=i' (e.g., index=2)}
3586
\Configure{theindex}
3587
{\ifvmode \IgnorePar\fi \EndP
3588
\HCode{<div class="theindex">}\let\end:theidx|=\empty}
3589
{\end:theidx\HCode{</div>}}
3590
{} {\hfil\break\HCode{<br\xml:empty>}}
3591
{\ \ \ \ } {\hfil\break\HCode{<br\xml:empty>}}
3592
{\ \ \ \ \ \ \ \ } {\hfil\break\HCode{<br\xml:empty>}}
3593
{\hbox{\end:theidx\HCode{<p class="theindex">}}%
3594
\def\end:theidx{\HCode{</p>}}}
3597
\<conf multi cols\><<<
3598
\NewConfigure{IndexColumns}{1}
3599
\Configure{IndexColumns}{#2}
3603
\<mult-col index\><<<
3604
\Log:Note{the number of columns
3605
requested by the option `index=\a:IndexColumns' can
3606
be modified through the command \string\Configure{IndexColumns}{i}}
3607
\Configure{theindex}
3608
{\ifvmode \IgnorePar\fi \EndP
3609
\HCode{<div class="theindex">}%
3610
|<index mult cols|>\let\end:theidx|=\empty}
3612
|<end index mult cols|>\HCode{</div>}}
3614
{\ifvmode \else \hfil\HCode{<br\xml:empty>}\break\fi}
3615
{\ \ \ \ } {\hfil\HCode{<br\xml:empty>}\break}
3616
{\ \ \ \ \ \ \ \ } {\hfil\HCode{<br\xml:empty>}\break}
3618
% \hbox{\end:theidx\HCode{<p class="theindex">}}%
3619
% \def\end:theidx{\HCode{</p>}}
3624
\<index mult cols\><<<
3625
\Configure{HColumns}
3627
\HCode{<table \Hnewline class="index" width="100\%"
3628
cellspacing="15"><tr valign="top">}}
3629
{\HCode{</tr></table>}}
3630
{\HCode{<td>}\ColMag{1.1}}
3631
{\IgnorePar\EndP\HCode{</td>}}
3632
\HColumns{\a:IndexColumns}%
3633
\everypar{\HtmlPar}\par\ShowPar
3636
\<end index mult cols\><<<
3640
\<mult-col index\><<<
3641
\def\add:col{\Advance:\:cols -1 \HAdvance\HCol 1\relax
3643
\c:Cols \vsplit0 to \tmp:dim \d:Cols \expandafter\add:col
3645
\NewConfigure{HColumns}{4}
3646
\def\c:Cols{\edef\sv:dim{\the\tmp:dim}\c:HColumns}
3647
\def\d:Cols{\d:HColumns \tmp:dim\sv:dim }
3648
\def\ColMag#1{\tmp:dim #1\tmp:dim}
3651
\HAssign\:cols#1 \setbox0=\vbox\bgroup
3653
\def\EndHColumns{\egroup \HAssign\HCol0
3654
\tmp:dim\ht0 \advance\tmp:dim \dp0 \divide\tmp:dim \:cols
3655
\add:col \c:Cols \box0 \d:Cols \b:HColumns}
3659
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3661
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3663
\<config captions\><<<
3664
\Configure{caption}{\HCode{\if:nopar \else <br\xml:empty>\fi}
3665
\:xhtml{\IgnorePar\EndP}\HCode{<table class="caption"\Hnewline><tr
3666
valign="baseline" class="caption"><td class="id">}}
3667
{: } {\HCode{</td><td \Hnewline class="content">}}
3668
{\HCode{</td></tr></table>}|<caption label comment|>}
3669
\Css{.caption td.id{font-weight: bold; white-space: nowrap; }}
3670
\Css{table.caption {text-align:center;}}
3675
\Configure{caption}{\HCode{\if:nopar \else <br\xml:empty>\fi}
3676
\:xhtml{\IgnorePar\EndP}\HCode{<table class="caption"\Hnewline><tr
3677
valign="baseline" class="caption"><td class="id">}}
3678
{ } {\HCode{</td><td \Hnewline class="content">}}
3679
{\HCode{</td></tr></table>}|<caption label comment|>}
3680
\Css{table.caption {text-align:left;}}
3683
\<scr reprt/book captions\><<<
3684
\Configure{caption}{\HCode{\if:nopar \else <br\xml:empty>\fi}
3685
\:xhtml{\IgnorePar\EndP}\HCode{<div
3686
class="caption"><table class="caption"\Hnewline><tr
3687
valign="baseline" class="caption"><td class="id">}}
3688
{: } {\HCode{</td><td \Hnewline class="content">}}
3689
{\HCode{</td></tr></table></div>}|<caption label comment|>%
3691
\Css{.caption td.id{font-weight: bold; white-space: nowrap; }}
3692
\Css{div.cation {text-align:center;}}
3695
\<amsppt captions\><<<
3697
{\:xhtml{\IgnorePar\EndP}\HCode{<center>}}{}{\HCode{</center>}}
3700
\<config span caption\><<<
3702
{\HCode{<br /><span class="caption"><span class="id">}}
3703
{\HCode{</span>}: }{}{\HCode{</span><br />}}%
3707
\<caption label comment\><<<
3708
\HCode{<!--tex4ht:label?:
3709
\cur:th\:currentlabel\space-->}%
3713
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3715
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3717
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3718
\subsection{Originating Packages}
3719
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3722
\<latex ltfloat (footnotes)\><<<
3723
|<shared config footnotes|>
3724
\:CheckOption{fn-in}\if:Option
3725
|<inline footnote latex|>
3727
\Log:Note{for inline footnotes use
3728
command line option `fn-in'}
3729
|<offline footnote latex|>
3737
\<configure html4 plain\><<<
3738
\:CheckOption{fn-in}\if:Option
3739
|<inline footnote plain|>
3741
\Log:Note{for inline footnotes, use
3742
the command line option `fn-in'}
3743
|<offline footnote plain|>
3747
\<maketitle footnote\><<<
3748
\:CheckOption{fn-in}\if:Option
3749
|<end-thanks author date and|>
3751
|<config thanks author date and|>
3755
\<revtex maketitle footnote\><<<
3756
\:CheckOption{fn-in}\if:Option
3757
|<revtex end-thanks author date and|>
3759
|<revtex config thanks author date and|>
3763
\<JHEP maketitle footnote\><<<
3764
\:CheckOption{fn-in}\if:Option
3765
|<JHEP end-thanks author date and|>
3767
|<JHEP thanks author date and|>
3776
\subsection{In-Line LaTeX}
3779
\<inline footnote latex\><<<
3780
\:CheckOption{mouseover} \if:Option
3781
|<mouseover inline footnote mark|>
3782
|<mouseover inline footnote text|>
3783
|<mouseover inline footnote|>
3784
|<onmouseover footnote css|>
3786
|<inline footnote mark|>
3787
|<inline footnote text|>
3793
\<inline footnote text\><<<
3794
\Configure{footnotetext}
3795
{|<open inline footnote box|>%
3796
|<fn mark sup|>|<inline fn text /Link|>%
3798
\Tag{|<footnote id|>-bk}{}%
3801
{\special{t4ht@)}\EndNoFonts |<end inline fn text /Link|>|<fn mark end sup|>}
3802
{\expandafter\global\expandafter
3803
\let\csname (|<footnote id|>)\endcsname\def
3804
|<close inline footnote box|>}
3807
\<inline footnote mark\><<<
3808
\Configure{footnotemark}
3809
{|<fn mark sup|>|<inline fn mark /Link|>%
3811
\Tag{|<footnote id|>}{}}
3813
|<end inline fn mark /Link|>|<fn mark end sup|>%
3814
\expandafter\global\expandafter
3815
\let\csname (|<footnote id|>-bk)\endcsname\def}
3821
\<mouseover inline footnote text\><<<
3822
\Configure{footnotetext}
3823
{|<open inline footnote box|>%
3825
|<fn mark sup|>|<inline fn text /Link|>%
3826
\NoFonts \Tag{|<footnote id|>-bk}{}%
3828
{\EndNoFonts |<end inline fn text /Link|>|<fn mark end sup|>}
3829
{\expandafter\global\expandafter
3830
\let\csname (|<footnote id|>)\endcsname\def
3832
|<close inline footnote box|>}
3835
\<mouseover inline footnote mark\><<<
3836
\Configure{footnotemark}
3837
{|<fn mark sup|>|<mouseover inline fn mark /Link|>%
3839
\Tag{|<footnote id|>}{}}
3841
|<end inline fn mark /Link|>|<fn mark sup|>%
3842
\expandafter\global\expandafter
3843
\let\csname (|<footnote id|>-bk)\endcsname\def}
3860
\<inline fn text /Link\><<<
3861
\ifTag{|<footnote id|>}
3862
{\expandafter\ifx\csname (|<footnote id|>)\endcsname\def
3863
\Link{|<footnote id|>-bk}{}%
3865
\Link{|<footnote id|>-bk}{|<footnote id|>}%
3868
{\expandafter\ifx\csname (|<footnote id|>)\endcsname\def
3869
\else \Link{}{|<footnote id|>}\fi
3873
\<end inline fn text /Link\><<<
3874
\ifTag{|<footnote id|>}
3876
{\expandafter\ifx\csname (|<footnote id|>)\endcsname\def
3883
\<mouseover inline fn mark /Link\><<<
3885
\ifTag{|<footnote id|>-bk}
3886
{\expandafter\ifx\csname (|<footnote id|>-bk)\endcsname\def
3887
\Link[ |<mouseover-footnote arguments|>\Hnewline
3888
]{|<footnote id|>}{}%
3890
\Link[ |<mouseover-footnote arguments|>\Hnewline
3891
]{|<footnote id|>}{|<footnote id|>-bk}%
3894
{\expandafter\ifx\csname (|<footnote id|>-bk)\endcsname\def
3895
\else \Link[ |<mouseover-footnote arguments|>\Hnewline
3896
]{}{|<footnote id|>-bk}\fi
3906
\<inline fn mark /Link\><<<
3907
\ifTag{|<footnote id|>-bk}
3908
{\expandafter\ifx\csname (|<footnote id|>-bk)\endcsname\def
3909
\Link{|<footnote id|>}{}%
3911
\Link{|<footnote id|>}{|<footnote id|>-bk}%
3914
{\expandafter\ifx\csname (|<footnote id|>-bk)\endcsname\def
3915
\else \Link{}{|<footnote id|>-bk}\fi
3919
\<end inline fn mark /Link\><<<
3920
\ifTag{|<footnote id|>-bk}
3922
{\expandafter\ifx\csname (|<footnote id|>-bk)\endcsname\def
3930
\<open inline footnote box\><<<
3931
\SaveEndP\global\setbox\fn:box=\vtop\bgroup\ShowPar
3932
\ifvoid\fn:box\else \csname unvbox\endcsname\fn:box\fi
3935
\<close inline footnote box\><<<
3936
\EndP\egroup\RecallEndP
3940
\<save inline footnotes\><<<
3941
\ifvoid \fn:box \else
3942
\expandafter \ifx \csname fn:box\body:level\endcsname\relax
3943
\csname newbox\expandafter\endcsname
3944
\csname fn:box\body:level\endcsname
3946
\global\expandafter\setbox\csname fn:box\body:level\endcsname=
3947
\vbox{\csname unvbox\endcsname\fn:box}%
3949
\gHAdvance\body:level by 1
3952
\<recall inline footnotes\><<<
3953
\gHAdvance\body:level by -1
3954
\expandafter \ifx \csname fn:box\body:level\endcsname\relax \else
3955
\global\setbox\fn:box=
3956
\vbox{\expandafter\ifvoid \csname fn:box\body:level\endcsname \else
3957
\csname unvbox\expandafter\endcsname
3958
\csname fn:box\body:level\endcsname\fi}%
3962
\<insert inline footnotes\><<<
3963
\ifvmode \IgnorePar\fi\EndP
3964
\ifvoid \fn:box\else
3965
\HCode{<div class="footnotes">}\box\fn:box\HCode{</div>}
3971
\<file tag into footnote\><<<
3974
\<link tag to footnotetext\><<<
3979
\<mouseover inline footnote\><<<
3981
{|<save inline footnotes|>\:xhtml{\SaveEndP}\IgnorePar
3982
\HCode{<body\Hnewline\csname a:!BODY\endcsname
3983
>}|<overDiv|>\ShowPar\par}
3984
{|<insert inline footnotes|>%
3985
\relax \ifnum \FileNumber=1
3986
|<ol-hauto mouseover-script|>%
3989
</body>}\:xhtml{\RecallEndP}|<recall inline footnotes|>}%
3992
\<inline footnote\><<<
3994
{|<save inline footnotes|>\:xhtml{\SaveEndP}\IgnorePar
3995
\HCode{<body\Hnewline\csname a:!BODY\endcsname >}\ShowPar\par}
3996
{|<insert inline footnotes|>\HCode{\Hnewline
3997
</body>}\:xhtml{\RecallEndP}|<recall inline footnotes|>}%
4001
\<inline footnote latex\><<<
4002
\Configure{crosslinks+}
4003
{\IgnorePar\EndP\HCode{|<show input line no|>%
4004
<div class="crosslinks"><p class="noindent">}}
4005
{\HCode{</p></div>}\par\ShowPar}
4006
{|<insert inline footnotes|>%
4007
\ifvmode \IgnorePar\fi \EndP
4008
\HCode{|<show input line no|><div class="crosslinks"><p class="noindent">}}
4009
{\HCode{</p></div>}\par\ShowPar}
4012
\<inline footnote latex\><<<
4013
\Css{div.footnotes{border-top:solid 1px black;
4014
border-bottom:solid 1px black;
4017
margin-right:15\%; margin-top:2ex;
4018
font-style:italic; font-size:80\%;}}
4019
\Css{div.footnotes p{margin-top:0; margin-bottom:0; text-indent:0;}}
4020
\ifx \fn:box\:UnDef \csname newbox\endcsname\fn:box \fi
4021
\HAssign\body:level=0
4028
\subsection{Off-Line in latex}
4032
\<offline footnote latex\><<<
4033
\:CheckOption{mouseover} \if:Option
4034
|<onmouseover offline footnote mark|>
4035
|<onmouseover offline footnote text|>
4036
|<onmouseover footnote css|>
4037
\AtEndDocument{|<ol-hauto mouseover-script|>}
4038
\else \:CheckOption{frames-fn} \if:Option
4039
|<frames footnote mark|>
4040
|<frames footnote text|>
4042
|<default offline footnote mark|>
4043
|<default offline footnote text|>
4047
\<default offline footnote text\><<<
4048
\Configure{footnotetext}
4049
{|<open footnote page|>%
4050
|<fn mark sup|>\Link{}{|<footnote id|>}%
4053
{\EndNoFonts \EndLink|<fn mark end sup|>}
4054
{|<close footnote page|>}
4057
\<default offline footnote mark\><<<
4058
\Configure{footnotemark}
4059
{|<fn mark sup|>|<footnotemark link|>\NoFonts
4060
\Tag{|<footnote id|>}{}}
4061
{\EndNoFonts |<end footnotemark link|>|<fn mark end sup|>}
4064
\<onmouseover offline footnote text\><<<
4065
\Configure{footnotetext}
4066
{|<js open footnote page|>%
4067
|<fn mark sup|>\Link{}{|<footnote id|>}%
4070
{\EndNoFonts \EndLink|<fn mark end sup|>}
4071
{|<js close footnote page|>}
4075
\<onmouseover offline footnote mark\><<<
4076
\Configure{footnotemark}
4077
{|<fn mark sup|>|<js footnotemark link|>\NoFonts
4078
\Tag{|<footnote id|>}{}}
4080
|<end js footnotemark link|>|<fn mark end sup|>}
4085
\<frames footnote text\><<<
4086
\Configure{footnotetext}
4087
{|<open frames footnote page|>%
4088
|<fn mark sup|>\Link{}{|<footnote id|>}\NoFonts
4090
{\EndNoFonts\EndLink|<fn mark end sup|>}
4091
{|<close frames footnote page|>}
4094
\<frames footnote mark\><<<
4095
\Configure{footnotemark}
4096
{|<fn mark sup|>|<frames footnotemark link|>\NoFonts
4097
\Tag{|<footnote id|>}{}}
4099
|<end frames footnotemark link|>|<fn mark end sup|>}
4106
\<open footnote page\><<<
4107
\ifTag{|<footnote id|>}
4108
{\expandafter\ifx\csname (|<footnote id|>)\endcsname\def
4109
\:warning{Multiple footnote texts for mark \FNnum}%
4110
\else \csname a:footnote-text\endcsname\fi
4116
\<close footnote page\><<<
4117
\ifTag{|<footnote id|>}
4118
{\expandafter\ifx\csname (|<footnote id|>)\endcsname\def
4119
\else \csname b:footnote-text\endcsname\fi
4122
\expandafter\global\expandafter
4123
\let\csname (|<footnote id|>)\endcsname\def
4130
\<js open footnote page\><<<
4131
\ifTag{|<footnote id|>}
4132
{\expandafter\ifx\csname (|<footnote id|>)\endcsname\def
4133
\:warning{Multiple footnote texts for mark \FNnum}%
4134
\else \csname a:footnote-text\endcsname\fi
4140
\<js close footnote page\><<<
4141
\ifTag{|<footnote id|>}
4142
{\expandafter\ifx\csname (|<footnote id|>)\endcsname\def
4143
\else \csname b:footnote-text\endcsname\fi
4146
\expandafter\global\expandafter
4147
\let\csname (|<footnote id|>)\endcsname\def
4151
\<footnotemark link\><<<
4152
\ifTag{|<link tag to footnotetext|>|<footnote id|>}
4153
{\Link{|<footnote id|>}{}}
4157
\<end footnotemark link\><<<
4158
\ifTag{|<link tag to footnotetext|>|<footnote id|>}
4164
\<js footnotemark link\><<<
4165
\ifTag{|<link tag to footnotetext|>|<footnote id|>}
4167
\leavevmode \Link[ |<mouseover-footnote arguments|>%
4168
\Hnewline]{|<footnote id|>}{}}
4172
\<end js footnotemark link\><<<
4173
\ifTag{|<link tag to footnotetext|>|<footnote id|>}
4180
\<open frames footnote page\><<<
4181
\ifTag{|<footnote id|>}
4182
{\expandafter\ifx\csname (|<footnote id|>)\endcsname\def
4183
\:warning{Multiple footnote texts for mark \FNnum}%
4185
\Configure{!BODY}{id="|<tex4ht-fn|>" }%
4186
\BeginHPage[|<footnote id|>]{ }%
4187
\Configure{!BODY}{}%
4194
\<close frames footnote page\><<<
4195
\ifTag{|<footnote id|>}
4196
{\expandafter\ifx\csname (|<footnote id|>)\endcsname\def
4198
\close:fn\EndHPage{}
4202
\expandafter\global\expandafter
4203
\let\csname (|<footnote id|>)\endcsname\def
4207
\<frames footnote text\><<<
4208
\def\close:fn{\HPage{}\Link{}{hide-fn}\EndLink\EndHPage{}%
4209
\gdef\close:fn{\rightline{\Link{hide-fn}{}@\EndLink}}\close:fn}
4212
% \Css{body\#|<tex4ht-fn|>{font-size:80\%;}}%
4215
\<frames footnotemark link\><<<
4216
\ifTag{|<footnote id|>|<file tag into footnote|>}
4217
{\Link[\RefFile{|<footnote id|>}
4218
target="|<tex4ht-fn|>"]{}{}}
4222
\<end frames footnotemark link\><<<
4223
\ifTag{|<footnote id|>|<file tag into footnote|>}
4235
fn\FNnum x\minipageNum
4241
\csname a:footnote-mark\endcsname
4244
\<fn mark end sup\><<<
4245
\csname b:footnote-mark\endcsname
4248
\<thank mark sup\><<<
4249
\csname a:thank-mark\endcsname
4252
\<thank mark end sup\><<<
4253
\csname b:thank-mark\endcsname
4256
\<shared config footnotes\><<<
4257
\NewConfigure{footnote-mark}{2}
4258
\NewConfigure{thank-mark}{2}
4259
\Configure{footnote-mark}
4260
{\HCode{<span class="footnote-mark">}}
4262
\Configure{thank-mark}
4263
{\HCode{<span class="thank-mark">}}
4265
\Css{span.thank-mark{ vertical-align: super }}
4270
\<shared config footnotes\><<<
4271
\NewConfigure{footnote-text}{2}
4274
\<default offline footnote text\><<<
4275
\Configure{footnote-text}
4276
{\HPage{}\HCode{<div class="footnote-text">}\par}
4277
{\ifvmode \IgnorePar\fi \EndP
4278
\HCode{</div>}\EndHPage{}}
4281
\<onmouseover offline footnote text\><<<
4282
\Configure{footnote-text}
4283
{\HPage{}\HCode{<div>}|<js footnote|>}
4284
{\ifvmode \IgnorePar\fi \EndP
4285
|<js /footnote|>\HCode{</div>}\EndHPage{}}
4294
\<footnote for ams title\><<<
4295
\:CheckOption{fn-in}\if:Option
4296
\:CheckOption{mouseover}\if:Option
4297
|<mouseover inline ams title fn text|>%
4299
|<inline ams title fn text|>%
4302
\:CheckOption{mouseover}\if:Option
4303
|<mouseover ams title fn text|>%
4304
\else \:CheckOption{frames-fn}\if:Option
4305
|<frames ams title fn text|>%
4307
|<offline ams title fn text|>%
4312
\<offline ams title fn text\><<<
4313
\Configure{footnotetext}
4314
{|<fn mark sup|>\HPage{\FNnum}\HCode{<div>}\NoFonts}
4316
{\HCode{</div>}\EndHPage{}|<fn mark end sup|>}%
4320
\<frames ams title fn text\><<<
4321
|<offline ams title fn text|>%
4324
\<mouseover ams title fn text\><<<
4325
|<offline ams title fn text|>%
4328
\<mouseover inline ams title fn text\><<<
4329
|<offline ams title fn text|>%
4332
\<inline ams title fn text\><<<
4333
|<offline ams title fn text|>%
4336
\<ams art,proc,book\><<<
4337
\Css{span.footnote-mark{ vertical-align: super }}
4341
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4343
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4347
\<scrbook maketitle footnote\><<<
4348
\:CheckOption{fn-in}\if:Option
4349
|<scrbook end-thanks author date and|>
4351
|<scrbook thanks author date and|>
4356
\<scrreprt maketitle footnote\><<<
4357
\:CheckOption{fn-in}\if:Option
4358
|<scrreprt end-thanks author date and|>
4360
|<scrreprt thanks author date and|>
4366
\<scr article,report,book\><<<
4367
\Css{span.footnote-mark{ vertical-align: super }}
4377
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4380
\<inline footnote plain\><<<
4381
\Configure{vfootnote}
4382
{|<mark inline vfootnote|>}
4383
{|<open inline vfootnote|>}
4384
{|<close inline vfootnote|>}
4390
\<mark inline vfootnote\><<<
4391
\HCode{<sup>}\Link{fn\FNnum}{fn\FNnum-bk}%
4392
\ifx \FNmark\empty +\else \FNmark\fi\EndLink
4396
\<open inline vfootnote\><<<
4397
|<open inline footnote box|>%
4398
\HCode{<sup>}\Link{fn\FNnum-bk}{fn\FNnum}%
4399
\ifx \FNmark\empty +\else \FNmark\fi
4400
\EndLink\space\HCode{</sup>}%
4403
\<close inline vfootnote\><<<
4404
|<close inline footnote box|>
4409
\<offline footnote plain\><<<
4410
\Configure{vfootnote}
4411
{\HPageButton[fn\FNnum]{\FNmark}}
4412
{\BeginHPage[fn\FNnum]{ }}
4418
\subsection{On Mouse Over}
4422
\<onmouseover footnote css\><<<
4423
\expandafter\def\csname c:mouseover-footnote:\endcsname{%
4424
\def\:tempb{footnote}\csname c:mouseover-?:\endcsname}
4425
\Configure{mouseover-footnote} {tex4ht.body,FULLHTML}
4431
\<onmouseover footnote mark\><<<
4432
|<start js|>\let\sv:link=\Link
4433
\def\Link[##1]{\let\Link=\sv:link
4434
\Link[##1 |<mouseover-footnote arguments|>\Hnewline]}%
4438
\<mouseover-footnote arguments\><<<
4439
\mo:args{footnote}{\FNnum}{|<footnote id|>}%
4447
\HCode{<footnote>|<footnote id|>=<div class="js">}%
4457
\HCode{</div></footnote>\Hnewline}%
4467
An alternative css-based approach:
4470
\Configure{tableofcontents}
4471
{\IgnorePar\EndP\HCode{<div class="tableofcontents">}\IgnorePar}
4473
{\IgnorePar\EndP\HCode{</div>}\ShowPar}
4476
\ConfigureToc{section}
4477
{\HCode{<div class="sectionToc"><span class="mark">}}
4481
\ConfigureToc{subsection}
4482
{\HCode{<div class="subsectionToc"><span class="mark">}}
4486
\ConfigureToc{subsubsection}
4487
{\HCode{<div class="subsubsectionToc"><span class="mark">}}
4492
\ConfigureToc{likesection}
4494
{\HCode{<div class="likesectionToc">}}
4497
\ConfigureToc{likesubsection}
4499
{\HCode{<div class="likesubsectionToc">}}
4502
\ConfigureToc{likesubsubsection}
4504
{\HCode{<div class="likesubsubsectionToc">}}
4510
\Css{div.sectionToc { margin-left: 1em; text-indent: -1em; }}
4511
\Css{div.sectionToc span.mark { text-align:right; width: 1em;
4512
padding-right:0.25em; }}
4514
\Css{div.subsectionToc { margin-left:2.5em; text-indent: -2.5em; }}
4515
\Css{div.subsectionToc span.mark { text-align:right; width: 2.5em;
4516
padding-right:0.25em; }}
4517
\Css{div.likesubsectionToc { margin-left: 2.5em; text-indent: -1.5em; }}
4519
\Css{div.subsubsectionToc { margin-left: 4.5em; text-indent: -4.5em; }}
4520
\Css{div.subsubsectionToc span.mark { text-align:right; width: 4.5em;
4521
padding-right:0.25em; }}
4522
\Css{div.likesubsubsectionToc { margin-left: 4.5em; text-indent: -2em; }}
4532
%%%%%%%%%%%%%%%%%%%%%
4533
\subsection{subfigure}
4536
\<configure html4 subfigure\><<<
4537
\Configure{subfigure}
4538
{\ifvmode \IgnorePar \fi \EndP
4539
\HCode{<div class="subfigure"><table><tr><td align="left">}}
4540
{\ifvmode \IgnorePar \fi \EndP \HCode{</td></tr></table></div>}}
4541
\Configure{subfigurecaption}
4542
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="subfigcaption">}}
4544
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
4545
\Css{.subfigcaption {margin-top:1em;
4546
margin-left:1em; text-align:center;}}
4547
\Css{div.subfigure {text-align:center;}}
4550
%%%%%%%%%%%%%%%%%%%%%
4551
\subsection{Wrapfig}
4556
r R - the right side of the text
4558
l L - the left side of the text
4560
i I - the inside edge--near the binding (if ``[twoside]'' document)
4562
o O - the outside edge--far from the binding
4566
\<configure html4 wrapfig\><<<
4567
\Configure{wrapfloat}
4568
{\ifvmode\IgnorePar\EndP
4569
\HCode{<div class="wrapfig-\WFplace">}%
4570
\def\endWrap{\ifvmode\IgnorePar\fi\EndP\HCode{</div>}\par}%
4572
\HCode{<span class="wrapfig-\WFplace">}\bgroup
4573
|<config span caption|>%
4574
\def\endWrap{\egroup\HCode{</span>}}%
4578
\Css{.caption span.id{font-weight: bold;}}
4585
{float:right; text-align:left;
4586
margin-left:auto; margin-top:0.5em;}
4594
{float:left; text-align:left;
4595
margin-right:auto; margin-top:0.5em;}
4597
\Css{.wrapfig-r .caption td.content,
4598
.wrapfig-ri .caption td.content,
4599
.wrapfig-ir .caption td.content,
4600
.wrapfig-ro .caption td.content,
4601
.wrapfig-or .caption td.content,
4602
.wrapfig-l .caption td.content,
4603
.wrapfig-li .caption td.content,
4604
.wrapfig-il .caption td.content,
4605
.wrapfig-lo .caption td.content,
4606
.wrapfig-ol .caption td.content
4607
{white-space: normal; }}
4608
\Css{.wrapfig-r .caption,
4609
.wrapfig-ri .caption,
4610
.wrapfig-ir .caption,
4611
.wrapfig-ro .caption,
4612
.wrapfig-or .caption,
4613
.wrapfig-l .caption,
4614
.wrapfig-li .caption,
4615
.wrapfig-il .caption,
4616
.wrapfig-lo .caption,
4617
.wrapfig-ol .caption
4622
%%%%%%%%%%%%%%%%%%%%%%%
4623
\subsection{endfloat}
4624
%%%%%%%%%%%%%%%%%%%%%%%
4626
\<configure html4 endfloat\><<<
4627
\ConfigureEnv{figure}{}{}{}{}
4630
\<configure html4 floatflt\><<<
4631
\Configure{floatingfigure}
4632
{\HCode{<span class="floatingfigure-\ifoddpages r\else l\fi"
4633
style="width:\the\floatfltwidth">}%
4634
\bgroup \Configure{HtmlPar}{}{}{}{}%
4635
\ConfigureEnv{minipage}{\IgnorePar}{}{\IgnorePar}{}%
4636
|<config span caption|>%
4638
{\egroup \HCode{</span>}}
4639
\Css{.floatingfigure-r { float:right; text-align:left;
4640
margin-top:0.5em; margin-bottom:0.5em; margin-left:0em;}}
4641
\Css{.floatingfigure-l { float:left; text-align:left;
4642
margin-top:0.5em; margin-bottom:0.5em; margin-right:0em; }}
4643
\Css{.caption span.id{font-weight: bold;}}
4649
\section{Make Title}
4652
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4653
\subsection{book-report-article}
4654
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4656
\<thanks author date and\><<<
4657
thanks author date and>>>
4660
\Configure{maketitle}
4661
{\ifvmode \IgnorePar\fi \EndP |<title for TITLE|>%
4662
\HCode{<div class="maketitle">}}
4663
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
4664
{\NoFonts\IgnorePar\HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar}
4665
{\HCode{</h2>}\IgnoreIndent\EndNoFonts}
4666
\Css{div.maketitle {text-align:center;}}
4667
\Css{h2.titleHead{text-align:center;}}
4668
\Css{div.maketitle{ margin-bottom: 2em; }}
4669
|<maketitle footnote|>
4674
\<config thanks author date and\><<<
4675
\Configure{|<thanks author date and|>}
4676
{\ifvmode \IgnorePar\fi\EndP \HCode{<div class="thanks">}}
4677
{\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
4678
{\ifvmode \IgnorePar\fi\EndP \HCode{<div class="author" >}}
4679
{\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
4680
{\ifvmode \IgnorePar\fi\EndP \HCode{<div class="date" >}}
4681
{\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
4682
{\HCode{<br class="and"\xml:empty>}}
4683
{\HCode{<br\xml:empty>}}
4684
|<thank for thanks|>
4685
\Css{div.author, div.date {text-align:center;}}
4686
\Css{div.thanks{text-align:left; margin-left:10\%; font-size:80\%;
4687
font-style:italic; }}
4688
\Css{div.author{white-space: nowrap;}}
4691
\<thank for thanks\><<<
4693
{|<thank mark sup|>\Link{tk-\the\c@footnote}{}}
4694
{\EndLink |<thank mark end sup|>}
4695
{\HCode{<br />}\protect\Link{}{tk-\the\c@footnote}\protect
4696
\EndLink |<thank mark sup|>}
4697
{|<thank mark end sup|>} {}
4700
\<thanks for thanks p\><<<
4702
{|<thank mark sup|>\Link{tk-\the\c@footnote}{\ifx
4703
\footnote\thanks kt-\the\c@footnote\fi}}
4704
{\EndLink |<thank mark end sup|>}
4705
{\HCode{<p>}\protect\Link{\ifx \footnote\thanks kt-\the\c@footnote
4706
\fi}{tk-\the\c@footnote}|<thank mark sup|>}
4707
{|<thank mark end sup|>\protect\EndLink}
4711
\<thanks for thanks EndP\><<<
4713
{\HCode{<sup>}\Link{tk-\the\c@footnote}{\ifx
4714
\footnote\thanks kt-\the\c@footnote\fi}}
4715
{\EndLink\HCode{</sup>}}
4716
{\protect\Link{\ifx \footnote\thanks kt-\the\c@footnote
4717
\fi}{tk-\the\c@footnote}\HCode{<sup>}}
4718
{\HCode{</sup>}\protect\EndLink}
4719
{\ifvmode\IgnorePar\fi\EndP}
4723
\<end-thanks author date and\><<<
4724
\Configure{|<thanks author date and|>}
4725
{\SaveEndP\global\setbox\fn:box=\vtop\bgroup\ShowPar
4726
\ifvoid\fn:box\else \csname unvbox\endcsname\fn:box\fi}
4727
{\EndP\egroup\RecallEndP }
4728
{\HCode{<div class="author">}}{\HCode{</div>}}
4729
{\HCode{<div class="date" >}}{\HCode{</div>}}
4730
{\HCode{<br class="and"\xml:empty>}}
4731
{\HCode{<br\xml:empty>}}
4732
|<thanks for thanks p|>
4733
\Css{div.author, div.date {text-align:center;}}
4734
\Css{div.thanks{text-align:left; margin-left:10\%; font-size:80\%;
4735
font-style:italic; }}
4739
%%%%%%%%%%%%%%%%%%%%
4741
%%%%%%%%%%%%%%%%%%%%
4743
\<revtex title page\><<<
4744
\ConfigureEnv{abstract}{\:xhtml{\IgnorePar\EndP}\HCode
4745
{<\tbl:XV{abstract}><tr><td\Hnewline>}}
4746
{\ifvmode \IgnorePar\fi \EndP\HCode{</td></tr></table>}}{}{}
4747
\Css{.abstract p {margin-left:5\%; margin-right:5\%;}}
4749
\Configure{maketitle}
4750
{\ifvmode \IgnorePar\fi \EndP |<title for TITLE 2|>%
4751
\HCode{<div class="maketitle">}}
4753
{\NoFonts\IgnorePar\HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar}
4754
{\HCode{</h2>}\IgnoreIndent\EndNoFonts}
4755
\Css{h2.titleHead{text-align:center;}}
4756
\Css{div.maketitle{ margin-bottom: 2em; text-align:center; }}
4757
|<revtex maketitle footnote|>
4759
{\ifvmode \IgnorePar\fi\EndP \HCode{<div class="address">}}
4760
{\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
4767
\<revtex end-thanks author date and\><<<
4768
\Configure{thanks author date and}
4769
{\SaveEndP\global\setbox\fn:box=\vtop\bgroup\ShowPar
4770
\ifvoid\fn:box\else \csname unvbox\endcsname\fn:box\fi}
4771
{\EndP\egroup\RecallEndP }
4772
{\HCode{<div class="author" >}}{\HCode{</div>}}
4773
{\HCode{<div class="date" >}}{\HCode{</div>}}
4774
{\HCode{<br class="and"\xml:empty>}}
4775
{\HCode{<br\xml:empty>}}
4776
|<thanks for thanks p|>
4777
\Css{div.author, div.date {text-align:center;}}
4778
\Css{div.thanks{text-align:left; margin-left:10\%; font-size:80\%;
4779
font-style:italic; }}
4782
\<revtex config thanks author date and\><<<
4783
\Configure{thanks author date and}
4784
{\ifvmode \IgnorePar\fi\EndP \HCode{<div class="thanks">}}
4785
{\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
4786
{\ifvmode \IgnorePar\fi\EndP \HCode{<div class="author" >}}
4787
{\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
4788
{\HCode{<div class="date" >}}
4789
{\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
4790
{\HCode{<br class="and"\xml:empty>}}
4791
{\HCode{<br\xml:empty>}}
4792
|<thank for thanks|>
4793
\Css{div.author, div.date {text-align:center;}}
4794
\Css{div.thanks{text-align:left; margin-left:10\%; font-size:80\%;
4795
font-style:italic; }}
4796
\Css{div.author{white-space: nowrap;}}
4805
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4806
\subsection{TUG LaTeX}
4807
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4809
\<tug proc maketitle\><<<
4810
\Configure{maketitle}
4811
{\ifvmode \IgnorePar\fi \EndP |<title for TITLE|>%
4813
\HCode{<div class="maketitle">}}
4814
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
4815
{\NoFonts\IgnorePar\EndP
4816
\HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar}
4817
{\HCode{</h2>}\IgnoreIndent\EndNoFonts}
4821
\<tug boat maketitle\><<<
4822
\Configure{maketitle}
4823
{\rtitlex \ifvmode \IgnorePar\fi \EndP
4824
\def\textSMC##1{##1}%
4825
|<title for TITLE|>%
4827
\HCode{<div class="maketitle">}}
4828
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
4829
{\NoFonts\IgnorePar\EndP
4830
\HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar}
4831
{\HCode{</h2>}\IgnoreIndent\EndNoFonts}
4842
\<configure html4 lncse\><<<
4843
\Configure{institute}{}{}{\HCode{<br />}}
4844
\Configure{maketitle}
4845
{\ifvmode \IgnorePar\fi \EndP |<title for TITLE|>%
4846
\HCode{<div class="maketitle">}}
4847
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
4848
{\NoFonts\IgnorePar\HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar}
4849
{\HCode{</h2>}\IgnoreIndent\EndNoFonts}
4850
\Css{h2.titleHead{text-align:left;}}
4851
\:CheckOption{fn-in}\if:Option
4852
\Configure{thanks author date and}
4853
{\SaveEndP\global\setbox\fn:box=\vtop\bgroup\ShowPar
4854
\ifvoid\fn:box\else \csname unvbox\endcsname\fn:box\fi}
4855
{\EndP\egroup\RecallEndP }
4856
{\HCode{<div class="author" >}}{\HCode{</div>}}
4857
{\HCode{<div class="date" >}}{\HCode{</div>}}
4858
{\HCode{<br class="and"\xml:empty>}}
4859
{\HCode{<br\xml:empty>}}
4861
\Configure{thanks author date and}
4862
{\ifvmode \IgnorePar\fi\EndP \HCode{<div class="thanks">}}
4863
{\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
4864
{\ifvmode \IgnorePar\fi\EndP \HCode{<div class="author">}}
4865
{\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
4866
{\HCode{<div class="date" >}}
4867
{\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
4868
{\HCode{<br class="and"\xml:empty>}}
4869
{\HCode{<br\xml:empty>}}
4874
%%%%%%%%%%%%%%%%%%%%
4875
\subsection{Prosper}
4876
%%%%%%%%%%%%%%%%%%%%
4879
\<prosper maketitle\><<<
4880
\Configure{maketitle}
4881
{\ifvmode \IgnorePar\fi \EndP
4882
{\def\@title{\@Title}|<title for TITLE|>}%
4883
\HCode{<div class="maketitle">}}
4884
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par}
4885
{\NoFonts\IgnorePar\HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar}
4886
{\HCode{</h2>}\IgnoreIndent\EndNoFonts}
4898
\<ams art,proc,book\><<<
4899
\Configure{translators}
4900
{\par\IgnorePar\EndP \HCode{<div class="translators">}\par\ShowPar}
4901
{\ifvmode \IgnorePar \fi\EndP \HCode{</div>}}
4902
{\HCode{<span class="translator">}}
4907
\Css{div.translators {text-align:right; margin-bottom:0.7em;}}
4912
\<ams art,proc,book\><<<
4913
\Configure{keywords}
4914
{\par\IgnorePar\EndP \HCode{<div class="keywords">}\par\ShowPar}
4915
{\ifvmode \IgnorePar \fi\EndP\HCode{</div>}}
4916
\Configure{subjclass}
4917
{\par\IgnorePar\HCode{<div class="subjclass">}\par\ShowPar}
4918
{\ifvmode \IgnorePar \fi\EndP\HCode{</div>}}
4919
\Configure{@maketitle}
4920
{\Tg<div class="submaketitle">\IgnoreIndent}
4921
{\ifvmode \IgnorePar \fi\EndP\Tg</div>}
4922
\Css{div.submaketitle{ text-align:left; margin-top:2em;
4923
border-top: 1px solid black;
4924
border-bottom: 1px solid black;
4925
margin-left:5\%; margin-right:5\%;
4926
font-size:80\%; line-height: 95\%;}}
4927
\Css{div.submaketitle div {margin-top:0.5em; margin-bottom:0.5em; }}
4928
\Css{div.submaketitle p { margin-top:0em; margin-bottom:0em; }}
4931
\<ams art,proc,book\><<<
4932
\ConfigureEnv{abstract}
4933
{\ifvmode \IgnorePar\fi \EndP}
4934
{\ifvmode \IgnorePar\fi \EndP}
4936
\ConfigureList{abstract}
4937
{\ifvmode \IgnorePar\fi \EndP \Tg<div class="abstract">\ShowPar}
4938
{\ifvmode \IgnorePar\fi \EndP\Tg</div>}
4939
{\ShowPar\par\HCode{<span class="title">}}
4941
\Configure{setabstract}
4942
{\ifvmode \IgnorePar \fi \EndP}
4943
{\ifvmode \IgnorePar \fi \EndP}
4944
\Css{div.abstract{ margin-top: 2em; text-align:left;
4945
margin-right:15pt; margin-left:15pt; }}
4948
\<ams art,proc,book\><<<
4949
\Configure{addresses}
4950
{\ifvmode \IgnorePar\fi \EndP
4951
\HCode{<div class="addresses">}\ShowPar}
4952
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
4954
{\HCode{<span class="address-title">}}
4955
{\ifvmode \IgnorePar\fi \HCode{</span><span class="address">}}
4957
\Configure{curraddr}
4958
{\HCode{<span class="curraddr-title">}}
4959
{\ifvmode \IgnorePar\fi \HCode{</span><span class="curraddr">}}
4962
{\HCode{<span class="email-title">}}
4963
{\ifvmode \IgnorePar\fi \HCode{</span><span class="email">}}
4966
{\HCode{<span class="urladdr-title">}}
4967
{\ifvmode \IgnorePar\fi \HCode{</span><span class="urladdr">}}
4969
\Css{div.addresses p {margin-top:0em; margin-bottom:0em; }}
4973
\<ams art,proc,book\><<<
4974
\Configure{maketitle}
4975
{\ifvmode \IgnorePar\fi \EndP |<ams title for TITLE|>%
4976
\HCode{<div class="maketitle">}%
4977
\ConfigureEnv{center}
4978
{\ifvmode \IgnorePar\fi} {\ifvmode \IgnorePar\fi}
4979
{\ifvmode \IgnorePar\fi} {\ifvmode \IgnorePar\fi}%
4980
|<footnote for ams title|>%
4982
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
4983
{\NoFonts\IgnorePar \EndP
4984
\HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar
4985
\bgroup \Configure{HtmlPar}{}{}{}{}}
4986
{\egroup \HCode{</h2>}\IgnoreIndent\EndNoFonts}
4987
\Css{h2.titleHead{text-align:center;}}
4988
\Css{div.maketitle{ margin-bottom: 2em; text-align:center; }}
4995
\Configure{|<thanks author date and|>}
4996
{\par\IgnorePar\EndP \HCode{<div class="thanks">}\par\ShowPar}
4997
{\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
4998
{\ifvmode \IgnorePar\fi\EndP
4999
\HCode{<div class="authors"><span class="author">}}
5000
{\ifvmode \IgnorePar\fi\EndP \HCode{</span></div>}}
5001
{\par\IgnorePar\EndP \HCode{<div class="date">}\par\ShowPar}
5002
{\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
5003
{\lowercase{\HCode{</span><span class="and">}}and~%
5004
\lowercase{\HCode{</span><span>}}}
5005
{\HCode{<br\xml:empty>}}
5009
\Configure{|<thanks author date and|>}
5010
{\par\IgnorePar\EndP \HCode{<div class="thanks">}\par\ShowPar}
5011
{\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
5012
{\ifvmode \IgnorePar\fi\EndP
5013
\HCode{<div class="authors"><div class="author">}}
5014
{\ifvmode \IgnorePar\fi\EndP \HCode{</div></div>}}
5015
{\ifvmode \IgnorePar\fi\EndP \HCode{<div class="date">}}
5016
{\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
5017
{\lowercase{\HCode{</div><div>}}}
5018
{\HCode{<br\xml:empty>}}
5019
\Css{div.addresses{ margin-top:0.5em; }}
5022
\<amsdtx maketitle\><<<
5023
\Configure{maketitle}
5024
{\ifvmode \IgnorePar\fi \EndP |<title for TITLE|>%
5025
\HCode{<div class="maketitle">}}
5027
{\NoFonts\HCode{<h2 class="titleHead"\a:LRdir>}}
5028
{\HCode{</h2>}\EndNoFonts}
5029
\Css{div.maketitle {text-align:center;}}
5036
\<configure html4 llncs\><<<
5038
{\HCode{<span class="email">}}
5040
\Configure{institute}
5041
{\HCode{<div class="institute">}}
5051
\<configure aa 3.2/4.0t\><<<
5052
\Configure{subtitle institute}
5053
{\HCode{<br\xml:empty><span class="subtitle">}}{\HCode{</span>}}
5054
{\HCode{<div class="institute">}}{\HCode{</div>}}
5055
{\Tg<sup>}{\Tg</sup>}
5056
{\HCode{<br\xml:empty>}}
5058
\Configure{maketitle}
5059
{\ifvmode \IgnorePar\fi \EndP
5060
\HCode{<div align="center" >}}
5062
{\NoFonts\IgnorePar \HCode{<h2 class="maketitleHead"\a:LRdir>}\IgnorePar}
5063
{\HCode{</h2>}\IgnoreIndent\EndNoFonts}
5064
\Configure{|<thanks author date and|>} {}{}
5065
{\HCode{<div class="author" align="center">}}{\HCode{</div>}}
5066
{\HCode{<div class="date" align="center">}}{\HCode{</div>}}
5067
{\SPAN:{and}and\EndSPAN:}
5068
{\HCode{<br\xml:empty>}}
5069
\Css{div.maketitle {text-align:center;}}
5072
\<configure aa 3.2/4.0t\><<<
5073
\ConfigureEnv{abstract}
5074
{\:xhtml{\IgnorePar\EndP}\HCode {<div class="abstract">}}
5075
{\HCode{</div>}}{}{}
5077
\Css{div.abstract{text-align:center;}}
5079
\Configure{makeheadbox}
5080
{\HCode{<table class="makeheadbox"
5081
width="100\%"><tr><td><table><tr><td>}}
5082
{\HCode{</td></tr><tr><td>}}
5083
{\HCode{</td></tr><tr><td>}}
5084
{\HCode{</td></tr></table></td><td class="AALogo" width="10\%">}}
5085
{\HCode{</td></tr></table>}}
5086
\Css{.AALogo{font-size:120\%;font-weight: bold; text-align:right;}}
5094
\<mwcls configs\><<<
5095
\Configure{maketitle}
5096
{\ifvmode \IgnorePar\fi \EndP |<title for TITLE 2|>%
5097
\HCode{<div class="maketitle">}}
5098
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
5099
{\NoFonts\IgnorePar\HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar}
5100
{\HCode{</h2>}\IgnoreIndent\EndNoFonts}
5101
\Css{div.maketitle {text-align:center;}}
5102
\Css{h2.titleHead{text-align:center;}}
5103
\Css{div.maketitle{ margin-bottom: 2em; }}
5104
\:CheckOption{fn-in}\if:Option
5105
\Configure{thanks author date and}
5106
{\SaveEndP\global\setbox\fn:box=\vtop\bgroup\ShowPar
5107
\ifvoid\fn:box\else \csname unvbox\endcsname\fn:box\fi}
5108
{\EndP\egroup\RecallEndP }
5109
{\HCode{<div class="author">}}{\HCode{</div>}}
5110
{\HCode{<div class="date" >}}{\HCode{</div>}}
5111
{\HCode{<br class="and"\xml:empty>}}
5112
{\HCode{<br\xml:empty>}}
5113
|<thanks for thanks p|>
5114
\Css{div.author, div.date {text-align:center;}}
5115
\Css{div.thanks{text-align:left; margin-left:10\%; font-size:80\%;
5116
font-style:italic; }}
5119
\Configure{thanks author date and}
5120
{\ifvmode \IgnorePar\fi\EndP \HCode{<div class="thanks">}}
5121
{\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
5122
{\ifvmode \IgnorePar\fi\EndP \HCode{<div class="author" >}}
5123
{\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
5124
{\ifvmode \IgnorePar\fi\EndP \HCode{<div class="date" >}}
5125
{\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
5126
{\HCode{<br class="and"\xml:empty>}}
5127
{\HCode{<br\xml:empty>}}
5128
|<thank for thanks|>
5129
\Css{div.author, div.date {text-align:center;}}
5130
\Css{div.thanks{text-align:left; margin-left:10\%; font-size:80\%;
5131
font-style:italic; }}
5132
\Css{div.author{white-space: nowrap;}}
5142
\<configure html4 scrbook\><<<
5143
\Configure{maketitle}
5144
{\ifvmode \IgnorePar\fi \EndP |<title for TITLE 3|>%
5145
\HCode{<div class="maketitle">}}
5148
\NoFonts\HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar}
5149
{\HCode{</h2>}\IgnoreIndent\EndNoFonts}
5150
\Css{h2.titleHead{text-align:center;}}
5151
\Css{div.maketitle{ margin-bottom: 2em; text-align:center; }}
5152
|<maketitle footnote|>
5157
\<configure html4 scrreprt\><<<
5158
\Configure{maketitle}
5159
{\ifvmode \IgnorePar\fi \EndP |<title for TITLE 3|>%%
5160
\HCode{<div class="maketitle">}}
5163
\NoFonts\HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar}
5164
{\HCode{</h2>}\IgnoreIndent\EndNoFonts}
5165
\Css{h2.titleHead{text-align:center;}}
5166
\Css{div.maketitle{ margin-bottom: 2em; text-align:center; }}
5167
|<scrreprt maketitle footnote|>
5172
\<scr title page\><<<
5173
\ConfigureEnv{titlepage}
5175
\ifvmode \IgnorePar\fi \EndP
5176
\HCode{<div class="titlepage">}%
5177
\ConfigureEnv{center}{}{}{}{}}
5178
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}%
5181
\Configure{dedication}
5182
{\ifvmode \IgnorePar\fi\EndP \HCode{<div class="dedication" >}}
5183
{\ifvmode \IgnorePar\fi\EndP \HCode{</div>}}
5184
\Css{div.dedication {text-align:center;}}
5193
\<configure html4 acm-proc-article-sp\><<<
5194
\Configure{toappear}
5195
{\ifvmode \IgnorePar \fi \EndP \HCode{<div class="toappear">}}
5196
{\ifvmode \IgnorePar \fi \EndP \HCode{</div>}}
5197
\Configure{boilerplate}
5198
{\HCode{<div class="boilerplate">}} {\HCode{</div>}}
5200
{\HCode{<div class="conf">}} {\HCode{</div>}}
5201
\Configure{confinfo}
5202
{\HCode{<div class="confinfo">}} {\HCode{</div>}}
5203
\Configure{copyrightetc}
5204
{\HCode{<div class="copyrightetc">}} {\HCode{</div>}}
5207
\<configure html4 acm-proc-article-sp\><<<
5209
{\IgnorePar\HCode{<div class="thanks">}\IgnorePar}
5210
{\ifvmode \IgnorePar \fi \EndP \HCode{</div>}\IgnoreIndent}
5211
\Css{div.thanks{text-align:left; margin-top:1em; margin-bottom:1em;}}
5212
\Configure{subtitle}
5213
{\ifvmode \IgnorePar \fi \EndP
5214
\HCode{<h4 class="subtitleHead"\a:LRdir>}\IgnorePar}
5215
{\ifvmode \IgnorePar \fi \EndP \HCode{</h4>}\IgnoreIndent}
5216
\Css{.subtitleHead{text-align:center;}}
5218
{\ifvmode \IgnorePar \fi \EndP
5219
\HCode{<h3 class="titleHead"\a:LRdir>}\IgnorePar}
5220
{\ifvmode \IgnorePar \fi \EndP \HCode{</h3>}\IgnoreIndent}
5221
\Css{.titleHead{text-align:center;}}
5222
\Configure{email}{\Link[mailto:#1]{}{}\IgnorePar\o:email:{#1}\EndLink}
5223
\Configure{@TITLE}{\let\titlenote=\:gobble}
5224
\Configure{maketitle}
5225
{\ifvmode \IgnorePar\fi \EndP |<title for TITLE|>}
5228
{\ifvmode \IgnorePar \fi \EndP
5229
\HCode{<div class="author">}\ShowPar\par}
5230
{\ifvmode \IgnorePar \fi \EndP \HCode{</div>}\IgnoreIndent}
5231
\Css{div.author{text-align:center; margin-top:1em; margin-bottom:1em;}}
5239
\<apa maketitle\><<<
5241
{\HCode{<div class="affil">}\bgroup
5242
|<apa maketitle br cr|>%
5244
{\egroup \HCode{</div>}}
5245
\Configure{maketitle}
5246
{\ifvmode \IgnorePar\fi \EndP |<title for TITLE|>%
5247
\HCode{<div class="maketitle">}\bgroup
5248
|<apa maketitle no-br cr|>%
5250
{\egroup\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
5251
{\apa:title} {\apa:endtitle}
5252
\def\apa:title{\NoFonts\IgnorePar
5253
\HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar
5254
\global\let\apa:title=\empty }
5255
\def\apa:endtitle{\HCode{</h2>}\IgnoreIndent\EndNoFonts
5256
\global\let\apa:endtitle=\empty }
5260
\<apa maketitle br cr\><<<
5261
\Configure{centercr}
5262
{\ht:special{t4ht=<br />}}
5263
{\ht:everypar{\ht:everypar{\HtmlPar}}}
5266
\<apa maketitle no-br cr\><<<
5267
\Configure{centercr}
5268
{} {\ht:everypar{\ht:everypar{\HtmlPar}}}%
5278
\<title for TITLE\><<<
5279
{\Configure{maketitle}{}{}{}{}%
5280
\a:NoSection |<disable latex fonts|>\let\thanks|=\:gobble
5281
\let\\|=\space \def\TeX{TeX}%
5282
\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
5283
\def\footnotemark[##1]{}%
5284
\Tag{TITLE+}{\@title}}
5287
Old latex files need \verb'\no:fonts', but not new ones.---wrong, as far as writing to toc in 0.0?
5289
\<ams title for TITLE\><<<
5290
{\Configure{maketitle}{}{}{}{}%
5291
\a:NoSection |<disable latex fonts|>\let\thanks|=\:gobble
5292
\let\\|=\space \def\TeX{TeX}%
5293
\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
5294
\def\footnotemark[##1]{}%
5295
\Tag{TITLE+}{\shorttitle}}
5300
\<disable latex fonts\><<<
5301
\let\leavevmode|=\empty \let\not@math@alphabet|=\:gobbleII
5302
\def\text@command##1{##1}\let\selectfont|=\empty
5303
\def\check@icl ##1\check@icr{}%
5306
\<title for TITLE 2\><<<
5307
{\Configure{maketitle}{}{}{}{}%
5308
\a:NoSection \let\leavevmode\empty \let\not@math@alphabet\:gobbleII
5309
\def\text@command##1{##1}\let\selectfont\empty
5310
\def\check@icl ##1\check@icr{}%
5312
\let\\\space \def\TeX{TeX}%
5313
\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
5314
\def\footnotemark[##1]{}%
5315
\def\a:ttl##1##2//{##1//}%
5318
\let \centering=\empty
5319
\def \ignorespaces##1\vskip##2//{##1}%
5320
\Tag{TITLE+}{\@title//}%
5324
\<title for TITLE 3\><<<
5325
{\Configure{maketitle}{}{}{}{}%
5326
\a:NoSection \let\leavevmode\empty \let\not@math@alphabet\:gobbleII
5327
\def\text@command##1{##1}\let\selectfont\empty
5328
\def\check@icl ##1\check@icr{}%
5330
\let\\\space \def\TeX{TeX}%
5331
\def\gobble:font##1##2{##2}\:TITLE: \no:fonts
5332
\Tag{TITLE+}{\@title}}%
5342
\Configure{abstract}
5343
{\HCode{<div class="abstract">}\bgroup
5344
|<apa maketitle br cr|>%
5346
{\egroup \HCode{</div>}}
5347
\Css{div.abstract{text-align:left; margin-left:10\%; margin-top:1em; }}
5361
Don't put \verb'\:xhtml{\IgnorePar\EndP}' on the following; \verb'\PicDisplay'
5366
\<configure html4-math latex\><<<
5369
\protect\nested:math
5371
$$\everymath{}\everydisplay{}}
5372
{$$\EndPicDisplay \egroup |<try inline par|>}
5373
\Configure{()}{\bgroup
5374
\protect\nested:math
5377
{$ \protect\EndPicMath \egroup}
5378
\def\nested:math{|<nested pic math|>}
5381
The above should be sensitive to cases like the following one.
5384
\[ \parbox[t]{2in} { \[.\] }\]
5388
\<nested pic math\><<<
5389
\def\[{\bgroup \def\]{$$\egroup}$$}%
5390
\def\({\bgroup \def\){$\egroup}$}%
5396
\<configure html4-math latex\><<<
5397
\Configure{@TITLE}{\Configure{()}{$}{$}}
5400
\<configure html4-math th4\><<<
5401
\:CheckOption{th4}\if:Option
5403
{\PicDisplay $$\everymath{}\everydisplay{}}
5404
{$$\EndPicDisplay |<try inline par|>}
5405
\Configure{()}{\PicMath$}{$\EndPicMath}
5412
\<picmath plain,latex\><<<
5413
\Configure{$$}{\:xhtml{\EndP}\PicDisplay}{\EndPicDisplay}
5414
{\everymath{}\everydisplay{}}
5415
|<pic math formulas|>
5416
|<pic math + tex formulas|>
5419
\<pic math formulas\><<<
5420
\:CheckOption{pic-m} \if:Option
5421
\Configure{$}{\PicMath}{\EndPicMath}{}
5423
\Log:Note{for pictorial $...$ environments,
5424
use the command line option `pic-m' (not recommended!!)}
5428
\<pic math + tex formulas\><<<
5429
\:CheckOption{pic-m+} \if:Option
5430
\def\Alt:Math#1${\tmp:toks{$#1$}%
5431
\Picture*[|<pic math alt|>]{ align="middle"}$#1$\EndPicture$}
5432
\def\Alt:Display#1$${\tmp:toks{$$#1$$}%
5433
\Picture*[|<pic math alt|>]{}$$#1$$\EndPicture$$}
5434
\def\Alt:lMath#1\){\tmp:toks{\(#1\)}%
5435
\Picture*[|<pic math alt|>]{ align="middle"}$#1$\EndPicture}
5436
\def\Alt:lDisplay#1\]{\tmp:toks{\[#1\]}%
5437
\Picture*[|<pic math alt|>]{}$$#1$$\EndPicture}
5438
\Configure{$}{}{}{\expandafter\Alt:Math}
5439
\Configure{$$}{}{}{\expandafter\Alt:Display}
5440
% \Configure{()}{\Alt:lMath}{}
5441
% \Configure{[]}{\Alt:lDisplay}{}
5443
\Log:Note{for pictorial $...$ and
5444
$$...$$ environments with latex alt,
5445
use the command line option `pic-m+' (not safe!!)}
5450
\<configure html4 latex\><<<
5451
\def\PictureAltex{\afterassignment\set:Img\tmp:toks}
5452
\def\set:Img{\Picture*[|<pic math alt|>]{}\the\tmp:toks\EndPicture}
5456
\special{t4ht*=&&}%
5457
\special{t4ht*=""}%
5458
\special{t4ht*=<<}%
5459
\special{t4ht*=>>}%
5460
\HCode{\the\tmp:toks}%
5468
\section{Cross References}
5471
\<configure html4 latex\><<<
5473
{\HCode{<span class="pageref">}}
5484
\<configure html4 latex\><<<
5485
\Configure{newtheorem}
5486
{\ifvmode\IgnorePar\fi\EndP
5487
\HCode{<div class="newtheorem">}\par\noindent\HCode{<span
5490
{\:xhtml{\EndP}\IgnorePar\HCode{</div>}\ShowPar\par}
5491
\Css{div.newtheorem { margin-bottom: 2em; margin-top: 2em;}}
5496
{\ifvmode\IgnorePar\fi\EndP
5497
\HCode{<div class="proof">}\par\noindent\HCode{<span
5500
{\:xhtml{\EndP}\IgnorePar\HCode{</div>}\ShowPar\par}
5501
\Css{div.proof { margin-bottom: 2em; margin-top: 2em;}}
5508
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5510
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5514
\section{Javascript: Pop-ups On Mouse Over}
5519
\subsection{Background}
5523
There are 6 supporting dvi variations of the
5524
`CopyTo to-file op group'
5528
\item[From] Start copying (at current address)
5529
\item[Until] End copying (at current address)
5530
\item[Skip] Start skipping (from current address)
5531
\item[Cont] End skipping (at current-address)
5532
\item[Addr integer-label] Associate current
5533
address with the integer-label of the given group
5534
\item[Set integer-label]
5535
Replace the `current address' in the following Skip/Cont (and
5536
From/Until ?) commands with the address associated to the
5537
integer-label of the given group by an Addr command
5543
\ht:special {t4ht@DCopyTo: \jobname-js.tex From bib }
5545
\ht:special {t4ht@DCopyTo: \jobname-js.tex Skip bib }
5547
\ht:special {t4ht@DCopyTo: \jobname-js.tex Addr1 bib }
5549
\ht:special {t4ht@DCopyTo: \jobname-js.tex Addr2 bib }
5551
\ht:special {t4ht@DCopyTo: \jobname-js.tex Set1 bib }
5552
\ht:special {t4ht@DCopyTo: \jobname-js.tex Cont bib }
5553
\ht:special {t4ht@DCopyTo: \jobname-js.tex Set2 bib }
5554
\ht:special {t4ht@DCopyTo: \jobname-js.tex Skip bib }
5556
\ht:special {t4ht@DCopyTo: \jobname-js.tex Until bib }
5560
produces the string ` B1 B3 '.
5564
\subsection{End Points of the Jobname-js.tex File}
5575
\<onmouseover utilities\><<<
5577
\global\let\js:on=\relax
5580
\HCode{\string\def\string\jstoday{\:today} }%
5581
\HCode{\string\input\space onmouseover.4ht }%
5582
\:CheckOption{trace-onmo} \if:Option
5583
\HCode{<js trace="on">}%
5585
\Log:Note{for mouseover tracing of
5586
compilation, use the command line option `trace-onmo'}
5596
\csname a:mouseover-Needs\endcsname
5597
\Css{.js {text-indent:0; background-color:aqua; color:black;
5598
border:solid 1px black; margin:2pt; width:99\%;}}
5599
\Css{.js p, .|<js p.bibitem css|>, |<js p.bibitem-p css|> {text-indent:0;
5600
background-color:aqua; color:black; margin:2pt;}}
5601
\AtEndDocument{{\HCode{<!--}%
5609
Was \verb'\Css{.js p {margin:0; text-indent:0;}}' but javascript under
5610
netscape had problems dealing with 0 left margins.
5616
\ht:special {t4ht@DCopyTo: \jobname-js.tex From js }%
5620
\ht:special {t4ht@DCopyTo: \jobname-js.tex Until js }%
5628
\subsection{Configuration Commands}
5634
\<onmouseover utilities\><<<
5635
\HAssign\MO:script = 0
5636
\NewConfigure{mouseover-script}[1]{\bgroup
5637
\gHAdvance\MO:script by 1
5638
\expandafter\NextFile \expandafter{\jobname\MO:script.tmp}%
5639
\HPage{}\IgnorePar |<js From var|>%
5640
\HCode{<\if !#1!\else mouseover-script\fi>#1\if !#1!\else =\fi}%
5641
\everyvbox{\IgnorePar\everyvbox{}\aftergroup\end:movar}%
5642
\def\end:movar{\everyvbox{}\HCode
5643
{</\if !#1!\else mouseover-script\fi>}%
5644
|<js Until var|>\EndHPage{}%
5649
\<ol-hauto mouseover-script\><<<
5650
\Configure {mouseover-script}{}{\HCode{ol\string_hauto = 1;}}%
5655
\ht:special {t4ht@DCopyTo: \jobname-js.tex From var }%
5659
\ht:special {t4ht@DCopyTo: \jobname-js.tex Until var }%
5665
\<onmouseover utilities\><<<
5666
\expandafter\def\csname c:mouseover-vars:\endcsname#1#2{%
5667
\expandafter\def\csname mouseover-#1-init\endcsname##1{}%
5668
\def\:tempc##1{\expandafter\append:defI\csname
5669
mouseover-#1-init\endcsname{tex4ht.##1=tex4ht.\expandafter\jsHash
5670
\expandafter{\expandafter v####1.##1};}}%
5672
\def\Mo:vars#1,#2<>{%
5674
\expandafter\def\csname mo#1\endcsname##1{%
5676
\ht:special{t4ht@DCopyTo: \jobname-js.tex From #1 }%
5677
\HCode{<#1-var>\jsHash{v##1.#1}=}%
5678
\ht:special{t4ht@DCopyTo: \jobname-js.tex Skip #1 }%
5680
\ht:special{t4ht@DCopyTo: \jobname-js.tex Cont #1 }%
5682
\expandafter\def\csname endmo#1\endcsname{%
5683
\ht:special{t4ht@DCopyTo: \jobname-js.tex Skip #1 }%
5685
\ht:special{t4ht@DCopyTo: \jobname-js.tex Cont #1 }%
5687
\ht:special{t4ht@DCopyTo: \jobname-js.tex Until #1 }%
5692
\if !#2!\else \expand:after{\Mo:vars#2<>}\fi
5700
\subsection{Footnotes Contributions}
5707
\ht:special {t4ht@DCopyTo: \jobname-js.tex From fn }%
5711
\ht:special {t4ht@DCopyTo: \jobname-js.tex Skip fn }%
5715
\ht:special {t4ht@DCopyTo: \jobname-js.tex Cont fn }%
5719
\ht:special {t4ht@DCopyTo: \jobname-js.tex Until fn }%
5725
%%%%%%%%%%%%%%%%%%%%%%%%%%%
5726
\subsection{Overlib}
5727
%%%%%%%%%%%%%%%%%%%%%%%%%%%
5729
\Link[http://www.egroups.com/group/overlib]{}{}egroup for overlib\EndLink,
5730
\Link[http://www.bosrup.com/web/overlib/]{}{}home over overlib\EndLink
5734
\HCode{<div id="overDiv"
5735
style="position:absolute;
5736
visibility:hidden; z-index:1000;"></div>
5741
\<onmouseover @HEAD\><<<
5743
{\HCode{%|% natural place for <overlib src>, but netscape 4.7...|%
5744
<script type="text/javascript"
5745
src="\jobname-js.js"></script>\Hnewline}}
5746
|<onmouseover utilities|>
5747
\:CheckOption{info} \if:Option
5754
\Log:Note{Option `mouseover' is powered
5755
by the overlib.js utility of Erik Bosrup
5756
(http://www.bosrup.com/web/overlib/).}
5757
\immediate\write-1{}
5758
\immediate\write-1{The option requires two compilations of
5760
\immediate\write-1{}
5761
\immediate\write-1{Use \string\Configure
5762
{mouseover-XXX}{...} to introduce arguments into the overlib
5763
function call, and code into a preceding script. XXX stands for
5764
`cite' or `footnote', the default body is at tex4ht.body,
5765
and the default caption at tex4ht.caption. An empty parameter
5766
requests no sensitivity of mouse over the specified type of entries.}
5767
\immediate\write-1{}
5768
\immediate\write-1{The variant \string\Configure
5769
{mouseover-XXX}[labels]{...} of the above command restricts the
5770
outcome just to the listed labels (i.e., the values listed
5771
in tex4ht.caption).}
5772
\immediate\write-1{}
5773
\immediate\write-1{The \string\Configure{mouseover-script }{variable-name}
5774
{javascript-code} command may be used to introduce code into the
5775
javascript script, as a content of a global variable when a name is
5776
given and as a bare code when the name is not given. To be referenced,
5777
the name must be prefixed by ``tex4ht.'.}
5778
\immediate\write-1{}
5779
\immediate\write-1{The \string\Configure{mouseover-vars}{XXX}
5780
{variable-list} command introduces local variables, to be referenced
5781
with the prefix ``tex4ht.' on their names. In addition, for each
5782
variable YYY it introduces a construct \string\moYYY
5783
{label}...\string\endmoYYY\space for selecting a value for the variable
5784
at the specified label.}
5785
\immediate\write-1{}
5786
\immediate\write-1{Example:}
5788
\string\Configure{mouseover-script}{var}{\HCode{<hr />}}}
5789
\immediate\write-1{|<mouseover cite config|>}
5790
\immediate\write-1{|<mouseover cite css|>.}
5792
\string\moAuthor{bb}A name\string\endmoAuthor }
5793
\immediate\write-1{}
5794
\immediate\write-1{The compilation indirectly invokes the
5795
command 'xhtex \string\jobname-js'. An alternative format for
5796
the command can be requested within a configuration of
5797
the form \string\Configure{mouseover-Needs}{\string\Needs{"..."}}.
5798
The default setting is due to
5799
\string\Configure{mouseover-Needs}{\string\Needs{"xhtex
5800
\string\jobname-js"}}}
5801
\immediate\write-1{In case \string\Configure{mouseover-Needs} is
5802
undefined, introduce the instruction
5803
\string\NewConfigure{mouseover-Needs}{1} before that command.
5807
\<onmouseover utilities\><<<
5808
\expandafter\ifx \csname mouseover-Needs\endcsname\relax
5809
\NewConfigure{mouseover-Needs}{1}
5810
\Configure{mouseover-Needs}{\Needs{"xhtex \jobname-js"}}
5812
\def\mo:args#1#2#3{\expandafter
5813
\ifx \csname a:mouseover-#1-#2\endcsname\empty\else
5814
\expandafter \ifx \csname a:mouseover-#1-#2\endcsname\relax
5815
|<global mouseover-type|>\else
5816
|<private mouseover-type|>\fi\fi}
5819
\<global mouseover-type\><<<
5820
\expandafter \ifx \csname a:mouseover-#1\endcsname\empty
5823
onmouseover="tex4ht.body=tex4ht.#3; tex4ht.caption='#2';
5824
|<init mouseover vars|>%
5825
return overlib(\csname a:mouseover-#1\endcsname);"
5826
\Hnewline onmouseout="nd();"\Hnewline\fi
5829
\<private mouseover-type\><<<
5831
onmouseover="tex4ht.body=tex4ht.#3; tex4ht.caption='#2';
5832
|<init mouseover vars|>%
5833
return overlib(\csname a:mouseover-#1-#2\endcsname);"
5834
\Hnewline onmouseout="nd();"\Hnewline
5837
\<init mouseover vars\><<<
5838
\expandafter\ifx \csname mouseover-#1-init\endcsname\relax
5839
\else \csname mouseover-#1-init\endcsname{#2}\fi
5845
\subsection{Boundary Cases for mouseover}
5851
\<DOCTYPE in PROLOG under mouseover\><<<
5852
\:CheckOption{xhtml} \if:Option \else
5853
\:CheckOption{DOCTYPE} \if:Option
5854
\Log:Note{to request a DOCTYPE declaration
5855
use the command line option `DOCTYPE'}
5857
\edef\Preamble{\Preamble,no-DOCTYPE}
5867
<script language="JavaScript" src="overlib.js"
5868
type="text/javascript" ></script>\Hnewline
5869
<!--http://www.bosrup.com/web/overlib/ (Erik Bosrup)-->%
5877
THE DOCUMENT DECLARATION GIVES TROUBLE IN CONNECTION WITH OVERLIB. It
5878
would be hardly noticeable in small pages, requiring no scrolling -
5879
the only symptom then is that the browser suddenly warns about errors
5880
- those ones in overlib, and as a matter of fact, apparently in the
5881
part of the script that ensures compatibility with Netscape. However,
5882
in a large page, the pop-ups seem to disappear - making them STICKY
5883
and scrolling up, one can find them in the upper right corner. One
5884
has only to remove <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
5885
Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> however, to
5886
put an end to the browser complaints and get back the pop-ups into
5887
their proper places. \end{verbatim}
5892
have just found a reference to the trouble, together with a very easy
5893
way to go round it: it is enough to add <?xml version="1.1"?> BEFORE
5894
the Document declaration. I have checked it, and it is all right -
5895
both for Explorer6 and Netscape 4.7 and 6.
5897
By the way: for the Mouseover option to work under Netscape4.x, the call to
5898
<script type="text/JavaScript" src="overlib.js"></script>
5899
<!--http://www.bosrup.com/web/overlib/ (Erik Bosrup)-->
5900
MUST appear in the <BODY> section, NOT in the <HEAD>: absurd, but true (it
5901
is reported in Overlib's page).
5908
\subsection{The Configuration File onmouseover.4ht}
5914
\<onmouseover.4ht\><<<
5915
\ifnum\the\catcode`\%=14\else\expandafter\edef\csname
5916
\string:RestoreCatcodes\endcsname{\catcode`\%|=\the
5917
\catcode`\%}\catcode`\%|=14\fi
5918
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
5919
% onmouseover.4ht |version %
5920
% Copyright (C) |CopyYear.2001. Eitan M. Gurari %
5921
|<TeX4ht copyright|>
5923
\hbadness=10000 \vbadness=10000 \hfuzz=99in \vfuzz=\hfuzz
5924
\overfullrule=0pt \let\makefootline\empty
5927
\newcount\CodeNumber
5928
\def\NoSpecials#1#2#3{\edef\temp{\the\CodeNumber}%
5929
\global\CodeNumber=#3
5930
\def\next{\catcode\CodeNumber=#1
5931
\ifnum \CodeNumber=#2 \let\next=\relax \fi
5932
\global\advance\CodeNumber by -1 \next}\next
5933
\global\CodeNumber=\temp }%
5935
\expandafter\def\csname js js\endcsname{\egroup \special{t4ht@@}%
5936
tex4ht=new Array() ; //\jstoday}
5937
\expandafter\def\csname js js trace="on"\endcsname{\global
5938
\let\TagTrace=\empty \csname js js\endcsname}
5939
\expandafter\def\csname js /js\endcsname{\egroup \special{t4ht@@}%
5940
\csname bye\endcsname\endinput}
5942
|<hash for onmouseover.4ht|>
5943
|<escape backslashes|>
5945
\def\jselement#1{\expandafter\def\csname js #1\endcsname##1=##2</#1>{%
5946
\hfill\break tex4ht.\jsHash{##1}=\hbox{"##2";}\egroup}}
5947
|<escape double quotes|>
5948
\expandafter\def\csname js \endcsname#1</>{%
5949
\hfill\break \hbox{#1}\egroup}
5952
\expandafter \ifx \csname js #1\endcsname \relax \jselement{#1}\fi
5953
\def<##1>{\TagTrace{\def\x{##1}\def\y####1:->{}%
5954
\immediate\write16{...\string<\expandafter\y\meaning\x>}}%
5955
\string<\scan ##1"<>>}%
5956
\NoSpecials{12}{0}{255}\NoSpecials{11}{65}{90}\NoSpecials{11}{97}{122}%
5957
\catcode`\ =10 \catcode`\^^M=10 \catcode`\^^I=10 \catcode`\<=13
5959
\tt \csname js #1\endcsname}
5961
\catcode`\&=12 \catcode`\#=12
5965
\<escape double quotes\><<<
5966
\def\scan#1"#2<>{#1\if !#2!\expandafter\done\else
5967
\string\"\expandafter\scan
5972
\<escape backslashes\><<<
5973
\catcode`/=0 \catcode`\\=13
5974
/def\{/string\/string\}
5975
/catcode`/\=0 \catcode`\/=12
5980
\<onmouseover utilities\><<<
5981
\def\jsHash#1{\jsHash:a #1<>}
5982
\def\jsHash:a#1#2<>{%
5983
\ifnum `#1<`0 JjV\else
5984
\ifnum `#1>`z jJv\else
5986
\ifnum `#1<`A jJV\else
5988
\ifnum `#1<`a jVV\else #1\fi
5991
\if !#2!\expandafter\done:hash
5992
\else\expandafter\jsHash:a\fi#2<>}
5996
\<hash for onmouseover.4ht\><<<
5997
\def\jsHash#1{\jsHasha #1<>}
5998
\def\jsHasha#1#2<>{%
5999
\ifnum `#1<`0 JjV\else
6000
\ifnum `#1>`z jJv\else
6002
\ifnum `#1<`A jJV\else
6004
\ifnum `#1<`a jVV\else #1\fi
6007
\if !#2!\expandafter\done
6008
\else\expandafter\jsHasha\fi#2<>}
6013
\<onmouseover utilities\><<<
6014
\expandafter\Odef\csname c:mouseover-?:\endcsname[#1]#2{%
6016
\if !#1!\expandafter\let\csname a:mouseover-\:tempb\endcsname=\:temp
6017
\else \om:type#1,|<par del|>\fi}
6018
\def\om:type#1,#2|<par del|>{%
6019
\if !#1!\else\expandafter
6020
\let\csname a:mouseover-\:tempb-#1\endcsname=\:temp\fi
6021
\ifx !#2!\else \def\:tempa{\om:type#2|<par del|>}\expandafter\:tempa \fi
6026
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6028
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6031
%%%%%%%%%%%%%%%%%%%%%
6033
%%%%%%%%%%%%%%%%%%%%%
6035
\<configure html4 latex\><<<
6036
|<0,32,4 plain,latex|>
6037
|<32,4 plain,latex|>
6045
|<latex ltfloat (footnotes)|>
6046
\:CheckOption{javahelp} \if:Option
6049
\Log:Note{for a JavaHelp output format,
6050
use the command line option `javahelp'}
6055
\Configure{extracolsep}
6056
{~\tmp:dim=#1\relax\ifdim \tmp:dim>1em ~\fi}
6060
%%%%%%%%%%%%%%%%%%%%%%%
6062
%%%%%%%%%%%%%%%%%%%%%%%
6064
\subsection{obeylines}
6066
\<4 plain,latex\><<<
6067
\Configure{obeylines}
6068
{\ifvmode \:xhtml{\IgnorePar\EndP}\IgnoreIndent
6069
\HCode{<div class="obeylines-v">}%
6070
\gdef\ob:ln{\ht:special{t4ht=</div>}}%
6072
\SaveEndP \HCode{<span class="obeylines-h">}%
6073
\gdef\ob:ln{\ht:special{t4ht=</span>}\RecallEndP}%
6076
{\EndP\ob:ln\ShowPar}
6077
{\hbox{\HCode{<br\xml:empty>}}}
6078
\Css{.obeylines-h,.obeylines-v {white-space: nowrap; }}
6079
\Css{div.obeylines-v p { margin-top:0; margin-bottom:0; }}
6081
%%%%%%%%%%%%%%%%%%%%%%%
6083
%%%%%%%%%%%%%%%%%%%%%%%
6088
\Configure{hspace}{}{}{\:nbsp}
6091
%%%%%%%%%%%%%%%%%%%%%%%
6093
%%%%%%%%%%%%%%%%%%%%%%%
6101
\</TeX for 4.0t\><<<
6102
\def\TeX{\HCode{<span class="TEX">}T\HCode{<span\Hnewline
6103
class="E">}E\HCode{</span>}X\HCode{</span>}}
6104
\Css{span.TEX {letter-spacing: -0.125em; }}
6105
\Css{span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;}}
6106
\Css{a span.TEX span.E {text-decoration: none; }}
6109
\verb'\def\TeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\@}'
6114
%%%%%%%%%%%%%%%%%%%%%%%
6116
%%%%%%%%%%%%%%%%%%%%%%%
6118
\subsection{tt Font}
6121
\ifx \ttfamily\:UnDef \else \Configure{tt}{\ttfamily} \fi
6124
%%%%%%%%%%%%%%%%%%%%%%%
6126
%%%%%%%%%%%%%%%%%%%%%%%
6128
\subsection{Cross References}
6132
{\ifx \RefArg\:UnDef\else
6133
\Tg<!--tex4ht:ref: \RefArg\space-->\fi\EndLink}
6137
The comments lets us relate the automatically created label with that
6138
offered by the user. The space is needed for cases that the label ends with a dash.
6143
LaTeX allows labels almost everywhere.
6145
Different labels may be associated to a common object in LaTex.
6147
There are almost no restrictions on the kind of characters
6148
allowed within the labels of LaTeX.
6157
%%%%%%%%%%%%%%%%%%%%%%%
6159
%%%%%%%%%%%%%%%%%%%%%%%
6161
\subsection{Miscellaneous Environments}
6162
\<32,4 plain,latex\><<<
6163
\def\end:TTT{\ifvmode\IgnorePar\fi \EndP\HCode{</td></tr></table>}}
6167
\append:def\center{\par}
6168
\ConfigureEnv{center}
6169
{\ifvmode \IgnorePar\fi \EndP}{|<try env inline par|>}
6171
\HCode{<div class="center"\Hnewline>}\ShowPar\endgraf}
6172
{\IgnorePar\EndP\HCode{</div>}}
6173
\ConfigureEnv{flushleft}
6174
{\ifvmode \IgnorePar\fi \EndP}{|<try env inline par|>}
6176
\HCode{<div class="flushleft"\Hnewline>}\ShowPar\endgraf}
6177
{\IgnorePar\EndP\HCode{</div>}}
6178
\ConfigureEnv{flushright}
6179
{\ifvmode \IgnorePar\fi \EndP}{|<try env inline par|>}
6181
\HCode{<div class="flushright"\Hnewline>}\ShowPar\endgraf}
6182
{\IgnorePar\EndP\HCode{</div>}}
6184
div.center div.center {text-align: center;
6185
margin-left:1em; margin-right:1em;}}
6186
\Css{div.center div {text-align: left;}}
6187
\Css{div.flushright,
6188
div.flushright div.flushright {text-align: right;}}
6189
\Css{div.flushright div {text-align: left;}}
6190
\Css{div.flushleft {text-align: left;}}
6194
\ConfigureEnv{verbatim}{\env:verb{verbatim}}{\endenv:verb}{}{}
6195
\ConfigureEnv{verbatim*}{\env:verb{verbatim}}{\endenv:verb}{}{}
6196
\def\env:verb#1{\ifinner\else \vfill\break\fi
6197
\IgnorePar\EndP \HAssign\Verb:N=0
6198
\HCode{<\tbl:XV{#1}><tr class="#1"><td\Hnewline
6199
class="#1">}\HCode{<div class="#1"\a:LRdir>}\EndNoFonts}
6200
\def\endenv:verb{\NoFonts
6201
\EndP \ht:special{t4ht=</div>}\end:TTT |<try inline par|>}
6202
\def\start:fenv#1{\:xhtml{\IgnorePar\EndP}\HCode{<table
6203
\Hnewline width="100\%"
6204
\:zbsp{flush#1}><tr><td><div align="#1"\Hnewline\a:LRdir>}}
6205
\def\end:fenv{\IgnorePar\HCode{</div>}\end:TTT\IgnorePar}
6207
\Css{div.verbatim {font-family: monospace; white-space: nowrap; }}
6210
\<configure html4 latex\><<<
6211
\Configure{verbatim}
6212
{\HAdvance\Verb:N by 1 \ifnum \Verb:N>1 \:nbsp \HCode{<br />}\fi}
6215
{\HCode{<span class="verb"\a:LRdir>}}
6221
The \verb+\:nbsp+ above is because lynx collapses
6222
consecutive \verb+<br />+ tags.
6227
\<configure html4 latex\><<<
6228
\Configure{centercr}{\ht:special{t4ht=<br\xml:empty>}}
6229
{\ht:everypar{\ht:everypar{\HtmlPar}}}
6234
%%%%%%%%%%%%%%%%%%%%%%%
6236
\subsection{Math Setup}
6238
\<configure html4-math latex\><<<
6239
\:CheckOption{pic-equation}\if:Option
6240
% \ConfigureEnv{equation}
6241
% {\relax\ifmmode\else\par\fi\:xhtml{\IgnorePar\EndP}%
6242
% \HCode{<center class="equation"><table class="equation"\Hnewline
6243
% border="0" cellpadding="0" cellspacing="15"><tr><td>}}
6244
% {\:xhtml{\IgnorePar\EndP}%
6245
% \HCode{</td></tr></table></center>}\IgnorePar
6246
% \ifmmode\else\par\fi}
6248
\Configure{equation}
6249
{\:xhtml{\ifvmode \IgnorePar\fi\EndP}%
6250
\HCode{<\tbl:XV{equation}><tr><td>}\IgnorePar
6251
\Configure{$$}{\PicDisplay}{\EndPicDisplay}
6252
{\everymath{}\everydisplay{}}
6254
{\ifvmode \IgnorePar\fi\HCode{</td><td width="5\%">}}
6255
{\end:TTT |<try inline par|>} |% was: \IgnorePar\par|%
6257
% \ConfigureEnv{equation}
6258
% {\relax\ifmmode\else\par\fi\:xhtml{\IgnorePar\EndP}%
6259
% \HCode{<center class="equation"><table class="equation"\Hnewline
6260
% border="0" cellpadding="0" cellspacing="15"><tr><td>}%
6262
% {\:xhtml{\IgnorePar\EndP}%
6263
% \HCode{</td></tr></table></center>}\IgnorePar
6264
% \ifmmode\else\par\fi}
6266
\Configure{equation}
6267
{\ifmmode\else\par \IgnorePar\fi \EndP
6268
\HCode{<\tbl:XV{equation}><tr><td>}\IgnorePar
6270
{\ifvmode \IgnorePar\fi\EndP\HCode{</td><td width="5\%">}}
6271
{\end:TTT\ifmmode\else |<try inline par|>\fi}
6273
\Css{.equation td{text-align:center; }}
6274
\Css{td.equation { margin-top:1em; margin-bottom:1em; } }
6277
\<configure html4-math latex\><<<
6278
|<pic plain/latex math 4.0t|>
6279
\:CheckOption{pic-eqnarray} \if:Option
6280
|<PIC eqnarray Config|>
6281
\else |<TABLE eqnarray Config 4.0t|>\fi
6285
\<PIC eqnarray Config\><<<
6286
\ConfigureEnv{eqnarray}
6287
{\IgnorePar\EndP\Tg<div class="pic-eqnarray">\Picture*{}}
6288
{\EndPicture\Tg</div>}{}{}
6289
\Css{div.pic-eqnarray {text-align:center;}}
6290
\ConfigureEnv{eqnarray*}
6291
{\IgnorePar\EndP\Tg<div class="pic-eqnarray-star">\Picture*{}}
6292
{\EndPicture\Tg</div>}{}{}
6293
\Css{div.pic-eqnarray-star {text-align:center;}}
6296
\<TABLE eqnarray Config 4.0t\><<<
6297
\Log:Note{for pictorial eqnarray,
6298
use the command line option `pic-eqnarray'}
6300
\Configure{eqnarray}{\HCode{<table\Hnewline
6301
class="eqnarray\ifx \@seqncr\@eqncr\else-star\fi ">}}
6303
{\HCode{<tr valign="middle"
6304
class="eqnarray\ifx \@seqncr\@eqncr\else-star\fi">}}
6306
{\HCode{\ifnum \HCol=4 <td\Hnewline width="10"
6307
class="eqnarray4"></td>\fi
6308
<td\Hnewline align="\ifcase\HCol \or right\or center\or
6309
left\else right\fi" style="white-space:nowrap;"\Hnewline
6310
class="eqnarray\HCol">}}
6311
{\EndP\HCode{</td>}}
6312
\Css{td.eqnarray4 { width:5\%; white-space: normal; }}
6313
\Css{td.eqnarray2 { width:5\%; }}
6314
\Css{table.eqnarray-star, table.eqnarray {width:100\%;}}
6317
\<TABLE eqnarray Config 4.0t\><<<
6318
\ConfigureEnv{eqnarray}
6319
{\:xhtml{\IgnorePar\EndP}\HCode{<div class="eqnarray">}}
6320
{\:xhtml{\EndP}\HCode{</div>}}{}{}
6321
\ConfigureEnv{eqnarray*}
6322
{\:xhtml{\IgnorePar\EndP}\HCode{<div class="eqnarray">}}
6323
{\:xhtml{\EndP}\HCode{</div>}}{}{}
6324
\Css{div.eqnarray{text-align:center;}}
6326
%%%%%%%%%%%%%%%%%%%%%%%
6328
%%%%%%%%%%%%%%%%%%%%%%%
6330
\subsection{Tabbing, Tabular and Array Environments}
6332
\<configure html4 latex\><<<
6333
\:CheckOption{no-array}\if:Option \else
6334
|<html latex array/tabular Config 4.0t|>
6339
\<configure html4-math latex\><<<
6340
\:CheckOption{no-array}\if:Option \else
6341
|<math html latex array/tabular|>
6345
\<32,4 picmath latex\><<<
6346
\:CheckOption{pic-array} \if:Option
6347
\ConfigureEnv{array}
6348
{\IgnorePar\EndP\Tg<div class="pic-array">\Picture*{}$$}
6349
{$$\EndPicture\Tg</div>}{}{}
6350
\Css{div.pic-array {text-align:center;}}
6352
\Log:Note{for pictorial array,
6353
use the command line option `pic-array'}
6358
\<vspace body for array/tabular\><<<
6359
\append:def\vspc:s{\h:HBorder}%
6360
\def\:tempb{\ifnum \tmp:cnt<\ar:cnt
6361
\advance\tmp:cnt by 1 \append:def\vspc:s{\i:HBorder}%
6365
\append:def\vspc:s{\j:HBorder}\global\let\vspc:s|=\vspc:s
6369
\Configure{hline}{\ifx \ar:cnt\:UnDef\else
6370
\o:noalign:{|<hline body for array/tabular|>}%
6371
\expandafter\ignoreEndTr
6373
\Configure{//[]}{\ifx \ar:cnt\:UnDef
6374
\else\o:noalign:{|<vspace body for array/tabular|>}\fi}
6379
\<hline body for array/tabular\><<<
6380
\append:def\hline:s{\a:HBorder}%
6381
\def\:tempb{\ifnum \tmp:cnt<\ar:cnt
6382
\advance\tmp:cnt by 1 \append:def\hline:s{\b:HBorder}%
6386
\append:def\hline:s{\c:HBorder}\global\let\hline:s|=\hline:s
6389
\<inline comment\><<<
6390
\ifvmode\else\HCode{<!--tex4ht:inline-->}\fi
6393
\<html latex array/tabular Config 4.0t\><<<
6394
\Configure{multicolumn}
6395
{\ifvmode\IgnorePar\fi
6396
\HCode{<div class="multicolumn" }\HColAlign\HCode{>}}
6397
{\ifvmode\IgnorePar\fi \EndP\HCode{</div>}}
6400
\<configure clear noalign\><<<
6401
\Configure{noalign}{}{}%
6404
\<configure tabular noalign\><<<
6405
\Configure{noalign}%
6406
{\f:tabular\d:tabular \HCode{<tr><td colspan="\ar:cnt">}}
6407
{\HCode{</td></tr>}\pend:def\TableNo{0}\c:tabular\e:tabular}%
6410
\<html latex array/tabular Config 4.0t\><<<
6412
\def\begin##1{\bgroup
6413
\def\end####1{\o:end:{####1}\EndPicture\egroup}%
6414
\ifx \EndPicture\:UnDef
6415
\Picture+{ class="##1" align="middle"}%
6416
\else \let\EndPicture|=\empty\fi
6421
\verb'\AllColMargins' Return a binary string in which 1 represents
6422
a column, and 0 represents a `@'. \verb'\ColMargins' retrieves the
6423
zeros before the 1's that represent the current and following 1's.
6425
\<html latex array/tabular Config 4.0t\><<<
6426
\def\ColMargins{\tmp:cnt|=\HCol\relax
6427
\expandafter\nosp:hbr\AllColMargins 1//}
6428
\def\nosp:hbr#11#2//{\ifnum \tmp:cnt>1 \advance\tmp:cnt by -1
6429
\nosp:hbr#2//\else\nosp:gt#11#2//\fi}
6430
\def\nosp:gt#11#21#3//{%
6431
\def\:temp{#1}\ifx \:temp\empty 1\else 0\fi
6432
\def\:temp{#2}\ifx \:temp\empty 1\else 0\fi}
6433
\Css{div.td00{ margin-left:0pt; margin-right:0pt; }}
6434
\Css{div.td01{ margin-left:0pt; margin-right:5pt; }}
6435
\Css{div.td10{ margin-left:5pt; margin-right:0pt; }}
6436
\Css{div.td11{ margin-left:5pt; margin-right:5pt; }}
6440
\<html latex array/tabular Config 4.0t\><<<
6441
\Configure{halignTB<>}{tabular}{\HCode{class="tabular"\Hnewline
6442
cellspacing="0" cellpadding="0" \GROUPS\Hnewline
6443
frame="\ifx \GROUPS\empty void\else border\fi" id="TBL-\TableNo-"
6445
\:CheckOption{pic-tabular} \if:Option \else
6447
{\ifvmode \IgnorePar\fi \EndP \halignTB{tabular}\putVBorder }
6448
{|<insert Clr|>\HCode{</table>}}
6449
{\HCode{<tr \Hnewline}\halignTR
6450
\HCode{ id="TBL-\TableNo-\HRow-">}}
6452
{\HCode{<td \ifnum \HMultispan>1 colspan="\HMultispan"\fi}%
6453
\halignTD \HCode{ id="TBL-\TableNo-\HRow-\HCol"
6454
\Hnewline class="td}\NoFonts\ColMargins\EndNoFonts
6455
\HCode{">}|<start array par box|>\PushStack\Table:Stck\TableNo}
6456
{|<end array par box|>\PopStack\Table:Stck\TableNo \d:HA}
6459
\Css{td.td00{ padding-left:0pt; padding-right:0pt; }}
6460
\Css{td.td01{ padding-left:0pt; padding-right:5pt; }}
6461
\Css{td.td10{ padding-left:5pt; padding-right:0pt; }}
6462
\Css{td.td11{ padding-left:5pt; padding-right:5pt; }}
6466
\expandafter\tmp:toks\expandafter{\Clr}%
6467
\HCode{<!--"\the\tmp:toks"-->}%
6470
The quotes above hide \verb+>+ from IE within the comment. Otherwise, the
6471
browser inappropriately get confused.
6473
On the other hand, the above doesn't work, for instance on
6474
`\verb+|r||r@{--}l|p{1.25in}|+' due to the extra \verb+--+.
6477
\subsection{The option @()}
6480
\<configuring @()\><<<
6485
\<html latex array/tabular Config 4.0t\><<<
6486
\Configure{halignTB<>}{array}{\HCode{class="array"\Hnewline
6487
cellpadding="0" cellspacing="0" \GROUPS\Hnewline
6488
frame="\ifx \GROUPS\empty void\else border\fi"
6490
\:CheckOption{pic-array} \if:Option \else
6492
{\ifvmode \IgnorePar\fi \EndP\halignTB{array}\putVBorder}
6493
{|<insert Clr|>\HCode{</table>}}
6496
{\D:HA\HCode{<div class="td}\NoFonts\ColMargins\EndNoFonts
6497
\HCode{">}|<start array par box|>\pic:env}
6498
{|<end array par box|>\HCode{</div>}\d:HA}
6499
\Configure{arrayparbox}{\ShowPar}
6503
\verb|\par| is empty if not in par box.
6505
\<start array par box\><<<
6509
\<end array par box\><<<
6514
We force border around the full table whenever a vertical line is
6515
requested, because it makes the tables better looking within the
6516
existing capabilities.
6518
Currently, we either have empty \verb'\VBorder', or one defined to
6519
\verb'\def\VBorder{border="1"}'.
6521
\<html latex array/tabular Config 4.0t\><<<
6522
\let\VBorder|=\empty \let\AllColMargins|=\empty
6524
{\let\VBorder|=\empty \let\AllColMargins|=\empty
6525
\global\let\GROUPS|=\empty \HAssign\NewGroup = 0
6526
\gHAdvance\Next:TableNo by 1 \global\let\TableNo=\Next:TableNo }
6527
{\xdef\VBorder{\VBorder\ifnum \NewGroup> 0 </colgroup>\fi}
6528
\HAssign\NewGroup = 0 \gdef\GROUPS{rules="groups"}}
6529
{\Advance:\NewGroup by 1
6530
\ifnum \NewGroup=1 \xdef\VBorder{\VBorder<colgroup
6531
id="TBL-\TableNo-\ar:cnt g">}\fi
6532
\xdef\VBorder{\VBorder<col\Hnewline id="TBL-\TableNo
6533
-\ar:cnt"\xml:empty>}\xdef\AllColMargins{\AllColMargins1}}
6534
{\xdef\AllColMargins{\AllColMargins 0}}
6536
{<tr\Hnewline class="hline">} {<td><hr\xml:empty></td>} {</tr>}
6537
{<tr\Hnewline class="cline">}
6538
{<td></td>} {<td><hr\xml:empty></td>} {</tr>}
6539
{<tr\Hnewline class="vspace" style="font-size:\HBorderspace">}
6540
{<td\Hnewline>\string </td>} {</tr>}
6541
\Configure{putHBorder}{\HCode{\HBorder}}
6542
\HAssign\Next:TableNo|=0 \global\let\TableNo=\Next:TableNo
6543
\Css{.hline hr, .cline hr{ height : 1px; margin:0px; }}
6546
When \verb'\putVBorder' is call in \verb'\VBorder'
6547
we have a sequence of the form
6548
\verb'<COLGROUP><COL ...">...</COLGROUP>...' with the last
6549
tag possibly missing.
6551
\<html latex array/tabular Config 4.0t\><<<
6552
\def\putVBorder{\expandafter\put:VBorder\VBorder</>|<par del|>}
6553
\def\put:VBorder#1</#2>#3|<par del|>{\def\:temp{#2}\ifx\:temp\empty
6555
\def\:temp{#1}\ifx\:temp\empty \else\HCode{</colgroup>}\fi
6556
\else \def\:temp{\put:VBorder#3|<par del|>}\expandafter\:temp\fi
6560
\<configure html4 latex\><<<
6561
\:CheckOption{pic-tabbing} \if:Option
6562
\ConfigureEnv{tabbing}{\Picture*{}}{\EndPicture}{}{}
6564
|<TABLE tabbing Config 4.0t|>
6565
\:CheckOption{pic-tabbing'} \if:Option
6566
|<PICT dot tabbing|>
6571
\<TABLE tabbing Config 4.0t\><<<
6572
\Configure{tabbing}[1.5]{%
6573
\ifvmode \IgnorePar\fi\EndP \leavevmode\ht:special{t4ht=<table
6574
\Hnewline\:zbsp{tabbing}><tr \Hnewline valign="baseline"
6576
{\ht:special{t4ht=</tr></table>}\ShowPar \csname par\endcsname
6579
{\ht:special{t4ht=<td \ifx \TabWidth\empty \else
6580
width="\TabWidth"\fi \Hnewline
6581
class="tabbing\ifx \`\TabType -right\fi">}}
6582
{\ht:special{t4ht=</td>}}
6583
\ConfigureEnv{tabbing}{\IgnorePar\EndP}{}{}{}
6584
\Css{.tabbing-right {text-align:right;}}
6589
%%%%%%%%%%%%%%%%%%%%%% to be placed %%%%%%%%%%%%%%%%%%%%%%%%%
6590
\subsection{to be placed}
6596
\Configure{underline}
6597
{\HCode{<span class="underline">}\:gobble}
6599
\Css{.underline{ text-decoration:underline; }}
6600
\Css{.underline img{ border-bottom: 1px solid black;
6601
margin-bottom:1pt; }}
6605
\Configure{underline}
6606
{\HCode{<span class="underline">}\hbox\bgroup \:gobble}
6607
{\egroup \HCode{</span>}}
6608
\Css{.underline{ text-decoration:underline; }}
6609
\Css{.underline img{ border-bottom: 1px solid black;
6610
margin-bottom:1pt; }}
6615
\<4 plain,latex\><<<
6616
\Configure{overline}
6617
{\HCode{<span class="overline">}}
6619
\Css{.overline{ text-decoration:overline; }}
6620
\Css{.overline img{ border-top: 1px solid black; }}
6623
\<0,32,4 plain,latex\><<<
6624
\Configure{ }{\:nbsp}
6633
\:CheckOption{pic-framebox} \if:Option
6634
\Configure{framebox}
6635
{\Picture+[]{ \a:@Picture{framebox}}} {\EndPicture}
6637
\Log:Note{for bitmap framebox'es, use
6638
the command line option `pic-framebox'}
6639
\Configure{framebox}
6640
{\HCode{<span class="framebox-\frameboxAlign"\Hnewline
6641
style="width:\frameboxWidth;">}}
6643
|<shared framebox style|>
6648
% \fboxrule=0pt \fboxsep=0pt
6649
% \HAssign\frameboxN=0
6650
% \gHAdvance\frameboxN by 1
6651
% id="framebox-\frameboxN"
6654
\<shared framebox style\><<<
6655
\Css{.framebox-c, .framebox-l, .framebox-r {
6656
padding-left:\the\fboxsep;
6657
padding-right:\the\fboxsep;
6659
border:solid black \the\fboxrule;
6661
\Css{.framebox-c {text-align:center;}}
6662
\Css{.framebox-l {text-align:left;}}
6663
\Css{.framebox-r {text-align:right;}}
6667
\:CheckOption{pic-fbox} \if:Option
6669
{\leavevmode\Picture+[]{ \a:@Picture{fbox}}} {\EndPicture}
6671
\Log:Note{for bitmap fbox'es, use
6672
the command line option `pic-fbox'}
6674
{\ifvmode \IgnorePar\EndP
6675
\HCode{<div class="fbox">}%
6676
\def\end:bx{\HCode{</div>}\par}%
6678
\HCode{<span class="fbox">}%
6679
\def\end:bx{\HCode{</span>}}%
6682
\Css{.fbox {padding-left:\the\fboxsep;
6683
padding-right:\the\fboxsep;
6685
border:solid black \the\fboxrule;
6687
\Css{div.center div.fbox {text-align:center; clear:both;
6688
padding-left:3.0pt; padding-right:3.0pt;
6689
text-indent:0pt; border:solid black 0.4pt; }}
6697
\Configure{InsertTitle}{\let\label|=\lb:l
6698
\let\ref|=\o:ref \Configure{ref}{}{}{}}
6699
\Configure{AfterTitle}{\let\index|=\:index
6700
\let\ref|=\:ref \let\label|=\lb:l }
6701
\Configure{NoSection}
6702
{\let\sv:index|=\index \let\sv:label|=\label
6703
\let\sv:newline|=\newline \def\newline{ }%
6704
\let\sv:setfontsize|=\@setfontsize \let\@setfontsize|=\:gobbleIII
6705
\let\index|=\@gobble \let\label|=\@gobble
6708
{\let\index|=\sv:index \let\label|=\sv:label
6710
\let\newline|=\sv:newline \let\@setfontsize|=\sv:setfontsize
6715
\let\sva:rEfLiNK|=\a:rEfLiNK
6716
\let\svb:rEfLiNK|=\b:rEfLiNK
6717
\let\svc:rEfLiNK|=\c:rEfLiNK
6718
\expandafter\let\expandafter\svC:rEfLiNK\c:rEfLiNK
6719
\Configure{ref}{}{}{}% \let\sv:ref|=\ref \let\ref|=\@gobble
6723
\let\a:rEfLiNK|=\sva:rEfLiNK
6724
\let\b:rEfLiNK|=\svb:rEfLiNK
6725
\let\c:rEfLiNK|=\svc:rEfLiNK
6726
\expandafter\let\c:rEfLiNK\svC:rEfLiNK % \let\ref\sv:ref
6730
\Configure{oalign}{\Picture+{ \a:@Picture{oalign}}}{\EndPicture}
6732
{\Link{#2}{#3}{\Configure{ref}{}{}{}%
6733
|<cite in TocLink|>#4}\ifvmode\IgnorePar\fi\EndLink}
6737
\<configure html4-math latex\><<<
6738
\Configure{stackrel}{\Picture+{ class="stackrel"}\mathrel}
6739
{\limits ^}{\EndPicture}
6751
\ConfigureEnv{minipage}
6752
{\IgnorePar\EndP\HCode{<table class="minipage"><tr><td>}}
6753
{\EndP\HCode{</td></tr></table>}}
6755
\Css{table.minipage{width:100\%;}}
6758
Tried the following for minipage
6760
\ConfigureEnv{minipage}
6761
{\IgnorePar\EndP\HCode{<div class="minipage">}}
6762
{\EndP\HCode{</div>}}
6763
{\IgnoreIndent\HtmlEnv}{}
6765
but was not able to find an appropriate css code for centered pages
6767
Es ist ganz einfach:
6770
\raisebox{0cm}{\begin{minipage}{10cm}\sc Jesus Christus\\
6771
erbarme dich meiner!\end{minipage}}
6780
\<latex shared section config\><<<
6781
\Configure{endsection}
6782
{likesection,chapter,likechapter,appendix,part,likepart}
6783
\Configure{endlikesection}
6784
{section,chapter,likechapter,appendix,part,likepart}
6787
\<latex shared subsection config\><<<
6788
\Configure{endsubsection}
6789
{likesubsection,section,likesection,chapter,%
6790
likechapter,appendix,part,likepart}
6791
\Configure{endlikesubsection}
6792
{subsection,section,likesection,chapter,%
6793
likechapter,appendix,part,likepart}
6796
\<latex shared subsubsection config\><<<
6797
\Configure{endsubsubsection}
6798
{likesubsubsection,subsection,likesubsection,section,%
6799
likesection,chapter,likechapter,appendix,part,likepart}
6800
\Configure{endlikesubsubsection}
6801
{subsubsection,subsection,likesubsection,section,%
6802
likesection,chapter,likechapter,appendix,part,likepart}
6808
\<latex shared div config\><<<
6809
\Configure{endlikeparagraph}
6810
{paragraph,subsubsection,likesubsubsection,subsection,%
6811
likesubsection,section,%
6812
likesection,chapter,likechapter,appendix,part,likepart}
6813
\Configure{endsubparagraph}
6814
{likesubparagraph,likeparagraph,subsubsection,likesubsubsection,%
6815
subsection,likesubsection,section,%
6816
likesection,chapter,likechapter,appendix,part,likepart}
6817
\Configure{endlikesubparagraph}
6818
{subparagraph,likeparagraph,subsubsection,likesubsubsection,%
6819
subsection,likesubsection,section,%
6820
likesection,chapter,likechapter,appendix,part,likepart}
6823
\<latex shared paragraph config\><<<
6824
\Configure{endparagraph}
6825
{likeparagraph,subsubsection,likesubsubsection,subsection,%
6826
likesubsection,section,%
6827
likesection,chapter,likechapter,appendix,part,likepart}
6832
\<latex shared part config\><<<
6833
\Configure{endpart}{likepart}
6834
\Configure{endlikepart}{endpart}
6838
\<latex shared part config\><<<
6839
\Configure{part}{}{}
6840
{\IgnorePar \EndP\HCode{<h1 class="partHead"\a:LRdir>}%
6841
\HCode{<span class="titlemark">}\partname \ \thepart
6842
\HCode{<br\xml:empty></span>}}
6843
{\HCode{</h1>}\IgnoreIndent\par}
6844
\Configure{likepart}{}{}
6845
{\IgnorePar\EndP\HCode{<h1 class="likepartHead"\a:LRdir>}}
6846
{\HCode{</h1>}\IgnoreIndent\par}
6847
\Configure{partTITLE+}{\thepart\space #1}
6848
\Configure{likepartTITLE+}{#1}
6849
\Css{h1.partHead{text-align: center}}
6854
\<configure html4 latex\><<<
6856
\def\bf{\normalfont\bfseries}
6860
\verb'\:CheckOption{no-halign} \if:Option \else |<pic array|> \fi',
6861
and the same for pic tabular. Why?
6865
\<4 plain,latex\><<<
6866
\Configure{displaylines}
6868
\HCode{<table \Hnewline border="0" width="100\%"
6869
class="displaylines">}\IgnorePar}
6871
{\HCode{<tr class="displaylines"><td \Hnewline
6872
valign="baseline" class="displaylines"
6873
>}}{\HCode{</td></tr>}}
6874
\Css{td.displaylines {text-align:center; white-space:nowrap;}}
6877
\<picmath plain,latex\><<<
6878
\let\A:displaylines|=\a:displaylines
6879
\let\B:displaylines|=\b:displaylines
6880
\let\C:displaylines|=\c:displaylines
6881
\let\D:displaylines|=\d:displaylines
6882
\Configure{displaylines}
6884
\def\A:displaylines{\Picture*{}}%
6885
\def\B:displaylines{\EndPicture}%
6888
{\B:displaylines} {\C:displaylines}{\D:displaylines}
6892
\<show input line no\><<<
6893
<!--l. \the\inputlineno-->%
6906
\<configure html4 latex\><<<
6908
\def\:temp{\HCode{<span class="LATEX">}L\HCode{<span
6909
class="A">}A\HCode{</span>}\TeX\HCode{</span>}}
6912
\if b\expandafter\@car\f@series\@nil\boldmath\fi
6913
\LaTeX2$_{\textstyle\varepsilon}$}}
6914
\expandafter\HLet\csname LaTeXe\endcsname|=\:temp
6915
\Css{span.LATEX span.A{ position:relative; top:-0.5ex;
6916
left:-0.4em; font-size:85\%;}}
6917
\Css{span.LATEX span.TEX{ position:relative; left: -0.4em; }}
6918
\Configure{@TITLE}{\def\LaTeX{LaTeX}\let\fontencoding|=\:gobble
6919
\let\fontfamily|=\:gobble \let\fontseries|=\:gobble
6920
\let\fontshape|=\:gobble \let\usefont|=\:gobbleIV }
6927
\<configure html4 latex\><<<
6928
\Configure{newline}{\HCode{<br class="newline"\xml:empty>}}
6934
\<configure html4 supertabular\><<<
6935
\Configure{SpBorder}
6936
{<tr\Hnewline class="vspace"><!--\SpBorder-->}
6937
{<td>\string </td>}
6939
\ConfigureEnv{supertabular}
6940
{\par \IgnorePar \EndP \HCode{<div class="supertabular">}}
6941
{\HCode{</div>}\par}
6943
\Css{.supertabular {text-align:center}}
6946
\<configure html4 longtable\><<<
6947
\:CheckOption{old-longtable}\if:Option
6948
|<config old longtable|>
6950
|<config new longtable|>
6955
\<config new longtable\><<<
6956
\Configure{halignTB<>}{longtable}{\HCode{class="longtable"\Hnewline
6957
cellspacing="0" cellpadding="0" \GROUPS\Hnewline
6958
frame="\ifx \GROUPS\empty void\else border\fi"
6960
\Configure{longtable}
6962
\HCode{|<show input line no|><div class="longtable">}%
6963
\halignTB{longtable}\putVBorder }
6964
{|<insert Clr|>\HCode{</table></div>}}
6965
{\HCode{<tr \Hnewline}\halignTR\HCode{ id="TBL-\TableNo-\HRow-">}}
6967
{\HCode{<td \ifnum \HMultispan>1 colspan="\HMultispan"\fi}%
6968
\halignTD \HCode{ id="TBL-\TableNo-\HRow-\HCol"
6969
\Hnewline class="td}\NoFonts\ColMargins\EndNoFonts
6970
\HCode{">}|<start array par box|>\PushStack\Table:Stck\TableNo}
6971
{\PopStack\Table:Stck\TableNo |<end array par box|>\d:HA}
6972
\Css{div.longtable{text-align:center;}}
6973
\Configure{longtableparbox}{\IgnorePar\leavevmode\ShowPar\par}
6977
\<config old longtable\><<<
6978
\let\a:longtable=\a:tabular
6979
\let\b:longtable=\b:tabular
6980
\let\c:longtable=\c:tabular
6981
\let\d:longtable=\d:tabular
6982
\let\e:longtable=\e:tabular
6983
\let\f:longtable=\f:tabular
6986
\<configure html4 latex\><<<
6988
{\ifOption{refcaption}{}{\csname par\endcsname\ShowPar \leavevmode}}
6989
{\:xhtml{\IgnorePar\EndP}\HCode{<hr class="float"\xml:empty><div
6990
class="float"\Hnewline><table
6991
class="float"><tr class="float"><td class="float"\Hnewline
6993
{\ifvmode \IgnorePar \fi\EndP
6994
\HCode{</td></tr></table></div><hr
6995
class="endfloat" />}\csname par\endcsname\ShowPar}
6996
\ConfigureEnv{figure}
6997
{\:xhtml{\IgnorePar\EndP}\HCode{<hr class="figure"\xml:empty><div
6998
class="figure"\Hnewline><table
6999
class="figure"><tr class="figure"><td class="figure"\Hnewline>}%
7000
\bgroup \Configure{float}{\ShowPar}{}{}%
7003
\:xhtml{\IgnorePar\EndP}\HCode{</td></tr></table></div><hr
7004
class="endfigure"\xml:empty>}|<try env inline par|>\par}
7006
\Css{div.float img, div.float .caption {text-align:center;}}
7007
\Css{div.figure img, div.figure .caption {text-align:center;}}
7009
The \verb'<TABLE>' is needed as a grouping mechanism for \verb'<CENTER>'.
7014
%%%%%%%%%%%%%%%%%%%%%%
7016
%%%%%%%%%%%%%%%%%%%%%%
7018
%%%%%%%%%%%%%%%%%%%%%%%%%
7019
\subsection{General}
7020
%%%%%%%%%%%%%%%%%%%%%%%%%
7022
\<configure html4 plain\><<<
7025
|<0,32,4 plain,latex|>
7026
|<32,4 plain,latex|>
7029
|<plain items|> |%keep last in html mode?|%
7034
\def\plain:indent{\ShowIndent \global\let\plain:indent\empty}
7035
\Configure{@BODY}{\plain:indent}
7043
{\par\Configure{items}{\item:class}\HCode{<span class="item">}}
7044
{\HCode{</span>}\Configure{items}{}}
7045
\Configure{itemitem}
7047
{\par\Configure{items}{\itemitem:class}\HCode{<span class="itemitem">}}
7048
{\HCode{</span>}\Configure{items}{}}
7049
\Css{p.item {text-indent:-2em; margin-left:2em;}}
7050
\Css{p.itemitem {text-indent:-2em; margin-left:4em;}}
7051
\Css{span.item, span.itemitem {width:2em; margin-right:0.4em;}}
7052
\Configure{!P}{\a:items}
7053
\NewConfigure{items}{1}
7055
\def\item:class#1class#2"#3"{#1class="item"}
7056
\def\itemitem:class#1class#2"#3"{#1class="itemitem"}
7061
%%%%%%%%%%%%%%%%%%%%%%%%%
7063
%%%%%%%%%%%%%%%%%%%%%%%%%
7065
\<configure html4 plain\><<<
7066
|<TABLE eqalign shared Configure 4.0t|>
7068
\<TABLE eqalign shared Configure 4.0t\><<<
7070
{\:xhtml{\IgnorePar\EndP}\HCode
7071
{<div class="eqalign"><table class="eqalign">}}
7072
{\HCode{</table></div>}}
7073
{\HCode{<tr \Hnewline class="eqalign"
7074
valign="middle">}}{\IgnorePar\HCode{</tr>}}
7075
{\HCode{<td align="\ifnum \HCol=2
7076
left\else right\fi"\Hnewline class="eqalign\HCol"
7077
style="white-space:nowrap;">}}
7079
\def\:eqalign:{\Configure{noalign}
7080
{\HCode{<tr><td class="noalign" colspan="2">}}%
7081
{\HCode{</td></tr>}}}
7082
\Css{td.eqalign3 { text-align:right; margin-left:10em;}}
7083
\Css{.eqalign td { white-space: nowrap; }}
7084
\Css{div.eqalign {text-align:center;}}
7091
\<TABLE eqalign shared Configure 4.0t\><<<
7092
\Configure{eqalignno}
7093
{\:xhtml{\IgnorePar\EndP}\HCode{<table class="eqalignno">}}
7095
{\HCode{<tr\Hnewline class="eqalignno">}}{\IgnorePar\HCode{</tr>}}
7096
{\HCode{\ifnum \HCol=3 <td\Hnewline width="10"
7097
class="eqalignno-sp"></td>\fi
7098
<td align="\ifnum \HCol=2 left\else right\fi"\Hnewline
7099
class="eqalignno\HCol">}}
7101
\def\:eqalignno:{\Configure{noalign}
7102
{\HCode{<tr><td class="noalign" colspan="2">}}%
7103
{\HCode{</td></tr>}}}
7104
\Css{td.eqalignno3, td.leqalignno3
7105
{ text-align:right; margin-left:10em;}}
7106
\Css{.leqalignno td, .eqalignno td
7107
{ white-space: nowrap; }}
7108
\Css{.leqalignno td.noalign, .eqalignno td.noalign
7109
{ width:5\%; white-space: normal; }}
7110
\Css{table.leqalignno, table.eqalignno {width:100\%;}}
7113
\<TABLE eqalign shared Configure 4.0t\><<<
7114
\Configure{leqalignno}
7115
{\:xhtml{\IgnorePar\EndP}\HCode{<table class="leqalignno">}}
7117
{\HCode{<tr \Hnewline
7118
class="leqalignno">}}{\IgnorePar\HCode{</tr>}}
7119
{\HCode{\ifnum \HCol=3 <td\Hnewline width="30"
7120
class="eqalignno-sp"></td>\fi
7121
<td align="\ifnum \HCol=2 left\else right\fi"\Hnewline
7122
class="leqalignno\HCol">}}
7124
\def\:leqalignno:{\Configure{noalign}
7125
{\HCode{<tr><td class="noalign" colspan="2">}}%
7126
{\HCode{</td></tr>}}}
7132
\<shared plain/latex pmatrix 4.0t\><<<
7135
\def\end:pmatrix{\IgnorePar\HCode{</div>}\end:TTT}%
7136
\:xhtml{\IgnorePar\EndP}\HCode
7137
{<\tbl:XV{pmatrix}><tr><td><div class="pmatrix"\Hnewline>}%
7138
\else \HCode{<span class="pmatrix">}%
7139
\def \end:pmatrix{\HCode{</span>}}%
7142
\Css{span.pmatrix img{vertical-align:middle;}}
7143
\Css{div.pmatrix {text-align:center;}}
7147
%%%%%%%%%%%%%%%%%%%%%%%%%
7148
\subsection{Environments}
7149
%%%%%%%%%%%%%%%%%%%%%%%%%
7152
\Configure{settabs}[1.5]{\IgnorePar\EndP\leavevmode
7153
\ht:special{t4ht=<table
7154
\Hnewline\:zbsp{settabs}><tr \Hnewline valign="baseline"
7156
{\ht:special{t4ht=</tr></table>}}
7157
{\ht:special{t4ht=<td \ifx \TabWidth\empty \else
7158
width="\TabWidth"\fi \Hnewline class="settabs">}}
7159
{\ht:special{t4ht=</td>}}
7163
\Configure{narrower}{\ifvmode \IgnorePar\fi \EndP%
7164
\HCode{<table cellpadding="15" class="narrower"><tr
7165
class="narrower"><td class="narrower">}\ifvmode \IgnorePar\fi}
7166
{\ifvmode \IgnorePar\fi \EndP
7167
\HCode{</td></tr></table>}\ifvmode \IgnorePar\fi}
7173
\Configure{settabs}[1.5]{}{}{}{}{}
7174
\Configure{line}{\HCode{<br\xml:empty>}}
7178
\Configure{proclaim}
7179
{\IgnorePar\EndP\HCode{<div class="proclaim"><span class="proclaim">}}
7180
{\HCode{</span>}} {\IgnorePar\EndP\HCode{</div>}}
7181
\Css{div.proclaim { margin-top: 1em; margin-bottom: 1em; }}
7185
\Configure{beginsection}
7186
{\ifvmode \IgnorePar\fi \EndP
7187
\HCode{<div class="beginsection">}}
7188
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
7189
{\HCode{<h3 class="beginsection">}}
7190
{\HCode{</h3>}\par\ShowPar}
7191
\ConfigureToc{beginsection}
7195
% \Css{div.beginsection { margin-top: 1em; margin-bottom: 1em; }}
7201
\Configure{TableOfContents}
7202
{\IgnorePar\EndP \HCode{<div class="TableOfContents">}}{}
7203
{\ifvmode \IgnorePar\fi\EndP
7204
\HCode{</div>}\ShowPar}{\HCode{<br\xml:empty>}}{}
7209
{\IgnorePar\EndP\HCode{<hr class="insert"\xml:empty>}\IgnorePar}
7210
{\IgnorePar\EndP\HCode{<hr class="endinsert"\xml:empty>}\IgnorePar}
7213
\<pic plain/latex math 4.0t\><<<
7214
\NewConfigure{@root}{1}
7215
\Configure{@root}{align="middle" }
7218
\<html4-math plain,fontmath\><<<
7219
\Configure{big}{\HCode{<span class="big">}}{\HCode{</span>}}{}{}
7220
\Configure{Big}{\HCode{<span class="bbig">}}{\HCode{</span>}}{}{}
7221
\Configure{bigg}{\HCode{<span class="bigg">}}{\HCode{</span>}}{}{}
7222
\Configure{Bigg}{\HCode{<span class="bbigg">}}{\HCode{</span>}}{}{}
7225
\<pic plain math 4.0t\><<<
7226
\Configure{@underbrace}{align="middle"}
7229
\<4 plain,latex\><<<
7230
\def\:zbsp#1{cellpadding="0" border="0" cellspacing="0"\Hnewline
7234
\<4 plain,latex\><<<
7235
\Configure{centerline}{\ifvmode \IgnorePar
7236
\fi \EndP\HCode{<div \Hnewline
7237
class="centerline">}}{\EndP\HCode{</div>}\ShowPar}
7238
\Configure{leftline}{\ifvmode \IgnorePar
7239
\fi \EndP \HCode{<p\Hnewline class="leftline">}}
7240
{\HCode{</p>}\ShowPar}
7241
\Configure{rightline}
7242
{\IgnorePar\EndP\HCode{<p class="rightline">}}
7243
{\HCode{</p>}\ShowPar}
7244
\Css{.centerline {text-align:center;}}
7245
\Css{.rightline {text-align:right;}}
7248
\<4 plain,latex\><<<
7249
\def\tbl:XV#1{table width="100\%"\Hnewline class="#1"}
7253
The \verb'100%' is to allow centering of stuff on the page.
7254
The table is a grouping mechanism to protect internal stuff
7255
from external centering operations.
7258
The \verb'special{t4ht=' is superior to \verb'\HCode{' because it can
7259
prevent \verb'<p>'s from entering before \verb'<NOBR>'.
7262
The hbox is for avoiding the start of a new paragraph, if in vmode.
7265
%%%%%%%%%%%%%%%%%%%%%%%%%%%
7266
\section{Latex Math}
7267
%%%%%%%%%%%%%%%%%%%%%%%%%%%
7269
\<configure html4-math latex\><<<
7270
|<picmath plain,latex|>
7272
|<32,4 picmath latex|>
7273
|<shared plain/latex pmatrix 4.0t|>
7280
\<picmath plain,latex\><<<
7281
|<pic plain/latex math 3.2|>
7282
\def\A:root#1\b:root#2\c:root{\o:root:#1\of{#2}\c:root}
7284
{\Picture+{ \a:@Picture{root}}\A:root}
7287
\Configure{mathpalette}
7288
{\Picture+{ \a:@Picture{mathpalette}}} {\EndPicture}
7292
\Configure{choose}{}{}
7296
\<32,4 picmath latex\><<<
7297
\Configure{pmatrix} {\Picture+{ \a:@Picture{}}} {\EndPicture}
7298
\Configure{bordermatrix} {\Picture+{ \a:@Picture{}}} {\EndPicture}
7300
{\Picture+{ \a:@Picture{frac}}\bgroup}
7302
{\egroup\EndPicture}
7306
\<32,4 picmath latex\><<<
7307
\Configure{sqrtsign}
7308
{\Picture+{ \a:@Picture{sqrt}}}
7311
{\Picture+{ \a:@Picture{matrix}}} {\EndPicture}
7316
\<picmath plain,latex\><<<
7317
% \Configure{L} {\pic:sym{L}}
7318
% \Configure{l} {\pic:sym{l}}
7319
\def\pic:sym#1{\Protect\Picture+{ \a:@Picture{#1}}\csname
7320
o:#1:\endcsname\Protect\EndPicture}
7323
\<picmath plain,fontmath\><<<
7324
\Configure{Longrightarrow} {\pic:sym{Longrightarrow}}
7325
\Configure{bowtie} {\pic:sym{bowtie}}
7326
\Configure{cong} {\pic:sym{cong}}
7327
\Configure{ddots} {\pic:sym{ddots}}
7328
\Configure{doteq} {\pic:sym{doteq}}
7329
\Configure{hookleftarrow} {\pic:sym{hookleftarrow}}
7330
\Configure{hookrightarrow} {\pic:sym{hookrightarrow}}
7331
\Configure{longmapsto} {\pic:sym{longmapsto}}
7332
\Configure{mapsto} {\pic:sym{mapsto}}
7333
\Configure{models} {\pic:sym{models}}
7334
\Configure{neq} {\pic:sym{neq}}
7335
\Configure{notin} {\pic:sym{notin}}
7336
\Configure{vdots} {\pic:sym{vdots}}
7337
\Configure{angle} {\pic:sym{angle}}
7338
\Configure{rightleftharpoons} {\pic:sym{rightleftharpoons}}
7339
\Configure{leftrightharpoons} {\pic:sym{leftrightharpoons}}
7342
\<picmath latex\><<<
7343
\Configure{mathellipsis} {\ht:special{t4ht@+\string&{35}x2026;}x}
7347
\<picmath plain\><<<
7348
\Configure{ldots} {\ht:special{t4ht@+\string&{35}x2026;}x}
7352
\<configure html4-math fontmath\><<<
7353
\Configure{cdots} {\pic:sym{cdots}}
7354
\Css{img.cdots{vertical-align:middle;}}
7357
\<configure html4-math plain\><<<
7358
\Configure{cdots} {\pic:sym{cdots}}
7359
\Css{img.cdots{vertical-align:middle;}}
7364
\<configure html4-math amsmath\><<<
7365
\Configure{@cdots} {\pic:sym{@cdots}}
7366
\Configure{iint} {\pic:sym{iint}}
7367
\Configure{iiint} {\pic:sym{iiint}}
7368
\Configure{iiiint} {\pic:sym{iiint}}
7369
\Configure{idotsint} {\pic:sym{tsint}}
7370
\Configure{doteq} {\pic:sym{tsint}}
7373
% \Configure{overrightarrow} {\Picture+{}}{\EndPicture}
7374
% \Configure{overleftarrow} {\Picture+{}}{\EndPicture}
7376
\<32,4 picmath: plain, fontmath, amsmath, amstex1\><<<
7377
\Configure{overbrace} {}{\Picture+{}}{\EndPicture}
7378
\Configure{underbrace} {}{\Picture+{}}{\EndPicture}
7384
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7385
\section{Shared plain latex Math}
7386
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7388
\<picmath plain,latex\><<<
7391
\def\end:pmatrix{\IgnorePar\HCode{</div>}\end:TTT}%
7392
\:xhtml{\IgnorePar\EndP}\HCode
7393
{<\tbl:XV{pmatrix}><tr><td><div class="pmatrix"\Hnewline>}%
7394
\else \HCode{<span class="pmatrix">}%
7395
\def \end:pmatrix{\HCode{</span>}}%
7398
\Css{div.pmatrix {text-align:center;}}
7404
\<configure html4-math plain\><<<
7405
|<picmath plain,latex|>
7406
|<picmath plain,fontmath|>
7408
|<pic plain/latex math 4.0t|>
7409
|<32,4 picmath plain|>
7410
|<pic plain math 4.0t|>
7411
|<html4-math plain,fontmath|>
7414
\<32,4 picmath plain\><<<
7416
{\Picture+{ \a:@Picture{sqrt}}}
7418
|<32,4 picmath: plain, fontmath, amsmath, amstex1|>
7430
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7432
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7441
\<configure html4 article\><<<
7442
|<article,report,book options 1, 2, 3|>
7443
\:CheckOption{1} \if:Option
7444
|<toc article,report options 1|>
7446
|<config book-report-article|>
7447
|<config report / article 4.0t|>
7451
\<config report / article 4.0t\><<<
7452
\ConfigureEnv{abstract}
7454
\HCode{<\tbl:XV{abstract}><tr><td\Hnewline>}\par\ShowPar}
7455
{\ifvmode \IgnorePar\fi \EndP\HCode{</td></tr></table>}}{}{}
7456
\Css{.abstract p {margin-left:5\%; margin-right:5\%;}}
7465
\<configure html4 report\><<<
7466
|<article,report,book options 1, 2, 3|>
7467
\:CheckOption{1} \if:Option
7468
|<toc article,report options 1|>
7470
|<config book-report-article|>
7471
|<latex shared part config|>
7472
|<config book-report 4.0t|>
7473
|<config report / article 4.0t|>
7474
|<32,4 report,book|>
7479
\ConfigureMark{chapter}
7480
{\HCode{<span class="titlemark">}\chaptername
7481
\ \thechapter\HCode{</span>}}
7482
\Configure{chapter}{}{}
7483
{\IgnorePar\EndP\HCode{<h2 class="chapterHead"\a:LRdir>}%
7484
\TitleMark{\HCode{<br\xml:empty>}}}
7485
{\HCode{</h2>}\IgnoreIndent\par}
7486
\Configure{chapterTITLE+}{\thechapter\space#1}
7487
\Configure{likechapterTITLE+}{#1}
7490
\<32,4 report,book\><<<
7491
\ConfigureMark{appendix}{\HCode{<span class="titlemark">}%
7492
\appendixname \ \thechapter\HCode{</span>}}
7493
\Configure{appendix}{}{}
7494
{\IgnorePar\EndP\HCode{<h2 class="appendixHead"\a:LRdir>}%
7495
\TitleMark{\HCode{<br\xml:empty>}}}
7496
{\HCode{</h2>}\IgnoreIndent}
7497
\Configure{appendixTITLE+}{\thechapter\space#1}
7498
\Configure{likechapter}{}{}
7499
{\IgnorePar\EndP\HCode{<h2 class="likechapterHead"\a:LRdir>}}
7500
{\HCode{</h2>}\IgnoreIndent}
7501
\Configure{likechapterTITLE+}{#1}
7504
\<32,4 report,book\><<<
7505
\Configure{endchapter}{likechapter,appendix,part,likepart}
7506
\Configure{endlikechapter}{chapter,appendix,part,likepart}
7507
\Configure{endappendix}{chapter,likechapter,part,likepart}
7515
\<configure html4 book\><<<
7516
|<article,report,book options 1, 2, 3|>
7517
\:CheckOption{1} \if:Option
7518
|<toc book options 1|>
7520
|<config book-report-article|>
7521
|<latex shared part config|>
7522
|<config book-report 4.0t|>
7523
|<32,4 report,book|>
7528
\ConfigureMark{chapter}
7530
\HCode{<span class="titlemark">}\chaptername
7531
\ \thechapter\HCode{</span>}\fi}
7532
\Configure{chapter}{}{}
7533
{\IgnorePar\EndP\HCode{<h2 class="chapterHead"\a:LRdir>}%
7534
\TitleMark{\HCode{<br\xml:empty>}}}
7535
{\HCode{</h2>}\IgnoreIndent}
7536
\Configure{chapterTITLE+}{\if@mainmatter\thechapter\space\fi#1}
7537
\renewcommand\thechapter {\if@mainmatter\@arabic\c@chapter\fi}
7540
\<chapter toc css\><<<
7541
\Css{.chapterToc a, .chapterToc, .likechapterToc a, .likechapterToc,
7542
.appendixToc a, .appendixToc
7543
{line-height: 200\%; font-weight:bold;}}
7548
\Css{.partToc a, .partToc, .likepartToc a, .likepartToc
7549
{line-height: 200\%; font-weight:bold; font-size:110\%;}}
7562
\<configure html4 letter\><<<
7567
\ConfigureEnv{verse}
7568
{\ifvmode \IgnorePar\fi\EndP\Tg<div class="verse">}
7569
{\ifvmode \IgnorePar\fi\EndP\Tg</div>}
7571
\ConfigureList{verse}
7573
{\parindent=\z@} {\par}
7574
\Css{.verse{white-space:nowrap; margin-left:2em}}
7580
\<configure html4 letter\><<<
7583
\ConfigureEnv{tabular}{}{}{}{}%
7585
{\EndP\ifvmode \IgnorePar \fi
7586
\HCode{<div class="opening"\a:LRdir>}}
7587
{\HCode{</div><p class="clear-both" />}}
7592
{<br class="hline"/>} {}{}
7593
{<br class="cline" />} {}{} {}
7594
{<br class="vspace"/>} {}{}%
7598
{\EndP\ifvmode \IgnorePar\fi
7599
\HCode{<div class="closing">}}
7600
{\EndP\ifvmode \IgnorePar\fi
7601
\HCode{</div><p class="clear-both" />}}
7602
\longindentation=0pt
7603
\Css{div.opening{float:right;}}
7604
\Css{div.closing {float:right; margin-right:2em;}}
7605
\Css{p.clear-both{clear:both;}}
7608
\<configure html4 letter\><<<
7610
{\ifvmode \IgnorePar\fi \EndP \HCode{<span class="address">}}
7612
\Configure{toaddress}
7613
{\HCode{<div class="toaddress">}}
7616
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="toname">}}
7619
{\HCode{<span class="date">}}
7622
{\HCode{<span class="dear">}}
7624
\Configure{sincerely}
7625
{\HCode{<span class="sincerely">}}
7627
\Configure{signature}
7628
{\HCode{<span class="signature">}}
7631
{\HCode{<div class="cc">}\IgnorePar}
7632
{\ifvmode\IgnorePar\fi\HCode{</div>}}
7634
{\HCode{<div class="encl">}\IgnorePar}
7635
{\ifvmode\IgnorePar\fi\HCode{</div>}}
7640
\section{AMS Art, Proc, Book}
7650
\<configure html4 amsart\><<<
7651
|<ams art,proc,book|>
7659
\<ams art,proc,book\><<<
7661
|<makeketitle config 4.0t|>
7665
\<makeketitle config 4.0t\><<<
7675
\<ams art,proc,book\><<<
7676
\ifx \deferred@thm@head\:UnDef\else
7677
|<shared ams thm/cls|>
7678
|<ams 2000 art + book + proc|>
7682
\<ams 2000 art + book + proc\><<<
7684
{\HCode{<span class="qed">}} {\HCode{</span>}}
7685
\Css{.qed {width:2ex; float:right; text-align:right;}}
7688
\<shared ams thm/cls\><<<
7690
{\ifvmode \IgnorePar \fi \EndP
7691
\HCode{<div class="proof">}\par\ShowPar
7692
\HCode{<span class="head">}\IgnorePar}
7693
{\HCode{</span>}\ShowPar}
7694
{\ifvmode \IgnorePar \fi \EndP \HCode{</div>}\par}
7700
\subsection{amsproc}
7703
\<configure html4 amsproc\><<<
7704
|<ams art,proc,book|>
7715
\<configure html4 amsdtx\><<<
7716
|<amsdtx maketitle|>
7720
%%%%%%%%%%%%%%%%%%%%%
7721
\subsection{amsbook}
7722
%%%%%%%%%%%%%%%%%%%%%
7724
\<configure html4 amsbook\><<<
7725
|<ams art,proc,book|>
7743
\subsection{Divisions}
7747
\<ams art,proc,book\><<<
7748
|<ams art,proc,book div|>
7749
|<ams art,proc,book toc|> |%should appear before TocAt|%
7750
|<ams options 1, 2, 3|>
7754
\<ams art,proc,book div\><<<
7755
\ConfigureMark{part}
7756
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
7758
\HCode{<span class="titlemark">}\@ifundefined{partname}{}{%
7759
\ignorespaces\partname\space}%
7760
\@seccntformat{part}%
7761
\HCode{</span>}\fi }
7762
\Configure{part}{}{}
7763
{\ifvmode \IgnorePar\fi \EndP\IgnorePar
7764
\HCode{<h1 class="partHead"\a:LRdir>}\TitleMark\space\HtmlParOff}
7765
{\HCode{</h1>}\HtmlParOn \IgnoreIndent \par}
7766
\Configure{partTITLE+}{\thepart\space#1}
7771
\Configure{likepart}{}{}
7772
{\IgnorePar\EndP\HCode{<h1 class="likepartHead"\a:LRdir>}}
7773
{\HCode{</h1>}\IgnoreIndent}
7774
\Configure{likepartTITLE+}{#1}
7780
\<ams art,proc,book div\><<<
7781
\ConfigureMark{section}
7782
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
7784
\HCode{<span class="titlemark">}\@ifundefined{sectionname}{}{%
7785
\ignorespaces\sectionname\space}%
7786
\@seccntformat{section}%
7787
\HCode{</span>}\fi }
7788
\Configure{section}{}{}
7789
{\ifvmode \IgnorePar\fi \EndP\IgnorePar
7790
\HCode{<h3 class="sectionHead"\a:LRdir>}\TitleMark\space\HtmlParOff}
7791
{\HCode{</h3>}\HtmlParOn \IgnoreIndent \par}
7792
\Configure{sectionTITLE+}{\thesection\space#1}
7796
\Css{.sectionHead{text-align:center;}}
7802
\<ams proc,book\><<<
7803
\Configure{paragraph}{}{}
7804
{\ShowPar\IgnoreIndent\HCode{<span class="paragraphHead"\a:LRdir>}\begingroup\bf}
7805
{\endgroup\HCode{</span>}\IgnorePar}
7806
\ConfigureMark{subparagraph}{\thesubparagraph}
7807
\Css{.paragraphHead { margin-top:2em; font-weight: bold;}}
7814
\Configure{paragraph}{}{}
7815
{\ShowPar\IgnoreIndent\HCode{<span class="paragraphHead"\a:LRdir>}}
7816
{.\HCode{</span>}\IgnorePar}
7817
\ConfigureMark{subparagraph}{}
7821
\<ams proc,book\><<<
7822
\Configure{subparagraph}{}{}
7823
{\ShowPar\HCode{<span class="subparagraphHead"\a:LRdir>}\begingroup\bf
7825
{\endgroup\HCode{</span>}\IgnorePar}
7826
\Css{.subparagraphHead { font-weight: bold;}}
7830
\Configure{subparagraph}{}{}
7831
{\ShowPar\noindent\HCode{<span class="subparagraphHead"\a:LRdir>}\begingroup
7833
{.\endgroup\HCode{</span>}\IgnorePar}
7839
\ConfigureMark{chapter}
7840
{\HCode{<span class="titlemark">}\chaptername
7841
\ \thechapter\HCode{</span>}}
7842
\Configure{chapter}{}{}
7843
{\IgnorePar\EndP\HCode{<h2 class="chapterHead"\a:LRdir>}%
7844
\TitleMark{\HCode{<br\xml:empty>}}}
7845
{\HCode{</h2>}\IgnoreIndent\par}
7846
\Configure{chapterTITLE+}{\thechapter\space#1}
7850
\ConfigureMark{appendix}{\HCode{<span class="titlemark">}%
7851
\appendixname \ \thechapter\HCode{</span>}}
7852
\Configure{appendix}{}{}
7853
{\IgnorePar\EndP\HCode{<h2 class="appendixHead"\a:LRdir>}%
7854
\TitleMark{\HCode{<br\xml:empty>}}}
7855
{\HCode{</h2>}\IgnoreIndent}
7856
\Configure{appendixTITLE+}{\thechapter\space#1}
7857
\Configure{likechapter}{}{}
7858
{\IgnorePar\EndP\HCode{<h2 class="likechapterHead"\a:LRdir>}}
7859
{\HCode{</h2>}\IgnoreIndent}
7860
\Configure{likechapterTITLE+}{#1}
7865
\Configure{endsection}
7867
\Configure{endsubsection}
7869
\Configure{endsubsubsection}
7870
{subsection,section,part}
7871
\Configure{endparagraph}
7872
{subsubsection,subsection,section,part}
7878
\Configure{endpart}{likepart}
7879
\Configure{endlikepart}{endpart}
7880
\Configure{endchapter}{likechapter,appendix,part,likepart}
7881
\Configure{endlikechapter}{chapter,appendix,part,likepart}
7882
\Configure{endappendix}{chapter,likechapter,part,likepart}
7883
\Configure{endsection}
7884
{chapter,likechapter,appendix,part,likepart}
7885
\Configure{endsubsection}
7886
{section,chapter,likechapter,appendix,part,likepart}
7887
\Configure{endsubsubsection}
7888
{subsection,section,chapter,likechapter,appendix,part,likepart}
7889
\Configure{endparagraph}
7890
{subsubsection,subsection,section,chapter,likechapter,%
7891
appendix,part,likepart}
7902
\subsection{Tocs at Cut Points}
7907
\:CheckOption{1} \if:Option
7908
|<toc article,report options 1|>
7913
\:CheckOption{1} \if:Option
7914
|<toc book options 1|>
7921
%%%%%%%%%%%%%%%%%%%%%%
7922
\section{amsppt.sty}
7923
%%%%%%%%%%%%%%%%%%%%%%
7927
\<configure html4 amsppt\><<<
7928
\ifx \EnditemitemList\:UnDef
7929
\Configure{itemitem}
7931
{\par{\Configure{HtmlPar}{\Tg<p class="itemitem">}
7932
{\Tg<p class="itemitem">} {}{}%
7933
\:xhtml{\Configure{HtmlPar}{\EndP\Tg<div class="itemitem">}
7934
{\EndP\Tg<div class="itemitem">}
7935
{\Tg</div>}{\Tg</div>}}%
7938
\Css{.itemitem {margin-left: 5em; text-indent: -2em;
7939
margin-top: 0.5em; margin-bottom: 0.5em;}}
7951
{\IgnorePar\par\HCode{<div\Hnewline class="title">}}
7952
{\IgnorePar\EndP\HCode{</div>}\IgnorePar}
7953
\Css{div.title {margin-top: 0.5em;
7954
font-weight: bold; text-align:center;}}
7957
{\IgnorePar\par\HCode{<div\Hnewline class="author">}}
7958
{\IgnorePar\EndP\HCode{</div>}\IgnorePar}
7959
\Css{div.author {text-align:center}}
7962
{\IgnorePar\par\HCode{<div\Hnewline class="affil">}}
7963
{\IgnorePar\EndP\HCode{</div>}\IgnorePar}
7964
\Css{.affil {text-align:center}}
7967
{\IgnorePar\par\HCode{<div\Hnewline class="date">}}
7968
{\IgnorePar\EndP\HCode{</div>}\IgnorePar
7969
\append:def\c:footnote{ }%
7971
\Css{.date {text-align:center}}
7973
\Configure{abstract}
7975
\HCode{<div\Hnewline class="abstract">}\ShowPar\IgnoreIndent\par}
7978
{\IgnorePar\EndP\HCode{</div>}\IgnorePar}
7979
\Css{.abstract, .subjclass, .thanks, .keywords
7980
{margin-left:5\%; margin-right:5\%;}}
7982
\Configure{subjclass}
7984
\let\m:top|=\relax \Css{.subjclass {margin-top:1em; }}%
7985
\fi \Tg<div class="subjclass">}
7989
\let\m:top|=\relax \Css{.thanks {margin-top:1em; }}%
7990
\fi \Tg<div class="thanks">}
7992
\Configure{keywords}
7994
\let\m:top|=\relax \Css{.keywords {margin-top:1em; }}%
7995
\fi \ifvmode \IgnorePar\fi\EndP\Tg<div class="keywords">}
7996
{\ifvmode \IgnorePar\fi \EndP\Tg</div>}
7999
\<32 amsppt, 32,4 vanilla\><<<
8001
{\IgnorePar\EndP\HCode{<div class="title">}\begingroup\bf}
8002
{\endgroup\IgnorePar\HCode{</div>}}
8003
\Css{div.title {margin-top: 0.5em;}}
8005
{\IgnorePar\EndP\HCode{<br\xml:empty><center>}\IgnorePar\par}
8006
{\IgnorePar\EndP\HCode{</center>}}
8011
\Configure{specialhead}{}{}
8012
{\IgnorePar\EndP\HCode{<h1 class="amsspecialheadHead"\a:LRdir>}}
8013
{\HCode{</h1>}\IgnoreIndent}
8014
\ConfigureToc{specialhead}
8015
{\HCode{<center>}\ignorespaces}{ }
8016
{}{\HCode{</center>}}
8017
\Configure{head}{}{}
8018
{\IgnorePar\EndP\HCode{<h2 class="amsheadHead"\a:LRdir>}}
8019
{\HCode{</h2>}\IgnoreIndent}
8021
{\ignorespaces}{ }{}{\HCode{<br\xml:empty>}}
8022
\Configure{subhead}{}{}
8023
{\IgnorePar\EndP\HCode{<h3 class="amssubheadHead"\a:LRdir>}}
8024
{\HCode{</h3>}\IgnoreIndent}
8025
\ConfigureToc{subhead}
8026
{\:nbsp\:nbsp\:nbsp\:nbsp\ignorespaces} { }
8027
{} {\HCode{<br\xml:empty>}}
8028
\Configure{subsubhead}{}{}
8029
{\IgnorePar\EndP\HCode{<h4 class="amssubsubheadHead"\a:LRdir>}}
8030
{\HCode{</h4>}\IgnoreIndent}
8031
\ConfigureToc{subsubhead}
8032
{\:nbsp\:nbsp\:nbsp\:nbsp\:nbsp%
8033
\:nbsp\:nbsp\:nbsp\ignorespaces} { } {} {\HCode{<br\xml:empty>}}
8036
\HCode{<table cellpadding="15"><tr><td>}\IgnorePar\par}
8037
{\IgnorePar\HCode{</td></tr></table>}\IgnorePar\par}
8040
{\IgnorePar\EndP\HCode{<table>}\let\end:item|=\empty}
8041
{\IgnorePar\end:item\HCode{</table>}\IgnorePar\par}
8042
{\IgnorePar\end:item \HCode{<tr valign="top"><td>}
8043
\def\end:item{\EndP\HCode{</td></tr>}}}
8044
{\:nbsp\EndP\HCode{</td><td>}\ShowPar}
8045
{\IgnorePar\EndP\HCode{<table>}\let\end:iitem|=\empty}
8046
{\IgnorePar\end:iitem\HCode{</table>}\IgnorePar\par}
8047
{\IgnorePar\end:iitem\HCode{<tr valign="top"><td>}}
8049
\def\end:iitem{\EndP\HCode{</td></tr>}}}
8050
|<bib in amsppt.sty|>
8053
%%%%%%%%%%%%%%%%%%%%%%%%
8054
\section{amstex.tex}
8055
%%%%%%%%%%%%%%%%%%%%%%%%
8057
\<amstex.tex m:env\><<<
8058
|<amsmath / amstex1 m:env|>
8062
\def\m:env#1{\:xhtml{\IgnorePar\EndP}\HCode{<center><table class="#1"
8063
border="0" cellpadding="0" cellspacing="15"><tr><td>}}
8064
\def\endm:env{\HCode
8065
{</td></tr></table></center>}\IgnorePar}
8068
\<amsmath / amstex1 m:env\><<<
8069
\def\m:env#1{\relax\ifmmode\else\par\fi\:xhtml{\IgnorePar\EndP}%
8070
\HCode{<center class="#1"><table class="#1"\Hnewline
8071
border="0" cellpadding="0" cellspacing="15"><tr><td>}}
8072
\def\endm:env{\:xhtml{\IgnorePar\EndP}%
8073
\HCode{</td></tr></table></center>}\IgnorePar
8074
\ifmmode\else\par\fi}
8078
\<shared amstex.tex matrix 4.0t\><<<
8079
\Configure{linebreak}{\HCode{<br\xml:empty>}}
8080
|<amstex.tex m:env|>
8083
\<configure html4-math amstex\><<<
8085
{\bgroup\m:env{pmatrix}}
8087
\Configure{smallmatrix}
8088
{\bgroup\m:env{smallmatrix}\Picture+{}}
8089
{\EndPicture\endm:env\egroup}
8092
{\bgroup\m:env{bmatrix}}
8094
\Configure{vmatrix}{\bgroup\m:env{vmatrix}}{\endm:env\egroup}
8095
\Configure{Vmatrix}{\bgroup\m:env{Vmatrix}}{\endm:env\egroup}
8097
{\bgroup\m:env{aligned}\Picture+{}}
8098
{\EndPicture\endm:env\egroup}
8100
\Configure{xalignat}
8101
{\bgroup\m:env{xalignat}}
8104
\Configure{xxalignat}
8105
{\bgroup\m:env{xxalignat}}
8108
\Configure{multline}
8109
{\bgroup\m:env{multline}\Picture+{}\vtop\bgroup$$}
8110
{$$\egroup\EndPicture\endm:env\egroup}
8112
\Configure{alignedat}
8113
{\bgroup\m:env{alignedat}\Picture+{}}
8114
{\EndPicture\endm:env\egroup}
8116
\Configure{gathered}
8117
{\bgroup\m:env{gathered}\Picture+{}}
8118
{\EndPicture\endm:env\egroup}
8122
% \Configure{topaligned}{\m:env{topaligned}}{\endm:env}
8123
% \Configure{botaligned}{\m:env{botaligned}}{\endm:env}
8125
\<configure html4-math amstex\><<<
8126
|<shared amstex.tex matrix 4.0t|>
8127
|<tabular amstex.tex matrix 4.0t|>
8128
|<tabular amstex.tex align 4.0t|>
8129
|<nonpic amstex.tex cases 4.0t|>
8130
\:CheckOption{pic-matrix} \if:Option
8132
{\m:env{matrix}\Picture+{}} {\EndPicture\endm:env}
8135
\Log:Note{for pictorial matrix,
8136
use the command line option `pic-matrix'}
8138
\:CheckOption{pic-align} \if:Option
8140
{\m:env{align}\Picture+{}} \EndPicture{\endm:env}
8143
\Log:Note{for pictorial align,
8144
use the command line option `pic-align'}
8146
{\HCode{<table\Hnewline class="align">}} {\HCode{</table>}}
8147
{\HCode{<tr\Hnewline>}} {\HCode{</tr>}}
8148
{\HCode{<td>}} {\HCode{</td>}}
8150
\:CheckOption{pic-cases} \if:Option
8152
{\m:env{cases}\Picture+{}}{\EndPicture\endm:env}
8154
\Log:Note{for pictorial cases,
8155
use the command line option `pic-cases'}
8158
{\bgroup\m:env{alignat}\Picture+{}}
8159
{\EndPicture\endm:env \egroup}
8162
{\bgroup\m:env{gather}\Picture+{}}
8163
{\EndPicture\endm:env\egroup}
8165
|<32,4 picmath amstex.tex|>
8168
\<32,4 picmath amstex.tex\><<<
8169
\Configure{frac}{\Picture+{ align="middle"}}{\EndPicture}
8170
\Configure{dfrac}{\Picture+{ align="middle"}}{\EndPicture}
8171
\Configure{tfrac}{\Picture+{ align="middle"}}{\EndPicture}
8172
\Configure{binom}{\Picture+{ align="middle"}}{\EndPicture}
8173
\Configure{dbinom}{\Picture+{ align="middle"}}{\EndPicture}
8174
\Configure{tbinom}{\Picture+{ align="middle"}}{\EndPicture}
8175
\Configure{boxed}{\Picture+{ align="middle"}}{\EndPicture}
8178
\<tabular amstex.tex matrix 4.0t\><<<
8180
{\HCode{<table\Hnewline class="matrix">}} {\HCode{</table>}}
8181
{\HCode{<tr\Hnewline>}} {\HCode{</tr>}}
8182
{\HCode{<td>}} {\HCode{</td>}}
8183
\Configure{cases}{\m:env{cases}}{\endm:env}
8188
\section{amsthm.sty}
8190
\<configure html4 amsthm\><<<
8191
\ConfigureEnv{proof}{\par\leavevmode}{\par\ShowPar}{}{}
8192
|<shared ams thm/cls|>
8202
%\Configure{equation}
8203
% {\:xhtml{\IgnorePar\EndP}%
8204
% \HCode{<\tbl:XV{equation}><tr><td>}\IgnorePar
8206
% {\IgnorePar\EndP\HCode{</td><td width="5\%">}}
8209
\<configure html4-math amsmath\><<<
8210
\Configure{equation}
8211
{\ifmmode\else\par \IgnorePar\fi \EndP
8212
\HCode{<\tbl:XV{equation}><tr><td>}\IgnorePar
8214
{\ifvmode \IgnorePar\fi\EndP\HCode{</td><td width="5\%">}}
8215
{\end:TTT\ifmmode\else |<try inline par|>\fi}
8216
\Css{.equation td{text-align:center; }}
8219
Equations in amsmath.sty are defined in term of gather, and
8220
gather is a one parameter macro. Unlike laktex where the body is
8221
read within the environment, in gather it is read at the \verb'\begin{equation}' point under the conditions that exist there.
8223
\<configure html4-math amsmath\><<<
8224
\Configure{substack}{\Picture+{}}{\EndPicture}
8229
\<configure html4-math amsmath\><<<
8230
|<amsmath / amstex1 m:env|>
8233
\<configure html4-math amsmath\><<<
8234
\:CheckOption{pic-align} \if:Option
8235
|<amsmath pic-align css|>
8237
|<amsmath align css|>
8239
\:tempc{align}{align}
8240
\:tempc{alignat}{alignat}
8241
\:tempc{xalignat}{xalignat}
8242
\:tempc{xxalignat}{xxalignat}
8243
\:tempc{flalign}{flalign}
8244
\:tempc{align*}{align-star}
8245
\:tempc{alignat*}{alignat-star}
8246
\:tempc{xalignat*}{xalignat-star}
8247
\:tempc{flalign*}{flalign-star}
8250
\<amsmath align css\><<<
8253
{\IgnorePar\EndP \HCode{<table\Hnewline class="#2">}}
8254
{\HCode{</table>}} {\HCode{<tr>}} {\HCode{</tr>}}
8255
{\HCode{<td\Hnewline
8256
class="align-\ifnum \HCol>\maxfields@ label\else
8257
\ifodd\HCol\space odd\else even\fi
8260
\Css{table.align, table.alignat, table.xalignat, table.xxalignat,
8261
table.flalign, table.align-star, table.alignat-star,
8262
table.xalignat-star, table.flalign-star
8263
{width:100\%; white-space: nowrap;}}
8264
\Css{td.align-label { width:5\%; }}
8265
\Css{td.align-odd { text-align:right; padding-right:0.3em;}}
8266
\Css{td.align-even { text-align:left; padding-right:0.6em;}}
8269
\<amsmath pic-align css\><<<
8272
{\par\IgnorePar\EndP\HCode{<div class="align">}\Picture*[pict]{}}
8273
{\EndPicture\EndP\HCode{</div>}\par}
8275
\Css{div.align {text-align: center;}}
8278
\<configure html4-math amsmath\><<<
8280
{\HCode{<table\Hnewline class="split"><tr><td>}}
8281
{\ifvmode \IgnorePar\fi \HCode{</td></tr></table>}}
8282
{\HCode{<br\Hnewline class="split-tr"\xml:empty>}} {}
8283
{\HCode{<br\Hnewline class="split-td"\xml:empty>}} {}
8284
\Configure{smallmatrix}
8285
{\:xhtml{\IgnorePar\EndP}%
8286
\HCode{<table\Hnewline class="smallmatrix">}} {\HCode{</table>}}
8287
{\HCode{<tr>}} {\HCode{</tr>}}
8288
{\HCode{<td\Hnewline>}} {\HCode{</td>}}
8293
\<configure html4-math amsmath\><<<
8294
\ConfigureEnv{gather*}{\m:env{gather*}}{\endm:env}{}{}
8295
\ConfigureEnv{gathered}{\m:env{gathered}}{\endm:env}{}{}
8296
\ConfigureEnv{matrix}{\m:env{matrix}}{\endm:env}{}{}
8297
\ConfigureEnv{quotation}{\m:env{quotation}}{\endm:env}{}{}
8298
\Configure{equations}{*}{}
8302
A `\verb'\begin{multline}...\end{multline}' is not a standard environment
8303
in the sense that the environment as a whole is read in one piece and
8304
then processed, instead of reading it piecewise and process it as it
8305
goes. That is, we have a behavior similar to that in verbatim
8306
environments. The behavior is due to multline being implemented in
8307
terms of \verb'\gather@#1{..}'. Hence, for the picture environment, we
8308
need to change early the catcodes of `\verb'_' and `\verb'^'.
8310
\<configure html4-math amsmath\><<<
8311
\ConfigureEnv{multline}
8312
{\:xhtml{\IgnorePar\EndP}%
8313
\HCode{<\tbl:XV{multline}><tr><td>}\Picture*{}\ExtractHLabel
8315
{\EndPicture |<put HLabel|>\end:TTT}
8318
\ConfigureEnv{multline*}
8319
{\:xhtml{\IgnorePar\EndP}%
8320
\HCode{<\tbl:XV{multline-star}><tr><td>}\Picture*{}%
8322
{\EndPicture \end:TTT}
8324
|<extract amsmath labels|>
8327
\<extract amsmath labels\><<<
8328
\def\ExtractHLabel{%
8330
\ifx \:HLabel\:UnDef \let\:HLabel=\empty \fi
8331
\def\tagform@####1{\expandafter\let\csname ####1\endcsname\def}%
8333
\expandafter\ifx\csname ##1\endcsname\relax
8334
\let\tagform@=\relax
8336
\edef\:temp{\noexpand\append:def\noexpand
8337
\:HLabel{\HCode{<br />}\tagform@{##1}\HCode{<br />}}}%
8339
\global\let\:HLabel=\:HLabel
8342
\def\PutHLabel{\:HLabel}
8346
\ifx \:HLabel\:Undef \else
8347
\HCode{</td><td width="5\%">}\PutHLabel
8348
\global\let\:HLabel\:Undef
8355
\<configure html4-math amsmath\><<<
8356
\ConfigureEnv{gather}
8357
{\:xhtml{\IgnorePar\EndP}%
8358
\HCode{<\tbl:XV{gather}><tr><td
8359
class="gather1">}\Picture*{}\ExtractHLabel
8361
{\EndPicture |<put HLabel|>\end:TTT}
8363
\ConfigureEnv{gather*}
8364
{\:xhtml{\IgnorePar\EndP}%
8365
\HCode{<\tbl:XV{gather-star}><tr><td>}\Picture*{}%
8367
{\EndPicture \end:TTT}
8369
\Css{td.gather-star, td.gather1 {text-align:center; }}
8376
\<mathml: plain, amsmath, amstex1\><<<
8377
\def\underarrow@#1#2#3{%
8378
\Tg<|.munder>\Tg<|.mrow\Hnewline>#1\Tg</|.mrow>%
8379
\Tg<|.mrow\Hnewline>#2\Tg</|.mrow>%
8382
\def\overarrow@#1#2#3{%
8383
\Tg<|.mover>\Tg<|.mrow
8384
class="fill">#1\Tg</|.mrow>%
8385
\Tg<|.mrow\Hnewline>{#2#3}\Tg</|.mrow>%
8389
\<mathml: plain, fontmath, amsmath, amstex1\><<<
8390
\def\overrightarrow{\mathpalette{\overarrow@\rightarrow}}
8391
\def\overleftarrow{\mathpalette{\overarrow@\leftarrow}}
8392
\def\overleftrightarrow{\mathpalette{\overarrow@\leftrightarrow}}
8394
\def\underrightarrow{\mathpalette{\underarrow@\rightarrow}}
8395
\def\underleftarrow{\mathpalette{\underarrow@\leftarrow}}
8396
\def\underleftrightarrow{\mathpalette{\underarrow@\leftrightarrow}}
8400
\<mathml: plain, fontmath, amsmath, amstex1NO\><<<
8401
\def\overrightarrow{\mathpalette{\overarrow@\rightarrow}}
8402
\def\overleftarrow{\mathpalette{\overarrow@\leftarrow}}
8403
\def\overleftrightarrow{\mathpalette{\overarrow@\leftrightarrow}}
8405
\def\underrightarrow{\mathpalette{\underarrow@\rightarrow}}
8406
\def\underleftarrow{\mathpalette{\underarrow@\leftarrow}}
8407
\def\underleftrightarrow{\mathpalette{\underarrow@\leftrightarrow}}
8410
The \verb'\HCode{}' in \verb'\sideset' is for catching superscripts and subscripts
8413
\<32,4 picmath amsmath,amstex1\><<<
8414
|<32,4 picmath: plain, fontmath, amsmath, amstex1|>
8417
\<configure html4-math amsmath\><<<
8418
|<32,4 picmath amsmath,amstex1|>
8421
\<configure html4-math amsmath\><<<
8422
\Configure{overset} {\Picture+{ \a:@Picture{}}} {\EndPicture}
8423
\Configure{underset} {\Picture+{ \a:@Picture{}}} {\EndPicture}
8427
\<configure html4-math amsmath\><<<
8428
\Configure{xrightarrow} {\Picture+{ \a:@Picture{}}} {\EndPicture}
8429
\Configure{xleftarrow} {\Picture+{ \a:@Picture{}}} {\EndPicture}
8431
{\Picture+{}\bgroup} {}{}{}{}{\egroup\EndPicture}
8434
\section{amstex.sty (amstex1)}
8436
\<configure html4 amstex1\><<<
8437
\ConfigureEnv{aligned}{\m:env{aligned}}{\endm:env}{}{}
8438
|<amsmath / amstex1 m:env|>
8442
\<configure html4-math amstex1\><<<
8443
|<32,4 picmath amsmath,amstex1|>
8444
\ConfigureEnv{equation*}{\m:env{equation*}}{\endm:env}{}{}
8445
\ConfigureEnv{equation}{\m:env{equation}}{\endm:env}{}{}
8446
\Configure{eqn}{\HCode{</td><td>}}
8447
\ConfigureEnv{align}{\m:env{align}}{\endm:env}{}{}
8448
\ConfigureEnv{align*}{\m:env{align*}}{\endm:env}{}{}
8449
\ConfigureEnv{alignat}{\m:env{alignat}}{\endm:env}{}{}
8450
\ConfigureEnv{alignat*}{\m:env{alignat*}}{\endm:env}{}{}
8451
\ConfigureEnv{xalignat}{\m:env{xalignat}}{\endm:env}{}{}
8452
\ConfigureEnv{xxalignat}{\m:env{xxalignat}}{\endm:env}{}{}
8453
\ConfigureEnv{xalignat*}{\m:env{xalignat*}}{\endm:env}{}{}
8454
\ConfigureEnv{aligned}{\m:env{aligned}}{\endm:env}{}{}
8455
\ConfigureEnv{alignedat}{\m:env{alignedat}}{\endm:env}{}{}
8456
\ConfigureEnv{gather}{\m:env{gather}}{\endm:env}{}{}
8457
\ConfigureEnv{gather*}{\m:env{gather*}}{\endm:env}{}{}
8458
\ConfigureEnv{gathered}{\m:env{gathered}}{\endm:env}{}{}
8459
\ConfigureEnv{matrix}{\m:env{matrix}}{\endm:env}{}{}
8460
\ConfigureEnv{multline}{\m:env{multline}}{\endm:env}{}{}
8461
\ConfigureEnv{multline*}{\m:env{multline*}}{\endm:env}{}{}
8462
\ConfigureEnv{pmatrix}{\m:env{pmatrix}}{\endm:env}{}{}
8463
\ConfigureEnv{bmatrix}{\m:env{bmatrix}}{\endm:env}{}{}
8464
\ConfigureEnv{vmatrix}{\m:env{vmatrix}}{\endm:env}{}{}
8465
\ConfigureEnv{Vmatrix}{\m:env{Vmatrix}}{\endm:env}{}{}
8466
\Configure{gather}{\Picture*{}}{\EndPicture}
8473
\<config amstex1 pic-math utilities\><<<
8475
{\Picture*{}}{\EndPicture} {}{}{}{}
8478
\<configure html4-math amstex1\><<<
8479
\Configure{dotsc} {\pic:sym{dotsc}}
8480
\Configure{dotso} {\pic:sym{dotso}}
8485
\<configure html4-math amsmath\><<<
8486
\Configure{intertext}
8487
{\IgnorePar \ifinalign@
8488
\HCode{</td></tr><tr><td colspan="\HCol"
8489
class="intertext">}%
8491
\HCode{<tr><td colspan="\HCol" class="intertext">}%
8494
{\ifvmode \IgnorePar \fi \EndP\ifinalign@
8495
\HCode{</td></tr><tr><td>}%
8504
\<configure html4-math amsmath\><<<
8507
{\ifx \EndPicture \:UnDef \else \let\tagform@=\:gobble \fi}
8516
\<configure html4 amscd\><<<
8518
{\Picture*{ class="CD"}$} {$\EndPicture} {}{}
8519
\Css{.CD {text-align:center}}
8532
\<configure html4 memoir\><<<
8533
\Configure{poemline}
8534
{\HCode{<span class="poemline">}} {\HCode{</span>}}
8535
\Css{.poemline {text-align:right; width:6em;}}
8540
\section{Elsvier Articles (elsart)}
8543
\<configure html4 elsart\><<<
8545
\Configure{abstract}
8546
{\HCode{<\tbl:XV{abstract}><tr><td\Hnewline>}\par\ShowPar}
8548
{\ifvmode\IgnorePar\fi \HCode{</td></tr></table>}}
8550
{\HCode{<\tbl:XV{keyword}><tr><td\Hnewline>}}
8551
{\ifvmode\IgnorePar\fi \HCode{</td></tr></table>}}
8552
\ConfigureEnv{abstract}
8553
{\ifvmode \IgnorePar\fi \EndP}
8554
{\ifvmode \IgnorePar\fi \EndP}
8556
\ConfigureEnv{keyword}
8557
{\ifvmode \IgnorePar\fi \EndP}
8558
{\ifvmode \IgnorePar\fi \EndP}
8564
\ConfigureEnv{frontmatter}
8566
\HCode{<\tbl:XV{frontmatter}><tr><td><div
8567
class="frontmatter"\Hnewline>}}
8568
{\ifvmode\IgnorePar\fi \EndP\HCode{</div>}\end:TTT\IgnorePar}
8570
\Css{div.frontmatter {text-align:center;}}
8575
%%%%%%%%%%%%%%%%%%%%%
8576
\section{American Psychological Association (APA)}
8577
%%%%%%%%%%%%%%%%%%%%%
8579
\<configure html4 apa\><<<
8584
{\HCode{<div class="note">}\bgroup
8585
|<apa maketitle br cr|>%
8587
{\egroup \HCode{</div>}}
8588
\Css{div.note{text-align:left; margin-top:1em; }}
8591
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8593
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8595
\<configure html4 JHEP\><<<
8596
|<latex shared part config|>
8597
|<latex shared section config|>
8598
|<latex shared subsection config|>
8599
|<latex shared subsubsection config|>
8600
|<acm paragraph config|>
8601
\Css{.sectionHead, .partHead{text-transform:uppercase}}
8602
\Css{.subsubsectionHead, .likesubsubsectionHead {font-style: italic;}}
8605
\<configure html4 JHEP\><<<
8606
\Configure{abstract}
8607
{\ifvmode \IgnorePar\fi \EndP
8608
\HCode{<div class="abstract">}\IgnoreIndent}
8609
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
8610
\Configure{accepted}
8611
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="accepted">}}
8612
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
8614
{\ifvmode \IgnorePar\fi \EndP
8615
\HCode{<div class="author">}\par \ShowPar}
8616
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
8617
\Configure{conference}
8618
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="conference">}}
8619
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
8620
\Configure{dedicated}
8621
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="dedicated">}}
8622
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
8623
\Configure{keywords}
8624
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="keywords">}}
8625
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
8626
\Configure{preprint}
8627
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="preprint">}}
8628
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
8629
\Configure{received}
8630
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="received">}}
8631
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
8633
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="title">}}
8634
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
8635
\Css{.abstract{margin-top:1em; margin-bottom:1em;}}
8636
\Css{.accepted{margin-top:1em; margin-bottom:1em; text-align:right;}}
8637
\Css{div.author{margin-top:1em; margin-bottom:1em; margin-left:2em;}}
8638
\Css{.conference{margin-top:1em; margin-bottom:1em;}}
8639
\Css{.dedicated{margin-top:1em; margin-bottom:1em;}}
8640
\Css{.keywords{margin-top:1em; margin-bottom:1em;}}
8641
\Css{.preprint{margin-top:1em; margin-bottom:1em;}}
8642
\Css{.received{margin-top:1em; margin-bottom:1em; text-align:right;}}
8643
\Css{.title{margin-top:1em; margin-bottom:1em;}}
8646
\<configure html4 JHEP\><<<
8649
|<JHEP maketitle footnote|>
8652
\<JHEP thanks author date and\><<<
8654
{\HCode{<div class="thanks">}}{\HCode{</div>}}
8655
|<thank for thanks|>
8656
\Css{div.thanks{text-align:left; margin-left:10\%; font-size:80\%;
8657
font-style:italic; }}
8661
\<JHEP end-thanks author date and\><<<
8663
{\SaveEndP\global\setbox\fn:box=\vtop\bgroup\ShowPar
8664
\ifvoid\fn:box\else \csname unvbox\endcsname\fn:box\fi}
8665
{\ifvmode\IgnorePar\fi\EndP\egroup\RecallEndP }
8666
|<thanks for thanks EndP|>
8667
\Css{div.thanks{text-align:left; margin-left:10\%; font-size:80\%;
8668
font-style:italic; }}
8674
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8675
\section{acm-proc-article-sp}
8676
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
8679
\<configure html4 acm-proc-article-sp\><<<
8681
|<acm-proc-article-sp thebib config|>
8688
\<configure html4 acm-proc-article-sp\><<<
8690
{\Picture+[Q.E.D.]{}\o:qed:\EndPicture
8691
\SavePicture\qed:sym[Q.E.D.]}
8694
\<configure html4 acm-proc-article-sp\><<<
8695
|<latex shared part config|>
8696
|<latex shared section config|>
8697
|<latex shared subsection config|>
8698
|<latex shared subsubsection config|>
8699
|<acm paragraph config|>
8700
\Css{.sectionHead, .partHead{text-transform:uppercase}}
8701
\Css{.subsubsectionHead, .likesubsubsectionHead {font-style: italic;}}
8704
\<acm paragraph config\><<<
8705
\ConfigureMark{paragraph}
8706
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
8708
\HCode{<span class="titlemark">}\theparagraph\space
8710
\Configure{paragraph}{}{}
8711
{\ifvmode \IgnorePar \fi \EndP
8712
\bgroup \IgnorePar\HCode{<h5 class="paragraphHead"\a:LRdir>}%
8713
\TitleMark\space \HtmlParOff}
8714
{\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup}
8715
\Configure{likeparagraph}{}{}
8716
{\ifvmode \IgnorePar \fi \EndP
8717
\bgroup \IgnorePar\HCode{<h5 class="likeparagraphHead"\a:LRdir>}%
8719
{\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup}
8720
\Css{.paragraphHead, .likeparagraphHead { font-style:italic; }}
8727
%%%%%%%%%%%%%%%%%%%%
8729
%%%%%%%%%%%%%%%%%%%%
8731
\<configure html4 scrbook\><<<
8732
|<scr article,report,book|>
8737
\def\:SPAN#1#2{\HCode{<span class="#1">}#2\HCode{</span>}}
8741
|<cut toc scr: part|>%
8745
\CutAt{chapter,likechapter,addchap,appendix,part}
8746
\CutAt{likechapter,addchap,appendix,part}
8747
\CutAt{addchap,chapter,likechapter,appendix,part}
8748
\CutAt{appendix,chapter,likechapter,addchap,part}
8753
\CutAt{section,likesection,chapter,likechapter,addchap,appendix,part}
8754
\CutAt{likesection,chapter,likechapter,addchap,appendix,part}
8758
|<tocat scr: section|>%
8759
|<tocat scr: subsection|>%
8760
|<cut toc: subsec|>%
8763
\:CheckOption{4} \if:Option
8764
\expandafter\ifx \csname @chapter\endcsname\relax
8765
\:tempa \:tempc \:tempd
8766
\else \:tempa \:tempb \:tempc \:tempd \fi
8767
\else\:CheckOption{3} \if:Option
8768
\expandafter\ifx \csname @chapter\endcsname\relax
8769
\:tempa \:tempc \:tempd
8770
\else \:tempa \:tempb \:tempc \fi
8771
\else\:CheckOption{2} \if:Option
8772
\expandafter\ifx \csname @chapter\endcsname\relax \:tempa \:tempc
8773
\else \:tempa \:tempb \fi
8774
\else\:CheckOption{1} \if:Option
8777
\Log:Note{for sectioning pagination,
8778
use the command line option `1', `2', or `3'}%
8781
\:CheckOption{1} \if:Option
8782
|<toc scrbook options 1|>
8785
|<scrbook end units|>
8786
\ifx \part\:UnDef \else
8787
|<latex shared part config|>
8790
|<config lists of figures and tables|>
8792
\Configure{paragraph}{}{}
8793
{\ShowPar\IgnoreIndent\HCode{<span class="paragraphHead"\a:LRdir>}\begingroup\bf}
8794
{\endgroup\HCode{</span>}\IgnorePar}
8795
\Configure{likeparagraph}{}{}
8796
{\ShowPar\IgnoreIndent\HCode{<span class="likeparagraphHead"\a:LRdir>}}
8797
{\HCode{</span>}\IgnorePar}
8798
\Css{.paragraphHead, .likeparagraphHead
8799
{ margin-top:2em; font-weight: bold;}}
8801
\ConfigureMark{subparagraph}{\thesubparagraph}
8802
\Configure{subparagraph}{}{}
8803
{\ShowPar\HCode{<span class="subparagraphHead"\a:LRdir>}\begingroup\bf
8805
{\endgroup\HCode{</span>}\IgnorePar}
8806
\Configure{likesubparagraph}{}{}
8807
{\ShowPar\HCode{<span class="likesubparagraphHead"\a:LRdir>}\begingroup\bf}
8808
{\endgroup\HCode{</span>}\IgnorePar}
8809
\Css{.subparagraphHead, .likesubparagraphHead
8810
{ font-weight: bold;}}
8811
\ConfigureEnv{picture}
8812
{\bgroup\ifvmode \Configure{HtmlPar}
8813
{\EndP\HCode{<!--l. \the\inputlineno-->%
8816
{\EndP\HCode{<!--l. \the\inputlineno-->%
8819
{\:xhtml{\Tg</p>}}{\:xhtml{\Tg</p>}} \ShowPar\leavevmode
8823
\ConfigureEnv{quote}
8825
{\IgnorePar\EndP\HCode{<div class="quote">}}
8826
{\IgnorePar\EndP\HCode{</div>}\ShowPar\ShowIndent}
8827
\Css{.quote {margin-bottom:0.25em;
8828
margin-top:0.25em; margin-left:1em; }}
8829
|<book-report-article index|>
8830
|<scr reprt/book captions|>
8832
\ConfigureEnv{verse}
8833
{\ifvmode \IgnorePar\fi\EndP\Tg<div class="verse">}
8834
{\ifvmode \IgnorePar\fi\EndP\Tg</div>}
8836
\ConfigureList{verse}
8838
{\parindent=\z@} {\par}
8839
\Css{.verse{white-space:nowrap; margin-left:2em}}
8842
\ConfigureEnv{quotation}
8844
{\IgnorePar\EndP\HCode{<div class="quotation">}}
8845
{\IgnorePar\EndP\HCode{</div>}\ShowPar}
8846
\Css{.quotation {margin-bottom:0.25em;
8847
margin-top:0.25em; margin-left:1em; }}
8849
\Configure{listof}{}{}{}{\HCode{<br\xml:empty>}}{}{}
8853
|<latex shared part config|>
8857
\<scrbook end-thanks author date and\><<<
8858
\Configure{thanks author date and}
8859
{\SaveEndP\global\setbox\fn:box=\vtop\bgroup\ShowPar
8860
\ifvoid\fn:box\else \csname unvbox\endcsname\fn:box\fi}
8861
{\EndP\egroup\RecallEndP }
8862
{\HCode{<div class="author" >}}{\HCode{</div>}}
8863
{\HCode{<div class="date" >}}{\HCode{</div>}}
8864
{\HCode{<br class="and"\xml:empty>}}
8865
{\HCode{<br\xml:empty>}}
8866
|<thanks for thanks p|>
8867
\Css{div.author, div.date {text-align:center;}}
8868
\Css{div.thanks{text-align:left; margin-left:10\%; font-size:80\%;
8869
font-style:italic; }}
8874
\<scrbook thanks author date and\><<<
8875
\Configure{thanks author date and}
8876
{\HCode{<div class="thanks">}}{\HCode{</div>}}
8877
{\HCode{<div class="author">}}{\HCode{</div>}}
8878
{\HCode{<div class="date" >}}{\HCode{</div>}}
8879
{\HCode{<br class="and"\xml:empty>}}
8880
{\HCode{<br\xml:empty>}}
8881
|<thank for thanks|>
8882
\Css{div.author, div.date {text-align:center;}}
8883
\Css{div.thanks{text-align:left; margin-left:10\%; font-size:80\%;
8884
font-style:italic; }}
8889
\<scr report,book\><<<
8890
\ConfigureMark{section}
8891
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
8893
\HCode{<span class="titlemark">}\thesection\HCode{</span>}\fi }
8894
\Configure{section}{}{}
8895
{\ifvmode \IgnorePar\fi \EndP\IgnorePar
8896
\HCode{<h3 class="sectionHead"\a:LRdir>}\TitleMark.~~\HtmlParOff}
8897
{\HCode{</h3>}\HtmlParOn \IgnoreIndent \par}
8898
\Configure{sectionTITLE+}{\thesection\space#1}
8899
\Configure{likesection}{}{}
8900
{\ifvmode \IgnorePar\fi
8901
\EndP\IgnorePar\HCode{<h3 class="likesectionHead"\a:LRdir>}\HtmlParOff}
8902
{\HCode{</h3>}\HtmlParOn \IgnoreIndent \par}
8903
\Configure{likesectionTITLE+}{#1}
8908
\<scr report,book\><<<
8909
|<shared h5 subsubsection|>
8910
\ConfigureMark{appendix}{\HCode{<span class="titlemark">}%
8911
\thechapter\HCode{</span>}}
8912
\Configure{appendix}{}{}
8913
{\IgnorePar\EndP\HCode{<h2 class="appendixHead"\a:LRdir>}\TitleMark{}.~~}
8914
{\HCode{</h2>}\IgnoreIndent}
8915
\Configure{appendixTITLE+}{\thechapter\space#1}
8916
\Configure{likechapter}{}{}
8917
{\IgnorePar\EndP\HCode{<h2 class="likechapterHead"\a:LRdir>}}
8918
{\HCode{</h2>}\IgnoreIndent}
8919
\Configure{likechapterTITLE+}{#1}
8920
\Configure{addchap}{}{}
8921
{\IgnorePar\EndP\HCode{<h2 class="addchapHead"\a:LRdir>}}
8922
{\HCode{</h2>}\IgnoreIndent\par}
8925
\<configure html4 scrbook\><<<
8926
\ConfigureMark{chapter}
8928
\HCode{<span class="titlemark">}\thechapter\HCode{</span>}.~~\fi}
8929
\Configure{chapter}{}{}
8930
{\IgnorePar\EndP\HCode{<h2 class="chapterHead"\a:LRdir>}\TitleMark{}}
8931
{\HCode{</h2>}\IgnoreIndent}
8932
\Configure{chapterTITLE+}{\if@mainmatter\thechapter\space\fi#1}
8933
\renewcommand\thechapter {\if@mainmatter\@arabic\c@chapter\fi}
8936
\<configure html4 scrreprt\><<<
8937
\ConfigureMark{chapter}
8938
{\HCode{<span class="titlemark">}\thechapter\HCode{</span>}.~~}
8939
\Configure{chapter}{}{}
8940
{\IgnorePar\EndP\HCode{<h2 class="chapterHead"\a:LRdir>}\TitleMark{}}
8941
{\HCode{</h2>}\IgnoreIndent\par}
8942
\Configure{chapterTITLE+}{\thechapter\space#1}
8945
\<scr article,report,book\><<<
8946
\ConfigureMark{minisec}{}
8947
\Configure{minisec}{}{}
8948
{\ifvmode \IgnorePar \fi \EndP
8949
\bgroup \IgnorePar\HCode{<h5 class="minisecHead"\a:LRdir>}%
8950
\TitleMark\space \HtmlParOff}
8951
{\HCode{</h5>}\HtmlParOn \IgnoreIndent\egroup\par\ShowPar}
8954
\<scrbook end units\><<<
8955
\Configure{endlikeparagraph}
8956
{paragraph,subsubsection,likesubsubsection,subsection,%
8957
likesubsection,section,%
8958
likesection,chapter,likechapter,addchap,appendix,part,likepart}
8959
\Configure{endsubparagraph}
8960
{likesubparagraph,likeparagraph,subsubsection,likesubsubsection,%
8961
subsection,likesubsection,section,%
8962
likesection,chapter,likechapter,addchap,appendix,part,likepart}
8963
\Configure{endlikesubparagraph}
8964
{subparagraph,likeparagraph,subsubsection,likesubsubsection,%
8965
subsection,likesubsection,section,%
8966
likesection,chapter,likechapter,addchap,appendix,part,likepart}
8967
\Configure{endsection}
8968
{likesection,chapter,likechapter,addchap,appendix,part,likepart}
8969
\Configure{endlikesection}
8970
{section,chapter,likechapter,addchap,appendix,part,likepart}
8971
\Configure{endsubsection}
8972
{likesubsection,section,likesection,chapter,%
8973
likechapter,addchap,appendix,part,likepart}
8974
\Configure{endlikesubsection}
8975
{subsection,section,likesection,chapter,%
8976
likechapter,addchap,appendix,part,likepart}
8977
\Configure{endsubsubsection}
8978
{likesubsubsection,subsection,likesubsection,section,%
8979
likesection,chapter,likechapter,addchap,appendix,part,likepart}
8980
\Configure{endlikesubsubsection}
8981
{subsubsection,subsection,likesubsection,section,%
8982
likesection,chapter,likechapter,addchap,appendix,part,likepart}
8983
\Configure{endparagraph}
8984
{likeparagraph,subsubsection,likesubsubsection,subsection,%
8985
likesubsection,section,%
8986
likesection,chapter,likechapter,addchap,appendix,part,likepart}
8987
\Configure{endchapter}{likechapter,addchap,appendix,part,likepart}
8988
\Configure{endlikechapter}{chapter,appendix,part,likeparaddchap,addchap}
8989
\Configure{endaddchap}{chapter,likechapter,appendix,part,likepart}
8990
\Configure{endappendix}{chapter,likechapter,addchap,part,likepart}
9001
\<configure html4 scrreprt\><<<
9002
\def\:SPAN#1#2{\HCode{<span class="#1">}#2\HCode{</span>}}
9007
\ifx \part\:UnDef \else
9008
|<latex shared part config|>
9011
|<config lists of figures and tables|>
9012
\ConfigureEnv{picture}
9013
{\bgroup\ifvmode \Configure{HtmlPar}
9014
{\EndP\HCode{<!--l. \the\inputlineno-->%
9017
{\EndP\HCode{<!--l. \the\inputlineno-->%
9020
{\:xhtml{\Tg</p>}}{\:xhtml{\Tg</p>}} \ShowPar\leavevmode
9024
\ConfigureEnv{quote}
9026
{\IgnorePar\EndP\HCode{<div class="quote">}}
9027
{\IgnorePar\EndP\HCode{</div>}\ShowPar\ShowIndent}
9028
\Css{.quote {margin-bottom:0.25em;
9029
margin-top:0.25em; margin-left:1em; }}
9030
|<book-report-article index|>
9031
|<scr reprt/book captions|>
9033
\ConfigureEnv{verse}
9034
{\ifvmode \IgnorePar\fi\EndP\Tg<div class="verse">}
9035
{\ifvmode \IgnorePar\fi\EndP\Tg</div>}
9037
\ConfigureList{verse}
9039
{\parindent=\z@} {\par}
9040
\Css{.verse{white-space:nowrap; margin-left:2em}}
9043
\ConfigureEnv{quotation}
9045
{\IgnorePar\EndP\HCode{<div class="quotation">}}
9046
{\IgnorePar\EndP\HCode{</div>}\ShowPar}
9047
\Css{.quotation {margin-bottom:0.25em;
9048
margin-top:0.25em; margin-left:1em; }}
9050
\Configure{listof}{}{}{}{\HCode{<br\xml:empty>}}{}{}
9053
|<latex shared part config|>
9055
\ConfigureEnv{abstract}{\:xhtml{\IgnorePar\EndP}\HCode
9056
{<\tbl:XV{abstract}><tr><td\Hnewline>}}
9057
{\EndP\HCode{</td></tr></table>}}{}{}
9058
\Css{.abstract p {margin-left:5\%; margin-right:5\%;}}
9063
|<cut toc scr: part|>%
9066
|<tocat scr: part|>%
9067
\CutAt{chapter,likechapter,addchap,appendix,part}
9068
\CutAt{likechapter,addchap,appendix,part}
9069
\CutAt{addchap,chapter,likechapter,appendix,part}
9070
\CutAt{appendix,chapter,likechapter,addchap,part}
9075
\CutAt{section,likesection,chapter,likechapter,addchap,appendix,part}
9076
\CutAt{likesection,chapter,likechapter,addchap,appendix,part}
9080
|<tocat scr: section|>%
9081
|<tocat scr: subsection|>%
9082
|<cut toc: subsec|>%
9085
\:CheckOption{4} \if:Option
9086
\expandafter\ifx \csname @chapter\endcsname\relax
9087
\:tempa \:tempc \:tempd
9088
\else \:tempa \:tempb \:tempc \:tempd \fi
9089
\else\:CheckOption{3} \if:Option
9090
\expandafter\ifx \csname @chapter\endcsname\relax
9091
\:tempa \:tempc \:tempd
9092
\else \:tempa \:tempb \:tempc \fi
9093
\else\:CheckOption{2} \if:Option
9094
\expandafter\ifx \csname @chapter\endcsname\relax \:tempa \:tempc
9095
\else \:tempa \:tempb \fi
9096
\else\:CheckOption{1} \if:Option
9099
\Log:Note{for sectioning pagination,
9100
use the command line option `1', `2', or `3'}%
9103
\:CheckOption{1} \if:Option
9104
|<toc article,report options 1|>
9106
|<scrreprt end units|>
9107
\Configure{addchapTITLE+}{#1}
9108
\def\tocaddchap#1#2#3{\par\:SPAN{addchapToc}{#2}\par}%
9112
\<scrreprt end-thanks author date and\><<<
9113
\Configure{thanks author date and}
9114
{\SaveEndP\global\setbox\fn:box=\vtop\bgroup\ShowPar
9115
\ifvoid\fn:box\else \csname unvbox\endcsname\fn:box\fi}
9116
{\EndP\egroup\RecallEndP }
9117
{\HCode{<div class="author" >}}{\HCode{</div>}}
9118
{\HCode{<div class="date" >}}{\HCode{</div>}}
9119
{\HCode{<br class="and"\xml:empty>}}
9120
{\HCode{<br\xml:empty>}}
9121
|<thanks for thanks p|>
9122
\Css{div.author, div.date {text-align:center;}}
9123
\Css{div.thanks{text-align:left; margin-left:10\%; font-size:80\%;
9124
font-style:italic; }}
9127
\<scrreprt thanks author date and\><<<
9128
\Configure{thanks author date and}
9129
{\HCode{<div class="thanks">}}{\HCode{</div>}}
9130
{\HCode{<div class="author" >}}{\HCode{</div>}}
9131
{\HCode{<div class="date" >}}{\HCode{</div>}}
9132
{\HCode{<br class="and"\xml:empty>}}
9133
{\HCode{<br\xml:empty>}}
9134
|<thank for thanks|>
9135
\Css{div.author, div.date {text-align:center;}}
9136
\Css{div.thanks{text-align:left; margin-left:10\%; font-size:80\%;
9137
font-style:italic; }}
9140
\<configure html4 scrartcl\><<<
9141
|<scr article,report,book|>
9144
\<configure html4 scrreprt\><<<
9145
|<scr article,report,book|>
9148
\Configure{paragraph}{}{}
9149
{\ShowPar\IgnoreIndent\HCode{<span class="paragraphHead"\a:LRdir>}\begingroup\bf}
9150
{\endgroup\HCode{</span>}\IgnorePar}
9151
\Configure{likeparagraph}{}{}
9152
{\ShowPar\IgnoreIndent\HCode{<span class="likeparagraphHead"\a:LRdir>}}
9153
{\HCode{</span>}\IgnorePar}
9154
\Css{.paragraphHead, .likeparagraphHead
9155
{ margin-top:2em; font-weight: bold;}}
9157
\ConfigureMark{subparagraph}{\thesubparagraph}
9158
\Configure{subparagraph}{}{}
9159
{\ShowPar\HCode{<span class="subparagraphHead"\a:LRdir>}\begingroup\bf
9161
{\endgroup\HCode{</span>}\IgnorePar}
9162
\Configure{likesubparagraph}{}{}
9163
{\ShowPar\HCode{<span class="likesubparagraphHead"\a:LRdir>}\begingroup\bf}
9164
{\endgroup\HCode{</span>}\IgnorePar}
9165
\Css{.subparagraphHead, .likesubparagraphHead
9166
{ font-weight: bold;}}
9169
\<scrreprt end units\><<<
9170
\Configure{endlikeparagraph}
9171
{paragraph,subsubsection,likesubsubsection,subsection,%
9172
likesubsection,section,%
9173
likesection,chapter,likechapter,addchap,appendix,part,likepart}
9174
\Configure{endsubparagraph}
9175
{likesubparagraph,likeparagraph,subsubsection,likesubsubsection,%
9176
subsection,likesubsection,section,%
9177
likesection,chapter,likechapter,addchap,appendix,part,likepart}
9178
\Configure{endlikesubparagraph}
9179
{subparagraph,likeparagraph,subsubsection,likesubsubsection,%
9180
subsection,likesubsection,section,%
9181
likesection,chapter,likechapter,addchap,appendix,part,likepart}
9183
\Configure{endsection}
9184
{likesection,chapter,likechapter,addchap,appendix,part,likepart}
9185
\Configure{endlikesection}
9186
{section,chapter,likechapter,addchap,appendix,part,likepart}
9188
\Configure{endsubsection}
9189
{likesubsection,section,likesection,chapter,%
9190
likechapter,addchap,appendix,part,likepart}
9191
\Configure{endlikesubsection}
9192
{subsection,section,likesection,chapter,%
9193
likechapter,addchap,appendix,part,likepart}
9194
\Configure{endsubsubsection}
9195
{likesubsubsection,subsection,likesubsection,section,%
9196
likesection,chapter,likechapter,addchap,appendix,part,likepart}
9197
\Configure{endlikesubsubsection}
9198
{subsubsection,subsection,likesubsection,section,%
9199
likesection,chapter,likechapter,addchap,appendix,part,likepart}
9200
\Configure{endparagraph}
9201
{likeparagraph,subsubsection,likesubsubsection,subsection,%
9202
likesubsection,section,%
9203
likesection,chapter,likechapter,addchap,appendix,part,likepart}
9205
\Configure{endaddchap}{likechapter,appendix,part,likepart,chapter}
9206
\Configure{endchapter}{likechapter,appendix,part,likepart,addchap}
9207
\Configure{endlikechapter}{chapter,appendix,part,likepart,addchap}
9208
\Configure{endappendix}{chapter,likechapter,part,likepart,addchap}
9216
\<configure html4 res\><<<
9217
\ConfigureEnv{resume}
9218
{\ifvmode \IgnorePar\fi \EndP
9219
\HCode{<div class="resume">}\let\endHR=\empty}
9220
{\ifvmode \IgnorePar\fi \EndP
9221
\HCode{\endHR</div>}}
9223
\def\c:secnumdepth{-1}
9225
\Configure{overlapped-section}
9226
{\ifvmode \IgnorePar\fi \EndP\IgnorePar }
9227
{\ifvmode \IgnorePar\fi \EndP\IgnorePar \HCode{</div>}}
9228
{\ifvmode \IgnorePar\fi \EndP\IgnorePar
9229
\HCode{<h4 class="sectionHead"\a:LRdir>}\HtmlParOff}
9231
\HCode{<div class="section">}%
9232
\HtmlParOn \ShowPar \IgnoreIndent \csname par\endcsname}
9234
\ConfigureEnv{tabbing}
9235
{\ifvmode \IgnorePar\fi \EndP \HCode{<table class="tabbing">}}
9236
{\ifvmode \IgnorePar\fi \HCode{</table>}\par\ShowPar}
9240
{\ifvmode \IgnorePar\fi \HCode{<tr>}}
9242
{\ifvmode \IgnorePar\fi \HCode{<td class="tabbing">}}
9243
{\ifvmode \IgnorePar\fi \HCode{</td>}}
9245
\Css{table.tabbing {width:100\%; margin-top:1em;}}
9246
\Css{td.tabbing {width:33\%;}}
9247
\Css{div.section {margin-left:3em;}}
9251
\<configure html4 res\><<<
9252
\Configure{centeraddresses}
9254
{\HCode{<table class="center-addresses"><tr><td class="first-address">}}
9255
{\HCode{</td><td class="second-address">}}
9256
{\HCode{</td></tr></table>}}
9257
\Css{.center-addresses {width:100\%}}
9260
\<configure html4 res\><<<
9261
\Configure{linename}
9262
{\ifvmode \IgnorePar\fi \EndP
9263
\HCode{<div class="linename">}}
9264
{\HCode{</div><hr />}\par}
9265
\Configure{lineaddress}
9266
{\ifvmode \IgnorePar\fi \EndP
9267
\HCode{<div class="line-address">}}
9270
\Css{.line-address {text-align:right;}}
9273
\<configure html4 res\><<<
9274
\Configure{boxed-section}
9275
{\ifvmode \IgnorePar\fi \EndP
9276
\HCode{<table class="section"><tr><td class="section">}\par
9278
{\ifvmode \IgnorePar\fi \EndP
9279
\HCode{</td></tr></table>}\par}
9280
{\ifvmode \IgnorePar\fi \HtmlParOff}
9281
{\HCode{</td><td class="section-body">}\HtmlParOn\par\ShowPar}
9282
\Css{table.section td{ vertical-align:top;}}
9283
\Css{td.section {padding-right:2em; width:20\%;}}
9284
\Css{table.section {margin-top:1em;}}
9287
\<configure html4 res\><<<
9288
\ConfigureEnv{position}
9289
{\ifvmode \IgnorePar\fi \EndP
9290
\HCode{<div class="position">}}
9291
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
9293
\Css{.position table {width:100\%;}}
9300
\<configure html4 aa\><<<
9301
|<makeketitle config 4.0t|>
9302
|<configure aa 3.2/4.0t|>
9303
|<latex shared part config|>
9304
|<latex config div 4.0t|>
9305
|<latex shared div config|>
9307
\ifx \part\:UnDef \else
9308
|<latex shared part config|>
9312
\subsection{Sizes of Fonts}
9314
pages should honor the base font sizes the
9315
readers choose for their browsers. Hence, under this assumption, all
9316
tex4ht should do is just assure appropriate relative dimensions for
9317
fonts of other sizes. To meet this end, I modified latex.4ht to
9318
automatically include
9320
\verb'{\Configure{Needs}{Font\string_Size: #1}\Needs{1...}}'
9322
when options 11pt and 12pt are listed in \verb'\documentclass'.
9323
\<article,report,book\><<<
9328
\<base font size\><<<
9329
{\Configure{Needs}{Font\string_Size: #1}\ifcase \@ptsize
9330
\or \Needs{11}\or \Needs{12}\else \fi}
9334
\<ams art,proc,book\><<<
9344
\<latex config div 4.0t\><<<
9345
|<latex shared section config|>
9346
|<latex shared subsection config|>
9347
|<latex shared subsubsection config|>
9348
|<latex shared paragraph config|>
9353
% \Css{.titlemark{margin-right:0.7em;}} abuses NS 4.7
9355
\<latex shared section config\><<<
9356
\ConfigureMark{section}
9357
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
9359
\HCode{<span class="titlemark">}\@seccntformat{section}%
9360
\HCode{</span>}\fi }
9361
\Configure{section}{}{}
9362
{\ifvmode \IgnorePar\fi \EndP\IgnorePar
9363
\HCode{<h3 class="sectionHead"\a:LRdir>}\TitleMark\space\HtmlParOff}
9364
{\HCode{</h3>}\HtmlParOn\ShowPar \IgnoreIndent \par}
9365
\Configure{sectionTITLE+}{\thesection\space#1}
9366
\Configure{likesection}{}{}
9367
{\ifvmode \IgnorePar\fi
9368
\EndP\IgnorePar\HCode{<h3 class="likesectionHead"\a:LRdir>}\HtmlParOff}
9369
{\HCode{</h3>}\HtmlParOn \IgnoreIndent \par}
9370
\Configure{likesectionTITLE+}{#1}
9372
% \def\HCode{<#1>}{\HCode{<#1>}}
9376
\<latex shared subsection config\><<<
9377
|<shared h5 subsubsection|>
9378
|<shared h4 subsection|>
9382
\<latex shared paragraph config\><<<
9383
\Configure{paragraph}{}{}
9384
{\ShowPar\IgnoreIndent\HCode{<span class="paragraphHead"\a:LRdir>}\begingroup\bf}
9385
{\endgroup\HCode{</span>}\IgnorePar}
9386
\Configure{likeparagraph}{}{}
9387
{\ShowPar\IgnoreIndent\HCode{<span class="likeparagraphHead"\a:LRdir>}}
9388
{\HCode{</span>}\IgnorePar}
9389
\Css{.paragraphHead, .likeparagraphHead
9390
{ margin-top:2em; font-weight: bold;}}
9393
\<latex config div 4.0t\><<<
9394
\ConfigureMark{subparagraph}{}
9395
\Configure{subparagraph}{}{}
9396
{\ShowPar\HCode{<span class="subparagraphHead"\a:LRdir>}\begingroup\bf
9398
{\endgroup\HCode{</span>}\IgnorePar}
9399
\Configure{likesubparagraph}{}{}
9400
{\ShowPar\HCode{<span class="likesubparagraphHead"\a:LRdir>}\begingroup\bf}
9401
{\endgroup\HCode{</span>}\IgnorePar}
9402
\Css{.subparagraphHead, .likesubparagraphHead
9403
{ font-weight: bold;}}
9407
\ConfigureEnv{picture}
9408
{\bgroup\ifvmode \Configure{HtmlPar}
9409
{\EndP\HCode{|<show input line no|>}\HCode{<p
9411
{\EndP\HCode{|<show input line no|>}\HCode{<p
9413
{\:xhtml{\Tg</p>}}{\:xhtml{\Tg</p>}} \ShowPar\leavevmode
9418
%%%%%%%%%%%%%%%%%%%%%%
9419
\subsection{ltxguide}
9420
%%%%%%%%%%%%%%%%%%%%%%
9422
\<configure html4 ltxguide\><<<
9424
{\HCode{\string&\#x2329;}}
9425
{\HCode{\string&\#x232A;}}
9428
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9429
\section{Polish: mwart.cls, mwrep.cls, mwbk.cls}
9430
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9432
\<configure html4 mwart\><<<
9436
|<cut and toc at for options 1, 2, 3|> |%should be after mw ... tocs|%
9441
\<configure html4 mwrep\><<<
9446
|<cut and toc at for options 1, 2, 3|> |%should be after mw ... tocs|%
9450
\<configure html4 mwbk\><<<
9455
|<cut and toc at for options 1, 2, 3|> |%should be after mw ... tocs|%
9459
\<mwcls configs\><<<
9464
\def\:SPAN#1#2{\HCode{<span class="#1">}#2\HCode{</span>}}
9465
|<config lists of figures and tables|>
9466
\ConfigureList{description}%
9467
{\EndP\HCode{<dl \a:LRdir class="description">}%
9469
\global\let\end:itm=\empty}
9470
{\PopMacro\end:itm \global\let\end:itm \end:itm
9471
\EndP\HCode{</dd></dl>}\ShowPar}
9472
{\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
9473
class="description">}\bgroup \bf}
9474
{\egroup\EndP\HCode{</dt><dd\Hnewline class="description">}}
9476
\ConfigureEnv{quote}
9478
{\IgnorePar\EndP\HCode{<div class="quote">}}
9479
{\IgnorePar\EndP\HCode{</div>}\ShowPar\ShowIndent}
9480
\Css{.quote {margin-bottom:0.25em;
9481
margin-top:0.25em; margin-left:1em; }}
9483
\ConfigureEnv{verse}
9484
{\ifvmode \IgnorePar\fi\EndP\Tg<div class="verse">}
9485
{\ifvmode \IgnorePar\fi\EndP\Tg</div>}
9487
\ConfigureList{verse}
9489
{\parindent=\z@} {\par}
9490
\Css{.verse{white-space:nowrap; margin-left:2em}}
9492
{\Configure{Needs}{Font\string_Size: #1}\ifcase \@ptsize
9493
\or \Needs{11}\or \Needs{12}\else \fi}
9495
\ConfigureEnv{quotation}
9497
{\IgnorePar\EndP\HCode{<div class="quotation">}}
9498
{\IgnorePar\EndP\HCode{</div>}\ShowPar}
9499
\Css{.quotation {margin-bottom:0.25em;
9500
margin-top:0.25em; margin-left:1em; }}
9502
\Configure{listof}{}{}{}{\HCode{<br\xml:empty>}}{}{}
9504
\ConfigureEnv{abstract}
9506
\HCode{<\tbl:XV{abstract}><tr><td\Hnewline>}\par\ShowPar}
9507
{\ifvmode \IgnorePar\fi \EndP\HCode{</td></tr></table>}}{}{}
9508
\Css{.abstract p {margin-left:5\%; margin-right:5\%;}}
9513
\ConfigureMark{part}
9514
{\ifHeadingNumbered \HCode{<span class="titlemark">}\partname
9515
\space \HeadingNumber \HCode{</span>}\fi}
9516
\Configure{part}{}{}
9517
{\NoFonts\ifvmode \IgnorePar\fi \EndP\IgnorePar
9518
\HCode{<h1 class="partHead"\a:LRdir>}\TitleMark
9519
\HCode{<br />}\HtmlParOff}
9520
{\HCode{</h1>}\HtmlParOn \EndNoFonts \IgnoreIndent \par}
9521
\Configure{partTITLE+}{\thepart\space #1}
9522
\Css{h1.partHead{text-align: left}}
9526
\Configure{likepart}{}{}
9527
{\IgnorePar\EndP\HCode{<h1 class="likepartHead"\a:LRdir>}}
9528
{\HCode{</h1>}\IgnoreIndent}
9529
\Configure{likepartTITLE+}{#1}
9532
\<mw rep/bk divs\><<<
9533
\ConfigureMark{chapter}
9534
{\ifHeadingNumbered \HCode{<span class="titlemark">}\mw@seccntformat
9535
\HeadingNumber \HCode{</span>}\fi}
9536
\Configure{chapter}{}{}
9537
{\NoFonts \ifvmode \IgnorePar\fi \EndP\IgnorePar
9538
\HCode{<h2 class="chapterHead"\a:LRdir>}\TitleMark\HtmlParOff}
9539
{\HCode{</h2>}\HtmlParOn \EndNoFonts \IgnoreIndent \par}
9540
\Configure{chapterTITLE+}{\thesection\space#1}
9543
\<mw rep/bk divs\><<<
9544
\Configure{likechapter}{}{}
9545
{\ifvmode \IgnorePar\fi
9546
\EndP\IgnorePar\HCode{<h2 class="likechapterHead"\a:LRdir>}\HtmlParOff}
9547
{\HCode{</h2>}\HtmlParOn \IgnoreIndent \par}
9548
\Configure{likechapterTITLE+}{#1}
9552
\ConfigureMark{section}
9553
{\ifHeadingNumbered \HCode{<span class="titlemark">}\mw@seccntformat
9554
\HeadingNumber \HCode{</span>}\fi}
9555
\Configure{section}{}{}
9556
{\NoFonts \ifvmode \IgnorePar\fi \EndP\IgnorePar
9557
\HCode{<h3 class="sectionHead"\a:LRdir>}\TitleMark\HtmlParOff}
9558
{\HCode{</h3>}\HtmlParOn \EndNoFonts \IgnoreIndent \par}
9559
\Configure{sectionTITLE+}{\thesection\space#1}
9563
\Configure{likesection}{}{}
9564
{\ifvmode \IgnorePar\fi
9565
\EndP\IgnorePar\HCode{<h3 class="likesectionHead"\a:LRdir>}\HtmlParOff}
9566
{\HCode{</h3>}\HtmlParOn \IgnoreIndent \par}
9567
\Configure{likesectionTITLE+}{#1}
9572
\Configure{paragraph}{}{}
9573
{\par\ShowPar\IgnoreIndent\HCode{<span
9574
class="paragraphHead"\a:LRdir>}\begingroup\bf}
9575
{\endgroup\HCode{</span>}\IgnorePar}
9576
\Css{.paragraphHead, .likeparagraphHead
9577
{ margin-top:2em; font-weight: bold;}}
9581
\Configure{likeparagraph}{}{}
9582
{\ShowPar\IgnoreIndent\HCode{<span class="likeparagraphHead"\a:LRdir>}}
9583
{\HCode{</span>}\IgnorePar}
9587
\ConfigureMark{subparagraph}{}
9588
\Configure{subparagraph}{}{}
9589
{\par\ShowPar\IgnoreIndent
9590
\HCode{<span class="subparagraphHead"\a:LRdir>}\begingroup\bf
9592
{\endgroup\HCode{</span>}\IgnorePar}
9593
\Css{.subparagraphHead, .likesubparagraphHead
9594
{ font-weight: bold;}}
9598
\Configure{likesubparagraph}{}{}
9599
{\par\ShowPar\IgnoreIndent
9600
\HCode{<span class="likesubparagraphHead"\a:LRdir>}\begingroup\bf}
9601
{\endgroup\HCode{</span>}\IgnorePar}
9605
\Configure{endpart}{likepart}
9606
\Configure{endlikepart}{endpart}
9607
\Configure{endsection}
9608
{likesection,chapter,likechapter,appendix,part,likepart}
9609
\Configure{endlikesection}
9610
{section,chapter,likechapter,appendix,part,likepart}
9611
\Configure{endsubsection}
9612
{likesubsection,section,likesection,chapter,%
9613
likechapter,appendix,part,likepart}
9614
\Configure{endlikesubsection}
9615
{subsection,section,likesection,chapter,%
9616
likechapter,appendix,part,likepart}
9617
\Configure{endsubsubsection}
9618
{likesubsubsection,subsection,likesubsection,section,%
9619
likesection,chapter,likechapter,appendix,part,likepart}
9620
\Configure{endlikesubsubsection}
9621
{subsubsection,subsection,likesubsection,section,%
9622
likesection,chapter,likechapter,appendix,part,likepart}
9623
\Configure{endparagraph}
9624
{likeparagraph,subsubsection,likesubsubsection,subsection,%
9625
likesubsection,section,%
9626
likesection,chapter,likechapter,appendix,part,likepart}
9627
\Configure{endlikeparagraph}
9628
{paragraph,subsubsection,likesubsubsection,subsection,%
9629
likesubsection,section,%
9630
likesection,chapter,likechapter,appendix,part,likepart}
9631
\Configure{endsubparagraph}
9632
{likesubparagraph,likeparagraph,subsubsection,likesubsubsection,%
9633
subsection,likesubsection,section,%
9634
likesection,chapter,likechapter,appendix,part,likepart}
9635
\Configure{endlikesubparagraph}
9636
{subparagraph,likeparagraph,subsubsection,likesubsubsection,%
9637
subsection,likesubsection,section,%
9638
likesection,chapter,likechapter,appendix,part,likepart}
9647
{\HCode{<div class="partToc"><span class="mark">}}
9651
\ConfigureToc{likepart}
9652
{\HCode{<div class="likepartToc"><span class="mark">}}
9656
\ConfigureToc{section}
9657
{\HCode{<div class="sectionToc"><span class="mark">}}
9661
\ConfigureToc{likesection}
9662
{\HCode{<div class="likesectionToc"><span class="mark">}}
9666
\ConfigureToc{subsection}
9667
{\HCode{<div class="subsectionToc"><span class="mark">}}
9671
\ConfigureToc{likesubsection}
9672
{\HCode{<div class="likesubsectionToc"><span class="mark">}}
9676
\ConfigureToc{subsubsection}
9677
{\HCode{<div class="subsubsectionToc"><span class="mark">}}
9681
\ConfigureToc{likesubsubsection}
9682
{\HCode{<div class="likesubsubsectionToc"><span class="mark">}}
9686
\ConfigureToc{paragraph}
9687
{\HCode{<div class="paragraphToc"><span class="mark">}}
9691
\ConfigureToc{likeparagraph}
9692
{\HCode{<div class="likeparagraphToc"><span class="mark">}}
9696
\ConfigureToc{subparagraph}
9697
{\HCode{<div class="subparagraphToc"><span class="mark">}}
9701
\ConfigureToc{likesubparagraph}
9702
{\HCode{<div class="likesubparagraphToc"><span class="mark">}}
9708
\<mw rep/bk tocs\><<<
9709
\ConfigureToc{chapter}
9710
{\HCode{<div class="chapterToc"><span class="mark">}}
9714
\ConfigureToc{likechapter}
9715
{\HCode{<div class="likechapterToc"><span class="mark">}}
9723
\Css{.partToc a, .partToc, .likepartToc a, .likepartToc
9724
{line-height: 200\%; font-weight:bold; font-size:110\%;}}
9725
\Css{.partToc, .likepartToc{text-align:center;margin-bottom:0.25em;
9726
margin-top:0.25em;}}
9730
\Css{.sectionToc, .likesectionToc {white-space: nowrap;}}
9731
\Css{.subsectionToc, .likesubsectionToc
9732
{margin-left:1em; white-space: nowrap;}}
9733
\Css{.subsubsectionToc, .likesubsubsectionToc
9734
{margin-left:2em; white-space: nowrap;}}
9735
\Css{.paragraphToc, .likeparagraphToc
9736
{margin-left:3em; white-space: nowrap;}}
9737
\Css{.subparagraphToc, .likesubparagraphToc
9738
{margin-left:4em; white-space: nowrap;}}
9741
\<mw rep/bk tocs\><<<
9742
\Css{.chapterToc, .likechapterToc {white-space: nowrap;}}
9743
\Css{.sectionToc, .likesectionToc
9744
{margin-left:1em; white-space: nowrap;}}
9745
\Css{.subsectionToc, .likesubsectionToc
9746
{margin-left:2em; white-space: nowrap;}}
9747
\Css{.subsubsectionToc, .likesubsubsectionToc
9748
{margin-left:3em; white-space: nowrap;}}
9749
\Css{.paragraphToc, .likeparagraphToc
9750
{margin-left:4em; white-space: nowrap;}}
9751
\Css{.subparagraphToc, .likesubparagraphToc
9752
{margin-left:5em; white-space: nowrap;}}
9757
%%%%%%%%%%%%%%%%%%%%%
9759
%%%%%%%%%%%%%%%%%%%%%
9762
\<configure html4 texinfo\><<<
9764
{\IgnorePar\EndP\HCode{<div class="group">}}
9765
{\ifvmode \IgnorePar\fi \EndP\HCode{</div>}}
9766
\Css{div.obeylines-v div.group p { margin-top:0; margin-bottom:0; }}
9767
\Configure{multitable}
9768
{\IgnorePar \EndP\HCode{<table\Hnewline class="multitable">}\IgnorePar}
9772
{\HCode{<td \Hnewline class="multitabl\the\colcount">}}
9773
{\IgnorePar \EndP\HCode{</td>}}
9774
\Css{.multitable td{padding-left:1em; padding-right:1em;}}
9778
\<configure html4 texinfo\><<<
9780
{\IgnorePar\EndP\HCode{<div class="example">}}
9781
{\ifvmode \IgnorePar\fi \EndP\HCode{</div>}}
9782
\Css{div.example { margin-left:2em; }}
9783
\Configure{smallexample}
9784
{\IgnorePar\EndP\HCode{<div class="smallexample">}}
9785
{\ifvmode \IgnorePar\fi \EndP\HCode{</div>}}
9786
\Css{div.smallexample { margin-left:2em; }}
9790
\<configure html4 texinfo\><<<
9791
\ConfigureMark{chapter}{\the\chapno}
9792
\Configure{chapter}{}{}
9793
{\IgnorePar\EndP\HCode{<h2 class="chapterHead"\a:LRdir>}\TitleMark\space}
9794
{\HCode{</h2>}\IgnoreIndent}
9795
\ConfigureMark{appendix}{\appendixletter}
9796
\Configure{appendix}{}{}
9798
\HCode{<h2 class="appendixHead"\a:LRdir>}Appendix \TitleMark\space}
9799
{\HCode{</h2>}\IgnoreIndent}
9800
\Configure{unnumbered}{}{}
9801
{\IgnorePar\EndP\HCode{<h2 class="unnumberedHead"\a:LRdir>}}
9802
{\HCode{</h2>}\IgnoreIndent}
9803
\ConfigureMark{numberedsec}{\the\chapno.\the\secno}
9804
\Configure{numberedsec}{}{}
9805
{\IgnorePar\EndP\HCode{<h3
9806
class="numberedsecHead"\a:LRdir>}\TitleMark\space}
9807
{\HCode{</h3>}\IgnoreIndent}
9808
\ConfigureMark{appendixsec}{\appendixletter.\the\secno}
9809
\Configure{appendixsec}{}{}
9810
{\IgnorePar\EndP\HCode{<h3
9811
class="appendixsecHead"\a:LRdir>}\TitleMark\space}
9812
{\HCode{</h3>}\IgnoreIndent}
9813
\Configure{unnumberedsec}{}{}
9814
{\IgnorePar\EndP\HCode{<h3 class="unnumberedsecHead"\a:LRdir>}}
9815
{\HCode{</h3>}\IgnoreIndent}
9816
\ConfigureMark{numberedsubsec}{\the\chapno.\the\secno .\the\subsecno}
9817
\Configure{numberedsubsec}{}{}
9818
{\IgnorePar\EndP\HCode{<h4
9819
class="numberedsubsecHead"\a:LRdir>}\TitleMark\space}
9820
{\HCode{</h4>}\IgnoreIndent}
9821
\ConfigureMark{appendixsubsec}{\appendixletter .\the\secno.\the\subsecno}
9822
\Configure{appendixsubsec}{}{}
9823
{\IgnorePar\EndP\HCode{<h4
9824
class="appendixsubsecHead"\a:LRdir>}\TitleMark\space}
9825
{\HCode{</h4>}\IgnoreIndent}
9826
\ConfigureMark{appendixsubsec}{\appendixletter.\the\secno
9828
\Configure{appendixsubsec}{}{}
9829
{\IgnorePar\EndP\HCode{<h4
9830
class="appendixsubsecHead"\a:LRdir>}\TitleMark\space}
9831
{\HCode{</h4>}\IgnoreIndent}
9832
\Configure{unnumberedsubsec}{}{}
9833
{\IgnorePar\EndP\HCode{<h4 class="unnumberedsubsecHead"\a:LRdir>}}
9834
{\HCode{</h4>}\IgnoreIndent}
9835
\ConfigureMark{numberedsubsubsec}{\the\chapno.\the\secno
9836
.\the\subsecno.\the\subsubsecno}
9837
\Configure{numberedsubsubsec}{}{}
9838
{\IgnorePar\EndP\HCode{<h5
9839
class="numberedsubsubsecHead"\a:LRdir>}\TitleMark\space}
9840
{\HCode{</h5>}\IgnoreIndent}
9841
\ConfigureMark{appendixsubsubsec}{\appendixletter
9842
.\the\secno.\the\subsecno.\the\subsubsecno}
9843
\Configure{appendixsubsubsec}{}{}
9844
{\IgnorePar\EndP\HCode{<h5
9845
class="appendixsubsubsecHead"\a:LRdir>}\TitleMark\space}
9846
{\HCode{</h5>}\IgnoreIndent}
9847
\ConfigureMark{appendixsubsubsec}{\appendixletter.\the\secno
9848
.\the\subsecno.\the\subsubsecno}
9849
\Configure{appendixsubsubsec}{}{}
9850
{\IgnorePar\EndP\HCode{<h5
9851
class="appendixsubsubsecHead"\a:LRdir>}\TitleMark\space}
9852
{\HCode{</h5>}\IgnoreIndent}
9853
\Configure{unnumberedsubsubsec}{}{}
9854
{\IgnorePar\EndP\HCode{<h5 class="unnumberedsubsubsecHead"\a:LRdir>}}
9855
{\HCode{</h5>}\IgnoreIndent}
9858
\<configure html4 texinfo\><<<
9859
\ConfigureToc{chapter}
9860
{\Tg<span class="chapterToc">}{ }{}{\Tg</span>\Tg<br />}
9861
\ConfigureToc{appendix}
9862
{\Tg<span class="appendixToc">}{ }{}{\Tg</span>\Tg<br />}
9863
\ConfigureToc{unnumbered}
9864
{\Tg<span class="unnumberedToc">}{ }{}{\Tg</span>\Tg<br />}
9865
\ConfigureToc{numberedsec}
9866
{\Tg<span class="numberedsecToc">}{ }{}{\Tg</span>\Tg<br />}
9867
\ConfigureToc{appendixsec}
9868
{\Tg<span class="appendixsecToc">}{ }{}{\Tg</span>\Tg<br />}
9869
\ConfigureToc{unnumberedsec}
9870
{\Tg<span class="unnumberedsecToc">}{ }{}{\Tg</span>\Tg<br />}
9871
\ConfigureToc{numberedsubsec}
9872
{\Tg<span class="numberedsubsecToc">}{ }{}{\Tg</span>\Tg<br />}
9873
\ConfigureToc{appendixsubsec}
9874
{\Tg<span class="appendixsubsecToc">}{ }{}{\Tg</span>\Tg<br />}
9875
\ConfigureToc{appendixsubsec}
9876
{\Tg<span class="appendixsubsecToc">}{ }{}{\Tg</span>\Tg<br />}
9877
\ConfigureToc{unnumberedsubsec}
9878
{\Tg<span class="unnumberedsubsecToc">}{ }{}{\Tg</span>\Tg<br />}
9879
\ConfigureToc{numberedsubsubsec}
9880
{\Tg<span class="numberedsubsubsecToc">}{ }{}{\Tg</span>\Tg<br />}
9881
\ConfigureToc{appendixsubsubsec}
9882
{\Tg<span class="appendixsubsubsecToc">}{ }{}{\Tg</span>\Tg<br />}
9883
\ConfigureToc{appendixsubsubsec}
9884
{\Tg<span class="appendixsubsubsecToc">}{ }{}{\Tg</span>\Tg<br />}
9885
\ConfigureToc{unnumberedsubsubsec}
9886
{\Tg<span class="unnumberedsubsubsecToc">}{ }{}{\Tg</span>\Tg<br />}
9891
\<configure html4 texinfo\><<<
9892
\Configure{enumerate}
9893
{\IgnorePar\EndP\HCode{<ol\space class="enumerate"\Hnewline>}}
9894
{\IgnorePar\EndP\HCode{</li></ol>}\ShowPar}
9895
{\IgnorePar\EndP\ifnum \itemno>1 \Tg</li>\fi\DeleteMark}
9896
{\HCode{<li class="enumerate">}}
9898
{\IgnorePar\EndP\HCode{<ul\space\a:LRdir class="itemize"\Hnewline>}}
9899
{\IgnorePar\EndP\HCode{</li></ul>}\ShowPar}
9900
{\IgnorePar\EndP\ifnum \itemno>1 \Tg</li>\fi\DeleteMark}
9901
{\HCode{<li class="itemize">}}
9903
{\IgnorePar\EndP\HCode{<dl \a:LRdir class="description">}%
9904
|<save end:itm|>\global\let\end:itm|=\empty}
9905
{|<recall end:itm|>\IgnorePar\EndP\HCode{</dd></dl>}}
9906
{\IgnorePar\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
9907
class="description">}\bgroup \bf}
9908
{\egroup\IgnorePar\EndP\HCode{</dt><dd\Hnewline class="description">}}
9911
\<configure html4 texinfo\><<<
9912
\Configure{titlepage}
9913
{\IgnorePar\EndP\HCode{<div class="titlepage">}}
9914
{\IgnorePar\EndP\HCode{</div>}}
9916
{\IgnorePar\EndP\HCode{<div class="title">}}
9917
{\IgnorePar\EndP\HCode{</div>}}
9918
\Configure{subtitle}
9919
{\IgnorePar\EndP\HCode{<div class="subtitle">}}
9920
{\IgnorePar\EndP\HCode{</div>}}
9922
{\IgnorePar\EndP\HCode{<div class="author">}}
9923
{\IgnorePar\EndP\HCode{</div>}}
9933
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9934
\chapter{Accents, encodings, and Languages}
9935
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9937
%%%%%%%%%%%%%%%%%%%%%%%%%%%
9939
%%%%%%%%%%%%%%%%%%%%%%%%%%%
9942
\Link[http://lycos.basistech.com/info/standards/ISO-8859.txt]{}{}iso
9944
\Link[http://titus.uni-frankfurt.de/unicode/iso8859/iso8859.htm]{}{}titus glyphs\EndLink,
9946
\Link[http://www.satto.co.yu/podrska/iso/iso8859-1.htm]{}{}1\EndLink{}
9947
\Link[http://www.satto.co.yu/podrska/iso/iso8859-2.htm]{}{}2\EndLink{} ...,
9949
\Link[http://www.microsoft.com/globaldev/reference/iso/28591.htm]{}{}1\EndLink{}
9950
\Link[http://www.microsoft.com/globaldev/reference/iso/28592.htm]{}{}2\EndLink{} ...
9954
\<configure html4 latex\><<<
9955
\ifOption{charset=iso-8859-7}
9956
{|<T1 greek ldf iso-8859-7|>}
9958
\:CheckOption{new-accents} \if:Option
9960
|<T1 old iso-8859-1 accents|>
9966
\<old plain,latex accents\><<<
9967
|<old iso-8859-1 accents|>
9968
|<OT1 old iso-8859-1 accents|>
9969
|<optional iso-8859-2 accents|>
9972
\<babel accents\><<<
9973
|<optional iso-8859-2 accents|>
9977
%%%%%%%%%%%%%%%%%%%%%%%%%%%
9978
\section{Group Configurations}
9979
%%%%%%%%%%%%%%%%%%%%%%%%%%%
9985
%%%%%%%%%%%%%%%%%%%%
9987
%%%%%%%%%%%%%%%%%%%%
9990
A{00C1}C{0106}D{010E}E{00C9}G{01F4}I{00CD}L{0139}N{0143}%
9991
O{00D3}R{0154}S{015A}U{00DA}Y{00DD}Z{0179}a{00E1}c{0107}%
9992
d{010F}e{00E9}g{01F5}i{00ED}l{013A}n{0144}o{00F3}r{0155}%
9993
s{015B}u{00FA}y{00FD}z{017A}j{FFFD}J{FFDD}\i{00ED}\j{FFFD}%
9996
\<add acute codes\><<<
10000
{E}{\add:acc{00C9}}
10001
{G}{\add:acc{01F4}}
10002
{I}{\add:acc{00CD}}
10003
{L}{\add:acc{0139}}
10004
{N}{\add:acc{0143}}
10005
{O}{\add:acc{00D3}}
10006
{R}{\add:acc{0154}}
10007
{S}{\add:acc{015A}}
10008
{U}{\add:acc{00DA}}
10009
{Y}{\add:acc{00DD}}
10010
{Z}{\add:acc{0179}}
10011
{a}{\add:acc{00E1}}
10012
{c}{\add:acc{0107}}
10013
{d}{\add:acc{010F}}
10014
{e}{\add:acc{00E9}}
10015
{g}{\add:acc{01F5}}
10016
{i}{\add:acc{00ED}}
10017
{l}{\add:acc{013A}}
10018
{n}{\add:acc{0144}}
10019
{o}{\add:acc{00F3}}
10020
{r}{\add:acc{0155}}
10021
{s}{\add:acc{015B}}
10022
{u}{\add:acc{00FA}}
10023
{y}{\add:acc{00FD}}
10024
{z}{\add:acc{017A}}
10025
{j}{\add:acc{FFFD}}
10026
{J}{\add:acc{FFDD}}
10027
{\i}{\add:acc{00ED}}
10028
{\j}{\add:acc{FFFD}}
10031
\<acute iso-8859-1\><<<
10035
\<acute iso-8859-2\><<<
10040
\<double acute code\><<<
10041
o{0151}O{0150}U{0170}u{0171}%
10044
\<add double acute code\><<<
10045
{o}{\add:acc{0151}}
10046
{O}{\add:acc{0150}}
10047
{U}{\add:acc{0170}}
10048
{u}{\add:acc{0171}}
10051
\<double acute iso-8859-1\><<<
10052
|<double acute code|>%
10055
\<double acute iso-8859-2\><<<
10056
|<double acute code|>%
10066
\<cedilla codes\><<<
10067
K{0136}k{0137}L{013B}l{013C}N{0145}n{0146}%
10068
R{0156}r{0157}S{015E}s{015F}T{0162}t{0163}%
10069
E{0228}e{0229}D{1E10}d{1E11}H{1E28}h{1E29}%
10070
C{00C7}c{00E7}G{0122}g{0123}%
10073
\<add cedilla codes\><<<
10074
{K}{\add:acc{0136}}
10075
{k}{\add:acc{0137}}
10076
{L}{\add:acc{013B}}
10077
{l}{\add:acc{013C}}
10078
{N}{\add:acc{0145}}
10079
{n}{\add:acc{0146}}
10080
{R}{\add:acc{0156}}
10081
{r}{\add:acc{0157}}
10082
{S}{\add:acc{015E}}
10083
{s}{\add:acc{015F}}
10084
{T}{\add:acc{0162}}
10085
{t}{\add:acc{0163}}
10086
{E}{\add:acc{0228}}
10087
{e}{\add:acc{0229}}
10088
{D}{\add:acc{1E10}}
10089
{d}{\add:acc{1E11}}
10090
{H}{\add:acc{1E28}}
10091
{h}{\add:acc{1E29}}
10092
{C}{\add:acc{00C7}}
10093
{c}{\add:acc{00E7}}
10094
{G}{\add:acc{0122}}
10095
{g}{\add:acc{0123}}
10099
\<cedilla iso-8859-1\><<<
10104
\<cedilla iso-8859-2\><<<
10111
\<dot above codes\><<<
10112
C{010A}c{010B}E{0116}e{0117}G{0120}g{0121}%
10113
I{0130}Z{017B}z{017C}A{0226}a{0227}O{022E}%
10114
o{022F}B{1E02}b{1E03}D{1E0A}d{1E0B}F{1E1E}%
10115
f{1E1F}H{1E22}h{1E23}M{1E40}m{1E41}N{1E44}%
10116
n{1E45}P{1E56}p{1E57}R{1E58}r{1E59}S{1E60}%
10117
s{1E61}T{1E6A}t{1E6B}W{1E86}w{1E87}X{1E8A}%
10118
x{1E8B}Y{1E8E}y{1E8F}%
10121
\<add dot above codes\><<<
10122
{C}{\add:acc{010A}}
10123
{c}{\add:acc{010B}}
10124
{E}{\add:acc{0116}}
10125
{e}{\add:acc{0117}}
10126
{G}{\add:acc{0120}}
10127
{g}{\add:acc{0121}}
10128
{I}{\add:acc{0130}}
10129
{Z}{\add:acc{017B}}
10130
{z}{\add:acc{017C}}
10131
{A}{\add:acc{0226}}
10132
{a}{\add:acc{0227}}
10133
{O}{\add:acc{022E}}
10134
{o}{\add:acc{022F}}
10135
{B}{\add:acc{1E02}}
10136
{b}{\add:acc{1E03}}
10137
{D}{\add:acc{1E0A}}
10138
{d}{\add:acc{1E0B}}
10139
{F}{\add:acc{1E1E}}
10140
{f}{\add:acc{1E1F}}
10141
{H}{\add:acc{1E22}}
10142
{h}{\add:acc{1E23}}
10143
{M}{\add:acc{1E40}}
10144
{m}{\add:acc{1E41}}
10145
{N}{\add:acc{1E44}}
10146
{n}{\add:acc{1E45}}
10147
{P}{\add:acc{1E56}}
10148
{p}{\add:acc{1E57}}
10149
{R}{\add:acc{1E58}}
10150
{r}{\add:acc{1E59}}
10151
{S}{\add:acc{1E60}}
10152
{s}{\add:acc{1E61}}
10153
{T}{\add:acc{1E6A}}
10154
{t}{\add:acc{1E6B}}
10155
{W}{\add:acc{1E86}}
10156
{w}{\add:acc{1E87}}
10157
{X}{\add:acc{1E8A}}
10158
{x}{\add:acc{1E8B}}
10159
{Y}{\add:acc{1E8E}}
10160
{y}{\add:acc{1E8F}}
10163
\<dot above iso-8859-1\><<<
10164
|<dot above codes|>%
10167
\<dot iso-8859-1\><<<
10168
|<dot above codes|>%
10171
\<dot above iso-8859-2\><<<
10172
|<dot above codes|>%
10179
g{011F}I{012C}i{012D}O{014E}o{014F}%
10180
U{016C}u{016D}A{0102}a{0103}E{0114}%
10181
e{0115}G{011E}\i{012D}%
10184
\<add breve codes\><<<
10185
{g}{\add:acc{011F}}
10186
{I}{\add:acc{012C}}
10187
{i}{\add:acc{012D}}
10188
{O}{\add:acc{014E}}
10189
{o}{\add:acc{014F}}
10190
{U}{\add:acc{016C}}
10191
{u}{\add:acc{016D}}
10192
{A}{\add:acc{0102}}
10193
{a}{\add:acc{0103}}
10194
{E}{\add:acc{0114}}
10195
{e}{\add:acc{0115}}
10196
{G}{\add:acc{011E}}
10197
{\i}{\add:acc{012D}}
10198
{y}{y\add:acc{0306}}
10202
\<breve iso-8859-1\><<<
10206
\<breve iso-8859-2\><<<
10217
C{010C}c{010D}D{010E}d{010F}%
10218
E{011A}e{011B}L{013D}l{013E}N{0147}n{0148}R{0158}r{0159}%
10219
S{0160}s{0161}T{0164}t{0165}Z{017D}z{017E}A{01CD}a{01CE}I{01CF}%
10220
i{01D0}O{01D1}o{01D2}U{01D3}u{01D4}G{01E6}g{01E7}K{01E8}k{01E9}%
10221
j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}%
10224
\<add caron codes\><<<
10225
{C}{\add:acc{010C}}
10226
{c}{\add:acc{010D}}
10227
{D}{\add:acc{010E}}
10228
{d}{\add:acc{010F}}
10229
{E}{\add:acc{011A}}
10230
{e}{\add:acc{011B}}
10231
{L}{\add:acc{013D}}
10232
{l}{\add:acc{013E}}
10233
{N}{\add:acc{0147}}
10234
{n}{\add:acc{0148}}
10235
{R}{\add:acc{0158}}
10236
{r}{\add:acc{0159}}
10237
{S}{\add:acc{0160}}
10238
{s}{\add:acc{0161}}
10239
{T}{\add:acc{0164}}
10240
{t}{\add:acc{0165}}
10241
{Z}{\add:acc{017D}}
10242
{z}{\add:acc{017E}}
10243
{A}{\add:acc{01CD}}
10244
{a}{\add:acc{01CE}}
10245
{I}{\add:acc{01CF}}
10246
{i}{\add:acc{01D0}}
10247
{O}{\add:acc{01D1}}
10248
{o}{\add:acc{01D2}}
10249
{U}{\add:acc{01D3}}
10250
{u}{\add:acc{01D4}}
10251
{G}{\add:acc{01E6}}
10252
{g}{\add:acc{01E7}}
10253
{K}{\add:acc{01E8}}
10254
{k}{\add:acc{01E9}}
10255
{j}{\add:acc{01F0}}
10256
{H}{\add:acc{021E}}
10257
{h}{\add:acc{021F}}
10258
{\i}{\add:acc{01D0}}
10259
{\j}{\add:acc{01F0}}
10264
\<caron iso-8859-1\><<<
10268
\<caron iso-8859-2\><<<
10272
\<check iso-8859-1\><<<
10283
A{00C5}a{00E5}U{016E}u{016F}%
10286
\<add ring codes\><<<
10287
{A}{\add:acc{00C5}}
10288
{a}{\add:acc{00E5}}
10289
{U}{\add:acc{016E}}
10290
{u}{\add:acc{016F}}
10294
\<ring iso-8859-1\><<<
10298
\<ring iso-8859-2\><<<
10315
\<diaeresis codes\><<<
10316
H{1E26}h{1E27}W{1E84}w{1E85}X{1E8C}x{1E8D}%
10317
t{1E97}A{00C4}E{00CB}I{00CF}O{00D6}U{00DC}%
10318
a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}%
10322
\<add diaeresis codes\><<<
10323
{H}{\add:acc{1E26}}
10324
{h}{\add:acc{1E27}}
10325
{W}{\add:acc{1E84}}
10326
{w}{\add:acc{1E85}}
10327
{X}{\add:acc{1E8C}}
10328
{x}{\add:acc{1E8D}}
10329
{t}{\add:acc{1E97}}
10330
{A}{\add:acc{00C4}}
10331
{E}{\add:acc{00CB}}
10332
{I}{\add:acc{00CF}}
10333
{O}{\add:acc{00D6}}
10334
{U}{\add:acc{00DC}}
10335
{a}{\add:acc{00E4}}
10336
{e}{\add:acc{00EB}}
10337
{i}{\add:acc{00EF}}
10338
{o}{\add:acc{00F6}}
10339
{u}{\add:acc{00FC}}
10340
{y}{\add:acc{00FF}}
10341
{Y}{\add:acc{0178}}
10342
{\i}{\add:acc{00EF}}
10343
{m}{m\add:acc{0308}}
10348
\<diaeresis iso-8859-1\><<<
10349
|<diaeresis codes|>%
10352
\<diaeresis iso-8859-2\><<<
10353
|<diaeresis codes|>%
10362
\<circumflex codes\><<<
10363
A{00C2}E{00CA}I{00CE}O{00D4}U{00DB}a{00E2}e{00EA}%
10364
i{00EE}o{00F4}u{00FB}C{0108}c{0109}G{011C}g{011D}%
10365
H{0124}h{0125}J{0134}j{0135}S{015C}s{015D}W{0174}%
10366
w{0175}Y{0176}y{0177}Z{1E90}z{1E91}\i{00EE}\j{0135}%
10369
\<add circumflex codes\><<<
10370
{A}{\add:acc{00C2}}
10371
{E}{\add:acc{00CA}}
10372
{I}{\add:acc{00CE}}
10373
{O}{\add:acc{00D4}}
10374
{U}{\add:acc{00DB}}
10375
{a}{\add:acc{00E2}}
10376
{e}{\add:acc{00EA}}
10377
{i}{\add:acc{00EE}}
10378
{o}{\add:acc{00F4}}
10379
{u}{\add:acc{00FB}}
10380
{C}{\add:acc{0108}}
10381
{c}{\add:acc{0109}}
10382
{G}{\add:acc{011C}}
10383
{g}{\add:acc{011D}}
10384
{H}{\add:acc{0124}}
10385
{h}{\add:acc{0125}}
10386
{J}{\add:acc{0134}}
10387
{j}{\add:acc{0135}}
10388
{S}{\add:acc{015C}}
10389
{s}{\add:acc{015D}}
10390
{W}{\add:acc{0174}}
10391
{w}{\add:acc{0175}}
10392
{Y}{\add:acc{0176}}
10393
{y}{\add:acc{0177}}
10394
{Z}{\add:acc{1E90}}
10395
{z}{\add:acc{1E91}}
10396
{\i}{\add:acc{00EE}}
10397
{\j}{\add:acc{0135}}
10402
\<circumflex iso-8859-1\><<<
10403
|<circumflex codes|>%
10406
\<circumflex iso-8859-2\><<<
10407
|<circumflex codes|>%
10412
A{00C0}E{00C8}I{00CC}N{01F8}O{00D2}U{00D9}W{1E80}%
10413
Y{1EF2}a{00E0}e{00E8}i{00EC}n{01F9}o{00F2}u{00F9}%
10414
w{1E81}y{1EF3}\i{00EC}%
10418
\<add grave codes\><<<
10419
{A}{\add:acc{00C0}}
10420
{E}{\add:acc{00C8}}
10421
{I}{\add:acc{00CC}}
10422
{N}{\add:acc{01F8}}
10423
{O}{\add:acc{00D2}}
10424
{U}{\add:acc{00D9}}
10425
{W}{\add:acc{1E80}}
10426
{Y}{\add:acc{1EF2}}
10427
{a}{\add:acc{00E0}}
10428
{e}{\add:acc{00E8}}
10429
{i}{\add:acc{00EC}}
10430
{n}{\add:acc{01F9}}
10431
{o}{\add:acc{00F2}}
10432
{u}{\add:acc{00F9}}
10433
{w}{\add:acc{1E81}}
10434
{y}{\add:acc{1EF3}}
10435
{\i}{\add:acc{00EC}}
10438
\<grave iso-8859-1\><<<
10442
\<grave iso-8859-2\><<<
10449
A{00C3}N{00D1}O{00D5}a{00E3}n{00F1}o{00F5}I{0128}%
10450
i{0129}U{0168}u{0169}V{1E7C}v{1E7D}E{1EBC}e{1EBD}%
10451
Y{1EF8}y{1EF9}\i{0129}%
10454
\<add tilde codes\><<<
10455
{A}{\add:acc{00C3}}
10456
{N}{\add:acc{00D1}}
10457
{O}{\add:acc{00D5}}
10458
{a}{\add:acc{00E3}}
10459
{n}{\add:acc{00F1}}
10460
{o}{\add:acc{00F5}}
10461
{I}{\add:acc{0128}}
10462
{i}{\add:acc{0129}}
10463
{U}{\add:acc{0168}}
10464
{u}{\add:acc{0169}}
10465
{V}{\add:acc{1E7C}}
10466
{v}{\add:acc{1E7D}}
10467
{E}{\add:acc{1EBC}}
10468
{e}{\add:acc{1EBD}}
10469
{Y}{\add:acc{1EF8}}
10470
{y}{\add:acc{1EF9}}
10471
{\i}{\add:acc{0129}}
10474
\<tilde iso-8859-1\><<<
10479
\<tilde iso-8859-2\><<<
10498
\<vec iso-8859-1\><<<
10513
\<old iso-8859-1 accents\><<<
10514
\Configure{accent}\widetilde\widetilde{{}{}}
10515
{\a:accents{widetilde}{#1}} {\b:accents{widetilde}{#1}{#2}}
10516
\Configure{accent}\widehat\widehat{{}{}}
10517
{\a:accents{widehat}{#1}} {\b:accents{widehat}{#1}{#2}}
10520
\verb'\vec', \verb'\widetilde', and \verb'\widehat' are for math mode.
10521
\verb'\b', \verb'\c', \verb'\d', \verb'\t', and \verb'\H' are for text mode.
10528
\<bar iso-8859-1\><<<
10543
\<bar below codes\><<<
10545
D{1E0E}d{1E0F}K{1E34}k{1E35}L{1E3A}l{1E3B}N{1E48}n{1E49}%
10546
R{1E5E}r{1E5F}T{1E6E}t{1E6F}Z{1E94}z{1E95}h{1E96}%
10552
\<dot below codes\><<<
10553
A{1EA0}a{1Ea1}B{1E04}b{1E05}D{1E0C}d{1E0D}%
10554
E{1EB8}e{1EB9}H{1E24}h{1E25}I{1ECA}i{1ECB}%
10555
K{1E32}k{1E33}L{1E36}l{1E37}M{1E42}m{1E43}%
10556
N{1E46}n{1E47}O{1ECC}o{1ECD}R{1E5A}r{1E5B}%
10557
S{1E62}s{1E63}T{1E6C}t{1E6D}U{1EE4}u{1EE5}%
10558
V{1E7E}v{1E7F}W{1E88}w{1E89}Y{1EF4}y{1EF5}%
10564
\<macron codes\><<<
10565
A{0100}a{0101}E{0112}%
10566
e{0113}I{012A}i{012B}O{014C}o{014D}U{016A}u{016B}Y{0232}%
10567
y{0233}G{1E20}g{1E21}%
10570
%%%%%%%%%%%%%%%%%%%%
10571
\section{T1 8859-1}
10572
%%%%%%%%%%%%%%%%%%%%
10574
\<T1 old iso-8859-1 accents\><<<
10575
\expand:after{\Configure{accent}}\csname T1\string\`\expandafter\endcsname
10576
\csname T1\string\`\endcsname{|<grave iso-8859-1|>{}{}}
10577
{\a:accents{grave}{#1}} {\b:accents{grave}{#1}{#2}}
10578
\expand:after{\Configure{accent}}\csname T1\string\'\expandafter\endcsname
10579
\csname T1\string\'\endcsname{|<acute iso-8859-1|>{}{}}
10580
{\a:accents{acute}{#1}} {\b:accents{acute}{#1}{#2}}
10581
\expand:after{\Configure{accent}}\csname T1\string\^\expandafter\endcsname
10582
\csname T1\string\^\endcsname{|<circumflex iso-8859-1|>{}{}}
10583
{\a:accents{circ}{#1}} {\b:accents{circ}{#1}{#2}}
10584
\expand:after{\Configure{accent}}\csname T1\string\~\expandafter\endcsname
10585
\csname T1\string\~\endcsname{|<tilde iso-8859-1|>{}{}}
10586
{\a:accents{tilde}{#1}} {\b:accents{tilde}{#1}{#2}}
10587
\expand:after{\Configure{accent}}\csname T1\string\"\expandafter\endcsname
10588
\csname T1\string\"\endcsname{|<diaeresis iso-8859-1|>{}{34}}
10589
{\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}}
10590
\expand:after{\expand:after{\Configure{accent}}%
10591
\csname T1\string\r\endcsname}%
10592
\csname T1\string\r\endcsname{|<ring iso-8859-1|>{}{}}
10593
{\a:accents{ring}{#1}} {\b:accents{ring}{#1}{#2}}
10598
\<T1 old iso-8859-1 accents\><<<
10599
\expand:after{\expand:after{\Configure{accent}}%
10600
\csname T1\string\c\endcsname}%
10601
\csname T1\string\c\endcsname{|<cedilla iso-8859-1|>{}{}}
10602
{\a:accents{cedil}{#1}} {\b:accents{cedil}{#1}{#2}}
10603
\expand:after{\expand:after{\Configure{accent}}%
10604
\csname T1\string\t\endcsname}%
10605
\csname T1\string\t\endcsname{{}{}}
10606
{\a:accents{udot}{#1}} {\b:accents{udot}{#1}{#2}}
10607
\expand:after{\expand:after{\Configure{accent}}%
10608
\csname T1\string\H\endcsname}%
10609
\csname T1\string\H\endcsname{{}{}}
10610
{\a:accents{Huml}{#1}} {\b:accents{Huml}{#1}{#2}}
10611
\expand:after{\expand:after{\Configure{accent}}%
10612
\csname T1\string\b\endcsname}%
10613
\csname T1\string\b\endcsname{{}{}}
10614
{\a:accents{b}{#1}} {\b:accents{b}{#1}{#2}}
10615
\expand:after{\expand:after{\Configure{accent}}%
10616
\csname T1\string\d\endcsname}%
10617
\csname T1\string\d\endcsname{{}{}}
10618
{\a:accents{d}{#1}} {\b:accents{d}{#1}{#2}}
10623
\<T1 old iso-8859-1 accents\><<<
10624
\expand:after{\Configure{accent}}\csname T1\string\.\expandafter\endcsname
10625
\csname T1\string\.\endcsname
10626
{|<dot iso-8859-1|>{}{}}
10627
{\a:accents{dot}{#1}} {\b:accents{dot}{#1}{#2}}
10628
\expand:after{\Configure{accent}}\csname T1\string\u\expandafter\endcsname
10629
\csname T1\string\u\endcsname
10630
{|<breve iso-8859-1|>{}{}}
10631
{\a:accents{breve}{#1}} {\b:accents{breve}{#1}{#2}}
10632
\expand:after{\Configure{accent}}\csname T1\string\vec\expandafter\endcsname
10633
\csname T1\string\vec\endcsname
10634
{|<vec iso-8859-1|>{}{}}
10635
{\a:accents{vec}{#1}} {\b:accents{vec}{#1}{#2}}
10636
\expand:after{\Configure{accent}}\csname T1\string\v\expandafter\endcsname
10637
\csname T1\string\v\endcsname
10638
{|<check iso-8859-1|>{}{}}
10639
{\a:accents{check}{#1}} {\b:accents{check}{#1}{#2}}
10640
\expand:after{\Configure{accent}}\csname T1\string\=\expandafter\endcsname
10641
\csname T1\string\=\endcsname
10642
{|<bar iso-8859-1|>{}{}}
10643
{\a:accents{bar}{#1}} {\b:accents{bar}{#1}{#2}}
10647
%%%%%%%%%%%%%%%%%%%%
10648
\section{T1 on Empty Base}
10649
%%%%%%%%%%%%%%%%%%%%
10651
\<latex accents\><<<
10652
\Configure{add accent}{T1:2}
10653
{}{\ht:special{t4ht@+\string&\#x005E;}x}
10657
%%%%%%%%%%%%%%%%%%%%
10658
\section{OT1 8859-1}
10659
%%%%%%%%%%%%%%%%%%%%
10661
\<OT1 old iso-8859-1 accents\><<<
10662
\expand:after{\Configure{accent}}\csname OT1\string\`\endcsname
10663
\grave{|<grave iso-8859-1|>{}{}}
10664
{\a:accents{grave}{#1}} {\b:accents{grave}{#1}{#2}}
10665
\expand:after{\Configure{accent}}\csname OT1\string\'\endcsname
10666
\acute{|<acute iso-8859-1|>{}{}}
10667
{\a:accents{acute}{#1}} {\b:accents{acute}{#1}{#2}}
10668
\expand:after{\Configure{accent}}\csname OT1\string\^\endcsname
10669
\hat{|<circumflex iso-8859-1|>{}{}}
10670
{\a:accents{circ}{#1}} {\b:accents{circ}{#1}{#2}}
10671
\expand:after{\Configure{accent}}\csname OT1\string\~\endcsname
10672
\tilde{|<tilde iso-8859-1|>{}{}}
10673
{\a:accents{tilde}{#1}} {\b:accents{tilde}{#1}{#2}}
10674
\expand:after{\Configure{accent}}\csname
10675
OT1\string\"\expandafter\endcsname
10676
\csname OT1\string\"\endcsname{|<diaeresis iso-8859-1|>{}{34}}
10677
{\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}}
10678
\Configure{accent}\ddot\ddot{|<diaeresis iso-8859-1|>{}{34}}
10679
{\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}}
10680
\expand:after{\Configure{accent}}\csname OT1\string\r\endcsname
10681
\mathring{|<ring iso-8859-1|>{}{}}
10682
{\a:accents{ring}{#1}} {\b:accents{ring}{#1}{#2}}
10692
The following are also placed under accents configuration.
10694
\<OT1 old iso-8859-1 accents\><<<
10695
\expand:after{\expand:after{\Configure{accent}}%
10696
\csname OT1\string\c\endcsname}%
10697
\csname OT1\string\c\endcsname{|<cedilla iso-8859-1|>{}{}}
10698
{\a:accents{cedil}{#1}} {\b:accents{cedil}{#1}{#2}}
10699
\expand:after{\expand:after{\Configure{accent}}%
10700
\csname OT1\string\t\endcsname}%
10701
\csname OT1\string\t\endcsname{{}{}}
10702
{\a:accents{udot}{#1}} {\b:accents{udot}{#1}{#2}}
10703
\expand:after{\expand:after{\Configure{accent}}%
10704
\csname OT1\string\H\endcsname}%
10705
\csname OT1\string\H\endcsname{{}{}}
10706
{\a:accents{Huml}{#1}} {\b:accents{Huml}{#1}{#2}}
10707
\expand:after{\expand:after{\Configure{accent}}%
10708
\csname OT1\string\b\endcsname}%
10709
\csname OT1\string\b\endcsname{{}{}}
10710
{\a:accents{b}{#1}} {\b:accents{b}{#1}{#2}}
10711
\expand:after{\expand:after{\Configure{accent}}%
10712
\csname OT1\string\d\endcsname}%
10713
\csname OT1\string\d\endcsname{{}{}}
10714
{\a:accents{d}{#1}} {\b:accents{d}{#1}{#2}}
10719
The following originally have been defined to be parameter-less.
10721
\<OT1 old iso-8859-1 accents\><<<
10722
\expand:after{\Configure{accent}}\csname OT1\string\.\endcsname
10723
\dot{|<dot iso-8859-1|>{}{}}
10724
{\a:accents{dot}{#1}} {\b:accents{dot}{#1}{#2}}
10725
\expand:after{\Configure{accent}}\csname OT1\string\u\endcsname
10726
\breve{|<breve iso-8859-1|>{}{}}
10727
{\a:accents{breve}{#1}} {\b:accents{breve}{#1}{#2}}
10728
\expand:after{\Configure{accent}}\csname OT1\string\vec\endcsname
10729
\vec{|<vec iso-8859-1|>{}{}}
10730
{\a:accents{vec}{#1}} {\b:accents{vec}{#1}{#2}}
10731
\expand:after{\Configure{accent}}\csname OT1\string\v\endcsname
10732
\check{|<check iso-8859-1|>{}{}}
10733
{\a:accents{check}{#1}} {\b:accents{check}{#1}{#2}}
10734
\expand:after{\Configure{accent}}\csname OT1\string\=\endcsname
10735
\bar{|<bar iso-8859-1|>{}{}}
10736
{\a:accents{bar}{#1}} {\b:accents{bar}{#1}{#2}}
10739
\<OT1 old iso-8859-1 accents\><<<
10740
|<ot1enc.def unicode|>
10743
\<ot1enc.def unicode\><<<
10745
\csname OT1\string\l\endcsname{\ht:special{t4ht@+\string&{35}x0142;}x}
10747
\csname OT1\string\L\endcsname{\ht:special{t4ht@+\string&{35}x0141;}x}
10751
\<configure html4 plain\><<<
10752
\Configure{l}{\ht:special{t4ht@+\string&{35}x0142;}x}
10753
\Configure{L}{\ht:special{t4ht@+\string&{35}x0141;}x}
10758
%%%%%%%%%%%%%%%%%%%%
10760
%%%%%%%%%%%%%%%%%%%%
10764
\<optional iso-8859-2 accents\><<<
10765
\def\:temp{charset=iso-8859-2}
10766
\ifx \a:charset\:UnDef
10767
\ifx \A:charset\:temp \let\:temp=\def \fi
10768
\else \ifx \a:charset\:temp \let\:temp=\def \fi
10771
\:CheckOption{new-accents} \if:Option \else
10772
|<old iso-8859-2 accents|>
10776
\<old iso-8859-2 accents\><<<
10777
|<T1 old iso-8859-2 accents|>
10815
\<old iso-8859-2 accents\><<<
10816
\Configure{accent}\`\grave{|<grave iso-8859-2|>{}{}}
10817
{\a:accents{grave}{#1}} {\b:accents{grave}{#1}{#2}}
10818
\Configure{accent}\'\acute{|<acute iso-8859-2|>{}{}}
10819
{\a:accents{acute}{#1}} {\b:accents{acute}{#1}{#2}}
10820
\Configure{accent}\^\hat{|<circumflex iso-8859-2|>{}{}}
10821
{\a:accents{hat}{#1}} {\b:accents{hat}{#1}{#2}}
10822
\Configure{accent}\~\tilde{|<tilde iso-8859-2|>{}{}}
10823
{\a:accents{tilde}{#1}} {\b:accents{tilde}{#1}{#2}}
10824
\Configure{accent}\"\ddot{|<diaeresis iso-8859-2|>{}{34}}
10825
{\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}}
10832
The following are also placed under accents configuration.
10834
\<old iso-8859-2 accents\><<<
10835
\Configure{accent}\c\c{|<cedilla iso-8859-2|>{}{}}
10836
{\a:accents{cedil}{#1}} {\b:accents{cedil}{#1}{#2}}
10837
\Configure{accent}\t\t{{}{}}
10838
{\a:accents{udot}{#1}} {\b:accents{udot}{#1}{#2}}
10839
\Configure{accent}\H\H{|<double acute iso-8859-2|>{}{}}
10840
{\a:accents{Huml}{#1}} {\b:accents{Huml}{#1}{#2}}
10841
\Configure{accent}\b\b{{}{}}
10842
{\a:accents{b}{#1}} {\b:accents{b}{#1}{#2}}
10843
\Configure{accent}\d\d{{}{}}
10844
{\a:accents{d}{#1}} {\b:accents{d}{#1}{#2}}
10847
The following originally have been defined to be parameter-less.
10849
\<old iso-8859-2 accents\><<<
10850
\Configure{accent}\.\.{|<dot above iso-8859-2|>{}{}}
10851
{\a:accents{dot}{#1}} {\b:accents{dot}{#1}{#2}}
10852
\Configure{accent}\dot\dot{|<dot above iso-8859-2|>{}{}}
10853
{\a:accents{dot}{#1}} {\b:accents{dot}{#1}{#2}}
10854
\Configure{accent}\u\breve{|<breve iso-8859-2|>{}{}}
10855
{\a:accents{breve}{#1}} {\b:accents{breve}{#1}{#2}}
10856
\Configure{accent}\vec\vec{{}{}}
10857
{\a:accents{vec}{#1}} {\b:accents{vec}{#1}{#2}}
10858
\Configure{accent}\v\v{|<caron iso-8859-2|>{}{}}
10859
{\a:accents{check}{#1}} {\b:accents{check}{#1}{#2}}
10860
\Configure{accent}\check\check{|<caron iso-8859-2|>{}{}}
10861
{\a:accents{check}{#1}} {\b:accents{check}{#1}{#2}}
10862
\Configure{accent}\=\bar{{}{}}
10863
{\a:accents{bar}{#1}} {\b:accents{bar}{#1}{#2}}
10867
\<old 8859-2 accents\><<<
10868
\Configure{accent}\widetilde\widetilde{{}{}}
10869
{\a:accents{widetilde}{#1}} {\b:accents{widetilde}{#1}{#2}}
10870
\Configure{accent}\widehat\widehat{{}{}}
10871
{\a:accents{widehat}{#1}} {\b:accents{widehat}{#1}{#2}}
10874
\verb'\vec', \verb'\widetilde', and \verb'\widehat' are for math mode.
10875
\verb'\b', \verb'\c', \verb'\d', \verb'\t', and \verb'\H' are for text mode.
10878
%%%%%%%%%%%%%%%%%%%%
10879
\section{T1 8859-2}
10880
%%%%%%%%%%%%%%%%%%%%
10883
\<T1 old iso-8859-2 accents\><<<
10884
\expand:after{\Configure{accent}}\csname T1\string\`\expandafter\endcsname
10885
\csname T1\string\`\endcsname{|<grave iso-8859-2|>{}{}}
10886
{\a:accents{grave}{#1}} {\b:accents{grave}{#1}{#2}}
10887
\expand:after{\Configure{accent}}\csname T1\string\'\expandafter\endcsname
10888
\csname T1\string\'\endcsname{|<acute iso-8859-2|>{}{}}
10889
{\a:accents{acute}{#1}} {\b:accents{acute}{#1}{#2}}
10890
\expand:after{\Configure{accent}}\csname T1\string\^\expandafter\endcsname
10891
\csname T1\string\^\endcsname{|<circumflex iso-8859-2|>{}{}}
10892
{\a:accents{circ}{#1}} {\b:accents{circ}{#1}{#2}}
10893
\expand:after{\Configure{accent}}\csname T1\string\~\expandafter\endcsname
10894
\csname T1\string\~\endcsname{|<tilde iso-8859-2|>{}{}}
10895
{\a:accents{tilde}{#1}} {\b:accents{tilde}{#1}{#2}}
10896
\expand:after{\Configure{accent}}\csname T1\string\"\expandafter\endcsname
10897
\csname T1\string\"\endcsname{|<diaeresis iso-8859-2|>{}{34}}
10898
{\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}}
10899
\expand:after{\expand:after{\Configure{accent}}%
10900
\csname T1\string\r\endcsname}%
10901
\csname T1\string\r\endcsname{|<ring iso-8859-2|>{}{}}
10902
{\a:accents{ring}{#1}} {\b:accents{ring}{#1}{#2}}
10910
\<T1 old iso-8859-2 accents\><<<
10911
\expand:after{\expand:after{\Configure{accent}}%
10912
\csname T1\string\c\endcsname}%
10913
\csname T1\string\c\endcsname{|<cedilla iso-8859-2|>{}{}}
10914
{\a:accents{cedil}{#1}} {\b:accents{cedil}{#1}{#2}}
10915
\expand:after{\expand:after{\Configure{accent}}%
10916
\csname T1\string\t\endcsname}%
10917
\csname T1\string\t\endcsname{{}{}}
10918
{\a:accents{udot}{#1}} {\b:accents{udot}{#1}{#2}}
10919
\expand:after{\expand:after{\Configure{accent}}%
10920
\csname T1\string\H\endcsname}%
10921
\csname T1\string\H\endcsname{|<double acute iso-8859-2|>{}{}}
10922
{\a:accents{Huml}{#1}}{\b:accents{Huml}{#1}{#2}}
10923
\expand:after{\expand:after{\Configure{accent}}%
10924
\csname T1\string\b\endcsname}%
10925
\csname T1\string\b\endcsname{{}{}}
10926
{\a:accents{b}{#1}} {\b:accents{b}{#1}{#2}}
10927
\expand:after{\expand:after{\Configure{accent}}%
10928
\csname T1\string\d\endcsname}%
10929
\csname T1\string\d\endcsname{{}{}}
10930
{\a:accents{d}{#1}} {\b:accents{d}{#1}{#2}}
10935
\<T1 old iso-8859-2 accents\><<<
10936
\expand:after{\Configure{accent}}\csname T1\string\.\expandafter\endcsname
10937
\csname T1\string\.\endcsname
10938
{|<dot iso-8859-2|>{}{}}
10939
{\a:accents{dot}{#1}}{\b:accents{dot}{#1}{#2}}
10940
\expand:after{\Configure{accent}}\csname T1\string\u\expandafter\endcsname
10941
\csname T1\string\u\endcsname
10942
{|<breve iso-8859-2|>{}{}}
10943
{\a:accents{breve}{#1}}{\b:accents{breve}{#1}{#2}}
10944
\expand:after{\Configure{accent}}\csname T1\string\vec\expandafter\endcsname
10945
\csname T1\string\vec\endcsname
10946
{|<vec iso-8859-2|>{}{}}
10947
{\a:accents{vec}{#1}}{\b:accents{vec}{#1}{#2}}
10948
\expandafter\let\csname T1\string\v\endcsname\:UnDef
10949
\expand:after{\Configure{accent}}\csname T1\string\v\expandafter\endcsname
10950
\csname T1\string\v\endcsname
10951
{|<caron iso-8859-2|>{}{}}
10952
{\a:accents{check}{#1}}{\b:accents{check}{#1}{#2}}
10953
\expand:after{\Configure{accent}}\csname T1\string\=\expandafter\endcsname
10954
\csname T1\string\=\endcsname
10955
{|<bar iso-8859-2|>{}{}}
10956
{\a:accents{bar}{#1}}{\b:accents{bar}{#1}{#2}}
10961
%%%%%%%%%%%%%%%%%%%%
10962
\section{T1, OT1 8859-7}
10963
%%%%%%%%%%%%%%%%%%%%
10967
\<T1 greek ldf iso-8859-7\><<<
10968
\expand:after{\Configure{accent}}\csname T1\string\'\expandafter\endcsname
10969
\csname T1\string\'\endcsname
10970
{|<acute iso-8859-7|>{}{}}
10971
{\a:accents{acute}{#1}} {\b:accents{acute}{#1}{#2}}
10974
\<greek ldf iso-8859-7\><<<
10975
\expand:after{\Configure{accent}}\csname OT1\string\'\endcsname
10976
\acute{|<acute iso-8859-7|>{}{}}
10977
{\a:accents{acute}{#1}} {\b:accents{acute}{#1}{#2}}
10980
\<acute iso-8859-7\><<<
10981
A{\ht:special{t4ht@+\string&{35}x00C1;}A}%
10982
E{\ht:special{t4ht@+\string&{35}x00C9;}E}%
10983
I{\ht:special{t4ht@+\string&{35}x00CD;}I}%
10984
O{\ht:special{t4ht@+\string&{35}x00D3;}O}%
10985
U{\ht:special{t4ht@+\string&{35}x00DA;}U}%
10986
Y{\ht:special{t4ht@+\string&{35}x00DD;}Y}%
10987
a{\ht:special{t4ht@+\string&{35}x00E1;}a}%
10988
e{\ht:special{t4ht@+\string&{35}x00E9;}e}%
10989
i{\ht:special{t4ht@+\string&{35}x00ED;}i}%
10990
\i{\ht:special{t4ht@+\string&{35}x00ED;}i}%
10991
o{\ht:special{t4ht@+\string&{35}x00F3;}o}%
10992
u{\ht:special{t4ht@+\string&{35}x00FA;}u}%
10993
y{\ht:special{t4ht@+\string&{35}x00FD;}y}%
10994
{\@use@text@encoding \@curr@enc a}{\ht:special{t4ht@220}a}%
10995
{\@use@text@encoding \@curr@enc e}{\ht:special{t4ht@221}e}%
10996
{\@use@text@encoding \@curr@enc h}{\ht:special{t4ht@222}h}%
10997
{\@use@text@encoding \@curr@enc i}{\ht:special{t4ht@223}i}%
10998
{\@use@text@encoding \@curr@enc o}{\ht:special{t4ht@252}o}%
10999
{\@use@text@encoding \@curr@enc u}{\ht:special{t4ht@253}u}%
11000
{\@use@text@encoding \@curr@enc w}{\ht:special{t4ht@254}w}%
11007
%%%%%%%%%%%%%%%%%%%%%%%
11008
\section{LaTeX Encodings}
11009
%%%%%%%%%%%%%%%%%%%%%%%
11013
\<32,4 plain,latex\><<<
11014
\:CheckOption{new-accents} \if:Option \else
11015
\Configure{accents}
11016
{\expandafter\ifx \csname #1-num\endcsname\relax
11017
\ht:special{t4ht@+\string&{35}x#2;}x%
11019
\ht:special{t4ht@+\string&\#x#2;}X%
11022
{\Picture+{ \a:@Picture{#1}}#2{#3}\EndPicture}
11023
\expandafter\let\csname ring-num\endcsname=\def
11027
\<32,4 latexPRE-CSS\><<<
11028
\:CheckOption{new-accents} \if:Option \else
11029
\Configure{textscaccent}
11030
{\Tg<small class="small-caps">}{\Tg</small>}
11034
\<latex ltoutenc\><<<
11035
\Configure{textcircled}
11036
{\@use@text@encoding \@curr@enc c}
11037
{\leavevmode \special{t4ht@+\string&\#x00A9;}c}
11038
{\@use@text@encoding \@curr@enc \scshape r}
11039
{\leavevmode \special{t4ht@+\string&\#x00AE;}r}
11043
\<latex accents\><<<
11044
\:CheckOption{new-accents} \if:Option
11047
|<old plain,latex accents|>
11052
\<latex accents\><<<
11053
\Configure{@TITLE}{|<env for titles|>}
11056
\<env for titles\><<<
11057
\let\"=\:same \let\~=\:same \let\^=\:same
11064
\<0,32,4 latex\><<<
11066
\let\@acci|=\' \let\@accii|=\` \let\@acciii|=\=
11070
\:CheckOption{accent-} \if:Option
11071
\Configure{HAccent}\acute{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
11072
\Configure{HAccent}\bar{}{\Picture+{}}{\EndPicture}
11073
\Configure{HAccent}\breve{}{\Picture+{}}{\EndPicture}
11074
\Configure{HAccent}\check{}{\Picture+{}}{\EndPicture}
11075
\Configure{HAccent}\ddot{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
11076
\Configure{HAccent}\dot{}{\Picture+{}}{\EndPicture}
11077
\Configure{HAccent}\grave{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
11078
\Configure{HAccent}\hat{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
11079
\Configure{HAccent}\tilde{AOaoNn{}}{\Picture+{}}{\EndPicture}
11080
\Configure{HAccent}\vec{}{\Picture+{}}{\EndPicture}
11081
\Configure{HAccent}\widehat{}{\Picture+{}}{\EndPicture}
11082
\Configure{HAccent}\widetilde{}{\Picture+{}}{\EndPicture}
11084
\:CheckOption{mathaccent-} \if:Option
11085
\Configure{HAccent}\"{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
11086
\Configure{HAccent}\'{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
11087
\Configure{HAccent}\.{}{\Picture+{}}{\EndPicture}
11088
\Configure{HAccent}\={}{\Picture+{}}{\EndPicture}
11089
\Configure{HAccent}\H{}{\Picture+{}}{\EndPicture}
11090
\Configure{HAccent}\^{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
11091
\Configure{HAccent}\`{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
11092
\Configure{HAccent}\b{}{\Picture+{}}{\EndPicture}
11093
\Configure{HAccent}\c{Cc{}}{\Picture+{}}{\EndPicture}
11094
\Configure{HAccent}\d{}{\Picture+{}}{\EndPicture}
11095
\Configure{HAccent}\t{}{\Picture+{}}{\EndPicture}
11096
\Configure{HAccent}\u{}{\Picture+{}}{\EndPicture}
11097
\Configure{HAccent}\v{}{\Picture+{}}{\EndPicture}
11098
\Configure{HAccent}\~{AOaoNn{}}{\Picture+{}}{\EndPicture}
11103
\Configure{accent}{*}
11104
{<!--tex4ht:accent\Hnewline font="}{" char="}{" type="}{"-->}
11105
{<!--tex4ht:end accent-->}
11106
\Configure{mathaccent}{*}
11107
{<!--tex4ht:mathaccent\Hnewline font="}{" char="}{" type="}{"-->}
11108
{<!--tex4ht:end mathaccent-->}
11109
\Configure{accented}{*}
11110
{<!--tex4ht:accented\Hnewline font="}{" char="}{" type="}{"-->}
11111
{<!--tex4ht:end accented-->}
11112
\Configure{accenting}{*}
11113
{<!--tex4ht:accenting\Hnewline-->}
11114
{<!--tex4ht:end accenting-->}
11123
\<0,32,4 plain\><<<
11124
\:CheckOption{new-accents} \if:Option
11125
|<new plain accents|>
11127
|<old plain accents|>
11128
\Configure{accents}
11129
{\ht:special{t4ht@+\string&{35}x#2;}x}
11130
{\Picture+{ \:Picture:{#1}}#2{#3}\EndPicture}
11137
\<new plain accents\><<<
11138
\:CheckOption{accent-} \if:Option
11139
\Configure{HAccent}\acute{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
11140
\Configure{HAccent}\bar{}{\Picture+{}}{\EndPicture}
11141
\Configure{HAccent}\breve{}{\Picture+{}}{\EndPicture}
11142
\Configure{HAccent}\check{}{\Picture+{}}{\EndPicture}
11143
\Configure{HAccent}\ddot{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
11144
\Configure{HAccent}\dot{}{\Picture+{}}{\EndPicture}
11145
\Configure{HAccent}\grave{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
11146
\Configure{HAccent}\hat{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
11147
\Configure{HAccent}\tilde{AOaoNn{}}{\Picture+{}}{\EndPicture}
11148
\Configure{HAccent}\vec{}{\Picture+{}}{\EndPicture}
11149
\Configure{HAccent}\widehat{}{\Picture+{}}{\EndPicture}
11150
\Configure{HAccent}\widetilde{}{\Picture+{}}{\EndPicture}
11152
\:CheckOption{mathaccent-} \if:Option
11153
\Configure{HAccent}\"{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
11154
\Configure{HAccent}\'{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
11155
\Configure{HAccent}\.{}{\Picture+{}}{\EndPicture}
11156
\Configure{HAccent}\={}{\Picture+{}}{\EndPicture}
11157
\Configure{HAccent}\H{}{\Picture+{}}{\EndPicture}
11158
\Configure{HAccent}\^{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
11159
\Configure{HAccent}\`{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
11160
\Configure{HAccent}\b{}{\Picture+{}}{\EndPicture}
11161
\Configure{HAccent}\c{Cc{}}{\Picture+{}}{\EndPicture}
11162
\Configure{HAccent}\d{}{\Picture+{}}{\EndPicture}
11163
\Configure{HAccent}\t{}{\Picture+{}}{\EndPicture}
11164
\Configure{HAccent}\u{}{\Picture+{}}{\EndPicture}
11165
\Configure{HAccent}\v{}{\Picture+{}}{\EndPicture}
11166
\Configure{HAccent}\~{AOaoNn{}}{\Picture+{}}{\EndPicture}
11170
\<new plain accents\><<<
11171
\Configure{accent}{*}
11172
{<!--tex4ht:accent\Hnewline font="}{" char="}{" type="}{"-->}
11173
{<!--tex4ht:end accent-->}
11174
\Configure{mathaccent}{*}
11175
{<!--tex4ht:mathaccent\Hnewline font="}{" char="}{" type="}{"-->}
11176
{<!--tex4ht:end mathaccent-->}
11177
\Configure{accented}{*}
11178
{<!--tex4ht:accented\Hnewline font="}{" char="}{" type="}{"-->}
11179
{<!--tex4ht:end accented-->}
11180
\Configure{accenting}{*}
11181
{<!--tex4ht:accenting\Hnewline-->}
11182
{<!--tex4ht:end accenting-->}
11189
\<old plain accents\><<<
11190
\Configure{accent}\`\grave{|<grave codes|>{}{}}
11191
{\a:accents{grave}{#1}} {\b:accents{grave}{#1}{#2}}
11192
\Configure{accent}\'\acute{|<acute codes|>{}{}}
11193
{\a:accents{acute}{#1}} {\b:accents{acute}{#1}{#2}}
11194
\Configure{accent}\^\hat{|<circumflex codes|>{}{}}
11195
{\a:accents{circ}{#1}} {\b:accents{hat}{#1}{#2}}
11196
\Configure{accent}\~\tilde{|<tilde codes|>{}{}}
11197
{\a:accents{tilde}{#1}} {\b:accents{tilde}{#1}{#2}}
11198
\Configure{accent}\"\ddot{|<diaeresis codes|>{}{34}}
11199
{\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}}
11202
The following are also placed under accents configuration.
11204
\<old plain accents\><<<
11205
\Configure{accent}\c\c{C{C}c{c}{}{}}
11206
{\a:accents{cedil}{#1}} {\b:accents{cedil}{#1}{#2}}
11207
\Configure{accent}\t\t{{}{}}
11208
{\a:accents{udot}{#1}} {\b:accents{udot}{#1}{#2}}
11209
\Configure{accent}\H\H{{}{}}
11210
{\a:accents{Huml}{#1}} {\b:accents{Huml}{#1}{#2}}
11211
\Configure{accent}\b\b{{}{}}
11212
{\a:accents{b}{#1}} {\b:accents{b}{#1}{#2}}
11213
\Configure{accent}\d\d{{}{}}
11214
{\a:accents{d}{#1}} {\b:accents{d}{#1}{#2}}
11217
The following originally have been defined to be parameter-less.
11219
\<old plain accents\><<<
11220
\Configure{accent}\.\.{{}{}}
11221
{\a:accents{dot}{#1}} {\b:accents{dot}{#1}{#2}}
11222
\Configure{accent}\dot\dot{{}{}}
11223
{\a:accents{dot}{#1}} {\b:accents{dot}{#1}{#2}}
11224
\Configure{accent}\u\breve{{}{}}{\a:accents{breve}{#1}}
11225
{\b:accents{breve}{#1}{#2}}
11226
\Configure{accent}\vec\vec{{}{}}{\a:accents{vec}{#1}}
11227
{\b:accents{vec}{#1}{#2}}
11228
\Configure{accent}\v\v{{}{}}{\a:accents{check}{#1}}
11229
{\b:accents{check}{#1}{#2}}
11230
\Configure{accent}\check\check{{}{}}{\a:accents{check}{#1}}
11231
{\b:accents{check}{#1}{#2}}
11232
\Configure{accent}\=\bar{{}{}}
11233
{\a:accents{bar}{#1}} {\b:accents{bar}{#1}{#2}}
11237
\<old plain accents\><<<
11238
\Configure{accent}\widetilde\widetilde{{}{}}
11239
{\a:accents{widetilde}{#1}} {\b:accents{widetilde}{#1}{#2}}
11240
\Configure{accent}\widehat\widehat{{}{}}
11241
{\a:accents{widehat}{#1}} {\b:accents{widehat}{#1}{#2}}
11243
\verb'\vec', \verb'\widetilde', and \verb'\widehat' are for math mode.
11244
\verb'\b', \verb'\c', \verb'\d', \verb'\t', and \verb'\H' are for text mode.
11247
%%%%%%%%%%%%%%%%%%%
11248
\section{AMS Encodings}
11249
%%%%%%%%%%%%%%%%%%%
11254
\<ams 2000 art + book + proc\><<<
11255
\def\:tempc#1#2#3#4#5{%
11256
\expandafter\ifx \csname #1mathaccentV\endcsname\relax
11257
\o:mathaccentV:{#1}{#2}{#3}{#4}{#5}%
11258
\else \csname #1mathaccentV\endcsname{#5}\fi}
11259
\HLet\mathaccentV\:tempc
11260
\:CheckOption{new-accents} \if:Option \else
11261
|<ams 2000 iso-8859-1 accents|>
11263
\def\:temp{charset=iso-8859-2}
11264
\ifx \a:charset\:UnDef
11265
\ifx \A:charset\:temp \let\:temp=\def \fi
11266
\else \ifx \a:charset\:temp \let\:temp=\def \fi
11269
\:CheckOption{new-accents} \if:Option \else
11270
|<old ams 2000 iso-8859-2 accents|>
11275
\<ams 2000 iso-8859-1 accents\><<<
11277
\expandafter\let\csname gravemathaccentV\endcsname=\grave
11278
\expandafter\let\csname GRAVEmathaccentV\endcsname=\grave
11279
\expand:after{\Configure{accent}}\csname
11280
gravemathaccentV\expandafter\endcsname
11281
\csname GRAVEmathaccentV\endcsname{|<grave iso-8859-1|>{}{}}
11282
{\a:accents{grave}{#1}} {\b:accents{grave}{#1}{#2}}
11284
\expandafter\let\csname acutemathaccentV\endcsname=\acute
11285
\expandafter\let\csname ACUTEmathaccentV\endcsname=\acute
11286
\expand:after{\Configure{accent}}\csname
11287
acutemathaccentV\expandafter\endcsname
11288
\csname ACUTEmathaccentV\endcsname{|<acute iso-8859-1|>{}{}}
11289
{\a:accents{acute}{#1}} {\b:accents{acute}{#1}{#2}}
11291
\expandafter\let\csname hatmathaccentV\endcsname=\hat
11292
\expandafter\let\csname HATmathaccentV\endcsname=\hat
11293
\expand:after{\Configure{accent}}\csname
11294
hatmathaccentV\expandafter\endcsname
11295
\csname HATmathaccentV\endcsname{|<hat iso-8859-1|>{}{}}
11296
{\a:accents{hat}{#1}} {\b:accents{hat}{#1}{#2}}
11298
\expandafter\let\csname tildemathaccentV\endcsname=\tilde
11299
\expandafter\let\csname TILDEmathaccentV\endcsname=\tilde
11300
\expand:after{\Configure{accent}}\csname
11301
tildemathaccentV\expandafter\endcsname
11302
\csname TILDEmathaccentV\endcsname{|<tilde iso-8859-1|>{}{}}
11303
{\a:accents{tilde}{#1}} {\b:accents{tilde}{#1}{#2}}
11305
\expandafter\let\csname DDOTmathaccentV\endcsname=\ddot
11306
\expand:after{\Configure{accent}}\csname
11307
DDOTmathaccentV\expandafter\endcsname
11308
\csname DDOTmathaccentV\endcsname{|<ddot iso-8859-1|>{}{}}
11309
{\a:accents{ddot}{#1}} {\b:accents{ddot}{#1}{#2}}
11310
\expandafter\let\csname ddotmathaccentV\endcsname=\ddot
11311
\expand:after{\Configure{accent}}\csname
11312
ddotmathaccentV\expandafter\endcsname
11313
\csname ddotmathaccentv\endcsname{|<ddot iso-8859-1|>{}{}}
11314
{\a:accents{ddot}{#1}} {\b:accents{ddot}{#1}{#2}}
11316
\expandafter\let\csname checkmathaccentV\endcsname=\check
11317
\expandafter\let\csname CHECKmathaccentV\endcsname=\check
11318
\expand:after{\Configure{accent}}\csname
11319
checkmathaccentV\expandafter\endcsname
11320
\csname CHECKmathaccentV\endcsname{|<check iso-8859-1|>{}{}}
11321
{\a:accents{check}{#1}} {\b:accents{check}{#1}{#2}}
11323
\expandafter\let\csname dotmathaccentV\endcsname=\dot
11324
\expandafter\let\csname DOTmathaccentV\endcsname=\dot
11325
\expand:after{\Configure{accent}}\csname
11326
dotmathaccentV\expandafter\endcsname
11327
\csname DOTmathaccentV\endcsname{|<dot iso-8859-1|>{}{}}
11328
{\a:accents{dot}{#1}} {\b:accents{dot}{#1}{#2}}
11330
\expandafter\let\csname brevemathaccentV\endcsname=\breve
11331
\expandafter\let\csname BREVEmathaccentV\endcsname=\breve
11332
\expand:after{\Configure{accent}}\csname
11333
brevemathaccentV\expandafter\endcsname
11334
\csname BREVEmathaccentV\endcsname{|<breve iso-8859-1|>{}{}}
11335
{\a:accents{breve}{#1}} {\b:accents{breve}{#1}{#2}}
11337
\expandafter\let\csname barmathaccentV\endcsname=\bar
11338
\expandafter\let\csname BARmathaccentV\endcsname=\bar
11339
\expand:after{\Configure{accent}}\csname
11340
barmathaccentV\expandafter\endcsname
11341
\csname BARmathaccentV\endcsname{|<bar iso-8859-1|>{}{}}
11342
{\a:accents{bar}{#1}} {\b:accents{bar}{#1}{#2}}
11344
\expandafter\let\csname vecmathaccentV\endcsname=\vec
11345
\expandafter\let\csname VECmathaccentV\endcsname=\vec
11346
\expand:after{\Configure{accent}}\csname
11347
vecmathaccentV\expandafter\endcsname
11348
\csname VECmathaccentV\endcsname{|<vec iso-8859-1|>{}{}}
11349
{\a:accents{vec}{#1}} {\b:accents{vec}{#1}{#2}}
11352
\<old ams 2000 iso-8859-2 accents\><<<
11354
\expandafter\let\csname acutemathaccentV\endcsname=\acute
11355
\expandafter\let\csname ACUTEmathaccentV\endcsname=\acute
11356
\expand:after{\Configure{accent}}\csname
11357
acutemathaccentV\expandafter\endcsname
11358
\csname ACUTEmathaccentV\endcsname{|<acute iso-8859-2|>{}{}}
11359
{\a:accents{acute}{#1}} {\b:accents{acute}{#1}{#2}}
11362
The upper case is needed for cases like
11365
\documentclass[12pt]{amsart}
11367
\title{BUDOWA J''ADER ATOM{O}W PIERWIASTK{O}W}
11368
\author{Rafa''l ``Raba--P{o}''lg''l{o}wek\'o$\acute{o}$}
11369
\def\datename{Wersja z}
11380
\<configure html4 ot4enc\><<<
11381
\def\add:acc#1{\ht:special{t4ht@+\string&\#x#1;}x}
11382
\Configure{add accent}{OT4:18} %\`
11383
|<add grave codes|> {}{}
11384
\Configure{add accent}{OT4:127} %\"
11385
|<add diaeresis codes|> {}{}
11386
\Configure{add accent}{OT4:19} %\'
11387
|<add acute codes|> {}{}
11388
\Configure{add accent}{OT4:95} %\.
11389
|<add dot above codes|> {}{}
11390
\Configure{add accent}{OT4:22} %\=
11392
\Configure{add accent}{OT4:94} %\^
11393
|<add circumflex codes|> {}{}
11394
\Configure{add accent}{OT4:126} %\~
11395
|<add tilde codes|> {}{}
11396
\Configure{add accent}{OT4:125} %\H
11397
|<add double acute code|> {}{}
11398
\Configure{add accent}{OT4:21} %\u
11399
|<add breve codes|> {}{}
11400
\Configure{add accent}{OT4:20} %\v
11401
|<add caron codes|> {}{}
11402
\Configure{add accent}{OT4:23} %\r
11403
|<add ring codes|> {}{}
11404
\Configure{add accent}{OT4:24} %\c
11405
|<add cedilla codes|> {}{}
11412
\<configure html4 pd1enc\><<<
11413
\def\add:acc#1{\ht:special{t4ht@+\string&\#x#1;}x}
11414
\Configure{add accent}{PD1:96} %\`
11415
|<add grave codes|> {}{}
11416
\Configure{add accent}{PD1:168} %\"
11417
|<add diaeresis codes|> {}{}
11418
\Configure{add accent}{PD1:180} %\'
11419
|<add acute codes|> {}{}
11420
\Configure{add accent}{PD1:27} %\.
11421
|<add dot above codes|> {}{}
11422
\Configure{add accent}{PD1:26} %\^
11423
|<add circumflex codes|> {}{}
11424
\Configure{add accent}{PD1:31} %\~
11425
|<add tilde codes|> {}{}
11426
\Configure{add accent}{PD1:24} %\u
11427
|<add breve codes|> {}{}
11428
\Configure{add accent}{PD1:20} %\v
11429
|<add caron codes|> {}{}
11430
\Configure{add accent}{PD1:21} %\r
11431
|<add ring codes|> {}{}
11432
\Configure{add accent}{PD1:184} %\c
11433
|<add cedilla codes|> {}{}
11436
% \Configure{add accent}{PD1:22} %\= {}{}
11438
% \Configure{add accent}{PD1:125} %\H
11439
% |<add double acute code|> {}{}
11442
%%%%%%%%%%%%%%%%%%%
11443
\section{Languages}
11444
%%%%%%%%%%%%%%%%%%%
11446
%%%%%%%%%%%%%%%%%%%
11448
%%%%%%%%%%%%%%%%%%%
11456
\<babel macros\><<<
11463
\<config tex4ht\><<<
11464
\NewConfigure{charset}[1]{\def\a:charset{#1}}
11465
\def\:temp#1charset=#2,#3|<par del|>{%
11467
\Log:Note{for alternative charset, use
11468
the command line option `charset=...'}
11469
\else \Configure{charset}{charset=#2}\fi}
11470
\expandafter\:temp\Preamble ,charset=,|<par del|>
11476
\<configure html4 CJK\><<<
11477
\def\A:charset{charset=utf-8}
11478
|<simplified chinese (mainland)|>
11479
|<traditional chinese (taiwanese)|>
11480
|<japanese charset|>
11482
\Configure{CJKbold}{\HCode{<b>}}{\HCode{</b>}}
11487
The following are from CJK.enc
11494
\<traditional chinese (taiwanese)\><<<
11495
\Configure{CJK.enc}{Bg5}{\def\A:charset{charset=big5}}
11496
\Configure{CJK.enc}{Bg5pmC}{\def\A:charset{charset=big5}}
11497
\Configure{CJK.enc}{Bg5+}{\def\A:charset{charset=big5}}
11501
GB2312 (1980) has been superceded by GBK (circa 1993?) and GB18030 (2000).
11503
\<simplified chinese (mainland)\><<<
11504
\Configure{CJK.enc}{GBpmC}{\def\A:charset{charset=gbk}}
11505
\Configure{CJK.enc}{GBK}{\def\A:charset{charset=gbk}}
11506
\Configure{CJK.enc}{GBt}{\def\A:charset{charset=gbk}}
11507
\Configure{CJK.enc}{GBtpmC}{\def\A:charset{charset=gbk}}
11508
\Configure{CJK.enc}{CNS1-7}{\def\A:charset{charset=gbk}}
11512
\<japanese charset\><<<
11513
\Configure{CJK.enc}{JIS}{\def\A:charset{charset=iso-2022-jp}}
11514
\Configure{CJK.enc}{JISpmC}{\def\A:charset{charset=iso-2022-jp}}
11515
\Configure{CJK.enc}{JISdnp}{\def\A:charset{charset=iso-2022-jp}}
11516
\Configure{CJK.enc}{JISwn}{\def\A:charset{charset=iso-2022-jp}}
11517
\Configure{CJK.enc}{JIS2}{\def\A:charset{charset=iso-2022-jp}}
11518
\Configure{CJK.enc}{JIS2dnp}{\def\A:charset{charset=iso-2022-jp}}
11519
\Configure{CJK.enc}{SJIS}{\def\A:charset{charset=iso-2022-jp}}
11522
\<korean charset\><<<
11523
\Configure{CJK.enc}{KS}{\def\A:charset{charset=iso-2022-kr}}
11524
\Configure{CJK.enc}{KSpmC}{\def\A:charset{charset=iso-2022-kr}}
11525
\Configure{CJK.enc}{KSHL}{\def\A:charset{charset=iso-2022-kr}}
11532
\<configure html4 hebtex\><<<
11533
\def\A:charset{charset=iso-8859-8}
11534
\Configure{arabtext}
11535
{\ifhmode \let\end:arabtex=\empty \IgnorePar
11537
\HCode{<div align="right"><table class="arabtex"><tr><td\Hnewline
11538
style="white-space:nowrap;" align="right">}%
11539
\def\end:arabtex{\HCode{</td></tr></table></div>}}%
11541
\global\let\start:arab=\relax}
11543
{\ifx \start:arab\relax \global\let\start:arab=\empty
11544
\else \Tg<br />\fi}
11546
\:CheckOption{nikud} \if:Option
11547
\Configure{chireq}{\char5 }
11548
\Configure{cholem}{\char3 }
11549
\Configure{chpatach}{\char1\char7 }
11550
\Configure{chqames}{\char2\char7 }
11551
\Configure{chsegol}{\char3\char7 }
11552
\Configure{dagesh}{\char46 }
11553
\Configure{meteg}{\char44 }
11554
\Configure{patachf}{\char1 }
11555
\Configure{patach}{\char1 }
11556
\Configure{qameschat}{\char6\char7 }
11557
\Configure{qames}{\char6 }
11558
\Configure{qibbus}{\HCode{<!--qibbus-->}}
11559
\Configure{rdot}{\HCode{<!--rdot-->}}
11560
\Configure{segol}{\char3 }
11561
\Configure{sere}{\char9 }
11562
\Configure{shindot}{\HCode{<!--shindot-->}}
11563
\Configure{shwa}{\char7 }
11564
\Configure{sindot}{\HCode{<!--sindot-->}}
11566
\Log:Note{for hebrew vowels, use
11567
the command line option `nikud'}
11568
\Configure{chireq}{\HCode{<!--chireq-->}}
11569
\Configure{cholem}{\HCode{<!--cholem-->}}
11570
\Configure{chpatach}{\HCode{<!--chpatach-->}}
11571
\Configure{chqames}{\HCode{<!--chqames-->}}
11572
\Configure{chsegol}{\HCode{<!--chsegol-->}}
11573
\Configure{dagesh}{\HCode{<!--dagesh-->}}
11574
\Configure{meteg}{\HCode{<!--meteg-->}}
11575
\Configure{patachf}{\HCode{<!--patachf-->}}
11576
\Configure{patach}{\HCode{<!--patach-->}}
11577
\Configure{qameschat}{\HCode{<!--qameschat-->}}
11578
\Configure{qames}{\HCode{<!--qames-->}}
11579
\Configure{qibbus}{\HCode{<!--qibbus-->}}
11580
\Configure{rdot}{\HCode{<!--rdot-->}}
11581
\Configure{segol}{\HCode{<!--segol-->}}
11582
\Configure{sere}{\HCode{<!--sere-->}}
11583
\Configure{shindot}{\HCode{<!--shindot-->}}
11584
\Configure{shwa}{\HCode{<!--shwa-->}}
11585
\Configure{sindot}{\HCode{<!--sindot-->}}
11590
\<configure html4 abidir\><<<
11591
\:CheckOption{pic-RL}\if:Option
11593
{\ifvmode \IgnorePar\EndP \def\RL:tag{div}\else \def\RL:tag{span}\fi
11594
\HCode{<\RL:tag\space class="pic-RL">}\Picture*{}}
11595
{\EndPicture\HCode{</\RL:tag>}}
11597
\Css{div.pic-RL{text-align:right;}}
11599
\Log:Note{for pictorial RL, use
11600
the command line option `pic-RL'}
11602
{\HCode{<span class="RL">}} {\HCode{</span>}}
11603
{} {\HCode{<br />}} {} {}
11608
% \:CheckOption{RL2LR}\if:Option
11610
% {\ifvmode \IgnorePar\fi \EndP \HCode{<div class="RL"
11612
% {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
11616
% {\ifvmode \IgnorePar\fi \EndP \HCode{<div class="RL"
11618
% {\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
11619
% {} {\HCode{<br />}} {} {}
11623
\<configure html4-uni babel\><<<
11624
\def\A:charset{charset=utf-8}%
11628
\<configure html4-uni austrian\><<<
11629
\def\A:charset{charset=utf-8}
11632
\<configure html4-uni catalan\><<<
11633
\def\A:charset{charset=utf-8}
11636
\<configure html4-uni croatian\><<<
11637
\def\A:charset{charset=utf-8}
11639
\<configure html4-uni czech\><<<
11640
\def\A:charset{charset=utf-8}
11642
\<configure html4-uni danish\><<<
11643
\def\A:charset{charset=utf-8}
11645
\<configure html4-uni dutch\><<<
11646
\def\A:charset{charset=utf-8}
11648
\<configure html4-uni english\><<<
11649
\def\A:charset{charset=utf-8}
11651
\<configure html4-uni esperant\><<<
11652
\def\A:charset{charset=utf-8}
11654
\<configure html4-uni estonian\><<<
11655
\def\A:charset{charset=utf-8}
11657
\<configure html4-uni finnish\><<<
11658
\def\A:charset{charset=utf-8}
11660
\<configure html4-uni francais\><<<
11661
\def\A:charset{charset=utf-8}
11663
\<configure html4-uni galician\><<<
11664
\def\A:charset{charset=utf-8}
11666
\<configure html4-uni germanb\><<<
11667
\def\A:charset{charset=utf-8}
11669
\<configure html4-uni greek\><<<
11670
\def\A:charset{charset=utf-8}
11672
\<configure html4-uni hebrew\><<<
11673
\def\A:charset{charset=utf-8}
11675
\<configure html4-uni ngermanb\><<<
11676
\def\A:charset{charset=utf-8}
11678
\<configure html4-uni norsk\><<<
11679
\def\A:charset{charset=utf-8}
11681
\<configure html4-uni polish\><<<
11682
\def\A:charset{charset=utf-8}
11684
\<configure html4-uni polski\><<<
11685
\def\A:charset{charset=utf-8}
11687
\<configure html4-uni portuges\><<<
11688
\def\A:charset{charset=utf-8}
11690
\<configure html4-uni romanian\><<<
11691
\def\A:charset{charset=utf-8}
11695
\<configure html4-uni scottish\><<<
11696
\def\A:charset{charset=utf-8}
11698
\<configure html4-uni slovak\><<<
11699
\def\A:charset{charset=utf-8}
11701
\<configure html4-uni slovene\><<<
11702
\def\A:charset{charset=utf-8}
11704
\<configure html4-uni spanish\><<<
11705
\def\A:charset{charset=utf-8}
11706
|<spanish configs|>
11708
\<configure html4-uni swedish\><<<
11709
\def\A:charset{charset=utf-8}
11711
\<configure html4-uni turkish\><<<
11712
\def\A:charset{charset=utf-8}
11714
\<configure html4-uni ukraineb\><<<
11715
\def\A:charset{charset=utf-8}
11717
\<configure html4-uni usorbian\><<<
11718
\def\A:charset{charset=utf-8}
11720
\<configure html4-uni welsh\><<<
11721
\def\A:charset{charset=utf-8}
11724
\<configure html4-uni CJK\><<<
11725
\def\A:charset{charset=utf-8}
11726
\Configure{CJKbold}{\HCode{<b>}}{\HCode{</b>}}
11729
\<configure html4-uni hebtex\><<<
11730
\def\A:charset{charset=utf-8}
11733
\<configure html4-uni exerquiz\><<<
11734
\def\A:charset{charset=utf-8}
11737
\<configure html4 romanian\><<<
11738
\def\A:charset{charset=iso-8859-2}
11739
\:CheckOption{new-accents} \if:Option \else
11740
|<old iso-8859-2 accents|>
11744
%%%%%%%%%%%%%%%%%%%
11745
\subsection{Umlaut}
11746
%%%%%%%%%%%%%%%%%%%
11748
\<configure html4 german\><<<
11749
\:CheckOption{new-accents} \if:Option \else
11750
\Configure{accent}\grmn@OTumlaut
11751
\grmn@OTumlaut{|<diaeresis codes|>{}{34}}
11752
{\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}}
11757
\:CheckOption{new-accents} \if:Option \else
11758
\Configure{accent}\lower@umlaut\lower@umlaut{|<diaeresis codes|>{}{34}}
11759
{\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}}
11766
\Configure{accent}\bbl@umlauta
11767
\bbl@umlaute{|<diaeresis iso-8859-1|>{}{34}}
11768
{\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}}
11771
%%%%%%%%%%%%%%%%%%%
11772
\subsection{Russian and Cyrillic}
11773
%%%%%%%%%%%%%%%%%%%
11777
\<configure html4 t2benc\><<<
11778
\def\:temp{charset=koi8-r}\ifx \A:charset\:temp \else
11779
\def\A:charset{charset=iso-8859-5}
11785
\<configure html4 koi8-r\><<<
11786
\def\A:charset{charset=koi8-r}
11791
\<set babel charset\><<<
11792
\def\:temp{charset=koi8-r}\ifx \A:charset\:temp \else
11793
\a:temp{russian}{iso-8859-5}
11797
\<configure html4-uni russianb\><<<
11798
\NewConfigure{dtd-lang}{1} \Configure{dtd-lang}{RU}
11799
\def\A:charset{charset=utf-8}
11801
\ifx \@begindocumenthook\:UnDef\else
11802
\:CheckOption{new-accents} \if:Option \else
11809
\<configure html4 russianb\><<<
11810
\NewConfigure{dtd-lang}{1} \Configure{dtd-lang}{RU}
11811
\def\:temp{charset=koi8-r}\ifx \A:charset\:temp \else
11812
\def\A:charset{charset=iso-8859-5}
11814
\ifx \@begindocumenthook\:UnDef\else
11815
\:CheckOption{new-accents} \if:Option \else
11816
% \def\:temp{russian}\ifx \languagename\:temp
11823
We had also \verb'\append:def\@begindocumenthook{\HLet\"|=\ddot}' in
11824
babel. It gets russian and brazil into infinite loop. Why it was
11827
ERROR: The non ascii characters might translate wrongly in the 4ht
11828
file (e.g., \verb'^^e5' for 00EB below). They also not show in the
11829
documentation since a cmtt10 font is in use and it doesn't covet those
11830
symbols. The problem will probably vanish once the new accent approach
11835
\Configure{accent}\"\ddot{|<diaeresis codes|>�{00EB}%
11836
{\@use@text@encoding \@curr@enc A}{00C4}%
11837
{\@use@text@encoding \@curr@enc E}{00CB}%
11838
{\@use@text@encoding \@curr@enc I}{00CF}%
11839
{\@use@text@encoding \@curr@enc O}{00D6}%
11840
{\@use@text@encoding \@curr@enc U}{00DC}%
11841
{\@use@text@encoding \@curr@enc Y}{0178}%
11842
{\@use@text@encoding \@curr@enc a}{00E4}%
11843
{\@use@text@encoding \@curr@enc e}{00EB}%
11844
{\@use@text@encoding \@curr@enc i}{00EF}%
11845
{\@use@text@encoding \@curr@enc \i}{00EF}%
11846
{\@use@text@encoding \@curr@enc o}{00F6}%
11847
{\@use@text@encoding \@curr@enc u}{00FC}%
11848
{\@use@text@encoding \@curr@enc y}{00FF}%
11849
{\@use@text@encoding \@curr@enc �}{00EB}%
11851
{\a:accents{uml}{#1}}
11852
{\def\:temp{>}\def\:tempa{#2}\ifx \:temp\:tempa\HCode{�}%
11853
\else \def\:temp{<}\ifx \:temp\:tempa\HCode{�}%
11854
\else \b:accents{uml}{#1}{#2}\fi\fi}
11859
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11861
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11865
\section{Margin Comments}
11869
We need to consider cases like
11870
\verb+\marginpar{ Consider: \par *one \par *two}+
11875
\<configure html4 latex\><<<
11876
\Configure{marginpar}
11878
\IgnorePar\EndP\HCode{<div class="marginpar">}%
11879
\def\end:margp{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}%
11883
\HCode{<span class="marginpar">}%
11885
\Configure{HtmlPar}{\HCode{<br />}}{\HCode{<br />}}{}{}%
11886
\def\end:margp{\egroup\HCode{</span>}\RecallEndP}%
11890
\Css{.marginpar {width:20\%; float:right; text-align:left;
11891
margin-left:auto; margin-top:0.5em; font-size:85\%;
11892
text-decoration:underline;}}
11893
\Css{.marginpar p{margin-top:0.4em; margin-bottom:0.4em;}}
11896
\verb'margin-left:auto' instead of \verb'margin-left:1em'
11897
-- this makes margin paragraphs float correctly in Netscape 4.06
11902
\section{Pictures in Margins}
11907
\<configure html4 picins\><<<
11908
\Css{.picins-dr, .picins-rd { float:right;
11909
padding: 2px; margin-left:5px; margin-bottom:3px;
11910
border: 1px dashed black;
11912
\Css{.picins-dl, .picins-ld, .picins-d { float:left;
11913
padding: 2px; margin-right:5px; margin-bottom:3px;
11914
border: 1px dashed black;
11916
\Css{.picins-fr, .picins-rf { float:right;
11917
padding: 2px; margin-left:5px; margin-bottom:3px;
11918
border: 1px dashed black;
11920
\Css{.picins-fl, .picins-lf, .picins-f { float:left;
11921
padding: 2px; margin-right:5px; margin-bottom:3px;
11922
border: 1px solid black;
11924
\Css{.picins-sr, .picins-rs { float:right;
11925
padding: 2px; margin-left:5px; margin-bottom:3px;
11926
border-left: 1px solid black;
11927
border-top: 1px solid black;
11928
border-right: 4px solid black;
11929
border-bottom: 4px solid black;
11931
\Css{.picins-sl, .picins-ls, .picins-s { float:left;
11932
padding: 2px; margin-right:5px; margin-bottom:3px;
11933
border-left: 1px solid black;
11934
border-top: 1px solid black;
11935
border-right: 4px solid black;
11936
border-bottom: 4px solid black;
11938
\Css{.picins-xr, .picins-rx { float:right;
11939
padding: 2px; margin-left:5px; margin-bottom:3px;
11940
border-left: 1px solid black;
11941
border-top: 1px solid black;
11942
border-right: 1px double black;
11943
border-bottom: 1px double black;
11945
\Css{.picins-xl, .picins-lx, .picins-x { float:left;
11946
padding: 2px; margin-right:5px; margin-bottom:3px;
11947
border-left: 1px solid black;
11948
border-top: 1px solid black;
11949
border-right: 1px double black;
11950
border-bottom: 1px double black;
11952
\Css{.picins-r { float:right;
11953
padding: 2px; margin-left:5px; margin-bottom:3px;
11955
\Css{.picins-l, .picins- { float:left;
11956
padding: 2px; margin-right:5px; margin-bottom:3px;
11960
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11961
\chapter{Style Files}
11962
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11969
\<configure html4 mex\><<<
11970
\def\MeX{\HCode{<span class="MeX">}MeX\HCode{</span>}}
11974
\subsection{eplain}
11978
\<configure html4 eplain\><<<
11979
\Configure{columns}
11980
{\ifvmode \IgnorePar\fi \EndP
11981
\HCode{<div class="columns"><!--cols=\NumColumns-->}}
11982
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
11983
\Css{div.columns { margin-left:2em; margin-right:2em; }}
11987
\<configure html4 eplain\><<<
11988
\Configure{bibliography}
11989
{\ifvmode \IgnorePar\fi \EndP
11990
\HCode{<div class="bibliography">}\par}
11991
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par}
11996
\<configure html4 eplain\><<<
11997
\Configure{makecolumns}
11998
{\ifvmode \IgnorePar\fi \EndP
11999
\HCode{<table class="makecolumns"><tr><td>}%
12000
\gdef\make:col{\gdef\make:col{\HCode{<br />}}}}
12001
{\HCode{</td></tr></table>}}
12002
{\HCode{</td><td>}%
12003
\gdef\make:col{\gdef\make:col{\HCode{<br />}}}}
12006
\Css{table.makecolumns{width:100\%;}}
12007
\Css{table.makecolumns td {vertical-align:top;}}
12011
\<configure html4 eplain\><<<
12012
\Configure{flushleft}
12013
{\ifvmode \IgnorePar\fi \EndP
12014
\HCode{<div class="flushleft">}}
12015
{\ifvmode \IgnorePar\fi \EndP
12018
\Configure{flushright}
12019
{\ifvmode \IgnorePar\fi \EndP
12020
\HCode{<div class="flushright">}}
12021
{\ifvmode \IgnorePar\fi \EndP
12025
{\ifvmode \IgnorePar\fi \EndP
12026
\HCode{<div class="center">}}
12027
{\ifvmode \IgnorePar\fi \EndP
12030
\Css{div.center {text-align:center;}}
12031
\Css{div.flushright {text-align:right;}}
12032
\Css{div.flushleft {text-align:left;}}
12037
\<configure html4 eplain\><<<
12039
\Configure{numberedlist}
12040
{\ifvmode \IgnorePar\fi \EndP
12041
\HCode{<ol>}\let\end:itm=\empty}
12042
{\ifvmode \IgnorePar\fi \end:itm \HCode{</ol>}}
12043
{\end:itm \def\end:itm{\EndP\Tg</li>}\HCode{<li>}\special{t4ht@[}\IgnorePar}
12045
\Configure{orderedlist}
12046
{\ifvmode \IgnorePar\fi \EndP
12047
\HCode{<ol>}\let\end:itm=\empty}
12048
{\ifvmode \IgnorePar\fi \end:itm \HCode{</ol>}}
12049
{\end:itm \def\end:itm{\EndP\Tg</li>}\HCode{<li>}\special{t4ht@[}\IgnorePar}
12051
\Configure{unorderedlist}
12052
{\ifvmode \IgnorePar\fi \EndP
12053
\HCode{<ul>}\let\end:itm=\empty}
12054
{\ifvmode \IgnorePar\fi \end:itm \HCode{</ul>}}
12055
{\ifvmode \IgnorePar\fi \EndP
12056
\end:itm \def\end:itm{\EndP\Tg</li>}%
12057
\HCode{<li>}\special{t4ht@[}\IgnorePar}
12061
\<configure html4 eplain\><<<
12062
\Configure{listing}
12063
{\IgnorePar\EndP \HCode{<div class="listing">}\par
12064
\Configure{HtmlPar}
12070
{\HCode{</div>}\par}
12074
\<configure html4-math eplain\><<<
12075
\Configure{PicDisplay}
12076
{\edef\MathPar{\ifvmode par-\fi}\IgnorePar\endgraf\EndP
12077
\HCode{<div class="\if@leftdisplays leftdisplay\else centereddisplay\fi">}}
12078
{\HCode{</div>}} {} {class="\MathPar math-display" }
12079
\Css{div.lsftdisplay {text-align:left;}}
12080
\Css{div.centereddisplay {text-align:center;}}
12084
\<configure html4-math eplain\><<<
12085
\Configure{contents}
12086
{\ifvmode \IgnorePar\fi \EndP
12087
\HCode{<div class="contents">}}
12089
\Configure{tocchapterentry}
12090
{\HCode{<span class="tocchapterentry">}}
12091
{\HCode{</span><span class="toc-num">}}
12093
\Configure{tocsectionentry}
12094
{\HCode{<span class="tocsectionentry">}}
12095
{\HCode{</span><span class="toc-num">}}
12097
\Configure{tocsubsectionentry}
12098
{\HCode{<span class="tocsubsectionentry">}}
12099
{\HCode{</span><span class="toc-num">}}
12101
\Css{span.tocchapterentry{width:30em}}
12102
\Css{span.tocsectionentry{width:30em; padding-left:1.5em}}
12103
\Css{span.tocsectionentry{width:30em; padding-left:3em}}
12104
\Css{span.toc-num{width:6em; padding-left:2em}}
12109
\<eplain dates\><<<
12110
\Configure{monthname}
12111
{\HCode{<span class="month">}}
12113
\Configure{timestring}
12114
{\HCode{<span class="time">}}
12116
\Configure{timestamp}
12117
{\HCode{<span class="timestamp">}}
12120
{\HCode{<span class="today">}}
12126
%%%%%%%%%%%%%%%%%%%
12127
\section{Drawing Utilitis}
12128
%%%%%%%%%%%%%%%%%%%
12132
%%%%%%%%%%%%%%%%%%%
12133
\subsection{Diagrams}
12134
%%%%%%%%%%%%%%%%%%%
12136
\<configure html4 epsf\><<<
12137
\Configure{epsfsetgraph}
12138
{\Picture+[\PicName]{}}
12145
%%%%%%%%%%%%%%%%%%%
12146
\subsection{Diagrams}
12147
%%%%%%%%%%%%%%%%%%%
12149
\<configure html4 diagrams\><<<
12150
\ConfigureEnv{diagram}
12151
{\ifvmode \IgnorePar \EndP
12152
\Tg<div class="diagrams">\def\End:Diagrams{\Tg</div>}%
12153
\else \let\End:Diagrams\empty
12157
\Configure{diagram}
12158
{\Picture*{}$} {$\EndPicture}
12159
\Css{.diagrams {text-align: center;}}
12162
%%%%%%%%%%%%%%%%%%%
12163
\subsection{dratex}
12164
%%%%%%%%%%%%%%%%%%%
12166
\<configure html4 dratex\><<<
12167
\Css{div.Draw{text-align:center}}
12171
%%%%%%%%%%%%%%%%%%%
12173
%%%%%%%%%%%%%%%%%%%
12175
\<configure html4 pgf\><<<
12176
\ConfigureEnv{pgfpicture}
12177
{\hbox\bgroup\Picture+[picture]{}}
12178
{\EndPicture\egroup}
12189
\<configure html4 psfig\><<<
12193
\<0,32,4 psfig\><<<
12194
\Configure{psfig} {\Picture+[psfig]{}}{\EndPicture}
12199
%%%%%%%%%%%%%%%%%%%
12200
\subsection{graphics}
12201
%%%%%%%%%%%%%%%%%%%
12203
\<configure html4 graphics\><<<
12204
\:CheckOption{graphics-} \if:Option
12205
\Configure{graphics}
12207
\let\E:IMG=\e:IMG \let\e:IMG=\empty
12208
\Picture+[\a:GraphicsAlt]{ class="graphics"}}
12210
\E:IMG\HCode{<!--tex4ht:graphics
12211
\Hnewline name="\PictureFile" src="\Gin@base\Gin@ext"
12215
|<graphics quality|>
12216
\Configure{graphics}
12218
\let\E:IMG=\e:IMG \let\e:IMG=\empty
12219
\Picture+[\a:GraphicsAlt]{ class="graphics"}}
12220
{\EndPicture \ifx\noBoundingBox\UnDefined
12221
|<pixels graphics width/height|>\fi
12222
\E:IMG\HCode{<!--tex4ht:graphics
12223
\Hnewline name="\PictureFile" src="\Gin@base\Gin@ext"
12227
\Css{.figure img.graphics {margin-left:10\%;}}
12228
\Configure{graphics*}
12230
{\Picture[\a:GraphicsAlt]{\Gin@base.gif |<graphics dim|>}}
12231
\Configure{graphics*}
12233
{\Picture[\a:GraphicsAlt]{\Gin@base.png |<graphics dim|>}}
12234
\Configure{graphics*}
12236
{\Picture[\a:GraphicsAlt]{\Gin@base.jpg |<graphics dim|>}}
12237
\Configure{graphics*}
12239
{\Picture[\a:GraphicsAlt]{\Gin@base.jpeg |<graphics dim|>}}
12240
\NewConfigure{GraphicsAlt}{1}
12241
\Configure{GraphicsAlt}{PIC}
12242
|<includegraphics dim|>
12245
\<graphics quality\><<<
12246
\def\:temp#1graphics-#2,#3|<par del|>{\def\gr:density{#2}}
12247
\expandafter\:temp\Preamble,graphics-,|<par del|>
12248
\ifx \gr:density\empty
12249
\Log:Note{if included graphics are
12250
of degraded quality, try the command line options
12251
`graphics-num' or `graphics-'. The `num' should provide
12252
the density of pixels in the bitmaps (e.g., 110).
12255
\def\int:pt#1.#2|<par del|>{#1}
12261
\<graphics dim\><<<
12262
\csname a:Gin-dim\endcsname
12266
\<includegraphics dim\><<<
12267
\NewConfigure{Gin-dim}{1}
12268
\:CheckOption{Gin-dim} \if:Option
12269
\Configure{Gin-dim}
12270
{\ifx\noBoundingBox\UnDefined
12271
|<graphics width/height|>%
12273
|<graphicx width/height|>%
12275
class="includegraphics"
12277
\else \:CheckOption{Gin-dim+} \if:Option
12278
\Configure{Gin-dim}
12279
{\ifx \Gin:ewidth\Gin@exclamation
12280
\ifx \Gin:eheight\Gin@exclamation
12281
\ifx\noBoundingBox\UnDefined
12282
|<graphics width/height|>%
12285
height="\Gin:eheight"
12288
width="\Gin:ewidth"
12289
\ifx \Gin:eheight\Gin@exclamation \else
12290
height="\Gin:eheight"
12293
class="includegraphics"
12296
\Log:Note{for key dimensions try the option
12297
`Gin-dim'; for key dimensions when bounding box is unavailable
12298
try `Gin-dim+'; neither is recommended}
12299
\Configure{Gin-dim}
12300
{\ifx\noBoundingBox\UnDefined
12301
|<graphics width/height|>%
12307
\<pixels graphics width/height\><<<
12308
\ifx \gr:density\empty
12310
width="\the\Gin@req@width"
12311
height="\the\Gin@req@height"
12315
\divide\Gin@req@width by 72
12316
\multiply\Gin@req@width by \gr:density \relax
12317
\divide\Gin@req@height by 72
12318
\multiply\Gin@req@height by \gr:density \relax
12320
width="\expandafter\int:pt\the\Gin@req@width|<par del|>"
12321
height="\expandafter\int:pt\the\Gin@req@height|<par del|>"
12328
\<graphics width/height\><<<
12329
width="\the\Gin@req@width"
12330
height="\the\Gin@req@height"
12333
\<graphicx width/height\><<<
12334
\ifx \Gin:ewidth\Gin@exclamation \else
12335
width="\Gin:ewidth"
12337
\ifx \Gin:eheight\Gin@exclamation \else
12338
height="\Gin:eheight"
12347
\<configure html4 xy\><<<
12353
{\Picture*{}} {\EndPicture}
12359
\subsection{pstricks}
12363
\<configure html4 pst-all\><<<
12364
\ConfigureEnv{psmatrix}
12370
\<configure html4 pstricks\><<<
12371
\Configure{pspicture}
12372
{\ifvmode \ifinner\else \vfill\break\fi
12375
\ifdim \pst@dimh<\z@ \pst@dimh=-\pst@dimh \fi
12376
\HCode{<!--width="\ifdim \wd\pst@hbox=\z@ \the\pst@dimg
12377
\else\the\wd\pst@hbox\fi"
12378
height="\ifdim \ht\pst@hbox=\z@ \the\pst@dimh
12379
\else \the\ht\pst@hbox\fi"-->}%
12381
\Picture+[\a:pspictureAlt]{ class="pspicture"}}
12383
\NewConfigure{pspictureAlt}{1}
12384
\Configure{pspictureAlt}{PIC}
12391
\subsection{pb-diagram}
12394
\<configure html4 pb-diagram\><<<
12395
\ConfigureEnv{diagram}
12396
{\Picture*{ class="pb-diagram"}$} {$\EndPicture} {}{}
12397
\Css{.pb-diagram {align:center}}
12401
%%%%%%%%%%%%%%%%%%%
12402
\subsection{pictex}
12403
%%%%%%%%%%%%%%%%%%%
12405
\<configure html4 pictex\><<<
12407
{\:xhtml{\IgnorePar\EndP}\HCode{<div
12408
class="pictex">}}{\HCode{</div>}}{+[PICT]}
12409
\Css{div.pictex {text-align:center;}}
12415
%%%%%%%%%%%%%%%%%%%
12417
%%%%%%%%%%%%%%%%%%%
12419
%%%%%%%%%%%%%%%%%%%
12420
\subsection{Beamer}
12421
%%%%%%%%%%%%%%%%%%%
12426
\<configure html4 beamer\><<<
12428
|<beamer environments|>
12431
\<beamer environments\><<<
12432
\let\block:Name=\empty
12433
\ConfigureEnv{block}
12434
{\par\IgnorePar\EndP
12435
\ifx \block:Name\empty \def\block:Name{block}\fi
12436
\HCode{<div class="\block:Name">}\global\let\block:Name=\empty}
12437
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
12439
\ConfigureEnv{alertblock}
12440
{\par\IgnorePar\EndP
12441
\ifx \block:Name\empty \def\block:Name{alertblock}\fi
12442
\HCode{<div class="\block:Name">}\global\let\block:Name=\empty}
12443
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
12445
\ConfigureEnv{Problem}
12446
{\def\block:Name{Problem}} {} {} {}
12447
\ConfigureEnv{Loesung}
12448
{\def\block:Name{Loesung}} {} {} {}
12449
\ConfigureEnv{Definition}
12450
{\def\block:Name{Definition}} {} {} {}
12451
\ConfigureEnv{Satz}
12452
{\def\block:Name{Satz}} {} {} {}
12453
\ConfigureEnv{Beweis}
12454
{\def\block:Name{Beweis}} {} {} {}
12455
\ConfigureEnv{Folgerung}
12456
{\def\block:Name{Folgerung}} {} {} {}
12457
\ConfigureEnv{Lemma}
12458
{\def\block:Name{Lemma}} {} {} {}
12459
\ConfigureEnv{Fakt}
12460
{\def\block:Name{Fakt}} {} {} {}
12461
\ConfigureEnv{Theorem}
12462
{\def\block:Name{Theorem}} {} {} {}
12463
\ConfigureEnv{Proof}
12464
{\def\block:Name{Proof}} {} {} {}
12465
\ConfigureEnv{Corollary}
12466
{\def\block:Name{Corollary}} {} {} {}
12467
\ConfigureEnv{Fact}
12468
{\def\block:Name{Fact}} {} {} {}
12469
\ConfigureEnv{definition}
12470
{\def\block:Name{definition}} {} {} {}
12471
\ConfigureEnv{definitions}
12472
{\def\block:Name{definitions}} {} {} {}
12473
\ConfigureEnv{theorem}
12474
{\def\block:Name{theorem}} {} {} {}
12475
\ConfigureEnv{proof}
12476
{\def\block:Name{proof}} {} {} {}
12477
\ConfigureEnv{corollary}
12478
{\def\block:Name{corollary}} {} {} {}
12479
\ConfigureEnv{fact}
12480
{\def\block:Name{fact}} {} {} {}
12483
\<beamer environments\><<<
12484
\ConfigureEnv{exampleblock}
12485
{\par\IgnorePar\EndP
12486
\ifx \block:Name\empty \def\block:Name{exampleblock}\fi
12487
\HCode{<div class="\block:Name">}\global\let\block:Name=\empty}
12488
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
12490
\ConfigureEnv{Beispiel}
12491
{\def\block:Name{Beispiel}} {} {} {}
12492
\ConfigureEnv{Beispiele}
12493
{\def\block:Name{Beispiele}} {} {} {}
12494
\ConfigureEnv{Example}
12495
{\def\block:Name{Example}} {} {} {}
12496
\ConfigureEnv{Examples}
12497
{\def\block:Name{Examples}} {} {} {}
12498
\ConfigureEnv{example}
12499
{\def\block:Name{example}} {} {} {}
12500
\ConfigureEnv{examples}
12501
{\def\block:Name{examples}} {} {} {}
12502
\Css{div.Example, div.examplblock, div.Beispiele,
12503
div.Beispiel, div.Examples, div.example, div.examples{color:green;}}
12506
\<beamer slides\><<<
12507
\:CheckOption{1} \if:Option
12508
\ConfigureEnv{slide}
12509
{\ifvmode \IgnorePar\fi \EndP
12510
\ifnum \Slide:cnt>0 \HPage{}\fi
12511
\ifvmode \IgnorePar\fi \EndP
12513
\HCode{<div class="slide">}\par
12515
{\ifvmode \IgnorePar\fi \EndP
12516
\HCode{</div>}\ifnum \Slide:cnt>1\relax \EndHPage{}\fi}
12518
\Css{div.slide {border-top:solid black 0.4pt;}}
12520
\Log:Note{for pagination of slides,
12521
use the command line option `1'}
12522
\ConfigureEnv{slide}
12523
{\ifvmode \IgnorePar\fi \EndP
12524
\HCode{<hr class="hidden" />}%
12526
\HCode{<div class="slide">}\par
12528
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
12530
\Css{div.slide {border:solid black 0.4pt;}}
12538
\<configure html4 beamer\><<<
12540
\Configure{frametitle}
12541
{\ifvmode \IgnorePar\fi \EndP \HCode{<h2 class="frametitle">}\bgroup
12542
\Configure{HtmlPar}{ }{ }{}{}%
12544
{\egroup \ifvmode \IgnorePar\fi \EndP \HCode{</h2>}}
12548
\Css{h1, h2, span.inst sup{font-size:100\%;}}
12550
\ConfigureEnv{overlayarea}
12552
\ConfigureEnv{minipage}
12553
{\bgroup \IgnorePar\EndP
12554
\ConfigureEnv{minipage}
12555
{\bgroup \IgnorePar\EndP
12556
\HCode{<table class="minipage"><tr><td>}}
12557
{\EndP\HCode{</td></tr></table>}\egroup }
12567
\<configure html4 beamer\><<<
12568
\Configure{sec@slide}
12569
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="hidden">}}
12570
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par
12571
|<beamer cross links|>\par}
12572
\Css{.hidden {visibility:hidden;}}
12574
\Css{table.columns {width:100\%;}}
12575
\Css{td.column {vertical-align:top;}}
12579
\<configure html4 beamer\><<<
12581
{\HCode{<span class="inst">}}
12584
\Configure{titlepage}
12585
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="titlepage">}%
12586
\gHAdvance\Slide:cnt by 1
12587
\Link{}{sl1}\EndLink
12588
|<beamer cross links|>%
12590
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
12592
{\ifvmode \IgnorePar\fi \EndP \HCode{<h1 class="title">}}
12593
{\ifvmode \IgnorePar\fi \EndP \HCode{</h1>}}
12595
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="author">}}
12596
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
12597
\Configure{institute}
12598
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="institute">}}
12599
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
12601
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="date">}}
12602
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
12603
\Configure{andtitle}{\HCode{<br />}}
12604
\Css{div.titlepage {text-align:center;}}
12605
\Css{div.institute { margin-bottom: 1em; margin-top: 1em;}}
12609
\<configure html4 beamer\><<<
12610
\ConfigureEnv{columns}
12611
{\ifvmode \IgnorePar\fi \EndP
12612
\HCode{<table class="columns"><tr>}}
12613
{\ifvmode \IgnorePar\fi \EndP \HCode{</tr></table>}}
12616
\ConfigureEnv{column}
12618
\ConfigureEnv{minipage}
12619
{\bgroup \IgnorePar\EndP
12620
\ConfigureEnv{minipage}
12621
{\bgroup \IgnorePar\EndP
12622
\HCode{<table class="minipage"><tr><td>}}
12623
{\EndP\HCode{</td></tr></table>}\egroup }
12628
\HCode{<td class="column">}%
12630
{\ifvmode \IgnorePar\fi \EndP \HCode{</td>}\egroup}
12635
\<configure html4 beamer\><<<
12638
{\Configure{TocLink}
12639
{\def\hyperlink########1########2{\Link{####2}{}########2\EndLink}####4}%
12643
%\Configure{TocLink}{\def\hyperlink##1##2{\Link{#2}{}##2\EndLink}#4}
12644
\Configure{sectionshadedintoc}
12645
{\HCode{<div class="sectionshadedintoc">}}
12646
{\ifvmode \IgnorePar\fi \HCode{</div>}}
12647
\Configure{sectionintoc}
12648
{\HCode{<div class="sectionintoc">}}
12649
{\ifvmode \IgnorePar\fi \HCode{</div>}}
12650
\Configure{subsectionshadedintoc}
12651
{\HCode{<div class="subsectionshadedintoc">}}
12652
{\ifvmode \IgnorePar\fi \HCode{</div>}}
12653
\Configure{subsectionintoc}
12654
{\HCode{<div class="subsectionintoc">}}
12655
{\ifvmode \IgnorePar\fi \HCode{</div>}}
12657
\Css{div.sectionintoc, div.sectionshadedintoc{ margin-top:1em; }}
12658
\Css{div.tableofcontents
12659
{ padding-left:1em; padding-right:1em; padding-bottom:1em; }}
12660
\Css{.tableofcontents div.subsectionintoc,
12661
.tableofcontents div.subsectionshadedintoc{ margin-left:1em; }}
12663
\Configure{tableofcontents}
12664
{\IgnorePar\EndP \HCode{<div class="TableOfContents">}}{}
12665
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\ShowPar}
12670
\<beamer cross links\><<<
12674
\<beamer header\><<<
12675
\gHAdvance\Slide:cnt by 1
12676
\ifx \sec:name\empty
12677
\HCode{<div class="hidden">}\Link{}{sl\Slide:cnt}\EndLink
12680
\HCode{<div class="header">}\Link{}{sl\Slide:cnt}\EndLink
12682
\ifx \subsec:name\empty \else \HCode{<br />}\subsec:name\fi
12687
\<configure html4 beamer\><<<
12688
\let\beamer:section=\@section
12689
\def\@section[#1]#2{\beamer:section[#1]{#2}%
12690
\gHAdvance\:bookmarkN by 1
12691
\def\sec:name{#2}\let\subsec:name=\empty}
12692
\append:defI\subsection{%
12693
\gHAdvance\:bookmarkN by 1
12694
\def\subsec:name{#1}}
12695
\HAssign\:bookmarkN=0
12696
\let\sec:name=\empty
12697
\let\subsec:name=\empty
12698
\Css{div.header{ margin:0; text-align:right; font-size:70\%; }}
12705
\<configure html4 beamer\><<<
12706
\gHAssign\Slide:cnt=0
12708
|<beamer bookmarks|>%
12709
|<beamer toc frames|>%
12710
\gdef\slides:toc{\ifvmode \IgnorePar\fi \EndP
12711
\HCode{<p class="links">}|<set beamer cross links|>%
12715
\Css{p.links{ margin:0; float:right; text-align:right;
12720
\<set beamer cross links\><<<
12722
\HAdvance\Slide:cnt by 1\relax
12723
\ifTag{)Qsl\Slide:cnt}{\Link{sl\Slide:cnt}{}next\EndLink\HCode{<br />}}{}%
12725
\ifnum \Slide:cnt>1
12727
\HAdvance\Slide:cnt by -1
12728
\Link{sl\Slide:cnt}{}prev\EndLink\HCode{<br />}%
12729
\ifnum \:bookmarkN>0\relax
12730
\Link[ target="|<tex4ht-menu|>"
12731
]{tc-\:bookmarkN}{}toc\EndLink\HCode{<br />}%
12733
\Link{sl1}{}top\EndLink\HCode{<br />}%
12734
{\HAdvance\Slide:cnt by 1\relax \Slide:cnt}%
12737
\Link[ target="|<tex4ht-menu|>"]{bookmark}{}toc\EndLink
12747
\<beamer bookmarks\><<<
12748
\:CheckOption{frames}\if:Option\else
12750
\HPage{}{\beamer:bookmarks\tableofcontents}\EndHPage{}%
12756
\<configure html4 beamer\><<<
12757
\:CheckOption{frames}\if:Option
12758
\:CheckOption{ver}\if:Option
12759
|<beamer ver frames|>
12761
\Log:Note{for vertically stacked frames,
12762
use the command line options `frames' and `ver'}
12763
|<beamer hor frames|>
12765
\Css{body\#tex4ht-menu{ background-color:\#EEEEEE; }}
12767
\def\beamer:bookmarks{%
12768
\Link{}{bookmark}\EndLink
12769
\HAssign\:bookmarkN=0
12770
|<beamer bookmark config|>%
12771
\Configure{tableofcontents}
12772
{\IgnorePar\EndP \HCode{<div class="bookmarks">}}{}
12773
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\ShowPar}
12775
\let\std:tableofcontents\tableofcontents
12776
\def\tableofcontents{\std:tableofcontents[section,subsection]}%
12781
\<beamer bookmark config\><<<
12782
\:CheckOption{frames}\if:Option
12783
\Configure{TocLink}
12784
{\HAdvance\:bookmarkN by 1\relax
12785
\Link{##2}{tc-\:bookmarkN}##4\ifvmode
12786
\IgnorePar\fi \EndLink}
12788
\Configure{TocLink}
12789
{\HAdvance\:bookmarkN by 1\relax
12790
\Link[ target="|<tex4ht-main|>"]{##2}{tc-\:bookmarkN}##4\ifvmode
12791
\IgnorePar\fi \EndLink}
12797
\<configure html4 beamer\><<<
12798
\ConfigureToc{section}
12799
{}{\HCode{<div class="sectionintoc">}} {\HCode{</div>}} {}{}
12800
\ConfigureToc{subsection}
12802
{\HCode{<div class="subsectionintoc">}}
12803
{\HCode{</div>}} {}{}
12804
\Css{div.bookmarks {white-space: nowrap;}}
12805
\Css{div.bookmarks div.subsectionintoc a { text-decoration: none;
12810
\<configure html4 beamer\><<<
12812
{\HCode{<span class="alert">}}
12814
\Css{span.alert {color:\#FF0000;}}
12816
\Configure{HColor}{alert}{rgb(100\%,0\%,0\%)}%
12817
\Configure{HColor}{blockstructure}{rgb(20\%,20\%,70\%)}%
12818
\Configure{HColor}{darkgreen}{rgb(15\%,60\%,15\%)}%
12819
\Configure{HColor}{lightgray}{rgb(90\%,90\%,90\%)}%
12820
\Configure{HColor}{shaded}{rgb(60\%,60\%,60\%)}%
12821
\Configure{HColor}{structuremedium}{rgb(30\%,30\%,30\%)}%
12822
\Configure{HColor}{structureshaded}{rgb(75\%,75\%,75\%)}%
12823
\Configure{HColor}{structure}{rgb(0\%,0\%,0\%)}%
12827
The following is problematic when used on titles.
12830
\Configure{structure}
12831
{\HCode{<span class="structure">}}
12833
\Css{span.structure {color:\#000000;}}
12842
\<configure html4 foils\><<<
12847
\Configure{foilheads} {}{}
12848
{\IgnorePar\EndP\HCode{<h1 class="foilheadsHead"\a:LRdir>}}
12849
{\HCode{</h1>}\IgnorePar}
12850
\ConfigureEnv{Theorem}{\par\leavevmode}{\ShowPar}{}{}
12851
\ConfigureEnv{Lemma}{\par\leavevmode}{\ShowPar}{}{}
12852
\ConfigureEnv{Corollary}{\par\leavevmode}{\ShowPar}{}{}
12853
\ConfigureEnv{Corollary*}{\par\leavevmode}{\ShowPar}{}{}
12854
\ConfigureEnv{Proposition}{\par\leavevmode}{\ShowPar}{}{}
12855
\ConfigureEnv{Definition}{\par\leavevmode}{\ShowPar}{}{}
12856
\ConfigureEnv{Proof}{\par\leavevmode}{\ShowPar}{}{}
12858
\:CheckOption{1} \if:Option
12862
\Log:Note{for pagination of slides,
12863
use the command line option `1'}
12872
\subsection{slides}
12875
\<configure html4 slides\><<<
12876
\:CheckOption{1} \if:Option
12879
\Log:Note{for pagination of slides,
12880
use the command line option `1'}
12881
\ConfigureEnv{slide}
12883
\IgnorePar\EndP\HCode{<hr />}\fi}
12884
{\rightline{\a:slidename}%
12885
\IgnorePar\EndP\par\HCode{<hr />}}
12890
\<multi slides\><<<
12891
\ConfigureEnv{slide}
12892
{\ifnum \c@slide=0 \EndP\ShowPar\else\IgnorePar\fi}
12896
\Configure{crosslinks}{[}{] }{next}{prev}{}{}{}{up}
12897
\Configure{crosslinks+}
12899
{\IgnorePar\EndP \HCode{<div
12900
class="crosslinks"><p class="noindent">}%
12901
{\advance\c@slide by -1 \the\c@slide}: }
12902
{\HCode{</p></div>}\par}
12903
\Css{.crosslinks{text-align:right;font-size:80\%;}}
12906
\<configure html4 slides\><<<
12910
\ConfigureEnv{verse}
12911
{\Tg<div class="verse">}
12914
\ConfigureEnv{note}
12915
{\Tg<div class="note">}
12918
\ConfigureEnv{titlepage}
12919
{\Tg<div class="titlepage">}
12925
\<configure html4 slides\><<<
12926
\Configure{maketitle}
12927
{\ifvmode \IgnorePar\fi \EndP |<title for TITLE|>%
12928
\vtop\bgroup \IgnorePar \EndP \HCode{<div class="maketitle">}}
12929
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\egroup}
12930
{\NoFonts\IgnorePar\HCode{<h2 class="titleHead"\a:LRdir>}\IgnorePar}
12931
{\HCode{</h2>}\IgnoreIndent\EndNoFonts}
12932
\Css{h2.titleHead{text-align:center;}}
12933
\Css{div.maketitle{ margin-bottom: 2em; text-align:center; }}
12934
\Configure{author date}
12935
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="author" >}}
12936
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
12937
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="date">}}
12938
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
12939
\Css{div.author, div.date {text-align:center;}}
12943
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
12944
\subsection{Prosper}
12945
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
12950
\<configure html4 prosper\><<<
12951
|<prosper maketitle|>
12957
\<configure html4 prosper\><<<
12958
\Configure{slidetitle}
12959
{\NoFonts \ifvmode \IgnorePar\fi \EndP
12960
\HCode{<h2 class="slidetitle">} }
12961
{\ifvmode \IgnorePar\fi \EndP \HCode{</h2>}\EndNoFonts}
12962
\Css{h2.slidetitle {text-align:center;}}
12965
\<configure html4 prosper\><<<
12966
\Configure{Subtitle}
12967
{\ifvmode \IgnorePar\fi \EndP
12968
\HCode{<div class="Subtitle">}}
12969
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
12971
{\ifvmode \IgnorePar\fi \EndP
12972
\HCode{<div class="email">}\Link[mailto:\@email]{}{}}
12973
{\EndLink \ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
12974
\Configure{institution}
12975
{\ifvmode \IgnorePar\fi \EndP
12976
\HCode{<div class="institution">}}
12977
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
12978
\Css{div.email, div.institution {text-align:center;}}
12982
\<configure html4 prosper\><<<
12983
\:CheckOption{1} \if:Option
12984
|<paginated prosper|>
12986
\Log:Note{for pagination of slides,
12987
use the command line option `1'}
12988
|<non paginated prosper|>
12990
\:CheckOption{nolayers} \if:Option
12991
\def\itemstep{\itemize}
12992
\def\enditemstep{\enditemize}
12993
\let\overlays=\:gobble
12995
\Log:Note{to remove overlays of slides,
12996
use the command line option `nolayers'}
13001
\<non paginated prosper\><<<
13002
\ConfigureEnv{slide}
13003
{\ifvmode \IgnorePar\fi \EndP\HCode{<hr />}\par}
13004
{\rightline{\bgroup
13005
\ifx \slide\SlideNormal \advance\c@slide by -1 \fi
13008
\ifx \slide\SlideOverlay .\the\c@overlaysCount\fi
13015
\<paginated prosper\><<<
13016
\HAssign\Slide:cnt=0
13017
\ConfigureEnv{slide}
13018
{\ifnum \Slide:cnt>0
13019
\ifnum \Slide:cnt>1
13020
\ifvmode\IgnorePar\fi
13021
\fi |<start prosper page|>%
13023
{\ifnum \Slide:cnt=1
13024
\else |<end prosper page|>\fi
13031
\<start prosper page\><<<
13032
\ifnum \Slide:cnt=1
13033
\IgnorePar \par\EndP \HCode{<hr />}\par
13036
\HPage{\the\c@slide
13037
\ifx \slide\SlideOverlay .\the\c@overlaysCount\fi
13039
\gHAdvance\Slide:cnt by 1
13040
\Tag{f-\Slide:cnt}{\FileName}%
13044
\<end prosper page\><<<
13045
\rightline{|<foot paginated prosper|>}%
13050
\<foot paginated prosper\><<<
13052
\ifx \slide\SlideNormal \advance\c@slide by -1 \fi
13055
\ifx \slide\SlideOverlay .\the\c@overlaysCount\fi,
13057
\HAdvance\Slide:cnt by 1
13058
\ifTag{f-\Slide:cnt}{\Link
13059
[\LikeRef{f-\Slide:cnt}]{}{}next\EndLink, }{}%
13062
\ifnum \Slide:cnt>1
13063
\HAdvance\Slide:cnt by -1
13064
\Link[\LikeRef{f-\Slide:cnt}]{}{}prev\EndLink,
13067
\Link[\LikeRef{f-1}]{}{}up\EndLink%
13068
\ifTag{prosperTOC}{%
13069
\edef\:temp{\FileName}\edef\:tempa{\LikeRef{prosperTOC}}%
13070
\ifx \:temp\:tempa \else,
13071
\Link[\LikeRef{prosperTOC}]{}{}toc\EndLink}{}\fi
13074
\<paginated prosper\><<<
13075
\Configure{tableofcontents}
13076
{\ifx \prosperTOCtag\:UnDef
13077
\global\let\prosperTOCtag\def
13078
\Tag{prosperTOC}{\FileName}%
13081
\HCode{<div class="tableofcontents">}\IgnorePar}
13083
{\IgnorePar\EndP\HCode{</div>}\ShowPar}
13084
{\HCode{<br />}} {}
13088
When translated into PDF files, \texttt{prosper} slides benefit from
13089
additional possibilities such as transition effects between slides and
13090
incremental display of a slide with several animation effects. The
13091
currently supported transitions are:
13093
\item {Split}: two lines sweep across the screen revealing the
13095
\item {Blinds}: multiple lines, evenly distributed across the
13096
screen, appear and synchronously sweep in the same direction to
13097
reveal the new slide;
13098
\item {Box}: a box sweeps from the center, revealing the new slide;
13099
\item {Wipe}: a single line sweeps across the screen from one
13100
edge to the other, revealing the new slide;
13101
\item {Dissolve}: the old page image dissolves to reveal the new slide;
13102
\item {Glitter}: similar to \texttt{Dissolve}, except the
13103
effect sweeps across the image in a wide band moving from one side
13104
of the screen to the other;
13105
\item {Replace}: the effect is simply to replace the old page
13112
\subsection{seminar}
13120
\<configure html4 seminar\><<<
13121
\ConfigureEnv{slide}
13122
{\ifvmode \IgnorePar\fi \EndP\HCode{<hr />}\par}
13123
{\rightline{\the\c@slide}}{}{}
13125
%%%%%%%%%%%%%%%%%%%
13126
\subsection{slidesec}
13127
%%%%%%%%%%%%%%%%%%%
13129
\<configure html4 slidesec\><<<
13130
\ConfigureToc{slidesection}
13131
{\HCode{<span class="tocslidesection">}}{\ }{}{\HCode
13132
{</span><br\xml:empty>}}
13135
%%%%%%%%%%%%%%%%%%%
13136
\section{Lit Prog and Verbatim}
13137
%%%%%%%%%%%%%%%%%%%
13139
%%%%%%%%%%%%%%%%%%%
13140
\subsection{ProTex}
13141
%%%%%%%%%%%%%%%%%%%
13143
\<configure html4 ProTex\><<<
13145
\:CheckProtexOption{[[]]}\if:Option
13146
|<frame protex code|>
13150
\<frame protex code\><<<
13151
\Configure{FrameCode}
13152
{\ifvmode \IgnorePar\fi \EndP
13153
|<lynx separator|>%
13154
\HCode{<div class="ShowCode">\ifx \:test\:minus
13155
\else<div class="head">\fi}\par\IgnorePar}
13156
{\ifvmode \IgnorePar\fi \EndP
13157
\HCode{</div></div>}}
13158
\Configure{ShowCode}
13159
{\HCode{\ifx \:test\:minus \else </div>\fi
13160
\html:src<div class="body"><span class="ShowCode"
13161
style="font-family:monospace;white-space:nowrap;"
13165
{\special{t4ht=\html:src</span>%
13166
\ifx \:test\:minus \else
13167
</div><div class="tail">\html:BackTitle\fi}}
13168
{\HCode{<br />\html:invisible}}
13172
\Css{div.ShowCode{background-color:\#EEEEEE; border: 1px white solid;}}
13173
\Css{div.ShowCode div.head{background-color:\#E0E0E0;}}
13174
\Css{div.ShowCode div.tail{background-color:\#E0E0E0;}}
13178
\leavevmode\special{t4ht@+\string&{35}x00A0;}x%
13181
\<lynx separator\><<<
13182
\ifx \par:end\empty \HCode{<p></p>}\fi
13186
%%%%%%%%%%%%%%%%%%%
13187
\subsection{moreverb}
13188
%%%%%%%%%%%%%%%%%%%
13190
\<configure html4 moreverb\><<<
13191
|<moreverb.sty config 4.0t|>
13194
\<moreverb.sty config 4.0t\><<<
13195
\ConfigureEnv{verbatimtab}
13196
{\env:verb{verbatim}}
13198
\Configure{verbatimtab}
13199
{\HAdvance\Verb:N by 1 \ifnum \Verb:N>1 \:nbsp \HCode{<br />}\fi}
13201
\ConfigureEnv{boxedverbatim}
13202
{\env:verb{boxedverbatim}}{\endenv:verb}{}{}
13203
\ConfigureEnv{boxedverbatim*}
13204
{\env:verb{boxedverbatim}}{\endenv:verb}{}{}
13207
\<moreverb.sty config 4.0t\><<<
13208
\ConfigureEnv{boxedverbatim}
13209
{\env:verB{boxedverbatim}}{\endenv:verb}{}{}
13210
\ConfigureEnv{boxedverbatim*}
13211
{\env:verB{boxedverbatim}}{\endenv:verb}{}{}
13212
\def\env:verB#1{\IgnorePar\HCode{<table \Hnewline
13213
class="#1"><tr class="#1"><td \Hnewline
13214
class="#1"><pre class="#1">}\EndNoFonts}
13215
\Css{ pre.boxedverbatim{border:solid 1px; padding-right:1em;} }
13216
\Css{table.boxedverbatim {text-align:center;}}
13220
\<moreverb.sty config 4.0t\><<<
13221
\Configure{listinginput}
13222
{\HCode{<div class="listinginput">}}
13223
{\IgnorePar\HCode{</div>}}
13224
\Css{.listinginput p{ margin-bottom:0em; margin-top:0em; }}
13228
\<moreverb.sty config 4.0t\><<<
13229
\Configure{verbatimtabinput}
13230
{\ifvmode \IgnorePar\fi \EndP
13231
\HCode{<div class="verbatimtabinput"\a:LRdir>}}
13232
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
13236
%%%%%%%%%%%%%%%%%%%
13237
\subsection{fancyvrb}
13238
%%%%%%%%%%%%%%%%%%%
13240
\<configure html4 fancyvrb\><<<
13241
|<fancyvrb.sty config 4.0t|>
13244
\<fancyvrb.sty config 4.0t\><<<
13245
\HAssign\fancyvrbNo|=0
13246
\Configure{fancyvrb}
13247
{\IgnorePar \EndP \gHAdvance\fancyvrbNo by 1
13248
\HCode{<div class="fancyvrb" id="fancyvrb\fancyvrbNo">}}
13249
{\EndP\HCode{</div>}}
13250
{\HCode{<br class="fancyvrb"\xml:empty>}} {}
13252
\Css{P.fancyvrb {white-space: nowrap; margin:0em;}}
13257
The following is harmful at the start of section 1.1 in
13261
\ConfigureEnv{verbatim}{\HAssign\Verb:N=0\relax}{\empty}{}{}
13262
\ConfigureEnv{verbatim*}{\HAssign\Verb:N=0\relax}{\empty}{}{}
13269
\<fancyvrb.sty config 4.0t\><<<
13270
\Configure{fancyvrbcolor}
13271
{\Css{div\#fancyvrb\fancyvrbNo { color: \HColor; }}}
13272
{\Css{div\#fancyvrb\fancyvrbNo { background-color: \HColor;}}}
13273
{\Css{div\#fancyvrb\fancyvrbNo { border-color: \HColor;}}}
13276
\<fancyvrb.sty config 4.0t\><<<
13277
\Configure{fancyvrbframe}
13278
{\Css{div\#fancyvrb\fancyvrbNo { border-top: solid \HSize; }}}
13279
{\Css{div\#fancyvrb\fancyvrbNo { border-left: solid \HSize; }}}
13280
{\Css{div\#fancyvrb\fancyvrbNo { border-bottom: solid \HSize; }}}
13281
{\Css{div\#fancyvrb\fancyvrbNo { border-right: solid \HSize; }}}
13282
{\Css{div\#fancyvrb\fancyvrbNo {border-width:\HSize;}}}
13283
{\Css{div\#fancyvrb\fancyvrbNo {padding:\HSize;}}}
13286
\<fancyvrb.sty config 4.0t\><<<
13287
\Configure{BVerbatimInput}
13288
{\ifvmode \IgnorePar \fi \EndP
13290
\HCode{<div class="BVerbatimInput">}}
13291
{\ifvmode \IgnorePar \fi \EndP \HCode{</div>}}
13292
{\gHAdvance\HRow by 1 \ifnum \HRow>1 \HCode{<br />}\fi}{}
13296
%%%%%%%%%%%%%%%%%%%%%
13297
\subsection{Listings}
13298
%%%%%%%%%%%%%%%%%%%%%
13300
\<configure html4 listings\><<<
13301
\Configure{lstinline}
13302
{\HCode{<span class="lstinline">}}
13306
\<configure html4 listings\><<<
13307
\Log:Note{to ensure proper alignments use
13308
fixed size fonts (see listings.dtx)}
13309
\Configure{listings}
13310
{\ifvmode \IgnorePar\fi \EndP
13311
{\everypar{}\leavevmode}\HCode{<!--l. \the\inputlineno-->}%
13312
\HCode{<pre class="listings">}%
13314
{{\everypar{}\leavevmode}\HCode{</pre>}}
13318
\<configure html4 listings\><<<
13319
\ConfigureEnv{lstlisting}
13320
{\ifvmode \IgnorePar\fi \EndP
13321
\HCode{<!--l. \the\inputlineno-->}%
13322
\HCode{<div class="lstlisting">}%
13323
\bgroup \special{t4ht@(}%
13324
\Configure{listings}
13325
{{\everypar{}\leavevmode}}
13326
{{\everypar{}\leavevmode}}
13327
{|<nbsp|>\HCode{<br />}}{}%
13329
{\special{t4ht@)}\egroup
13330
\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par}
13334
\<configure html4 listings\><<<
13335
\Configure{lstinputlisting}
13336
{\ifvmode \IgnorePar\fi \EndP
13337
\HCode{<!--l. \the\inputlineno-->}%
13338
\HCode{<div class="lstinputlisting">}%
13339
\bgroup \tt \special{t4ht@(}%
13340
\Configure{listings}
13341
{{\everypar{}\leavevmode}}
13342
{{\everypar{}\leavevmode}}
13343
{|<nbsp|>\HCode{<br />}}
13346
{\special{t4ht@)}\egroup
13347
\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par}
13348
\Css{div.lstinputlisting{
13349
font-family: monospace;
13350
white-space: nowrap;
13356
%%%%%%%%%%%%%%%%%%%%%
13357
\subsection{Verbatim}
13358
%%%%%%%%%%%%%%%%%%%%%
13364
\<configure html4 verbatim\><<<
13365
\Configure{verbatiminput}
13366
{\HAssign\Verb:N=0 \ifvmode \IgnorePar\fi \EndP
13367
\HCode{<div class="verbatiminput"\a:LRdir>}}
13368
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
13369
\Css{div.verbatiminput
13370
{font-family: monospace; white-space: nowrap; }}
13375
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13376
\subsection{mdwlist}
13377
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
13379
\<configure html4 sverb\><<<
13382
{\HAdvance\demoN by 1
13383
\ifvmode \IgnorePar \fi \EndP
13385
\HCode{<table class="demo"><tr>}%
13389
{\ifvmode \IgnorePar \fi \EndP
13393
\HCode{</tr></table>}%
13399
%%%%%%%%%%%%%%%%%%%%%
13400
\subsection{verbatimlisting}
13401
%%%%%%%%%%%%%%%%%%%%%
13404
\<configure html4 verbatimlisting\><<<
13405
\Configure{verbatimlisting}
13406
{\ifvmode \EndP\fi \EndP\HCode{<div class="verbatimlisting"\a:LRdir>}}
13408
{\ifnum \c@lineno > 1 \HCode{<br />}\fi
13409
\ifnum \c@lineno<10 ~\fi
13410
\ifnum \c@lineno<100 ~\fi
13411
\ifnum \c@lineno<1000 ~\fi
13418
%%%%%%%%%%%%%%%%%%%%%
13420
%%%%%%%%%%%%%%%%%%%%%
13422
\<configure html4 doc\><<<
13423
\ConfigureEnv{macrocode}
13424
{\ifvmode \IgnorePar\fi\EndP\HCode{<pre class="macrocode">}}
13425
{\ifvmode \IgnorePar \HCode{</pre>}\par\else \HCode{</pre>}\fi}
13430
%%%%%%%%%%%%%%%%%%%
13431
\section{Boxes and Multiple columns}
13432
%%%%%%%%%%%%%%%%%%%
13435
%%%%%%%%%%%%%%%%%%%
13436
\subsection{fancybox}
13437
%%%%%%%%%%%%%%%%%%%
13449
\<configure html4 fancybox\><<<
13450
\Configure{ovalbox}
13451
{\ifvmode \IgnorePar\EndP
13452
\HCode{<div class="ovalbox">}%
13453
\def\end:bx{\HCode{</div>}\par}%
13455
\HCode{<span class="ovalbox">}%
13456
\def\end:bx{\HCode{</span>}}%
13466
\<configure html4 fancybox\><<<
13467
\Configure{Ovalbox}
13468
{\ifvmode \IgnorePar\EndP
13469
\HCode{<div class="Ovalbox-thick">}%
13470
\def\end:bx{\HCode{</div>}\par}%
13472
\HCode{<span class="Ovalbox-thick">}%
13473
\def\end:bx{\HCode{</span>}}%
13476
\Css{.Ovalbox-thick {
13479
border:solid thick;
13484
IE doesn't distinguish between upper and lower case characters in css
13488
\<configure html4 fancybox\><<<
13489
\Configure{shadowbox}
13490
{\ifvmode \IgnorePar\EndP
13491
\HCode{<div class="shadowbox">}%
13492
\def\end:bx{\HCode{</div>}\par}%
13494
\HCode{<span class="shadowbox">}%
13495
\def\end:bx{\HCode{</span>}}%
13502
border-right:solid thick;
13503
border-bottom:solid thick;
13510
\<configure html4 fancybox\><<<
13511
\Configure{doublebox}
13512
{\ifvmode \IgnorePar\EndP
13513
\HCode{<div class="doublebox">}%
13514
\def\end:bx{\HCode{</div>}\par}%
13516
\HCode{<span class="doublebox">}%
13517
\def\end:bx{\HCode{</span>}}%
13523
border-style:double;
13524
border:solid thick;
13532
%%%%%%%%%%%%%%%%%%%
13533
\subsection{boxedminipage}
13534
%%%%%%%%%%%%%%%%%%%
13536
\<configure html4 boxedminipage\><<<
13537
\ConfigureEnv{boxedminipage}
13538
{\ifvmode \IgnorePar \EndP
13539
\def\after:bmp{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par\ShowPar}%
13540
\HCode{<div class="boxedminipage">}%
13541
\expandafter\everymath\expandafter{\expandafter
13542
\everymath\expandafter{\the\everymath}}%
13543
\else \def\after:bmp{\HCode{</span>}}%
13544
\HCode{<span class="boxedminipage">}%
13546
\bgroup \fboxrule=\z@}
13547
{\egroup \after:bmp}
13549
\Css{div.boxedminipage{border : 1px solid;
13550
margin-top:1pt; margin-bottom:1pt;}}
13553
%%%%%%%%%%%%%%%%%%%
13554
\subsection{Multicol}
13555
%%%%%%%%%%%%%%%%%%%
13557
\<configure html4 multicol\><<<
13558
\HAssign\MultiCols=0
13559
\ConfigureEnv{multicols}
13560
{\par\IgnorePar\EndP
13561
\gHAdvance\MultiCols by 1\relax
13562
\HCode{<table class="multicols"
13563
id="multicols-\MultiCols"><tr><td class="multicol-1">}%
13565
\bgroup \gHAssign\HCol=1\relax
13568
\global\let\HCol=\sv:HCol
13569
\ifvmode\IgnorePar\fi\EndP
13570
\HCode{</td></tr></table>}\par
13573
\Configure{columnbreak}
13574
{\gHAdvance\HCol by 1\relax
13575
\par \IgnorePar \EndP
13576
\HCode{</td><td class="multicol-\HCol">}}
13577
\Css{table.multicols {
13578
width:100\%; margin-left:1em; margin-top:1em; margin-bottom:1em;
13584
\section{array.sty}
13587
\<configure html4 array\><<<
13588
|<html latex array/tabular Config 4.0t|>
13592
\<configure html4-math array\><<<
13593
|<math html latex array/tabular|>
13598
%%%%%%%%%%%%%%%%%%%
13599
\section{algorithmic}
13600
%%%%%%%%%%%%%%%%%%%
13602
\<configure html4 algorithmic\><<<
13603
\ConfigureEnv{algorithmic}
13604
{\ifvmode\IgnorePar\fi \EndP
13605
\HCode{<div class="algorithmic">}%
13607
\Configure{HtmlPar}{}{}{}{}}
13608
{\egroup \ifvmode \IgnorePar\fi \HCode{</div>}}
13610
\Configure{ALCitem}
13611
{\HCode{\ifnum \c@ALC@line>1 <br />\fi <span class="ALCitem">}}
13612
{\HCode{</span><span style="width:\the\ALC@tlm ;"> </span>}}
13613
\Css{.ALCitem {width:2em; text-align:right;}}
13617
\<configure html4 algorithmic\><<<
13618
\ConfigureEnv{ALC@for}
13619
{\HCode{<span class="for-body">}}
13622
\ConfigureEnv{ALC@whl}
13623
{\HCode{<span class="while-body">}}
13626
\ConfigureEnv{ALC@loop}
13627
{\HCode{<span class="loop-body">}}
13630
\ConfigureEnv{ALC@rpt}
13631
{\HCode{<span class="repeat-body">}}
13635
{\HCode{<span class="if-body">}}
13637
{\HCode{<span class="else-body">}}
13639
\Configure{algorithmiccomment}
13640
{\HCode{<span class="ALC-comment">}}
13648
%%%%%%%%%%%%%%%%%%%
13649
\section{Bibliography}
13650
%%%%%%%%%%%%%%%%%%%
13653
%%%%%%%%%%%%%%%%%%%
13654
\subsection{jurabib}
13655
%%%%%%%%%%%%%%%%%%%
13657
\<configure html4 jurabib\><<<
13658
\Configure{jblink}{\Link}{\EndLink}
13659
\Configure{jbanchor}{\Link}{\EndLink}
13662
%%%%%%%%%%%%%%%%%%%
13663
\subsection{Harvard}
13664
%%%%%%%%%%%%%%%%%%%
13666
\<configure html4 harvard\><<<
13667
\Configure{harvardyear}
13668
{\HCode{<span class="bib-year">}}
13674
\section{Text Decoration}
13679
%%%%%%%%%%%%%%%%%%%
13681
%%%%%%%%%%%%%%%%%%%
13683
\<configure html4 color\><<<
13684
\Configure{HColor}{red}{\#FF0000}
13685
\Configure{HColor}{rgb 1 0 0}{\#FF0000}
13686
\Configure{HColor}{blue}{\#0000FF}
13687
\Configure{HColor}{rgb 0 0 1}{\#0000FF}
13688
\Configure{HColor}{green}{\#00FF00}
13689
\Configure{HColor}{rgb 0 1 0}{\#00FF00}
13690
\Configure{HColor}{white}{\#FFFFFF}
13691
\Configure{HColor}{gray 1}{\#FFFFFF}
13692
\Configure{HColor}{rgb 1 1 1}{\#FFFFFF}
13693
\Configure{HColor}{black}{\#000000}
13694
\Configure{HColor}{gray 0}{\#000000}
13695
\Configure{HColor}{rgb 0 0 0}{\#000000}
13696
\Configure{HColor}{cyan}{\#00FFFF}
13697
\Configure{HColor}{cmyk 1 0 0 0}{\#00FFFF}
13698
\Configure{HColor}{magenta}{\#FF00FF}
13699
\Configure{HColor}{cmyk 0 1 0 0}{\#FF00FF}
13700
\Configure{HColor}{yellow}{\#FFFF00}
13701
\Configure{HColor}{cmyk 0 0 1 0}{\#FFFF00}
13702
\Configure{color}{\:gobble}
13703
|<color.sty config 4.0t|>
13710
% \Configure{pagecolor}
13711
% {\Configure{color}
13712
% {\Configure{SetHColor}{\Css{body {background-color:\HColor}}}}}
13716
\<configure html4 color\><<<
13717
\Configure{HColor:gray}{%
13718
\int:of\:tempa{255}{#1}%
13719
\Configure{HColor}{}{rgb(\:tempa,\:tempa,\:tempa)}%
13721
\Configure{HColor:rgb}{%
13722
\int:of\:tempa{255}{#1}%
13723
\int:of\:tempb{255}{#2}%
13724
\int:of\:tempc{255}{#3}%
13725
\Configure{HColor}{}{rgb(\:tempa,\:tempb,\:tempc)}%
13727
\Configure{HColor:cmyk}{%
13728
\int:of\:Cyan{255}{#1}%
13729
\int:of\:Magenta{255}{#2}%
13730
\int:of\:Yellow{255}{#3}%
13731
\int:of\:Black{255}{#4}%
13732
\:cmyk\:tempa\:Cyan
13733
\:cmyk\:tempb\:Magenta
13734
\:cmyk\:tempc\:Yellow
13735
\Configure{HColor}{}{rgb(\:tempa,\:tempb,\:tempc)}%
13742
\def\int:of#1#2#3{%
13743
\tmp:dim=#3pt \tmp:dim=#2\tmp:dim
13744
\edef\:temp{\tmp:cnt\the\tmp:dim//}%
13745
\def#1##1//{}\afterassignment#1\:temp
13746
\edef#1{\the\tmp:cnt}%
13753
(1 - 0.299c - 0.587m - 0.114y)(1 - k)
13756
Red = 1-minimum(1,Cyan *(1-Black)+Black)
13757
Green = 1-minimum(1,Magenta*(1-Black)+Black)
13758
Blue = 1-minimum(1,Yellow *(1-Black)+Black)
13765
\tmp:cnt=255 \advance\tmp:cnt by -\:Black
13766
\multiply\tmp:cnt by#2 \advance\tmp:cnt by \:Black
13767
\advance\tmp:cnt by -255 \tmp:cnt=-\tmp:cnt
13768
\ifnum \tmp:cnt<0 \tmp:cnt=0 \fi
13769
\edef#1{\the\tmp:cnt}%
13776
\<color.sty config 4.0t\><<<
13777
\HAssign\textcolorN=0
13778
\Configure{textcolor}
13779
{\gHAdvance\textcolorN by 1
13781
{\Configure{SetHColor}
13782
{\Css{span\#textcolor\textcolorN{color:\HColor}}}}%
13783
\HCode{<span id="textcolor\textcolorN">}}%
13787
\<color.sty config 4.0t\><<<
13788
\Configure{colorbox}
13790
\gHAdvance\textcolorN by 1
13791
\ifvmode \let\v:colorbox\def \IgnorePar \EndP
13792
\else \let\v:colorbox=\relax \fi
13793
|<colorbox background|>%
13794
\HCode{<\ifx \v:colorbox\def div\else span\fi \Hnewline
13795
class="colorbox" id="colorbox\textcolorN">}}%
13796
{\ifx \v:colorbox\def \EndP\HCode{</div>}\par
13797
\else \HCode{</span>}\fi
13803
\<colorbox background\><<<
13804
\let\A:color=\a:color
13806
{\let\a:color=\A:color
13807
\Configure{SetHColor}
13808
{\Css{\ifx \v:colorbox\def div\else span\fi
13809
\#colorbox\textcolorN{background-color:\HColor;}}}}%
13814
\Configure{fcolorbox}
13815
{\gHAdvance\textcolorN by 1
13816
\let\A:color=\a:color
13818
{\Configure{SetHColor}{\Css{\#colorbox\textcolorN{border:
13819
solid 1px \HColor;}}}}%
13820
\Configure{fbox}{\leavevmode
13821
\gHAdvance\textcolorN by -1 \let\a:color=\A:color}{}}
13826
\<color.sty config 4.0t\><<<
13827
\Configure{fcolorbox}
13828
{\bgroup\gHAdvance\textcolorN by 1
13829
\ifvmode \let\v:colorbox\def \IgnorePar \EndP
13830
\else \let\v:colorbox=\relax \fi
13831
\HCode{<\ifx \v:colorbox\def div\else span\fi \Hnewline
13832
class="colorbox" id="colorbox\textcolorN">}%
13833
|<fcolorbox border|>%
13834
\Configure{fbox}{\leavevmode }{}%
13836
{\ifx \v:colorbox\def \EndP\HCode{</div>}\par
13837
\else \HCode{</span>}\fi \egroup}
13840
\<fcolorbox border\><<<
13841
\let\A:color=\a:color
13843
{|<fcolor background|>%
13844
\Configure{SetHColor}{%
13845
\Css{\#colorbox\textcolorN{border: solid 1px \HColor;}}}%
13849
\<fcolor background\><<<
13851
{\let\a:color=\A:color
13852
\Configure{SetHColor}{%
13853
\Css{\#colorbox\textcolorN{background-color: \HColor;}}%
13857
%%%%%%%%%%%%%%%%%%%%%%%
13858
\subsection{colortbl.sty}
13859
%%%%%%%%%%%%%%%%%%%%%%%
13861
\<configure html4 colortbl\><<<
13862
\Configure{@classz}
13863
{\let\begin:current@color|=\relax
13864
\let\end:current@color|=\relax }
13866
\ifx \CT@column@color\relax \else
13867
\ifx \CT@column@color\empty \else{%
13868
\def\CT@color{\@ifnextchar[\color:ii\color:i}%
13869
\CT@column@color|<par del|>%
13870
\edef\:temp{\noexpand\add:color
13871
{background-color}{\:temp}{\ar:cnt}}\:temp
13874
{\begin:current@color}
13875
{\end:current@color}
13876
\Configure{rowcolor}{\row:clr}
13878
% \HAdvance\HRow by 1
13879
\add:color{background-color}{#1}{\HRow-}}}
13880
\Configure{text-colortbl}
13881
{\add:color{color}{\current@color}{\HRow-\HCol}}
13882
\Configure{cell-colortbl}
13883
{\add:color{background-color}{\current@color}{\HRow-\HCol}}
13884
\def\add:color#1#2#3{%
13885
\Configure{SetHColor}{\Css{ \#TBL-\TableNo-#3{ #1:\HColor }}}{#2}}
13893
\<configure html4 soul\><<<
13894
\Configure{textcaps}
13895
{\HCode{<span class="textcaps">}}
13898
{\HCode{<span class="texthl">}\bgroup
13899
\ifx\sethlcolor\:gobble\else |<soul color|>\fi}
13900
{\egroup \HCode{</span>}}
13902
{\HCode{<span class="textso">}}
13905
{\HCode{<span class="textst">}\bgroup
13906
\ifx\setstcolor\:gobble\else |<soul color|>\fi}
13907
{\egroup \HCode{</span>}}
13909
{\HCode{<span class="textul">}\bgroup
13910
\ifx\setulcolor\:gobble\else |<soul color|>\fi}
13911
{\egroup \HCode{</span>}}
13912
\Css{span.textso{letter-spacing: 0.3em; word-spacing: 0.3em}}
13913
\Css{span.textul{text-decoration:underline}}
13914
\Css{span.textst{text-decoration:line-through}}
13915
\Css{span.textcaps{font-variant:small-caps}}
13919
\Configure{textcolor}
13920
{\gHAdvance\textcolorN by 1
13922
{\Configure{SetHColor}
13923
{\Css{span\#textcolor\textcolorN{background-color:\HColor}}}}%
13924
\HCode{<span id="textcolor\textcolorN">}}%
13933
\<configure html4 verse\><<<
13934
\Configure{poemtitle}
13935
{\par\IgnorePar\EndP
13936
\HCode{<div class="poemtitle"><span class="poemtitlemark">}}
13938
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par}
13939
\Configure{likepoemtitle}
13940
{\par\IgnorePar\EndP \HCode{<div class="likepoemtitle">}}
13941
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par}
13942
\Css{.poemtitle, likepoemtitle {margin-left:2em; margin-bottom:0.5em;}}
13947
\<configure html4 verse\><<<
13948
\ConfigureEnv{verse}
13949
{\ifvmode \IgnorePar\fi\EndP
13950
\HCode{<div class="verse">}%
13953
{\HCode{<span style="margin-right:\the\tmp:dim">}\:nbsp}
13954
{\HCode{</span>}} {}
13955
\let\end:verseln\empty
13957
{\egroup \ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
13960
\ConfigureList{verse}
13961
{} {\ifvmode \IgnorePar\fi \EndP \end:verseln}
13962
{\parindent=\z@} {}
13964
\Configure{verseline}
13965
{\ifvmode \IgnorePar\fi \EndP \end:verseln
13966
\HCode{<div class="verseline">}\def\end:verseln{\HCode{</div>}}}
13967
{\ifvmode \IgnorePar\fi \EndP \end:verseln
13968
\HCode{<div class="skip-verseline">}%
13969
\def\end:verseln{\HCode{</div>}}}
13971
\Configure{flagverse}
13972
{\HCode{<span class="flagverse">}\bgroup \setlength{\vleftskip}{0em}}
13973
{\egroup \HCode{</span>}\ignorespaces}
13975
\Css{.skip-verseline {margin-top: 1em;}}
13976
\Css{.skip-verseline, .verseline {white-space: nowrap;}}
13977
\Css{.flagverse {float:right; font-size:85\%;
13978
text-decoration:underline;}}
13983
\section{OpenOffice writer}
13986
\<configure html4 writer\><<<
13987
\Configure{WriterEnv}
13990
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="#1">}}
13991
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
13995
\tmp:dim=\parindent
13996
\divide\tmp:dim by \ten:Em\relax
13997
\tmp:dim=10\tmp:dim
13998
\Css{div.#1 {text-indent:\expandafter\x:Em \the\tmp:dim em;}}%
14000
\divide\tmp:dim by \ten:Em\relax
14001
\tmp:dim=10\tmp:dim
14002
\Css{div.#1 {margin-left:\expandafter\x:Em \the\tmp:dim em;}}%
14003
\tmp:dim=\rightskip
14004
\divide\tmp:dim by \ten:Em\relax
14005
\tmp:dim=10\tmp:dim
14006
\Css{div.#1 {margin-right:\expandafter\x:Em \the\tmp:dim em;}}%
14007
\Css{div.#1 {margin-top:0.75em;
14008
margin-bottom:0.75em;
14014
\<10 em constant\><<<
14023
\edef\ten:Em#1.#2//{#1}
14024
\edef\ten:Em{\expandafter\ten:Em \the\tmp:dim//}
14031
\<configure html4 manmac\><<<
14032
\Configure{chapter}
14034
\HCode{<!--l. \the\inputlineno--><div class="chapter">}\IgnorePar }
14035
{\IgnorePar\EndP\HCode{</div><!--end chapter-->}\par\ShowPar}
14036
{\HCode{<div class="chapterTitle">}\par \ShowPar \noindent
14037
\let\sv:rightline=\rightline \let\rightline=\hbox }
14038
{\IgnorePar\EndP \let\rightline=\sv:rightline
14039
\HCode{</div><!--end chapter title-->}\par\ShowPar}
14040
\Configure{titlepage}
14041
{\ifvmode \IgnorePar\fi\EndP
14042
\HCode{<!--l. \the\inputlineno--><div class="titlepage">}\par}
14043
{\IgnorePar\EndP\HCode{</div><!--end titlepage-->}\par\ShowPar}
14046
\<configure html4 manmac\><<<
14047
\Configure{mathdemo}
14048
{\ifvmode \IgnorePar\fi \EndP
14049
\HCode{<!--l. \the\inputlineno--><table class="mathdemo">}}
14050
{\HCode{</table>}\par\ShowPar}
14055
\Css{table.mathdemo{margin-left:2em}}
14056
\Configure{longdisplaymathdemo}
14057
{\ifvmode \IgnorePar\fi \EndP
14058
\HCode{<!--l. \the\inputlineno--><table class="longdisplaymathdemo">}}
14059
{\HCode{</table>}\par\ShowPar}
14064
\Css{table.longdisplaymathdemo{margin-left:2em}}
14065
\Configure{longmathdemo}
14066
{\ifvmode \IgnorePar\fi \EndP
14067
\HCode{<!--l. \the\inputlineno--><table class="longmathdemo">}}
14068
{\HCode{</table>}\par\ShowPar}
14073
\Css{table.longmathdemo{margin-left:2em}}
14074
\Configure{displaymathdemo}
14075
{\ifvmode \IgnorePar\fi \EndP
14076
\HCode{<!--l. \the\inputlineno--><table class="displaymathdemo">}}
14077
{\HCode{</table>}\par\ShowPar}
14082
\Css{table.displaymathdemo{margin-left:2em}}
14086
\<configure html4 manmac\><<<
14087
\Configure{exercise}
14088
{\ifvmode \IgnorePar\fi \EndP
14089
\HCode{<!--l. \the\inputlineno--><h5 class="exercise">}%
14090
\bgroup \Configure{HtmlPar}{}{}{}{}}
14091
{\egroup\HCode{</h5>}\IgnoreIndent\par}
14093
\Configure{manmac-display}
14094
{\ifvmode \IgnorePar\fi \EndP
14095
\HCode{<!--l. \the\inputlineno--><table class="manmac-display">}}
14096
{\HCode{</table>}\IgnoreIndent\par}
14099
{\HCode{<td>}\ShowPar}
14100
{\ifvmode \IgnorePar\fi\EndP \HCode{</td>}}
14103
{\ifvmode \IgnorePar\fi \EndP
14104
\HCode{<!--l. \the\inputlineno--><div class="ttenv">}}
14105
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par\noindent}
14110
\<configure html4 manmac\><<<
14111
\Configure{sampleglue}
14112
{\HCode{<table class="sampleglue">}}
14120
\<configure html4 manmac\><<<
14122
{\HCode{<!--l. \the\inputlineno--><!--danger-->}}
14123
{\HCode{<!--end danger-->}}
14124
\Configure{ddanger}
14125
{\HCode{<!--l. \the\inputlineno--><!--ddanger-->}}
14126
{\HCode{<!--end ddanger-->}}
14138
\<0,32,4 preambles\><<<
14140
|<cascade style sheets|>
14141
\Configure{Preamble}
14142
{|<default cascade style sheets|>} {}
14145
\<default cascade style sheets\><<<
14146
{\ifdim \lastskip>\z@ \unskip\fi \IgnorePar\parindent\z@
14148
\immediate\write-1{--- file \aa:CssFile\space ---}%
14149
\ht:special{t4ht>\aa:CssFile}\ht:special{t4ht=\Hnewline /* css.sty */}%
14150
\ht:special{t4ht<\aa:CssFile}%
14155
\verb'\special' are like \verb'\hbox', and they so they may introduve empty lines in
14156
vertical mode. That might be a problem if we don't want empty lines at
14157
the start of the files. Hence, in latex we give them special treatment.
14159
\<cascade style sheets\><<<
14160
\ScriptCommand{\CssFile}{%
14161
\immediate\write-1{--- file \aa:CssFile\space ---}%
14162
\def\FontSize##1##2{\:Context{##1}\ht:special{t4ht;\%##2}\%}%
14163
\def\FontName##1{\:Context{##1}\ht:special{t4ht;=}}%
14164
\def\:Context##1{\ht:special{t4ht>\jobname.tmp}##1\ht:special
14165
{t4ht>\aa:CssFile}}%
14166
\ht:special{t4ht>\jobname.tmp}\ht:special{t4ht>\aa:CssFile}%
14167
\bgroup \everypar{}\NoFonts \bb:CssFile \hfil\break}
14168
{\egroup \EndNoFonts
14169
\ht:special{t4ht<\aa:CssFile}\ht:special{t4ht<\jobname.tmp}}
14170
\let\Css:File|=\CssFile
14171
\def\CssFile{\futurelet\:temp\Css:Fl}
14172
\def\Css:Fl{\ifx [\:temp \expandafter\Css:fl
14173
\else \expand:after{\Css:File \space}\fi}
14174
\def\Css:fl[#1]{\Css:File\space \css:files #1,,|<par del|>}
14175
\def\css:files#1,#2|<par del|>{\def\:temp{#1}\ifx \:temp\empty
14176
\else \def\:temp{\in:css#1.|<par del|>\css:files#2,,|<par del|>}\fi
14178
\def\in:css#1.#2|<par del|>{\def\:temp{#2}\ifx \:temp\empty
14179
\inc:ss#1.css|<par del|>
14180
\else \inc:ss#1.#2|<par del|>\fi}
14181
\def\inc:ss#1.|<par del|>{|<input css file|> }
14182
\NewConfigure{CssFile}[2]{\def\aa:CssFile{#1}\def\bb:CssFile{#2}}
14186
\<input css file\><<<
14187
\immediate\openin15=#1
14188
\ifeof15 \immediate\closein15
14189
\:warning{Missing file: #1}%
14190
\else \immediate\closein15 \input #1 \fi
14194
\verb'\CssFile[file-name,filename.ext,..]...\EndCssFile'.
14196
Default file, just in case the user doesn't provide one. If
14197
the user does, the following file will be overwritten.
14199
Can't use below \verb'\a:CssFile' and \verb'\b:CssFile', because
14200
\verb'\ScriptFile{\CssFile}' also needs them.
14202
\verb'\Css' changes its definition upon reachin \verb'\CssFile'. The
14203
first definition is needed within the sty files, and the info is
14204
sent to the lg file (where else it can be sent?).
14207
\<cascade style sheets\><<<
14208
\def\Css#1{{\def\:temp{\Configure{Needs}}%
14209
\expandafter\:temp\expandafter{\aa:Css}\Needs{#1}}}
14212
\<cascade style sheets-DISABLE\><<<
14213
\let\send:css|=\Css
14214
\ScriptCommand{\Css}{\HCode{<style
14215
type="text/css">\Hnewline}\NoFonts}{\EndNoFonts\HCode{</style>}}
14217
\def\Css{\futurelet\:temp\:Css}
14218
\def\:Css{\ifx \:temp\bgroup \expandafter\send:css
14219
\else \expandafter\loc:css\fi}
14223
\<hook utility\><<<
14224
\:CheckOption{hooks++} \if:Option
14225
\else \:CheckOption{hooks+}
14226
\if:Option \else \:CheckOption{hooks}\fi
14230
{\HCode{<strong class="hooks"><}}{\HCode{></strong>}}{}{}
14237
The following provides a faster version
14238
than \verb'\LinkCommand\Link{a,href,name,}' for the \verb'\Link'
14241
\<config tex4ht\><<<
14242
\Configure{Link}{a}{href=}{id=}{}
14250
\<config book-report-article\><<<
14251
|<makeketitle config 4.0t|>
14256
\<config book-report-article\><<<
14257
|<latex shared div config|>
14259
\ifx \part\:UnDef \else
14260
|<latex shared part config|>
14262
|<config lists of figures and tables|>
14267
\<config lists of figures and tables\><<<
14269
{\HCode{<span class="lofToc">}}{\ }{}{\HCode{</span><br\xml:empty>}}
14271
{\HCode{<span class="lotToc">}}{\ }{}{\HCode{</span><br\xml:empty>}}
14274
\<config book-report-article\><<<
14276
|<latex config div 4.0t|>
14289
\<config book-report-article\><<<
14294
\ConfigureEnv{quote}
14296
{\IgnorePar\EndP\HCode{<div class="quote">}}
14297
{\IgnorePar\EndP\HCode{</div>}\ShowPar\ShowIndent}
14298
\Css{.quote {margin-bottom:0.25em;
14299
margin-top:0.25em; margin-left:1em; }}
14304
\<config book-report-article\><<<
14305
\ConfigureEnv{verse}
14306
{\ifvmode \IgnorePar\fi\EndP\Tg<div class="verse">}
14307
{\ifvmode \IgnorePar\fi\EndP\Tg</div>}
14309
\ConfigureList{verse}
14311
{\parindent=\z@} {\par}
14312
\Css{.verse{white-space:nowrap; margin-left:2em}}
14316
\<config book-report-article\><<<
14322
\<config book-report-article\><<<
14323
|<article,report,book|>
14330
%%%%%%%%%%%%%%%%%%%%%%%%%%%
14331
\section{lineno.sty}
14332
%%%%%%%%%%%%%%%%%%%%%%%%%%%
14334
\<configure html4 lineno\><<<
14335
\:warning{The line numbers are commented out. To reintroduce them, use
14336
the \string\Configure{lineno}{...}{...} command}
14338
{\bgroup \let\LineNumber=\empty}
14342
%%%%%%%%%%%%%%%%%%%%%%%%
14343
\section{epigraph.sty}
14344
%%%%%%%%%%%%%%%%%%%%%%%%%
14346
\<configure html4 epigraph\><<<
14347
\Configure{epigraphhead}
14348
{\IgnorePar\EndP\HCode{<div class="epigraphhead">}}
14349
{\ifvmode \IgnorePar\fi \EndP\HCode{</div>}}
14351
\Configure{epigraph}
14352
{\IgnorePar\EndP\HCode{<div class="epigraph">}}
14353
{\IgnorePar\EndP\HCode{<div class="episource">}}
14354
{\ifvmode \IgnorePar\fi \EndP\HCode{</div></div>}}
14357
\ConfigureEnv{epigraphs}
14358
{\IgnorePar\EndP\HCode{<div class="epigraphs">}}
14359
{\ifvmode \IgnorePar\fi \EndP\HCode{</div>}} {}{}
14362
{\IgnorePar\EndP\HCode{<div class="qitem">}}
14363
{\IgnorePar\EndP\HCode{<div class="episource">}}
14364
{\ifvmode \IgnorePar\fi \EndP\HCode{</div></div>}}
14366
\Css{.epigraph, .epigraphhead, epigraphs {margin-left:60\%}}
14367
\Css{.epigraphhead .epigraph {margin-left:0\%}}
14369
\Css{.episource {text-align:right}}
14370
\Configure{epirule} {\ifvmode \IgnorePar\fi \EndP\Tg<hr />\par}
14372
\Css{.epigraphs table { width:40\% ;}}
14373
\Css{.epigraphs table div .episource { text-align:right; width:100\%;}}
14378
\section{revtex (aps)}
14381
\<configure html4 aps\><<<
14382
\ifx \@authoraddress\:UnDef
14383
|<revtex4 aps.rtx|>
14385
|<revtex3 aps.sty|>
14389
\<revtex3 aps.sty\><<<
14390
|<revtex sections|>
14391
|<revtex title page|>
14397
\<revtex sections\><<<
14398
\def\:SPAN#1#2{\HCode{<span class="#1">}#2\HCode{</span>}}
14404
\<revtex sections\><<<
14405
\:CheckOption{4} \if:Option
14406
\expandafter\ifx \csname @chapter\endcsname\relax
14411
\CutAt{section,likesection,chapter,likechapter,appendix,part}
14412
\CutAt{likesection,chapter,likechapter,appendix,part}
14414
\CutAt{subsection,section,likesection,%
14415
chapter,likechapter,appendix,part}
14416
\CutAt{likesubsection,section,likesection,%
14417
chapter,likechapter,appendix,part}
14418
|<cut toc: subsec|>%
14420
|<tocat: section|>%
14426
\CutAt{chapter,likechapter,appendix,part}
14427
\CutAt{likechapter,appendix,part}
14428
\CutAt{appendix,chapter,likechapter,part}
14431
\CutAt{section,likesection,chapter,likechapter,appendix,part}
14432
\CutAt{likesection,chapter,likechapter,appendix,part}
14434
\CutAt{subsection,section,likesection,%
14435
chapter,likechapter,appendix,part}
14436
\CutAt{likesubsection,section,likesection,%
14437
chapter,likechapter,appendix,part}
14438
|<cut toc: subsec|>%
14441
|<tocat: section|>%
14443
\else\:CheckOption{3} \if:Option
14444
\expandafter\ifx \csname @chapter\endcsname\relax
14449
\CutAt{section,likesection,chapter,likechapter,appendix,part}
14450
\CutAt{likesection,chapter,likechapter,appendix,part}
14452
\CutAt{subsection,section,likesection,%
14453
chapter,likechapter,appendix,part}
14454
\CutAt{likesubsection,section,likesection,%
14455
chapter,likechapter,appendix,part}
14456
|<cut toc: subsec|>%
14458
|<tocat: section|>%
14464
\CutAt{chapter,likechapter,appendix,part}
14465
\CutAt{likechapter,appendix,part}
14466
\CutAt{appendix,chapter,likechapter,part}
14469
\CutAt{section,likesection,chapter,likechapter,appendix,part}
14470
\CutAt{likesection,chapter,likechapter,appendix,part}
14475
\else\:CheckOption{2} \if:Option
14476
\expandafter\ifx \csname @chapter\endcsname\relax
14481
\CutAt{section,likesection,chapter,likechapter,appendix,part}
14482
\CutAt{likesection,chapter,likechapter,appendix,part}
14490
\CutAt{chapter,likechapter,appendix,part}
14491
\CutAt{likechapter,appendix,part}
14492
\CutAt{appendix,chapter,likechapter,part}
14496
\else\:CheckOption{1} \if:Option
14502
\Log:Note{for automatic sectioning pagination,
14503
use the command line option `1', `2', or `3'}%
14506
\:CheckOption{1} \if:Option
14507
|<toc article,report options 1|>
14509
|<shared h5 subsubsection|>
14510
\Configure{endlikesubsubsection}
14511
{subsubsection,subsection,likesubsection,section,%
14512
likesection,chapter,likechapter,appendix,part,likepart}
14513
\Configure{endlikeparagraph}
14514
{paragraph,subsubsection,likesubsubsection,subsection,%
14515
likesubsection,section,%
14516
likesection,chapter,likechapter,appendix,part,likepart}
14517
\Configure{endsubparagraph}
14518
{likesubparagraph,likeparagraph,subsubsection,likesubsubsection,%
14519
subsection,likesubsection,section,%
14520
likesection,chapter,likechapter,appendix,part,likepart}
14521
\Configure{endlikesubparagraph}
14522
{subparagraph,likeparagraph,subsubsection,likesubsubsection,%
14523
subsection,likesubsection,section,%
14524
likesection,chapter,likechapter,appendix,part,likepart}
14526
\ifx \part\:UnDef \else
14527
|<latex shared part config|>
14530
\Configure{endsection}
14531
{likesection,chapter,likechapter,appendix,part,likepart}
14532
\Configure{endlikesection}
14533
{section,chapter,likechapter,appendix,part,likepart}
14534
\ConfigureMark{section}
14535
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
14537
\HCode{<span class="titlemark">}\thesection\HCode{</span>}\fi }
14538
\Configure{section}{}{}
14539
{\ifvmode \IgnorePar\fi \EndP\IgnorePar
14540
\HCode{<h3 class="sectionHead"\a:LRdir>}\TitleMark.\space\HtmlParOff}
14541
{\HCode{</h3>}\HtmlParOn \par}
14542
\Configure{sectionTITLE+}{\thesection\space#1}
14543
\Configure{likesection}{}{}
14544
{\ifvmode \IgnorePar\fi
14545
\EndP\IgnorePar\HCode{<h3 class="likesectionHead"\a:LRdir>}\HtmlParOff}
14546
{\HCode{</h3>}\HtmlParOn \IgnoreIndent \par}
14547
\Configure{likesectionTITLE+}{#1}
14549
\Css{h3.sectionHead, h3.likesectionHead {text-align:center;}}
14551
\Configure{endsubsection}
14552
{likesubsection,section,likesection,chapter,%
14553
likechapter,appendix,part,likepart}
14554
\Configure{endlikesubsection}
14555
{subsection,section,likesection,chapter,%
14556
likechapter,appendix,part,likepart}
14557
|<shared h4 subsection|>
14559
\Css{h4.subsectionHead {text-align:center;}}
14561
\Configure{endsubsubsection}
14562
{likesubsubsection,subsection,likesubsection,section,%
14563
likesection,chapter,likechapter,appendix,part,likepart}
14565
\Configure{endparagraph}
14566
{likeparagraph,subsubsection,likesubsubsection,subsection,%
14567
likesubsection,section,%
14568
likesection,chapter,likechapter,appendix,part,likepart}
14569
\Configure{paragraph}{}{}
14570
{\ShowPar\IgnoreIndent\HCode{<span class="paragraphHead"\a:LRdir>}\begingroup\bf}
14571
{\endgroup\HCode{</span>}\IgnorePar}
14572
\Configure{likeparagraph}{}{}
14573
{\ShowPar\IgnoreIndent\HCode{<span class="likeparagraphHead"\a:LRdir>}}
14574
{\HCode{</span>}\IgnorePar}
14575
\Css{.paragraphHead, .likeparagraphHead
14576
{ margin-top:2em; font-weight: bold;}}
14578
\ConfigureMark{subparagraph}{}
14579
\Configure{subparagraph}{}{}
14580
{\ShowPar\HCode{<span class="subparagraphHead"\a:LRdir>}\begingroup\bf
14582
{\endgroup\HCode{</span>}\IgnorePar}
14583
\Configure{likesubparagraph}{}{}
14584
{\ShowPar\HCode{<span class="likesubparagraphHead"\a:LRdir>}\begingroup\bf}
14585
{\endgroup\HCode{</span>}\IgnorePar}
14586
\Css{.subparagraphHead, .likesubparagraphHead
14587
{ font-weight: bold;}}
14594
%%%%%%%%%%%%%%%%%%%
14595
\section{Spatial Math}
14596
%%%%%%%%%%%%%%%%%%%
14598
\<configure html4 longdiv\><<<
14599
\Configure{longdiv}
14600
{\Configure{halign}
14601
{\HCode{<table class="longdiv">}}
14604
{\HCode{</tr>\Hnewline}}
14605
{\tmp:cnt=\HRow \divide\tmp:cnt by 2 \multiply\tmp:cnt by 2
14606
\advance\tmp:cnt by -\HRow
14607
\HCode{<td \ifnum\HCol=2 \ifnum\HRow=2 class="longdiv"\fi \fi>%
14608
<span \ifnum \tmp:cnt=-1
14609
\ifnum \HRow>2 class="longdiv"\fi\fi >}%
14611
{\HCode{</span></td>}}%
14614
\Css{table.longdiv {text-align: right;}}
14615
\Css{td.longdiv {border-top:solid 1px black;
14616
border-left:solid 1px black;}}
14617
\Css{span.longdiv {text-decoration:underline;}}
14622
%%%%%%%%%%%%%%%%%%%
14624
%%%%%%%%%%%%%%%%%%%
14626
\<configure html4 lncse\><<<
14628
\Configure{paragraph}{}{}
14629
{\ShowPar\IgnoreIndent
14630
\HCode{<span class="paragraphHead"\a:LRdir>}\begingroup\it}
14631
{\endgroup\HCode{</span>}\IgnorePar}
14635
\<lncse chapter\><<<
14636
\ConfigureMark{chapter}
14638
\HCode{<span class="titlemark">}\chaptername
14639
\ \thechapter\HCode{</span>}\fi}
14640
\Configure{chapter}{}{}
14641
{\IgnorePar\EndP\HCode{<h2 class="chapterHead"\a:LRdir>}%
14642
\TitleMark{\HCode{<br\xml:empty>}}}
14643
{\HCode{</h2>}\IgnoreIndent}
14644
\Configure{chapterTITLE+}{\if@mainmatter\thechapter\space\fi#1}
14645
\renewcommand\thechapter {\if@mainmatter\@arabic\c@chapter\fi}
14647
\ConfigureMark{appendix}{\HCode{<span class="titlemark">}%
14648
\appendixname \ \thechapter\HCode{</span>}}
14649
\Configure{appendix}{}{}
14650
{\IgnorePar\EndP\HCode{<h2 class="appendixHead"\a:LRdir>}%
14651
\TitleMark{\HCode{<br\xml:empty>}}}
14652
{\HCode{</h2>}\IgnoreIndent}
14653
\Configure{appendixTITLE+}{\thechapter\space#1}
14654
\Configure{likechapter}{}{}
14655
{\IgnorePar\EndP\HCode{<h2 class="likechapterHead">}}
14656
{\HCode{</h2>}\IgnoreIndent}
14661
%%%%%%%%%%%%%%%%%%%
14662
\section{babel.sty}
14663
%%%%%%%%%%%%%%%%%%%
14669
\<configure html4 babel\><<<
14680
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
14681
\subsection{Character Set}
14682
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
14685
\<babel char set\><<<
14687
\ifOption{charset=#2}{\def\a:charset{charset=#2}}{}%
14688
\def\:tempa{#1}\ifx \languagename\:tempa
14689
\def\A:charset{#2}\ifx \A:charset\empty\else
14690
\def\A:charset{charset=#2}%
14692
\a:temp{afrikaans}{iso-8859-1}
14693
\a:temp{arabic}{iso-8859-6}
14694
\a:temp{austrian}{iso-8859-1}
14695
\a:temp{brazilian}{iso-8859-1}
14696
\a:temp{brazil}{iso-8859-1}
14697
\a:temp{catalan}{iso-8859-1}
14698
\a:temp{croatian}{iso-8859-2}
14699
\a:temp{czech}{iso-8859-2}
14700
\a:temp{danish}{iso-8859-1}
14701
\a:temp{dutch}{iso-8859-1}
14702
\a:temp{esperanto}{iso-8859-3}
14703
\a:temp{estonian}{iso-8859-5}
14704
\a:temp{finnish}{iso-8859-1}
14705
\a:temp{francais}{iso-8859-1}
14706
\a:temp{frenchb}{iso-8859-1}
14707
\a:temp{french}{iso-8859-1}
14708
\a:temp{galician}{iso-8859-1}
14709
\a:temp{germanb}{iso-8859-1}
14710
\a:temp{german}{iso-8859-1}
14711
\a:temp{greek}{iso-8859-7}
14712
\a:temp{hebrew}{iso-8859-8}
14713
\a:temp{hungarian}{iso-8859-2}
14714
\a:temp{ngerman}{iso-8859-1}
14715
\a:temp{norsk}{iso-8859-1}
14716
\a:temp{nynorsk}{iso-8859-1}
14717
\a:temp{polish}{iso-8859-2}
14718
\a:temp{polski}{iso-8859-2}
14719
\a:temp{polutonikogreek}{iso-8859-7}
14720
\a:temp{portuges}{iso-8859-1}
14721
\a:temp{portuguese}{iso-8859-1}
14722
\a:temp{romanian}{iso-8859-2}
14723
\a:temp{scottish}{iso-8859-1}
14724
\a:temp{slovak}{iso-8859-2}
14725
\a:temp{slovene}{iso-8859-2}
14726
\a:temp{spanish}{iso-8859-1}
14727
\a:temp{swedish}{iso-8859-1}
14728
\a:temp{turkish}{iso-8859-9}
14729
\a:temp{ukrainian}{iso-8859-5}
14730
\a:temp{uppersorbian}{iso-8859-2}
14731
\a:temp{welsh}{iso-8859-1}
14732
|<set babel charset|>
14741
\<configure html4 german\><<<
14749
\<quotedblbase\><<<
14750
\Configure{quotedblbase}{\leavevmode\ht:special{t4ht@+&{35}8222;}x}
14751
\Configure{quotesinglbase}{\leavevmode\ht:special{t4ht@+&{35}8218;}x}
14755
% \HCode{&}\HChar{-35}\HCode{8222;}}
14757
\<configure html4 austrian\><<<
14758
\def\A:charset{charset=iso-8859-1}
14760
\<configure html4 catalan\><<<
14761
\def\A:charset{charset=iso-8859-1}
14764
\<configure html4 croatian\><<<
14765
\def\A:charset{charset=iso-8859-2}
14766
\:CheckOption{new-accents} \if:Option \else
14767
|<old iso-8859-2 accents|>
14772
\<configure html4 latin2\><<<
14773
\def\A:charset{charset=iso-8859-2}
14779
\<configure html4 czech\><<<
14780
\def\A:charset{charset=iso-8859-2}
14782
\<configure html4 danish\><<<
14783
\def\A:charset{charset=iso-8859-1}
14785
\<configure html4 dutch\><<<
14786
\def\A:charset{charset=iso-8859-1}
14788
\<configure html4 english\><<<
14789
\def\A:charset{charset=iso-8859-1}
14791
\<configure html4 esperant\><<<
14792
\def\A:charset{charset=iso-8859-3}
14794
\<configure html4 estonian\><<<
14795
\def\A:charset{charset=iso-8859-5}
14797
\<configure html4 finnish\><<<
14798
\def\A:charset{charset=iso-8859-1}
14801
\<configure html4 francais\><<<
14802
\def\A:charset{charset=iso-8859-1}
14806
\<configure html4 frenchb\><<<
14807
\def\A:charset{charset=iso-8859-1}
14808
\Configure{@TITLE}{\Configure{frenchb-thinspace}{}{}}
14813
\<configure html4 frenchb\><<<
14814
\Configure{system-nbsp}
14815
{\ht:special{t4ht@[unhskip}}
14816
{\ht:special{t4ht@]unhskip}}
14819
\<configure html4 frenchb\><<<
14820
\ifx \tmp:bx\:UnDef \csname newbox\endcsname \tmp:bx \fi
14821
\Configure{frenchb-nbsp}
14822
{\ht:special{t4ht@?unhskip}\HCode{<span class="frenchb-nbsp">}%
14823
\HCode{ }\setbox\tmp:bx=\hbox\bgroup}
14824
{\egroup \HCode{</span>}}
14825
\Css{.frenchb-nbsp{font-size:75\%;}}
14829
\<configure html4 frenchb\><<<
14830
\Configure{frenchb-thinspace}
14831
{\ht:special{t4ht@?unhskip}\HCode{<span class="frenchb-thinspace">}%
14832
\HCode{ }\setbox\tmp:bx=\hbox\bgroup}
14833
{\egroup \HCode{</span>}}
14834
\Css{.frenchb-thinspace{font-size:75\%;}}
14840
\<configure html4 galician\><<<
14841
\def\A:charset{charset=iso-8859-1}
14843
\<configure html4 germanb\><<<
14844
\def\A:charset{charset=iso-8859-1}
14847
\<configure html4 greek\><<<
14848
\def\A:charset{charset=iso-8859-7}
14849
\ifOption{charset=iso-8859-7}
14850
{|<greek ldf iso-8859-7|>}
14851
{\Log:Note{for iso-8859-7 accents
14852
use the command line option `charset=iso-8859-7'}}
14854
{\:CheckOption{new-accents} \if:Option \else
14855
|<greek ldf sgreek|>
14857
{\Log:Note{for Sgreek font
14858
use the command line option `sgreek'}}
14859
\ifOption{oldgreek}
14860
{\:CheckOption{new-accents} \if:Option \else
14861
|<greek ldf Greek Old Face|>
14863
{\Log:Note{for Greek Old Face font
14864
use the command line option `oldgreek'}}
14869
\<greek ldf sgreek\><<<
14870
\def\A:charset{charset=iso-8859-1}
14871
\Configure{htf}{254}{+}{<font \Hnewline
14872
face="}{}{}{}{}{Sgreek">}{</font>}
14873
\Configure{htf}{252}{+}{<font \Hnewline
14874
face="}{}{}{}{}{Sgreek" class="small-caps">}{</font>}
14875
\Configure{htf-css}{252}{.small-caps{font-variant: small-caps; }}
14876
\Configure{accents}
14877
{\ht:special{t4ht@+\string&{35}x#2;}x}
14878
{\expandafter \ifx \csname \@curr@enc :#1\endcsname\relax
14879
\Picture+{ \a:@Picture{#1}}#2{#3}\EndPicture
14881
\csname \@curr@enc :#1\endcsname {#3}%
14885
\LGR:gobble\ifx #1\i \HChar{237}%
14886
\else #1\HCode{<font face="Sgreek">/</font>}\fi }
14888
\LGR:gobble\ifx #1\i \HChar{236}%
14889
\else #1\HCode{<font face="Sgreek">\string\</font>}\fi}
14891
\LGR:gobble\ifx #1\i \HChar{238}%
14892
\else #1\HCode{<font face="Sgreek">=</font>}\fi}
14893
\def\LGR:tilde#1{#1\HCode{<font face="Sgreek">@</font>}}
14895
\LGR:gobble\ifx #1\i \HChar{239}%
14896
\else #1\HCode{<font face="Sgreek">+</font>}\fi}
14897
\def\LGR:gobble#1#2#3{#1}
14901
The accented \''\i' arrives in the form of \''\@use@text@encoding
14906
\<greek ldf Greek Old Face\><<<
14907
\def\A:charset{charset=iso-8859-1}
14908
\Configure{htf}{254}{+}{<font \Hnewline
14909
face="}{}{}{}{}{Greek Old Face">}{</font>}
14910
\Configure{htf}{252}{+}{<font \Hnewline
14911
face="}{}{}{}{}{Greek Old Face" class="small-caps">}{</font>}
14912
\Configure{htf-css}{252}{.small-caps{font-variant: small-caps; }}
14913
\Configure{accents}
14914
{\ht:special{t4ht@+\string&{35}x#2;}x}
14915
{\expandafter \ifx \csname \@curr@enc :#1\endcsname\relax
14916
\Picture+{ \a:@Picture{#1}}#2{#3}\EndPicture
14918
\csname \@curr@enc :#1\endcsname {#3}%
14922
\LGR:gobble\ifx #1\i \HChar{237}%
14924
\edef\:temp{\:gobbleII#1\empty\empty}%
14925
\LGR:ch{i}{133}\LGR:ch{w}{232}\LGR:ch{u}{218}\LGR:ch{o}{210}%
14926
\LGR:ch{h}{187}\LGR:ch{a}{163}\LGR:ch{e}{154}%
14927
\ifx \:temp\empty\else #1\HChar{-180}\fi
14930
\LGR:gobble\ifx #1\i \HChar{236}%
14932
\edef\:temp{\:gobbleII#1\empty\empty}%
14933
\LGR:ch{i}{136}\LGR:ch{235}{232}\LGR:ch{u}{221}\LGR:ch{o}{213}%
14934
\LGR:ch{h}{190}\LGR:ch{a}{166}\LGR:ch{e}{157}%
14935
\ifx \:temp\empty\else #1`\fi
14938
\LGR:gobble\ifx #1\i \HChar{238}%
14940
\edef\:temp{\:gobbleII#1\empty\empty}%
14941
\LGR:ch{i}{139}\LGR:ch{w}{238}\LGR:ch{u}{224}\LGR:ch{o}{253}%
14942
\LGR:ch{h}{193}\LGR:ch{a}{169}\LGR:ch{e}{252}%
14943
\ifx \:temp\empty\else #1\string^\fi
14945
\def\LGR:tilde#1{#1}
14947
\LGR:gobble\ifx #1\i \HChar{239}%
14949
\edef\:temp{\:gobbleII#1\empty\empty}%
14950
\LGR:ch{u}{227}\LGR:ch{i}{142}%
14951
\ifx \:temp\empty\else #1\HChar{168}\fi
14953
\def\LGR:gobble#1#2#3{#1}
14954
\def\LGR:ch#1#2{\def\:tempa{#1}\ifx \:temp\:tempa
14955
\HCode{<font face="Greek Old Face">}\HChar{#2}\HCode{</font>}%
14956
\let\:temp=\empty \fi }
14967
\<configure html4 hebrew\><<<
14968
\def\A:charset{charset=iso-8859-8}
14971
\<configure html4 ngermanb\><<<
14972
\def\A:charset{charset=iso-8859-1}
14974
\<configure html4 norsk\><<<
14975
\def\A:charset{charset=iso-8859-1}
14977
\<configure html4 polish\><<<
14978
\def\A:charset{charset=iso-8859-2}
14980
\<configure html4 polski\><<<
14981
\def\A:charset{charset=iso-8859-2}
14983
\<configure html4 portuges\><<<
14984
\def\A:charset{charset=iso-8859-1}
14989
\<configure html4 scottish\><<<
14990
\def\A:charset{charset=iso-8859-1}
14993
\<configure html4 slovak\><<<
14994
\def\A:charset{charset=iso-8859-2}
14995
\:CheckOption{new-accents} \if:Option \else
14996
|<old iso-8859-2 accents|>
15001
\<configure html4 slovene\><<<
15002
\def\A:charset{charset=iso-8859-2}
15003
\:CheckOption{new-accents} \if:Option \else
15004
|<old iso-8859-2 accents|>
15008
\<configure html4 spanish\><<<
15009
\def\A:charset{charset=iso-8859-1}
15010
|<spanish configs|>
15014
\<spanish configs\><<<
15015
\Configure{spanish"a}
15016
{\HCode{<sup><u>a</u></sup>}}
15017
\Configure{spanish"o}
15018
{\HCode{<sup><u>o</u></sup>}}
15019
\Configure{@TITLE}{%
15020
\Configure{spanish"a}{\HCode{&\#170;}}%
15021
\Configure{spanish"o}{\HCode{&\#176;}}%
15026
\<configure html4 swedish\><<<
15027
\def\A:charset{charset=iso-8859-1}
15029
\<configure html4 turkish\><<<
15030
\def\A:charset{charset=iso-8859-9}
15032
\<configure html4 ukraineb\><<<
15033
\def\A:charset{charset=iso-8859-5}
15035
\<configure html4 usorbian\><<<
15036
\def\A:charset{charset=iso-8859-2}
15038
\<configure html4 welsh\><<<
15039
\def\A:charset{charset=iso-8859-1}
15043
%%%%%%%%%%%%%%%%%%%%%%%%%
15044
\section{right to left babel}
15045
%%%%%%%%%%%%%%%%%%%%%%%%%
15048
tex4ht.sty indert Rregion and Lregion end hooks within
15049
\verb+\beginL/R+ and \verb+\endL/R+, mainly to void the
15050
inverse produced by the elatex compiler.
15052
\<configure html4 rlbabel\><<<
15053
\Configure{TITLE+}{\HCode{\jobname}}
15054
\Configure{Rregion} {\beginL} {\endL}
15055
\Configure{!P}{\a:LRdir}
15056
\Configure{!BODY}{\a:LRdir}
15057
\Configure{LRdir}{ |<dir ltr/rtl|> }
15061
dir="\if@rl rtl\else ltr\fi"
15065
\<configure html4 rlbabel\><<<
15067
{\ifvmode \let\end:moreRL=\empty
15068
\else\HCode{<span dir="ltr" >}\def\end:moreRL{\HCode{</span>}}\fi}
15071
{\ifvmode \let\end:moreRL=\empty
15072
\else\HCode{<span dir="rtl" >}\def\end:moreRL{\HCode{</span>}}\fi}
15077
\<configure html4-math rlbabel\><<<
15078
\:CheckOption{pic-m} \if:Option
15081
{\HCode{<span |<dir ltr/rtl|>>}}
15082
{\HCode{</span>}}{}
15088
% \def\HCode{<#1>}{\HCode{<#1 |<dir ltr/rtl|>>}}
15090
\<configure html4-math rlbabel\><<<
15093
\protect\nested:math
15095
$$\everymath{}\everydisplay{}}
15096
{$$\EndPicDisplay \egroup
15097
|<try inline par|>\if@rl \beginL\fi \beginR }
15103
\def\providehyphenmins#1#2{}
15104
\documentclass[english,hebrew]{article}
15105
\usepackage[T1]{fontenc}
15108
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
15109
%% Bold symbol macro for standard LaTeX users
15110
\newcommand{\boldsymbol}[1]{\mbox{\boldmath $#1$}}
15117
\[F=ma\quad(\textrm{\L{Newton's 2nd Law}\R{������ }})\]
15118
\[F=ma\quad(\mbox{Newton's 2nd Law ������} )\]
15119
\R{\[F=ma\quad(\mbox{Newton's 2nd Law ������} )\]}
15127
%%%%%%%%%%%%%%%%%%%%%%%%%
15128
\section{Scientific Word}
15129
%%%%%%%%%%%%%%%%%%%%%%%%%
15132
% When \verb+\BOXEDSPECIAL+ is defined we don't want the
15133
% following configuration, because the frame may enclose
15134
% a graphics-like file that we might not want to translate.
15136
% \<configure html4 tcilatex\><<<
15137
% \ifx \BOXEDSPECIAL\:UnDef
15138
% \Configure{BOXTHEFRAME}
15139
% {\Picture+[PICT]{}} {\EndPicture}
15143
\<configure html4 tcilatex\><<<
15144
\Configure{GRAPHICSPS}
15145
{\Picture+[PICT]{}} {\EndPicture}
15146
\Configure{GRAPHICSHP}
15147
{\Picture+[PICT]{}} {\EndPicture}
15149
{\EndP \IgnorePar\HCode{<div class="FRAME">}}
15150
{\HCode{</div>}\par\ShowPar}
15152
{\EndP \IgnorePar\HCode{<div class="FRAME">}}
15153
{\HCode{</div>}\par\ShowPar}
15155
{\ifvmode \IgnorePar \fi} {}
15156
\Css{div.FRAME {text-align:center;}}
15157
\expandafter\ifx \csname @TCItagstar\endcsname\relax
15166
\<configure html4-math tcilatex\><<<
15167
\expandafter\ifx \csname @TCItagstar\endcsname\relax
15168
|<tcilatex 2.5 math|>
15170
|<tcilatex 3.5 math|>
15171
\ifx \@msidraft\:Undef
15172
|<tcilatex 3.5 not 4.0 math|>
15176
\<tcilatex 3.5 not 4.0 math\><<<
15178
{\Picture+{ align="middle"}\bgroup} {}
15179
{} {\egroup\EndPicture}
15181
{\Picture+{ align="middle"}\bgroup} {}
15182
{} {\egroup\EndPicture}
15184
{\Picture+{ align="middle"}\bgroup} {}
15185
{} {\egroup\EndPicture}
15187
{\Picture+{ align="middle"}\bgroup} {}
15188
{} {\egroup\EndPicture}
15190
{\Picture+{ align="middle"}\bgroup} {}
15191
{} {\egroup\EndPicture}
15194
\<tcilatex 3.5 math\><<<
15196
{\Picture+{ align="middle"}\bgroup} {}
15197
{} {\egroup\EndPicture}
15199
{\Picture+{ align="middle"}\bgroup} {}
15200
{} {\egroup\EndPicture}
15202
{\Picture+{ align="middle"}\bgroup} {}
15203
{} {\egroup\EndPicture}
15212
\<configure html4 seslideb\><<<
15213
\ConfigureEnv{center}
15214
{\IgnorePar \par \EndP \HCode{<div class="center"\Hnewline>}}
15215
{\ifvmode\IgnorePar\fi\EndP\HCode{</div>}}
15217
{\Configure{Needs}{Font\string_Size: #1}%
15218
\expandafter\Needs\expandafter{\csname normalsize@fsize\endcsname}}
15221
\<configure html4 seslideb\><<<
15222
\ConfigureToc{swSlide}
15223
{} {\relax } {} { }
15225
\if:Option \else \:CheckOption{1} \fi
15227
\:CheckOption{1} \if:Option
15229
\Configure{crosslinks}{}{}{}{}{}{}{}{}
15232
|<seslideb page break|>
15234
|<handle my missing sw fonts|>
15235
\Log:Note{pagination may be obtained
15236
through the option `0' or `1', at locations marked with
15237
\noexpand\csname PageBreak\string\endcsname}
15241
\<handle my missing sw fonts\><<<
15242
\Configure{swSlide}{}{}{\bgroup\bf}{\egroup}
15247
\<seslideb toc\><<<
15249
\ifOption{1}{\par\IgnorePar\EndP\HCode{<hr />}\par}{}
15251
\def\swTitle{\gHAdvance\TocN by 1 \TocN}\:TableOfContents[swSlide]
15252
\let\swTitle=\relax
15253
\ifOption{0}{\par\IgnorePar\EndP\HCode{<hr />}\par}{}
15254
\let\swSlide=\o:swSlide: \let\o:swSlide:=\empty \swSlide}
15255
\HLet\swSlide=\:temp
15259
\<seslideb page break\><<<
15260
\Configure{swSlide}
15261
{\gHAdvance\swSlideN by 1 \Link{}{s-\swSlideN}\EndLink }
15263
{\HAdvance\swSlideN by -1 \Link{s-\swSlideN}{}\swSlideN\EndLink}
15264
\Link[\jobname.html]{}{}\HCode{<>}\EndLink{}
15265
{\HAdvance\swSlideN by 1
15266
\ifTag{)Qs-\swSlideN}{\Link{s-\swSlideN}{}\swSlideN\EndLink}{}}
15268
\ifOption{0}{\par \IgnorePar\EndP\HCode{<hr />}\par}{}
15270
{\IgnorePar\bgroup \bf }
15271
{\egroup \ShowPar\IgnoreIndent\par}
15272
\HAssign\swSlideN=1
15282
\<configure html4 minitoc\><<<
15283
|<minitoc.sty Configure 4.0t|>
15286
\<minitoc.sty Configure 4.0t\><<<
15287
\Configure{minitoc}
15288
{\Configure{tableofcontents}
15289
{\HCode{<div class="minitoc"><hr\xml:empty>}\IgnorePar}{}
15290
{\IgnorePar\HCode{<hr\xml:empty></div>}\ShowPar}
15291
{\HCode{<br\xml:empty>}}{}} {}
15292
{\HCode{<div class="minitoc-\TocOption">}} {\HCode{</div>}}
15293
\Configure{minilof}
15294
{\Configure{tableofcontents}
15295
{\HCode{<div class="minilof"><hr\xml:empty>}\IgnorePar}{}
15296
{\IgnorePar\HCode{<hr\xml:empty></div>}\ShowPar}
15297
{\HCode{<br\xml:empty>}}{}} {}
15298
{\HCode{<div class="minilof-\TocOption">}} {\HCode{</div>}}
15299
\Configure{minilot}
15300
{\Configure{tableofcontents}
15301
{\HCode{<div class="minilot"><hr\xml:empty>}\IgnorePar}{}
15302
{\IgnorePar\HCode{<hr\xml:empty></div>}\ShowPar}
15303
{\HCode{<br\xml:empty>}}{}} {}
15304
{\HCode{<div class="minilot-\TocOption">}} {\HCode{</div>}}
15305
\Css{.minitoc-l,.minilot-l,.minilof-l
15306
{text-align:left;margin-left:3em;}}
15307
\Css{.minitoc-c,.minilot-c,.minilof-c
15308
{text-align:center;margin-left:3em;}}
15309
\Css{.minitoc-r,.minilot-r,.minilof-r
15310
{text-align:right;margin-left:3em;}}
15311
\Css{DIV.minitoc,DIV.minilot,DIV.minilof{margin-left:3em;}}
15312
\Css{.minitoc .sectionToc { font-weight:bold;} }
15315
Only one of the following is needed for a given document!!!
15317
\<minitoc.sty Configure 4.0t\><<<
15318
\Configure{parttoc}{}{}
15319
{\HCode{<div class="parttoc-\TocOption">}} {\HCode{</div>}}
15320
\Configure{partlof}{}{}
15321
{\HCode{<div class="partlof-\TocOption">}} {\HCode{</div>}}
15322
\Configure{partlot}{}{}
15323
{\HCode{<div class="partlot-\TocOption">}} {\HCode{</div>}}
15324
\Css{.parttoc-l,.partlof-l,.partlot-l{text-align:left;}}
15325
\Css{.parttoc-c,.partlof-c,.partlot-c{text-align:center;}}
15326
\Css{.parttoc-r,.partlof-r,.partlot-r{text-align:right;}}
15328
\<minitoc.sty Configure 4.0t\><<<
15329
\Configure{secttoc}{}{}
15330
{\HCode{<div class="secttoc-\TocOption">}} {\HCode{</div>}}
15331
\Configure{sectlof}{}{}
15332
{\HCode{<div class="sectlof-\TocOption">}} {\HCode{</div>}}
15333
\Configure{sectlot}{}{}
15334
{\HCode{<div class="sectlot-\TocOption">}} {\HCode{</div>}}
15335
\Css{.secttoc-l,.sectlof-l,.sectlot-l{text-align:left;}}
15336
\Css{.secttoc-c,.sectlof-c,.sectlot-c{text-align:center;}}
15337
\Css{.secttoc-r,.sectlof-r,.sectlot-r{text-align:right;}}
15340
%%%%%%%%%%%%%%%%%%%
15341
\section{alltt.sty}
15342
%%%%%%%%%%%%%%%%%%%
15344
\<configure html4 alltt\><<<
15345
\ConfigureEnv{alltt}
15346
{\IgnorePar\EndP\HCode{<div class="alltt">}}
15347
{\IgnorePar\EndP\HCode{</div>}} {}{}
15348
\Css{.alltt P { margin-bottom : 0em; margin-top : 0em; }}
15349
\Css{.alltt { margin-bottom : 1em; margin-top : 1em; }}
15352
%%%%%%%%%%%%%%%%%%%
15354
%%%%%%%%%%%%%%%%%%%
15356
\<configure html4 url\><<<
15357
\:CheckOption{url-il2-pl} \if:Option
15358
\else \:CheckOption{url-enc} \fi
15360
\Configure{string-encoder}{url-encoder}
15361
% \:CheckOption{url-il2-pl} \if:Option
15362
|<il2-pl.tcx url encoder|>
15364
|<default url encoder WAIT|>
15365
% \Log:Note{for il2-pl url encoding,
15366
% use the command line option 'url-il2-pl'}
15369
{|<:temp = url encoded string|>%
15370
\Link[\noexpand\the\tmp:toks \space
15371
class="url"]{}{}{\let\UrlBigBreaks\empty
15372
\let\UrlBreaks\empty #1}\EndLink}
15373
|<url encoded string utilities|>
15375
\Log:Note{for URL encoding within href
15376
use the command line option `url-enc'}
15378
{\tmp:toks{#1}\Link[\noexpand\the\tmp:toks\space
15379
class="url"]{}{}{\let\UrlBigBreaks\empty
15380
\let\UrlBreaks\empty #1}\EndLink}
15385
\<:temp = url encoded string\><<<
15386
\tmp:toks={}\set:spaces#1|<par del|>%
15387
\edef\:temp{\tmp:toks{\csname url-encoder\expandafter\endcsname
15388
\the\tmp:toks |<par del|>}}\:temp
15391
\<url encoded string utilities\><<<
15392
\def\set:spaces{\futurelet\:temp\set:spacesoo}
15393
\def\set:spacesoo{%
15394
\expandafter\ifx \space\:temp
15395
\tmp:toks\expandafter{\the\tmp:toks{ }}%
15399
\def\set:spaceso#1#2|<par del|>{%
15400
\tmp:toks\expandafter{\the\tmp:toks #1}%
15401
\if :#2:\else \set:spaces#2|<par del|>\fi
15405
\<default url encoder\><<<
15406
\Configure{url-encoder}
15415
\Log:Note{current url encoding setting: \string\Configure{url-encoder}%
15421
{\string _}{\string _}%
15422
{\string ^}{\string ^}%
15429
\<il2-pl.tcx url encoder\><<<
15430
\Configure{url-encoder}
15460
\Link[http://www.faqs.org/rfcs/rfc2396.html]{}{}http://www.faqs.org/rfcs/rfc2396.html\EndLink
15465
\documentclass{article}
15471
\url{a%25b+c&d}
15477
\expandafter\ifx\csname Url@OT1encSpecials\endcsname\relax
15484
\<url-2004.styNO\><<<
15489
\Configure{url}{\Link[#1 class="url"]{}{}{\let\UrlBigBreaks\empty
15490
\let\UrlBreaks\empty #1}\EndLink}
15499
{\HCode{<span class="path">}\bgroup
15500
\Configure{obeylines}{}{}{}%
15502
{\egroup\HCode{</span>}}
15505
\<configure html4 path\><<<
15510
%%%%%%%%%%%%%%%%%%%%%%%%
15512
%%%%%%%%%%%%%%%%%%%%%%%%
15516
\<configure html4 latex\><<<
15517
\:CheckOption{fonts} \if:Option
15518
\Configure{textbf}{\Protect\HCode{<span class="textbf">}}
15519
{\Protect\HCode{</span>}}
15520
\Configure{textit}{\Protect\HCode{<span class="textit">}}
15521
{\Protect\HCode{</span>}}
15522
\Configure{textrm}{\Protect\HCode{<span class="textrm">}}
15523
{\Protect\HCode{</span>}}
15524
\Configure{textup}{\Protect\HCode{<span class="textup">}}
15525
{\Protect\HCode{</span>}}
15526
\Configure{textsc}{\Protect\HCode{<span class="textsc">}}
15527
{\Protect\HCode{</span>}}
15528
\Configure{textsf}{\Protect\HCode{<span class="textsf">}}
15529
{\Protect\HCode{</span>}}
15530
\Configure{textsl}{\Protect\HCode{<span class="textsl">}}
15531
{\Protect\HCode{</span>}}
15532
\Configure{texttt}{\Protect\HCode{<span class="texttt">}}
15533
{\Protect\HCode{</span>}}
15534
\Configure{emph}{\Protect\HCode{<span class="emph">}}
15535
{\Protect\HCode{</span>}}
15536
\Css{span.textbf { font-weight: bold; }}
15537
\Css{span.textit { font-style: italic; }}
15538
\Css{span.textrm { font-family: serif; }}
15539
\Css{span.textsc { font-variant: small-caps; }}
15540
\Css{span.textsf { font-family: sans-serif; }}
15541
\Css{span.texttt { font-family: monospace; }}
15543
\Log:Note{for tracing of latex font commands,
15544
use the command line option `fonts'}
15548
\<configure html4-math fontmath\><<<
15549
\:CheckOption{fonts} \if:Option
15550
\Configure{mathit}{\Protect\HCode{<span class="mathit">}}
15551
{\Protect\HCode{</span>}}
15552
\Configure{mathbf}{\Protect\HCode{<span class="mathbf">}}
15553
{\Protect\HCode{</span>}}
15554
\Configure{mathtt}{\Protect\HCode{<span class="mathtt">}}
15555
{\Protect\HCode{</span>}}
15556
\Configure{mathsf}{\Protect\HCode{<span class="mathsf">}}
15557
{\Protect\HCode{</span>}}
15558
\Configure{mathrm}{\Protect\HCode{<span class="mathrm">}}
15559
{\Protect\HCode{</span>}}
15571
\<configure html4-math amsfonts\><<<
15572
\:CheckOption{fonts} \if:Option
15573
\Configure{mathbb}{\Protect\HCode{<span class="mathbb">}}
15574
{\Protect\HCode{</span>}}
15575
\Configure{mathfrak}{\Protect\HCode{<span class="mathfrak">}}
15576
{\Protect\HCode{</span>}}
15585
\subsection{1: Large Operators}
15588
\mathchardef\coprod="1360
15589
\mathchardef\bigvee="1357
15590
\mathchardef\bigwedge="1356
15591
\mathchardef\biguplus="1355
15592
\mathchardef\bigcap="1354
15593
\mathchardef\bigcup="1353
15594
\mathchardef\intop="1352 \def\int{\intop\nolimits}
15595
\mathchardef\prod="1351
15596
\mathchardef\sum="1350
15597
\mathchardef\bigotimes="134E
15598
\mathchardef\bigoplus="134C
15599
\mathchardef\bigodot="134A
15600
\mathchardef\ointop="1348 \def\oint{\ointop\nolimits}
15601
\mathchardef\bigsqcup="1346
15602
\mathchardef\smallint="1273
15607
\<plain tex classes\><<<
15608
\Configure{MathClass}{1}{}{}{}{
15626
\subsection{2: Binary Operations}
15629
\mathchardef\triangleleft="212F
15630
\mathchardef\triangleright="212E
15631
\mathchardef\bigtriangleup="2234
15632
\mathchardef\bigtriangledown="2235
15633
\mathchardef\wedge="225E \let\land=\wedge
15634
\mathchardef\vee="225F \let\lor=\vee
15635
\mathchardef\cap="225C
15636
\mathchardef\cup="225B
15637
\mathchardef\ddagger="227A
15638
\mathchardef\dagger="2279
15639
\mathchardef\sqcap="2275
15640
\mathchardef\sqcup="2274
15641
\mathchardef\uplus="225D
15642
\mathchardef\amalg="2271
15643
\mathchardef\diamond="2205
15644
\mathchardef\bullet="220F
15645
\mathchardef\wr="226F
15646
\mathchardef\div="2204
15647
\mathchardef\odot="220C
15648
\mathchardef\oslash="220B
15649
\mathchardef\otimes="220A
15650
\mathchardef\ominus="2209
15651
\mathchardef\oplus="2208
15652
\mathchardef\mp="2207
15653
\mathchardef\pm="2206
15654
\mathchardef\circ="220E
15655
\mathchardef\bigcirc="220D
15656
\mathchardef\setminus="226E % for set difference A\setminus B
15657
\mathchardef\cdot="2201
15658
\mathchardef\ast="2203
15659
\mathchardef\times="2202
15660
\mathchardef\star="213F
15661
\mathcode`\*="2203 % \ast
15666
\<plain tex classes\><<<
15667
\Configure{MathClass}{2}{}{}{}{
15703
\subsection{3: Relational Operations}
15705
The catcode is needed because 303A is \verb':'.
15707
\<plain tex classes\><<<
15708
\Configure{MathClass}{3}{}{}{}{
15765
\mathchardef\leq="3214 \let\le=\leq
15766
\mathchardef\geq="3215 \let\ge=\geq
15767
\mathchardef\succ="321F
15768
\mathchardef\prec="321E
15769
\mathchardef\approx="3219
15770
\mathchardef\succeq="3217
15771
\mathchardef\preceq="3216
15772
\mathchardef\supset="321B
15773
\mathchardef\set="321A
15774
\mathchardef\supseteq="3213
15775
\mathchardef\seteq="3212
15776
\mathchardef\in="3232
15777
\mathchardef\ni="3233 \let\owns=\ni
15778
\mathchardef\gg="321D
15779
\mathchardef\ll="321C
15780
\mathchardef\not="3236
15781
\mathchardef\leftrightarrow="3224
15782
\mathchardef\leftarrow="3220 \let\gets=\leftarrow
15783
\mathchardef\rightarrow="3221 \let\to=\rightarrow
15784
\mathchardef\mapstochar="3237 \def\mapsto{\mapstochar\rightarrow}
15785
\mathchardef\sim="3218
15786
\mathchardef\simeq="3227
15787
\mathchardef\perp="323F
15788
\mathchardef\equiv="3211
15789
\mathchardef\asymp="3210
15790
\mathchardef\smile="315E
15791
\mathchardef\frown="315F
15792
\mathchardef\leftharpoonup="3128
15793
\mathchardef\leftharpoondown="3129
15794
\mathchardef\rightharpoonup="312A
15795
\mathchardef\rightharpoondown="312B
15796
\mathchardef\propto="322F
15797
\mathchardef\sqsubseteq="3276
15798
\mathchardef\sqsupseteq="3277
15799
\mathchardef\parallel="326B
15800
\mathchardef\mid="326A
15801
\mathchardef\dashv="3261
15802
\mathchardef\vdash="3260
15803
\mathchardef\nearrow="3225
15804
\mathchardef\searrow="3226
15805
\mathchardef\nwarrow="322D
15806
\mathchardef\swarrow="322E
15807
\mathchardef\Leftrightarrow="322C
15808
\mathchardef\Leftarrow="3228
15809
\mathchardef\Rightarrow="3229
15811
\subsection{4/5: Delimiters}
15820
\delcode`\(="028300
15821
\delcode`\)="029301
15822
\delcode`\[="05B302
15823
\delcode`\]="05D303
15824
\def\lmoustache{\delimiter"437A340 } % top from (, bottom from )
15825
\def\rmoustache{\delimiter"537B341 } % top from ), bottom from (
15826
\def\lgroup{\delimiter"462833A } % extensible ( with sharper tips
15827
\def\rgroup{\delimiter"562933B } % extensible ) with sharper tips
15828
\def\backslash{\delimiter"26E30F } % for double coset G\backslash H
15829
\def\rangle{\delimiter"526930B }
15830
\def\langle{\delimiter"426830A }
15831
\def\rbrace{\delimiter"5267309 } \let\}=\rbrace
15832
\def\lbrace{\delimiter"4266308 } \let\{=\lbrace
15833
\def\rceil{\delimiter"5265307 }
15834
\def\lceil{\delimiter"4264306 }
15835
\def\rfloor{\delimiter"5263305 }
15836
\def\lfloor{\delimiter"4262304 }
15837
\def\arrowvert{\delimiter"26A33C } % arrow without arrowheads
15838
\def\Arrowvert{\delimiter"26B33D } % double arrow without arrowheads
15839
\def\bracevert{\delimiter"77C33E } % the vertical bar that extends braces
15840
\def\Vert{\delimiter"26B30D } \let\|=\Vert How should these be treated?
15841
\def\vert{\delimiter"26A30C } " " " " "
15842
\def\uparrow{\delimiter"3222378 }
15843
\def\downarrow{\delimiter"3223379 }
15844
\def\updownarrow{\delimiter"326C33F }
15845
\def\Uparrow{\delimiter"322A37E }
15846
\def\Downarrow{\delimiter"322B37F }
15847
\def\Updownarrow{\delimiter"326D377 }
15850
The comamnds \verb'\Configure{MathClass}{4}...'
15851
and \verb'\Configure{MathClass}{5}...'
15852
are for unmatched delimiters, and the comamnd
15853
\verb'\Configure{MathDelimiters}{(}{)}' is for matched ones.
15856
\<plain tex classes\><<<
15857
\Configure{MathClass}{4}{}{}{}{}
15858
\Configure{MathDelimiters}{(}{)}
15859
\Configure{MathDelimiters}{[}{]}
15860
\Configure{MathDelimiters}{\mathchar"4262}{\mathchar"5263}
15861
\Configure{MathDelimiters}{\mathchar"4264}{\mathchar"5265}
15862
\Configure{MathDelimiters}{\mathchar"4266}{\mathchar"5267}
15863
\Configure{MathDelimiters}{\mathchar"4268}{\mathchar"5269}
15864
\Configure{MathDelimiters}{\mathchar"4300}{\mathchar"5301}
15865
\Configure{MathDelimiters}{\mathchar"4302}{\mathchar"5303}
15866
\Configure{MathDelimiters}{\mathchar"4304}{\mathchar"5305}
15867
\Configure{MathDelimiters}{\mathchar"4306}{\mathchar"5307}
15868
\Configure{MathDelimiters}{\mathchar"4308}{\mathchar"5309}
15869
\Configure{MathDelimiters}{\mathchar"430A}{\mathchar"530B}
15877
\subsection{6: Punctuation Marks}
15880
\mathchardef\ldotp="613A % ldot as a punctuation mark
15881
\mathchardef\cdotp="6201 % cdot as a punctuation mark
15882
\mathchardef\colon="603A % colon as a punctuation mark
15889
\<plain tex classes\><<<
15890
\Configure{MathClass}{6}{}{}{}{
15899
\subsection{Questions}
15902
\delcode`\<="26830A
15903
\delcode`\>="26930B
15904
\delcode`\|="26A30C
15905
\delcode`\\="26E30F
15907
% N.B. { and } should NOT get delcodes; otherwise parameter grouping fails!
15909
\def\mathhexbox#1#2#3{\leavevmode
15910
\hbox{$\m@th \mathchar"#1#2#3$}}
15911
\def\dag{\mathhexbox279}
15912
\def\ddag{\mathhexbox27A}
15913
\def\S{\mathhexbox278}
15914
\def\P{\mathhexbox27B}
15918
\subsection{Type 4: Math Open}
15919
latex.ltx, fontmath.ltx, plain.tex
15923
\section{fleqn.sty}
15925
\<configure html4-math fleqn\><<<
15926
\Configure{equation}
15927
{\:xhtml{\IgnorePar\EndP}%
15928
\HCode{<\tbl:XV{equation}><tr><td>}\IgnorePar
15929
\Configure{$}{\PicMath}{\EndPicMath}{}%
15931
{\IgnorePar\HCode{</td><td width="5\%">}}
15932
{\end:TTT\IgnorePar\par}
15934
\section{emulateapj.clo}
15936
\<configure html4 emulateapj\><<<
15937
\Configure{slugcomment}
15938
{\HCode{<div class="slugcomment">}}
15940
\Css{.slugcomment{text-align:center;font-size:80\%;
15941
font-style: italic;}}
15942
\Configure{subtitle}{\HCode{<div class="subtitle">}}{\HCode{</div>}}
15943
\Configure{submitted}{}{\Tg<br\xml:empty>}
15944
\Configure{title}{\HCode{<h1 class="title">}}{\HCode{</h1>}}
15945
\Css{.title{text-align:center;}}
15947
{\IgnorePar\EndP\HCode{<div class="author">}}{\HCode{</div>}}
15948
\Css{div.author{text-align:center;}}
15949
\Configure{affil}{\HCode{<div class="affil"><div>}}{\HCode{</div></div>}}
15950
\Css{.affil{text-align:center;}}
15951
\Css{.affil div{text-align:left;
15952
margin-right:15pt;margin-left:15pt;}}
15953
\Configure{keywords}
15954
{\IgnorePar\EndP\HCode{<div class="keywords"><div>}}
15955
{\HCode{</div></div>}}
15956
\Css{.keywords{text-align:center;}}
15957
\Css{.keywords div{text-align:left; margin-right:15pt;margin-left:30pt;
15958
text-indent:-15pt;}}
15959
\Configure{subjectheadings}
15960
{\HCode{<div class="subjectheadings"><div>}}{\HCode{</div></div>}}
15961
\Css{.subjectheadings{text-align:center;}}
15962
\Css{.subjectheadings div{text-align:left;
15963
margin-right:15pt;margin-left:15pt;}}
15965
\Css{.abstract {margin-right:15pt;margin-left:15pt;}}
15966
\ConfigureMark{section}
15967
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
15969
\HCode{<span class="titlemark">}\@seccntformat{section}%
15970
\thesection\HCode{</span>}\fi}
15971
\Configure{section}{}{}
15972
{\IgnorePar \EndP\IgnorePar\HCode{<h3 class="sectionHead"\a:LRdir>}
15973
\TitleMark{. \space}}
15974
{\HCode{</h3>}\IgnoreIndent \par}
15975
\ConfigureEnv{references}
15976
{\IgnorePar\EndP\Tg<div class="references">}
15977
{\IgnorePar\EndP\Tg</div>} {}{}
15978
\Css{.references p { margin: 0.35em; text-indent:-2em;margin-left:2em;}}
15984
\<configure html4 vanilla\><<<
15985
|<32 amsppt, 32,4 vanilla|>
15987
|<config vanilla.sty 4.0t|>
15991
\<32,4 vanilla\><<<
15993
{\EndP\HCode{<center><table\Hnewline
15994
border="0" cellpadding="0" cellspacing="15" class="matrix">}}
15995
{\HCode{</table></center>}\IgnorePar}
15996
{\HCode{<tr\Hnewline valign="top">}}{\HCode{</tr>}}
15997
{\HCode{<td>}} {\HCode{</td>}}
15999
{\EndP\HCode{<center><table\Hnewline
16000
border="0" cellpadding="0" cellspacing="15" class="align">}}
16001
{\HCode{</table></center>}\IgnorePar}
16002
{\HCode{<tr\Hnewline valign="top">}}{\HCode{</tr>}}
16003
{\HCode{<td>}} {\HCode{</td>}}
16005
\<config vanilla.sty 4.0t\><<<
16006
\Configure{heading}
16007
{}{}{\IgnorePar\EndP\HCode{<h2 class="heading">}}{\HCode{</h2>}}
16008
\ConfigureToc{heading}
16009
{}{\HCode{<span class="heading">}}{}{\HCode{</span><br\xml:empty>}}
16010
\Configure{subheading}
16011
{}{}{\EndP\HCode{<h3 class="subheading">}}{.\HCode{</h3>}}
16012
\ConfigureToc{subheading}
16013
{}{\HCode{<span class="subheading">}}{}{\HCode{</span><br\xml:empty>}}
16015
{\IgnorePar\EndP\HCode{<div class="demo"><span class="demo">}}
16016
{\HCode{</span>}} {\IgnorePar\EndP\HCode{</div>}}
16020
\<config vanilla.sty 4.0t\><<<
16021
\Configure{aligned}
16022
{\EndP\HCode{<center><table\Hnewline
16023
border="0" cellpadding="0" cellspacing="15" class="aligned">}}
16024
{\HCode{</table></center>}\IgnorePar}
16025
{\HCode{<tr\Hnewline valign="top">}}{\HCode{</tr>}}
16026
{\HCode{<td>}} {\HCode{</td>}}
16031
%%%%%%%%%%%%%%%%%%%%%%
16033
%%%%%%%%%%%%%%%%%%%%%%
16036
\<configure html4 tugboat\><<<
16037
\Configure{head}{}{}
16038
{\NoFonts \ifvmode \IgnorePar\fi \EndP\IgnorePar
16039
\HCode{<h3 class="headHead"\a:LRdir>}\HtmlParOff}
16040
{\HCode{</h3>}\HtmlParOn \EndNoFonts \IgnoreIndent \ShowPar \par}
16041
\Configure{subhead}{}{}
16042
{\NoFonts \ifvmode \IgnorePar\fi \EndP\IgnorePar
16043
\HCode{<h4 class="subheadHead"\a:LRdir>}\HtmlParOff}
16044
{\HCode{</h4>}\HtmlParOn \EndNoFonts \IgnoreIndent \ShowPar \par}
16045
\Configure{subsubhead}{}{}
16046
{\NoFonts \ifvmode \IgnorePar\fi \EndP\IgnorePar
16047
\HCode{<h5 class="subsubheadHead"\a:LRdir>}\HtmlParOff}
16048
{\HCode{</h5>}\HtmlParOn \EndNoFonts \IgnoreIndent \ShowPar \par}
16052
\<configure html4 tugboat\><<<
16054
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="figure">}\par\ShowPar}
16055
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par}
16059
\<configure html4 tugboat\><<<
16060
\Configure{verbatim}
16061
{{\everypar{}\leavevmode}\EndP
16062
\HCode{<div class="verbatim\:ruled">}\par\ShowPar}
16063
{{\everypar{}\leavevmode}\EndP \HCode{</div>}\par\ShowPar}
16065
{\HCode{<span class="verb">}}
16067
\Css{div.verbatim p, div.verbatim-ruled p {margin:0.2em}}
16068
\Css{div.verbatim-ruled { border-top: 1px solid black;
16069
border-bottom: 1px solid black; }}
16073
\<configure html4 tugboat\><<<
16074
\Configure{display-list}
16075
{\ifvmode \IgnorePar\fi \EndP \HCode{<div class="list"><!--cols: \the\@cols-->}\par\ShowPar}
16076
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\par}
16077
{\HCode{<span class="listitem">}}
16079
\Configure{inline-list}
16080
{\HCode{<span class="list"><!--cols: \the\@cols-->}\par\ShowPar}
16081
{\ifvmode \IgnorePar\fi \EndP \HCode{</span>}\par}
16082
{\HCode{<span class="listitem">}}
16084
\Css{div.list p span.listitem {text-indent:-3em; margin-right:1em;}}
16085
\Css{div.list { margin-left:3em;}}
16088
\<configure html4 tugboat\><<<
16090
{\ifvmode \IgnorePar \fi \EndP
16091
\HCode{<div class="rtitle">}\IgnorePar}
16092
{\HCode{</div>}\ShowPar\par}
16094
{\ifvmode \IgnorePar \fi \EndP
16095
\HCode{<h2 class="title">}\IgnorePar}
16096
{\HCode{</h2>}\IgnoreIndent\par}
16097
\Configure{address}
16098
{\ifx\@addressstyle\@inlinestyle
16099
\HCode{<span class="address">}%
16101
\ifvmode \IgnorePar \fi \EndP
16102
\HCode{<div class="address">}%
16104
{\ifx\@addressstyle\@inlinestyle
16107
\ifvmode \IgnorePar \fi \EndP
16110
\Configure{netaddress}
16111
{\HCode{<span class="netaddress">}}
16114
{\HCode{<span class="author">}}
16116
\Configure{authorlist}
16117
{\ifvmode \IgnorePar \fi \EndP
16118
\HCode{<div class="authorlist">}\IgnorePar}
16119
{\ifvmode \IgnorePar \fi \EndP
16120
\HCode{</div>}\IgnoreIndent\par\ShowPar}
16121
\Css{div.authorlist {margin-left:2em;}}
16126
\Configure{signature}
16127
{\ifvmode \IgnorePar\fi \EndP
16128
\HCode{<div class="signature">}\par\ShowPar}
16129
{\ifvmode \IgnorePar\fi \EndP \HCode{</div>}\ShowPar\par}
16130
\Css{div.signature p{ margin-top:0.3em; margin-bottom:0.3em;}}
16131
\Css{div.signature { white-space:nowrap; margin-left:70\%; }}
16132
\Configure{signaturemark}
16133
{\HCode{<span class="signaturemark">} }
16135
\Css{span.signaturemark {margin-top:1.5em;}}
16142
{\hbox{\HCode{<span class="issno">}}}
16143
{\hbox{\HCode{</span>}}}
16145
{\hbox{\HCode{<span class="volyr">}}}
16146
{\hbox{\HCode{</span>}}}
16148
{\hbox{\HCode{<span class="volno">}}}
16149
{\hbox{\HCode{</span>}}}
16152
%%%%%%%%%%%%%%%%%%%%%%
16153
\section{ltug boat/proc}
16154
%%%%%%%%%%%%%%%%%%%%%%
16156
\<configure html4 ltugboat\><<<
16158
\ConfigureEnv{verbatim}
16159
{\par}{|<try inline par|>}{}{}
16161
{\hbox{\HCode{<span class="author">}}}
16162
{\hbox{\HCode{</span>}}}
16163
\Configure{address}
16164
{\hbox{\HCode{<span class="address">}}}
16165
{\hbox{\HCode{</span>}}}
16166
\Configure{netaddress}
16167
{\hbox{\HCode{<span class="netaddress">}}}
16168
{\hbox{\HCode{</span>}}}
16169
\Configure{PersonalURL}
16170
{\hbox{\HCode{<span class="PersonalURL">}}}
16171
{\hbox{\HCode{</span>}}}
16172
\Configure{signaturemark}
16173
{\hbox{\HCode{<span class="signaturemark">}}}
16174
{\hbox{\HCode{</span> }}}
16178
\<configure html4 ltugboat\><<<
16179
\Configure{makesignature}
16180
{\ifvmode \IgnorePar\fi \EndP
16181
\HCode{<div class="makesignature">}%
16182
\bgroup \Configure{HtmlPar}{}{}{}{}%
16183
\Configure{rightline}{}{}%
16186
{\egroup \ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
16187
\Configure{signature}
16188
{\def\||{\HCode{<br />}}%
16189
\Configure{HtmlPar}
16193
\Css{.makesignature{margin-left:60\%; white-space: nowrap;}}
16199
\<configure html4 ltugboat\><<<
16200
|<tug boat maketitle|>
16202
{\HCode{<div class="titlex">}}
16204
\Css{div.titlex p{margin-bottom:1em;}}
16205
|<ltugboat congig|>
16209
\<ltugboat congig\><<<
16210
\Configure{sectitle}
16211
{\ifvmode \IgnorePar\fi
16212
\EndP \HCode{<div class="sectitle">}%
16213
\SaveEndP\bgroup\everypar{}}
16214
{\egroup\RecallEndP \ifvmode \IgnorePar\fi \EndP \HCode{</div>}}
16218
\<configure html4 ltugproc\><<<
16219
|<tug proc maketitle|>
16220
\ConfigureEnv{abstract}
16222
\Configure{abstract}
16224
\HCode{<div class="abstract">}\IgnoreIndent\par}
16225
{\ifvmode\IgnorePar\fi \EndP\HCode{</div>}\egroup}
16226
\Css{div.abstract {margin-left:1em; margin-right:1em;
16228
\Css{div.maketitle div.centerline {margin-top:1em;}}
16231
\<configure html4 ltugproc\><<<
16232
\Configure{abstractHead}
16234
\Configure{centerline}{}{}
16236
\ifvmode \IgnorePar\fi \EndP \HCode{<h3>}%
16238
{\ifvmode \IgnorePar\fi \EndP \HCode{</h3>}%
16239
\EndNoFonts \egroup}
16249
\<configure html4 tex4ht\><<<
16251
|<title for hypertext page|>
16256
\<config tex4ht\><<<
16257
\:CheckOption{NoFonts} \if:Option
16260
\Log:Note{to ignore CSS font decoration, use the `NoFonts'
16261
command line option}
16267
\<config tex4ht\><<<
16268
\Configure{HVerbatim+}{\z@}{\:nbsp}
16269
\:CheckOption{jpg} \if:Option
16270
\Configure{Picture}{.jpg}
16272
\Log:Note{for jpg bitmaps, use the `jpg'
16273
command line option}
16275
\:CheckOption{gif} \if:Option
16276
\Configure{Picture}{.gif}
16278
\Log:Note{for gif bitmaps, use the `gif'
16279
command line option}
16287
\<configure html4 tex4ht\><<<
16291
\<configure html4 tex4ht\><<<
16294
\Css{p.noindent { text-indent: 0em }}
16295
\Css{p.nopar { text-indent: 0em; }}
16296
\Css{p.indent{ text-indent: 1.5em }}
16297
\NewConfigure{!P}[1]{\expandafter\concat:config\csname a:!P\endcsname{#1}}
16298
\expandafter\let\csname a:!P\endcsname|=\relax
16302
\<global HtmlPar\><<<
16303
\Configure{HtmlPar}
16304
{\EndP\HCode{|<show input line no|><p \csname a:!P\endcsname
16305
class="no\ifHCond par\else indent\fi">}}
16306
{\EndP\HCode{|<show input line no|><p \csname a:!P\endcsname
16307
class="\ifdim \parindent=\z@ no\fi indent">}}
16309
{\:xhtml{\Tg</p>}}%
16312
\<configure html4 tex4ht\><<<
16313
\NewConfigure{!BODY}[1]{\expandafter\concat:config
16314
\csname a:!BODY\endcsname{#1}}
16315
\expandafter\let\csname a:!BODY\endcsname|=\relax
16316
\Configure{!BODY}{}
16319
\<configure html4 tex4ht\><<<
16320
\NewConfigure{LRdir}[1]{\concat:config\a:LRdir{#1}}
16321
\let\a:LRdir|=\relax
16322
\Configure{LRdir}{}
16326
\<configure html4 tex4ht\><<<
16327
\Configure{crosslinks+}
16328
{\IgnorePar\EndP\HCode{|<show input line no|>%
16329
<div class="crosslinks"><p class="noindent">}}
16330
{\HCode{</p></div>}\par\ShowPar}
16331
{\IgnorePar\EndP\HCode{|<show input line no|>%
16332
<div class="crosslinks"><p class="noindent">}}
16333
{\HCode{</p></div>}\par\ShowPar}
16334
\Css{@media print {div.crosslinks {visibility:hidden;}}}
16336
\Configure{halignTR}
16337
{\HCode{ valign="baseline"}}
16338
\Configure{halignTBL}
16339
% % {t}{\HCode{ valign="top"}}
16340
% % {b}{\HCode{ valign="baseline"}}
16341
% % {c}{\HCode{ valign="middle"}}
16345
{\EndP\halignTB{halign}} {\HCode{</table>}}
16346
\R:HA\r:HA\D:HA\d:HA
16347
\Configure{pic-halign}{}
16350
The following should be just under LaTeX.
16352
\<configure html4 tex4ht\><<<
16353
\Configure{halignTD} {}{}
16354
{<}{\HCode{ style="white-space:nowrap; text-align:left;"}}
16355
{-}{\HCode{ style="white-space:nowrap; text-align:center;"}}
16356
{>}{\HCode{ style="white-space:nowrap; text-align:right;"}}
16357
{^}{\HCode{ valign="top" style="white-space:nowrap;"}}
16358
{=}{\HCode{ valign="baseline" style="white-space:nowrap;"}}
16359
{||}{\HCode{ valign="middle" style="white-space:nowrap;"}}
16360
{_}{\HCode{ valign="bottom" style="white-space:nowrap;"}}
16361
{p}{\HCode{ style="text-align:left;"}\Protect\a:HColWidth}
16362
{m}{\HCode{ style="white-space:nowrap; text-align:left;" valign="middle"}}
16363
{b}{\HCode{ style="white-space:nowrap; text-align:left;" valign="baseline"}}
16365
\NewConfigure{HColWidth}{1}
16366
\Configure{HColWidth}{}
16370
The following code allows width specifications of p-columns of tables
16371
through the command line option `p-width'.
16373
The command line option activates a configuration similar to the
16376
\Configure{HColWidth}
16377
{\HCode{ style="width:\HColWidth"}}
16379
\Configure{HColWidth}
16380
{\HCode{ style="width:
16381
\ifnum \HCol=1 160\fi
16382
\ifnum \HCol=3 500\fi
16385
Try the above examples with the following source under different font
16386
sizes in the browser.
16388
\begin{tabular}{p{2cm}cp{3cm}}
16389
1 2 3 1 2 3 & x & 1 2 3 1 2 3
16392
The configuration provided through the command line option `p-width'
16393
takes to some degree into account the size of fonts in use within the
16394
HTML displays. Yet, not all browsers react properly to the size
16401
\<configure html4 latex\><<<
16402
\:CheckOption{p-width} \if:Option
16404
\Configure{HColWidth}
16405
{\tmp:dim=\HColWidth \divide\tmp:dim by \ten:Em\relax
16406
\tmp:dim=10\tmp:dim
16407
\HCode{ style="width:\expandafter\x:Em \the\tmp:dim em;"}}
16409
\Log:Note{for width specifications of tabular p entries, use
16410
the `p-width' command line option or a configuration similar
16411
to \string\Configure{HColWidth}{\string\HCode
16412
{ style="width:\string\HColWidth"}}}
16416
\<configure html4 tex4ht\><<<
16419
{\ht:special{t4ht=<img\Hnewline src="|<a:imgdir|> }}
16420
{\ht:special{t4ht=" alt="}}
16422
{\ht:special{t4ht=" }}
16423
{\ht:special{t4ht=\xml:empty>}}
16424
\Css{a img { border-top: 0; border-left: 0; border-right: 0; }}
16430
A change from the \verb'-' in the \verb'%' patterns of c to, say \verb'@',
16431
requires a \verb'Font_hyphen: @' in the \verb'.lg' file for a match in the
16432
css output of t4ht.
16434
\<configure html4 tex4ht\><<<
16435
\Configure{htf}{0}{+}{<span\Hnewline
16436
class="}{\%s}{-\%s}{x-x-\%d}{}{">}{</span>}
16438
\Configure{htf}{1}{+}{<img\Hnewline
16439
src="|<a:imgdir|> }{" alt="}{" class="}{\%s}{-\%d}{x-x-\%x}{" />}
16440
\Configure{htf}{3}{+}{<img\Hnewline
16441
src="|<a:imgdir|> }{" alt="}{" class="\%s-}{\%s}{-\%d}{x-x-\%x}%
16442
{" align="middle" />}
16446
\<configure html4 tex4ht\><<<
16447
\Configure{htf}{4}{+}{<span\Hnewline
16448
class="}{}{}{}{}{small-caps">}{</span>}
16449
\Configure{htf}{6}{+}{<u\Hnewline
16450
class="}{}{}{}{}{underline">}{</u>}
16453
% \Configure{htf}{4}{+}{<span\Hnewline
16454
% class="}{}{}{}{}{small-caps">}{</span>}
16455
% \Configure{htf}{6}{+}{<span\Hnewline
16456
% class="}{}{}{}{}{underline">}{</span>}
16459
\<configure html4 tex4ht\><<<
16460
\Configure{htf}{8}{+}
16461
{<sup class="htf"><strong>}{}{}{}{}{}{</strong></sup>}
16462
\Configure{htf}{10}{+}
16463
{<span class="htf-cmbx">}{}{}{}{}{}{</span>}
16464
\Configure{htf}{12}{+}
16465
{<span\Hnewline class="htf-calligraphy">}{}{}{}{}{}{</span>}
16466
\Configure{htf}{14}{+}
16467
{<span\Hnewline class="htf-italic">}{}{}{}{}{}{</span>}
16468
\Configure{htf}{16}{+}
16469
{<span\Hnewline class="htf-bold">}{}{}{}{}{}{</span>}
16470
\Configure{htf}{18}{+}
16471
{<span\Hnewline class="htf-calligraphy-bold">}{}{}{}{}{}{</span>}
16472
\Configure{htf}{20}{+}
16473
{<span\Hnewline class="htf-flip-hor">}{}{}{}{}{}{</span>}
16474
\Configure{htf-css}{4}{.small-caps{font-variant: small-caps; }}
16475
\Configure{htf-css}{10}{.htf-cmbx {font-weight: bold; font-style:normal;}}
16476
\Configure{htf-css}{12}{.htf-calligraphy {font-family:cursive}}
16477
\Configure{htf-css}{14}{.htf-italic {font-style: italic;}}
16478
\Configure{htf-css}{16}{.htf-bold {font-weight: bold;}}
16479
\Configure{htf-css}{12}{.htf-calligraphy-bold {font-family:cursive ;
16480
font-weight: bold; }}
16485
\verb'\Configure{htf}{0}{+}{<!--span class="}{\%s}{-\%s}{--\%d}{}{"-->}{<!--/span-->}' caused netscape to
16486
loose spaces between comments.
16488
\<configure html4 tex4ht\><<<
16489
\Configure{@Picture}{\:class}
16490
\def\:class#1{ class="#1"
16491
\expandafter\ifx\csname a:@#1\endcsname\relax\else
16492
\csname a:@#1\endcsname\fi}
16495
\<contribute to picmath of 4.0t\><<<
16496
\NewConfigure{@neq}{1}
16497
\Configure{@neq}{align="middle"}
16498
\NewConfigure{@buildrelover}{1}
16499
\Configure{@buildrelover}{align="middle"}
16500
\NewConfigure{@doteq}{1}
16501
\Configure{@doteq}{align="middle"}
16502
\NewConfigure{@underbrace}{1}
16503
\NewConfigure{@frac}{1}
16504
\Configure{@frac}{align="middle"}
16505
\NewConfigure{@left}{1}
16506
\Configure{@left}{align="middle"}
16513
\<configure html4 tex4ht\><<<
16514
\Css{center { margin-top:1em; margin-bottom:1em; }}
16515
\Css{td center { margin-top:0em; margin-bottom:0em; }}
16518
\<configure html4 tex4ht\><<<
16519
\NewConfigure{Canvas}[4]{\ht:special{t4ht"%
16520
*<span\Hnewline class="Canvas">%
16521
*X<span style="position:relative;\Hnewline
16522
width:\%.2f#4;"></span></span>%
16523
**<span\Hnewline style="position:absolute; left:\%.2f#4;
16524
top:\%.2f#4;"\Hnewline class="Canvas-xy"><span\Hnewline
16525
class="Canvas-char">%
16527
*<span class="Canvas-HR"\Hnewline style="position:absolute;
16528
left:\%.2f#4;top:\%.2f#4;width:\%.2f#4;"
16529
><hr\Hnewline style="height:\%.2f#4;"></span>%
16531
\Configure{Canvas}{0.00000290646}{0.0}{0.5}{ex}
16532
\Css{.Canvas { position:relative; }}
16537
%%%%%%%%%%%%%%%%%%%%%%%%%%%
16538
\subsection{Subdirectories for Images}
16539
%%%%%%%%%%%%%%%%%%%%%%%%%%%
16546
\ifx \a:imgdir\:UnDef
16547
\let\a:imgdir=\empty
16550
\def\csname :temp\endcsname#1imgdir:#2,#3|<par del|>{%
16551
\if !#2!\else \expandafter
16552
\def\csname a:imgdir\endcsname{#2}\fi}
16553
\expandafter\csname :temp\expandafter\endcsname
16554
\Preamble ,imgdir:,|<par del|>%
16556
\Log:Note{for addressing images in
16557
a subdirectory, use the command line option `imgdir:.../'}
16561
A = instead of \verb+->+ works well on Windows NT but unfortunately
16562
there's a problem with Windows 98. This OS insists on seeing = as a
16563
delimiter and reports an error.
16567
\<configure html4 tex4ht2\><<<
16568
\ifx \a:imgdir\empty\else
16569
\let\GIF:NAME=\gif:name
16571
\let\:temp=\GIF:NAME
16572
\ifx \gif:nm\cond:imgs
16573
\def\:next{\edef\:tempa{#1}\expandafter\I:images \:tempa/....}%
16575
\def\:next{\GIF:NAME{#1}}%
16578
\def\cond:imgs{\edef\gif:nm}
16580
\def\I:images#1/#2....{%
16581
\edef\:next{\noexpand\:temp{\:tempa}}%
16582
\if .#2.\else \edef\:next{\noexpand\no:images{\:tempa}}\fi
16584
\def\no:images#1{\let\a:imgdir=\empty \:temp{#1}}
16591
\documentclass{article}
16594
\Picture{http://wwww.foo.goo/xx.png}
16596
With image: $\left( x_{n}\right) \alpha_m$.
16611
\<configure html4 th4\><<<
16612
|<th4 for non-private use|>
16613
\:CheckOption{th4}\if:Option \else \expandafter\endinput\fi
16624
\<th4 for non-private use\><<<
16625
\:CheckOption{javascript}
16626
\if:Option \else\:CheckOption{th4}\fi
16628
\Configure{JavaScript}
16629
{\HCode{<script type="text/JavaScript" ><!--\Hnewline}}
16630
{\HCode{//-->\Hnewline </script>}}
16635
\<th4 for non-private use\><<<
16636
\:CheckOption{draw} \if:Option \:CheckOption{th4} \if:Option
16638
{\ifx \AltFig\empty \Picture*{ \a:@Picture{Fig}}%
16639
\else \Picture*[\AltFig]{ \a:@Picture{Fig}}\fi}
16646
\Configure{Columns}
16648
\HCode{<table \Hnewline cellspacing="15"><tr valign="top">}}
16649
{\HCode{</tr></table>}}
16650
{\HCode{<td>}\ColMag{1.03}}
16651
{\IgnorePar\EndP\HCode{</td>}}
16655
\:CheckOption{index}\if:Option
16658
\Configure{Columns}
16660
\HCode{<table \Hnewline class="index" width="100\%"
16661
cellspacing="15"><tr valign="top">}}
16662
{\HCode{</tr></table>}}
16663
{\HCode{<td>}\ColMag{1.1}}
16664
{\IgnorePar\EndP\HCode{</td>}}
16665
\Columns{2}\IndexFonts}
16666
{\EndColumns \egroup}
16667
{\bgroup\IgnorePar\EndP
16668
\expandafter\ifx \csname prev:A\endcsname\relax
16669
\else \hfil\break \Tg<br />\par\IgnorePar \fi \IndexSec}
16671
{\bgroup\hfil\break\Tg<br />~~~}{\egroup~~~~}
16676
\ifnum \tmp:cnt>`Z\advance\tmp:cnt by -32 \fi
16677
\ifnum \tmp:cnt<`A\else \ifnum \tmp:cnt>`Z \else
16678
\ifnum \Idx:ch<\tmp:cnt
16680
\Configure{centerline}
16681
{\HCode{<div\Hnewline class="IndexSec">}}{\HCode{</div>}}
16682
\leftline{\bf \char\tmp:cnt }%
16683
\global\let\prev:A|=\:UnDef
16684
\xdef\Idx:ch{\the\tmp:cnt}%
16689
\Css{.IndexSec {margin-top:1em; margin-bottom:0.5em;}}
16694
\<th4 sections\><<<
16695
\Configure{Part}{}{}{%
16698
\html:rightskip \ht:everypar{}
16699
\IgnorePar\EndP\HCode{<h1 class="PartHead">}\HtmlParOff}
16700
{\HCode{</h1>}\HtmlParOn\IgnoreIndent \egroup\par\ShowPar \IgnoreIndent}
16701
\Configure{LikeSection}{}{}
16702
{\IgnorePar \EndP\HCode{<h3 class="LikeSectionHead">}}
16703
{\HCode{</h3>}\IgnoreIndent
16704
|<addr for Tag and Ref of Sec|>%
16707
\ConfigureMark{Section}
16709
\Configure{Section}
16711
{\IgnorePar\EndP\HCode{<h3 class="SectionHead">}%
16712
\gHAdvance\SectionCounter |by 1 \TitleMark\space
16713
}{\HCode{</h3>}\IgnoreIndent
16714
|<addr for Tag and Ref of Sec|>%
16717
\Configure{SubSection}
16719
{\par \IgnorePar\EndP\HCode{<h3 class="SubSectionHead">}}
16720
{\HCode{</h3>}\IgnoreIndent \ShowPar}
16725
\<th4 sections\><<<
16726
\ConfigureMark{Chapter}
16727
{Chapter \theChapterCounter}
16728
\Configure{Chapter}
16730
{\IgnorePar\EndP\HCode{<h2 class="ChapterHead"\a:LRdir>}%
16731
\TitleMark{\HCode{<br />}}}
16732
{\HCode{</h2>}\IgnoreIndent\IgnorePar}
16733
\ConfigureMark{Appendix}{Appendix \theChapterCounter}
16734
\Configure{Appendix}
16736
{\IgnorePar\EndP\HCode{<h2 class="AppendixHead"\a:LRdir>}%
16737
\TitleMark {\HCode{<br />}}}
16738
{\HCode{</h2>}\IgnoreIndent\IgnorePar}
16739
\Configure{LikeChapter}
16741
{\IgnorePar\EndP\HCode{<h2 class="LikeChapterHead"\a:LRdir>}\noindent
16742
\bgroup \def\uppercase##1{##1}}
16743
{\egroup \HCode{</h2>}\IgnoreIndent\IgnorePar }
16746
\<th4 sections\><<<
16747
\Configure{+CutAt}{Chapter}{[}{] }
16748
\Configure{+CutAt}{Section}{[}{] }
16749
\Configure{+CutAt}{LikeSection}{[}{] }
16750
\Configure{+CutAt}{SubSection}{[}{] }
16755
\ConfigureToc{Chapter}
16756
{\HCode{<span class="ChapterToc">}}
16759
{\HCode{</span><br\xml:empty>}}
16760
\ConfigureToc{Section}
16761
{\HCode{<span class="SectionToc">}~~~}
16764
{\HCode{</span><br\xml:empty>}}
16765
\ConfigureToc{LikeSection}
16767
{\HCode{<span class="LikeSectionToc">}~~~}
16769
{\HCode{</span><br\xml:empty>}}
16770
\ConfigureToc{SubSection}
16772
{\HCode{<span class="SubSectionToc">}~~~~~~}
16774
{\HCode{</span><br\xml:empty>}}
16778
\<th4 verbatim\><<<
16779
\Configure{Verbatim}
16780
{\ifvmode \IgnorePar\fi
16781
\HAssign\Verb:N = 0
16782
\EndP\HCode{<div class="Verbatim">}}
16783
{\IgnorePar\HCode{</div>}\par\ShowPar}
16784
{\HAdvance\Verb:N by 1 \ifnum \Verb:N>1 \HCode{<br />}\fi}
16786
\Css{div.Verbatim { font-family: monospace; white-space: nowrap; }}
16787
\Css{body .Verbatim { margin: 1em; }}
16791
\Configure{buttonList+}
16792
{\ifnum \ListCounter>1 \IgnorePar\EndP\HCode{<hr\xml:empty>}\fi
16793
\ShowPar\par\IgnoreIndent
16795
{. #1\ShowPar} {\IgnorePar\EndP} {\ListCounter}
16800
{\IgnorePar\EndP\def\:tempB{disc}%
16801
\ifx\:tempA\:tempB \else \def\:tempB{square}\fi
16802
\ifx\:tempA\:tempB \else \def\:tempB{circle}\fi
16803
\hbox{\IgnorePar\EndP\HCode{<ul
16804
\ifx\:tempA\:tempB type="\:tempA" \fi \:UL:>}}}
16805
{\ht:everypar{}\EndP\HCode{</li></ul>}\ShowPar\par}
16806
{\ifnum \ListCounter>1 \EndP\HCode{</li>}\fi \hfil\break \HCode{<li>}}
16808
{\IgnorePar\EndP\hbox{\HCode{<ol
16809
\ifx \:temp\empty \else type="\:temp" \fi
16811
{\ht:everypar{}\EndP
16812
\HCode{\ifnum \ListCounter=0<li>\fi </li></ol>}\ShowPar\par}
16813
{\ifnum \ListCounter>1 \EndP\HCode{</li>}\fi \hfil\break \HCode{<li>}}
16818
\Configure{Item}{}{\par}%
16820
{\IgnorePar\EndP\HCode{<dl \:DL:>}}
16821
{\ht:everypar{}\EndP\HCode{\End:dd</dl>}%
16823
{\IgnorePar\EndP\ifnum \ListCounter>1 \HCode{</dd>}\fi
16825
{\HCode{</dt><dd>}\ShowPar \def\End:dd{</dd>}\hfil\break}
16826
\Configure{buttonList}{}{}
16827
{}{.\ #1 }{\ListCounter}
16835
{\gHAdvance\TableNo by 1
16836
\ht:everypar{}\EndP\HCode{<table id="TBL-\TableNo"
16837
\Hnewline\TABLE:\:HTable:>}%
16838
\def\BR{\HCode{<br\xml:empty>}}}
16840
{\HCode{<tr \:TR>}}{\HCode{</tr>}}
16841
{\ht:everypar{}\HCode{<\TD:typ\TD:more\Hnewline>}}
16842
{\ht:everypar{}\HCode{</\TD:typ>}}
16843
\let\:HTable:|=\empty
16844
\Configure{HTable+}
16845
{B}{ cellspacing="0" cellpadding="3pt" frame="border" border="1" }
16846
{<}{ align="left" }
16847
{>}{ align="right" }
16848
{-}{ align="center" }
16849
{^}{ valign="top" }
16850
{||}{ valign="middle" }
16851
{_}{ valign="bottom" }
16852
{=}{ valign="baseline" }
16865
%%%%%%%%%%%%%%%%%%%%%%%
16867
%%%%%%%%%%%%%%%%%%%%%%%
16869
\<configure html4 nicefrac\><<<
16870
\Configure{nicefrac}
16871
{\HCode{<sup class="nicefrac">}}
16872
{\HCode{</sup>}/\HCode{<sub class="nicefrac">}}
16877
\<configure html4 bibtopic\><<<
16878
\ConfigureEnv{btSect}
16879
{\ifvmode \IgnorePar\fi \EndP\HCode{<div class="btSect">}}
16880
{\ifvmode \IgnorePar\fi \EndP\HCode{</div>}}
16893
\<configure html4 ntheorem\><<<
16897
\<32,4 ntheorem\><<<
16898
\ConfigureEnv{Anmerkung}
16899
{\HCode{<div class="Anmerkung">}} {\HCode{</div>}} {}{}
16900
\ConfigureEnv{Beispiel}
16901
{\HCode{<div class="Beispiel">}} {\HCode{</div>}} {}{}
16902
\ConfigureEnv{Bemerkung}
16903
{\HCode{<div class="Bemerkung">}} {\HCode{</div>}} {}{}
16904
\ConfigureEnv{Beweis}
16905
{\HCode{<div class="Beweis">}} {\HCode{</div>}} {}{}
16906
\ConfigureEnv{Corollary}
16907
{\HCode{<div class="Corollary">}} {\HCode{</div>}} {}{}
16908
\ConfigureEnv{Definition}
16909
{\HCode{<div class="Definition">}} {\HCode{</div>}} {}{}
16910
\ConfigureEnv{Example}
16911
{\HCode{<div class="Example">}} {\HCode{</div>}} {}{}
16912
\ConfigureEnv{Korollar}
16913
{\HCode{<div class="Korollar">}} {\HCode{</div>}} {}{}
16914
\ConfigureEnv{Lemma}
16915
{\HCode{<div class="Lemma">}} {\HCode{</div>}} {}{}
16916
\ConfigureEnv{Proof}
16917
{\HCode{<div class="Proof">}} {\HCode{</div>}} {}{}
16918
\ConfigureEnv{Proposition}
16919
{\HCode{<div class="Proposition">}} {\HCode{</div>}} {}{}
16920
\ConfigureEnv{Remark}
16921
{\HCode{<div class="Remark">}} {\HCode{</div>}} {}{}
16922
\ConfigureEnv{Satz}
16923
{\HCode{<div class="Satz">}} {\HCode{</div>}} {}{}
16924
\ConfigureEnv{Theorem}
16925
{\HCode{<div class="Theorem">}} {\HCode{</div>}} {}{}
16926
\ConfigureEnv{anmerkung}
16927
{\HCode{<div class="anmerkung">}} {\HCode{</div>}} {}{}
16928
\ConfigureEnv{beispiel}
16929
{\HCode{<div class="beispiel">}} {\HCode{</div>}} {}{}
16930
\ConfigureEnv{bemerkung}
16931
{\HCode{<div class="bemerkung">}} {\HCode{</div>}} {}{}
16932
\ConfigureEnv{beweis}
16933
{\HCode{<div class="beweis">}} {\HCode{</div>}} {}{}
16934
\ConfigureEnv{corollary}
16935
{\HCode{<div class="corollary">}} {\HCode{</div>}} {}{}
16936
\ConfigureEnv{definition}
16937
{\HCode{<div class="definition">}} {\HCode{</div>}} {}{}
16938
\ConfigureEnv{example}
16939
{\HCode{<div class="example">}} {\HCode{</div>}} {}{}
16940
\ConfigureEnv{korollar}
16941
{\HCode{<div class="korollar">}} {\HCode{</div>}} {}{}
16942
\ConfigureEnv{lemma}
16943
{\HCode{<div class="lemma">}} {\HCode{</div>}} {}{}
16944
\ConfigureEnv{proof}
16945
{\HCode{<div class="proof">}} {\HCode{</div>}} {}{}
16946
\ConfigureEnv{proposition}
16947
{\HCode{<div class="proposition">}} {\HCode{</div>}} {}{}
16948
\ConfigureEnv{remark}
16949
{\HCode{<div class="remark">}} {\HCode{</div>}} {}{}
16950
\ConfigureEnv{satz}
16951
{\HCode{<div class="satz">}} {\HCode{</div>}} {}{}
16952
\ConfigureEnv{theorem}
16953
{\HCode{<div class="theorem">}} {\HCode{</div>}} {}{}
16958
\<config hyperref form 4\><<<
16960
{\IgnorePar\EndP\leavevmode \Tg<form \Hnewline \Attributes>}
16961
{\IgnorePar\EndP\Tg</form>}
16964
\<configure html4 hyperref\><<<
16965
|<config hyperref form 4|>
16966
|<hyperref shared|>
16967
|<hyperref TextField|>
16968
|<hyperref multiline|>
16969
|<hyperref password|>
16972
\NewConfigure{::action}{1}
16973
\Configure{::action}
16974
{\edef\Attributes{\Attributes\space action="\AttributeVal"}}
16975
\NewConfigure{::method}{1}
16976
\Configure{::method}
16977
{\edef\Attributes{\Attributes\space method="\AttributeVal"}}
16978
\NewConfigure{PushButton::}{1}
16979
\Configure{PushButton::}
16980
{\leavevmode\Tg<input type="button" \Attributes\space/>}
16981
\NewConfigure{Reset::}{1}
16982
\Configure{Reset::}
16983
{\leavevmode\Tg<input type="reset" \Attributes\space/>}
16984
\NewConfigure{Submit::}{1}
16985
\Configure{Submit::}
16986
{\leavevmode\Tg<input type="submit" \Attributes\space/>}
16987
\NewConfigure{CheckBox::}{2}
16988
\Configure{CheckBox::}
16989
{\leavevmode\Tg<input type="checkbox" \Attributes\space/>}{}
16990
\NewConfigure{CheckBox::checked}{2}
16991
\Configure{CheckBox::checked}
16992
{\leavevmode\Tg<input type="checkbox" checked="checked"
16993
\Attributes\space/>}{}
16997
\<hyperref shared\><<<
16998
\NewConfigure{::value}{1}
16999
\Configure{::value}
17000
{\edef\Attributes{\Attributes\space value="\AttributeVal"}}
17001
\NewConfigure{::name}{1}
17003
{\edef\Attributes{\Attributes\space name="\AttributeVal"}}
17004
\NewConfigure{::default}{1}
17005
\Configure{::default}
17006
{\let\::default=\AttributeVal}
17007
\def\get:int#1.#2//{\tmp:cnt=#1 }
17011
\NewConfigure{::borderwidth}{1}
17012
\Configure{::borderwidth}
17013
{\Css{div\#form-\form:id {border-width: \AttributeVal;
17014
border-style:solid;}}}
17015
\NewConfigure{::bordercolor}{1}
17016
\Configure{::bordercolor}
17017
{\expandafter\get:colors\AttributeVal//%
17018
\Css{div\#form-\form:id {border-color:\AttributeVal}}}
17019
\def\get:colors#1 #2 #3//{%
17020
\get:color{#1}\edef\AttributeVal{\the\tmp:cnt\%}%
17021
\get:color{#2}\edef\AttributeVal{\AttributeVal,
17023
\get:color{#3}\edef\AttributeVal{rgb(\AttributeVal,
17027
\tmp:dim=#1pt \multiply\tmp:dim by 100
17028
\expandafter\get:int\the\tmp:dim//}
17033
\<hyperref on...\><<<
17035
\NewConfigure{::#1}{1}%
17037
{\edef\Attributes{\Attributes\space #1="\AttributeVal"}}}
17042
\:tempc{ondblclick}
17045
\:tempc{onkeypress}
17047
\:tempc{onmousedown}
17048
\:tempc{onmousemove}
17049
\:tempc{onmouseout}
17050
\:tempc{onmouseover}
17055
\<hyperref TextField\><<<
17056
\NewConfigure{TextField::}{2}
17057
\Configure{TextField::}{}{ \Tg<input type="text" \Attributes />}
17058
\NewConfigure{TextField::width}{1}
17059
\Configure{TextField::width}
17060
{\tmp:dim=\AttributeVal \divide\tmp:dim by 6
17061
\expandafter\get:int\the\tmp:dim//%
17062
\edef\Attributes{\Attributes\space size="\the\tmp:cnt"}}
17063
\NewConfigure{TextField::default}{1}
17064
\Configure{TextField::default}
17065
{\edef\Attributes{\Attributes\space value="\AttributeVal"}}
17067
\<hyperref multiline\><<<
17068
\NewConfigure{TextField::multiline}{2}
17069
\Configure{TextField::multiline}
17072
\Attributes>\expandafter\set:ln\multiline:value,|<par del|>%
17073
\global\let\multiline:value=\empty \Tg</textarea>}
17075
\let\multiline:value=\empty
17076
\def\set:ln#1,#2|<par del|>{#1%
17077
\def\:temp{#2}\ifx \:temp\empty \else
17078
\hfil\break \def\:temp{\set:ln#2|<par del|>}%
17081
\NewConfigure{multiline::value}{1}
17082
\Configure{multiline::value}
17083
{\let\multiline:value=\AttributeVal}
17085
\NewConfigure{multiline::width}{1}
17086
\Configure{multiline::width}
17087
{\tmp:dim=\AttributeVal \divide\tmp:dim by 6
17088
\expandafter\get:int\the\tmp:dim//%
17089
\edef\Attributes{\Attributes\space cols="\the\tmp:cnt"}}
17091
\NewConfigure{multiline::height}{1}
17092
\Configure{multiline::height}
17093
{\tmp:dim=\AttributeVal \divide\tmp:dim by 6
17094
\expandafter\get:int\the\tmp:dim//%
17095
\edef\Attributes{\Attributes\space rows="\the\tmp:cnt"}}
17098
\<hyperref password\><<<
17099
\NewConfigure{TextField::password}{2}
17100
\Configure{TextField::password}
17101
{}{\Tg<input type="password" \Attributes />}
17104
\<hyperref shared\><<<
17105
\def\Default:Checked#1{%
17106
\ifx #1\Un:Def \let\:temp=\empty \else
17109
\edef\:temp{\def\:temp####1#1#1####2//{\def\:temp{####2}}%
17110
\:temp \AttributeVal #1=#1#1//%
17111
\def\:tempa####1=####2//{\def\noexpand\AttributeVal{####1}}%
17112
\:tempa\AttributeVal=//}%
17118
\<hyperref radio\><<<
17119
\NewConfigure{ChoiceMenu::radio}{5}
17120
\Configure{ChoiceMenu::radio}
17121
{\IgnorePar\EndP\leavevmode
17122
\Tg<div id="form-\form:id">\gHAdvance\form:id by 1 }
17123
{ }{\IgnorePar\EndP\Tg</div>}
17124
{\Default:Checked\radio::default
17125
\Tg<input\Hnewline type="radio"
17126
\ifx \:temp\empty\else checked="checked" \fi
17127
\Attributes\space />}
17129
\NewConfigure{radio::default}{1}
17130
\Configure{radio::default}
17131
{\let\radio::default=\AttributeVal}
17134
\<hyperref radio\><<<
17135
\NewConfigure{ChoiceMenu::combo}{5}
17136
\Configure{ChoiceMenu::combo}
17138
{~\Tg<select\Hnewline \Attributes \Hnewline size="1">}
17140
{\Tg<option \ifx\::default\AttributeVal selected="selected"\fi
17143
\NewConfigure{combo::default}{1}
17144
\Configure{combo::default}
17145
{\let\combo::default=\AttributeVal}
17148
\<hyperref radio\><<<
17149
\NewConfigure{ChoiceMenu::popdown}{5}
17150
\Configure{ChoiceMenu::popdown}
17151
{}{\HCode{\Hnewline <select \Attributes \Hnewline size="1">}}
17153
{\Tg<option \ifx\::default\AttributeVal selected="selected"\fi
17154
\Hnewline>} {\Tg</option>}
17157
The \verb'size="1"' makes the select a popout memnu
17158
\<hyperref radio\><<<
17159
\NewConfigure{ChoiceMenu::}{5}
17160
\Configure{ChoiceMenu::}
17161
{}{\HCode{\Hnewline <select\Hnewline \Attributes>}}{\Tg</select>}
17162
{\Tg<option \ifx\::default\AttributeVal selected="selected"\fi
17163
\Hnewline>} {\Tg</option>}
17164
\NewConfigure{::menulength}{1}
17165
\Configure{::menulength}
17166
{\edef\Attributes{\Attributes\space size="\AttributeVal"}}
17170
\<configure html4 hyperref\><<<
17171
\ifx \@baseurl\@empty \else
17173
{\HCode{<base href="\:baseurl" />}}
17174
\let\:baseurl\@baseurl
17175
\let\@baseurl=\@empty
17180
%%%%%%%%%%%%%%%%%%%%
17182
%%%%%%%%%%%%%%%%%%%%
17184
\<configure html4 web\><<<
17185
\Configure{webversion} {\\} {}
17186
\Configure{webuniversity}
17187
{\Tg<div class="webuniversity">} {\Tg</div>}
17188
\Css{div div.webuniversity {color : rgb(0\%,0\%,80\%);
17189
margin-bottom: 1em; text-align: center;}}
17191
\Configure{maketitle}
17192
{\IgnorePar\EndP\par\Tg<div class="maketitle">}
17193
{\IgnorePar\EndP\par\Tg</div>}
17194
\Css{div.maketitle {text-align: center;
17195
margin-left: 3em; margin-right: 3em; }}
17197
\Configure{HColor}{webgreen}{rgb(0\%,50\%,0\%)}
17198
\Configure{HColor}{webbrown}{rgb(60\%,0\%,0\%)}
17199
\Configure{HColor}{webyellow}{rgb(98\%,92\%,73\%)}
17200
\Configure{HColor}{webgray}{rgb(75.3\%,75.3\%,75.3\%)}
17201
\Configure{HColor}{webblue}{rgb(0\%,0\%,80\%)}
17206
\<configure html4 exerquiz\><<<
17211
\<32,4 exerquiz\><<<
17212
\Configure{Form}{}{}
17213
\Configure{@HEAD}{\input exerqz.4ht }
17214
\Css{.onClick {color:green;}}
17215
\Configure{TextField::}{}{%
17217
\HCode{<form action="." name="form\quiz@total"><input
17218
type="text"\Hnewline \Attributes /></form>}%
17220
\Configure{javascript}{JavaScript:}
17223
\<32,4 exerquiz\><<<
17224
\ifx \eq@sqrtmsg\:UnDef
17225
\def\eq@sqrtmsg{"Right!"}
17227
\ifx \eq@sqwgmsg\:UnDef
17228
\def\eq@sqwgmsg{"Wrong!"}
17230
\Configure{shortquiz}
17232
{alert(\eq@sqrtmsg,3);}
17233
{alert(\eq@sqwgmsg,3);}
17237
ProcessQuestion (\ANS,"\alph{quizno}",\thequestionno,
17238
1,"\eq@bqlabel",\Quiz:N)}
17239
{InitializeQuiz("\quiz@total",
17240
\ifeq@nocorrections0\else1\fi,\Quiz:N,\LikeRef{ans-\Quiz:N},
17242
{QuizEnd("\:bqlabel",\thequestionno,"\quiz@total",\Quiz:N)}
17243
{Corrections("\eq@RC","\eq@AC",\Quiz:N)}
17247
ProcessQuestion (\ANS,"[]",\thequestionno,
17248
0,"\eq@bqlabel",\Quiz:N)}
17249
{InitializeQuiz("\quiz@total",
17250
\ifeq@nocorrections0\else1\fi,\Quiz:N,
17251
\LikeRef{ans-\Quiz:N},"","")}
17257
ProcessQuestion(\ANS,"\alph{quizno}",\thequestionno,
17258
0,"\eq@bqlabel",\Quiz:N)}
17262
\<32,4 exerquiz\><<<
17263
\ConfigureEnv{shortquiz}
17264
{\IgnorePar\EndP\leavevmode} {} {}{}
17265
\Configure{ReturnTo}{\begin{flushright}}{\end{flushright}}
17269
\ConfigureList{questions}%
17270
{\EndP\HCode{<ol type="1" class="questions"\Hnewline
17271
>}|<save end:itm|>\global\let\end:itm=\empty}
17272
{|<recall end:itm|>\EndP\HCode{</li></ol>}\ShowPar}
17273
{\end:itm \global\def\end:itm{\EndP\Tg</li>}\DeleteMark}
17274
{\HCode{<li class="questions">}\AnchorLabel}
17281
\ifOption{#2}{\def\a:charset{#2}}{}
17282
\def\:tempa{#1}\ifx \eqOutOf\:tempa
17283
\def\A:charset{#2}\ifx \A:charset\empty\else
17284
\def\A:charset{#2}%
17286
\a:temp{sur}{charset=iso-8859-2}
17287
\a:temp{von}{charset=iso-8859-2}
17293
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
17294
% exerqz.4ht |version %
17295
% Copyright (C) |CopyYear.1999. %
17296
% Donald P. Story & Eitan M. Gurari %
17297
|<TeX4ht copyright|>
17299
|<predefined exerquiz javascript|>
17302
\<predefined exerquiz javascript\><<<
17304
var QuizInitialized;
17313
function InitializeQuiz(qtfield,mark,quizN,ansN,lbrc,rbrc) {
17316
CurrentQuizNo=quizN;
17317
eval( 'document.form'+qtfield+'.'+qtfield+'.value="$eqScore";' )
17318
RightWrong=new Array();
17320
Responses=new Array();
17321
ResponsesAddr=new Array();
17324
CorAddr=new Array();
17326
for(var i=1; i<=ansN; i++){
17334
if( ResponsesAddr[probno] != null ){
17335
if (notify == 0 ) {
17336
ResponsesAddr[probno].value=Responses[probno];
17338
ResponsesAddr[probno].value="("+Responses[probno]+")";
17340
qthis.value = "#"; ResponsesAddr[probno]=qthis;
17344
for(var i in Responses){
17345
if (prev_notify == 0 ) {
17346
ResponsesAddr[i].value=Responses[i];
17348
ResponsesAddr[i].value="("+Responses[i]+")";
17352
% if( Responses != null ){
17355
eval('Cor[k]=thisform'+quizN+'.ans'+quizN+'x'+i+'.value');
17356
eval('CorAddr[k]=thisform'+quizN+'.ans'+quizN+'x'+i);
17360
CorAddr[i].value=Cor[i];
17364
% if( Cor != null ){
17366
\<predefined exerquiz javascript\><<<
17368
function href(addr) { top.location.href=addr; }
17372
% function href(addr) { window.navigate(addr); }
17375
\<predefined exerquiz javascript\><<<
17377
function Corrections(lbl1,lbl2,quizN) {
17378
if ( (EndQuizPushed == 1) && ( CurrentQuizNo == quizN ) ){
17379
for(var i in RightWrong){
17380
if( (RightWrong[i]==0) ){
17382
eval('thisform'+quizN+'.ans'+quizN+'x'+i+'.value= "*"');
17388
\<32,4 exerquiz\><<<
17389
\immediate\write16{%
17390
***********************************************************\Hnewline
17391
The `\eq@CA' button fails under Netscape, \Hnewline
17392
due to a code of the following form.\Hnewline
17394
<html><head><title>?</title>\Hnewline
17395
<script\space type="text/JavaScript"\space ><!--\space \Hnewline
17396
\space \space \space function\space f()\space {\Hnewline
17397
\space \space \space \space \space formxx.inputxx.value="BBB";\Hnewline
17398
\space \space \space}\Hnewline
17399
//-->\space \Hnewline
17400
</script>\space \space </head>\space <body>\Hnewline
17402
<form\space id="formxx">\space \space \Hnewline
17403
\space \space \space <input\space type="text"\space
17404
\space name="foo"\space id="inputxx"\space
17405
\space value="AAA"\space />\Hnewline
17406
\space \space \space <input\space value="\eq@CA"\space
17407
type="button"\space \space \space onClick="f()"\space />\Hnewline
17408
\space \space \space <input\space value="CLEAR"\space
17409
type="reset"\space \space \space onClick="clear()"\space />\Hnewline
17415
If you know how to fix the function f() above for Netscape,\Hnewline
17416
without changing the id attribute names, please consider\Hnewline
17417
emailing the fix to gurari@cse.ohio-state.edu. Thanks\Hnewline
17418
***********************************************************}
17420
\<predefined exerquiz javascript\><<<
17422
function LinkTo(addr) {
17427
\<exerqz's vars\><<<
17428
\def\eqXInitQuizMsg{\hbox{%
17429
\let\noexpand|=\string
17430
\csname eq@InitQuizMsg\endcsname}}
17431
\expandafter\ifx \csname eq@InitQuizMsg\endcsname\relax
17432
\expandafter\def\csname eq@InitQuizMsg\endcsname{
17433
"You must initialize the Quiz! Click on "+bqlabel}
17435
\def\eqXQuizTotalMsg{\hbox{%
17436
\let\noexpand|=\string
17437
\def\thequestionno{"+thequestionno+"}%
17438
\csname eq@QuizTotalMsg\endcsname}}
17439
\expandafter\ifx \csname eq@QuizTotalMsg\endcsname\relax
17440
\expandafter\def\csname eq@QuizTotalMsg\endcsname{"Score: '
17441
+Score +' out of '+thequestionno+'"}
17443
\def\eqXMadeChoice{\hbox{%
17444
\let\noexpand|=\string
17445
\csname eq@MadeChoice\endcsname}}
17446
\expandafter\ifx \csname eq@MadeChoice\endcsname\relax
17447
\expandafter\def\csname eq@MadeChoice\endcsname{
17448
"You have already made a choice. Your choice was ("
17449
+Responses[probno]+")."
17450
+" Do you want to change it?"}
17452
\expandafter\ifx \csname eqScore\endcsname\relax
17453
\def\eqScore{Score:}
17457
The \verb'Wollen Sie dies \noexpand\344ndern?' is a problem because it
17458
takes the \verb'\344' into \verb'44'. A \verb'\string' will properly
17459
produce \verb'\344'; hence, the above dirty trick.
17462
Doesn't IE escape in the way that Acrobat JavaScript does?
17464
Another possibility is to use String.fromCharCode()
17466
Convert Octal \344 to decimal 228, then use
17467
String.fromCharCode(228)
17470
How to deliver browser specific content using JavaScript
17473
<SCRIPT LANGUAGE="JavaScript">
17475
if( -1 != navigator.userAgent.
17478
// load America Online version
17479
location.href="aol.htm";
17482
if( -1 != navigator.userAgent.
17485
// load Microsoft Internet
17486
// Explorer version
17487
location.href="msie.htm";
17490
if( -1 != navigator.userAgent.
17491
indexOf ("Mozilla") )
17493
// load Netscape version
17494
location.href="netscape.htm";
17498
// load other version
17499
location.href="other.htm";
17506
\<predefined exerquiz javascript\><<<
17508
function QuizEnd(bqlabel,thequestionno,quiztotal,quizN){
17509
if ((QuizInitialized !=1) |||| ( CurrentQuizNo!= quizN )){
17510
alert($eqXInitQuizMsg,3);
17512
eval( 'document.form'+quiztotal+'.'+quiztotal+
17513
'.value=$eqXQuizTotalMsg');
17514
QuizInitialized=-1;
17520
function ProcessQuestion
17521
(key,letterresp,probno,notify,bqlabel,quizN) {
17522
if ((QuizInitialized !=1) |||| ( CurrentQuizNo!= quizN )){
17523
alert($eqXInitQuizMsg,3);
17525
|<function ProcUserResp(key,letterresp,probno,notify)|>
17526
prev_notify = notify;
17531
\<function ProcUserResp(key,letterresp,probno,notify)\><<<
17532
if (Responses[probno] == null) {
17535
RightWrong[probno]=1;
17538
RightWrong[probno]=0;
17540
Responses[probno]=letterresp;
17546
User=confirm($eqXMadeChoice);
17548
if (RightWrong[probno]==1) {
17551
RightWrong[probno]=0;
17553
Responses[probno]=letterresp;
17559
RightWrong[probno]=1;
17561
Responses[probno]=letterresp;
17564
RightWrong[probno]=0;
17566
Responses[probno]=letterresp;
17585
\<title for hypertext page\><<<
17586
\Configure{TITLE+}{\HCode{\jobname.\:html}}
17589
\<0,32,4 latex\><<<
17590
\ifTag{TITLE+}{\Configure{TITLE+}{\LikeRef{TITLE+}}}{}
17593
Was \verb'\ifTag{TITLE+}{\Configure{TITLE+}{\HCode{\LikeRef{TITLE+}}}}{}',
17594
but the \verb'\HCode' leaves \verb'\Protect' in for the latter comamnds which arrive
17595
to the title--the original motivation for the \verb'\HCode' was to
17596
protect the title from undesirable tags. Something like \verb+H\`ello+ can
17597
send it. It now sems to be more trouble than help.
17602
\<config tex4ht\><<<
17603
|<0,32,4 preambles|>
17604
\ifx \a:FontCss:\:UnDef
17605
\Configure{FontCss}{Font\string_Css##1}
17606
{Font\string_Css\string_Plus\space##1}
17608
\expandafter\ifx \csname aa:Css\endcsname\relax
17609
\Configure{Css}{Css: ##1}
17611
\:CheckOption{edit} \if:Option
17612
\Configure{edit}{\HCode{<strong><}}{\HCode{></strong>}}
17613
{<strong><}{></strong>}
17615
\:CheckOption{hooks++} \if:Option
17616
\else \:CheckOption{hooks+} \if:Option
17617
\else \:CheckOption{hooks} \if:Option
17621
{\HCode{<strong class="hooks"><}}{\HCode{></strong>}}{}{}
17623
\Configure{ExitHPage}{exit}{exit }{}
17624
\Configure{TocLink}{\Link{#2}{#3}#4\ifvmode\IgnorePar\fi\EndLink}
17625
\Configure{MiniHalign}{\hlg:a}{\hlg:b}\hlg:c\hlg:d{\hlg:e}\hlg:f
17626
\:CheckOption{no-halign} \if:Option \else
17627
\Configure{noalign-}{}{}
17629
\Configure{PictureAlt*+}
17630
{\let\sv:HtmlPar|=\HtmlPar \let\HtmlPar|=\empty
17631
|<postscript for /Picture|>%
17632
|<tex halign and cr/crcr|>%
17633
\NoFonts\csname PauseMathClass\endcsname \SUBOff \SUPOff
17634
\let\HCode|=\:gobble |%\offinterlineskip|%
17635
\let\EndPicture|=\empty}
17636
{\let\HCode|=\:HCode
17637
\let\EndPicture|=\:UnDef \let\HtmlPar|=\sv:HtmlPar \SUBOn \SUPOn
17638
\csname EndPauseMathClass\endcsname \EndNoFonts
17639
|<tex4ht halign and cr/crcr|>%
17640
|<delay postscript|>}
17644
Was \verb+\SUBOff \SUPOff+. Any problems?
17646
\<postscript for /Picture\><<<
17647
\def\PsCode##1{{\ht:special{\PsCodeSpecial##1}}}%
17650
\<tex halign and cr/crcr\><<<
17652
\let\sv:halign|=\halign
17654
\let\sv:crcr|=\crcr
17656
\RecallTeXcr \let\halign |=\TeXhalign
17659
\<tex4ht halign and cr/crcr\><<<
17661
\let\halign|=\sv:halign
17663
\let\crcr|=\sv:crcr
17667
\<delay postscript\><<<
17668
\let\PsCode|=\relax
17671
\<config tex4ht\><<<
17672
\Configure{writetoc}{}
17675
\<config tex4ht\><<<
17676
\Configure{CutAtTITLE+}{}
17677
\Configure{HPageTITLE+}{}
17678
\Configure{AtBeginDocument}
17679
{\edef\recallcatcodes{%
17680
\catcode`\noexpand\_|=\the\catcode`\_
17681
\catcode`\noexpand\^|=\the\catcode`\^ }%
17682
\catcode`\_=8\catcode`\^=7}
17686
\<config tex4ht\><<<
17687
\Configure{crosslinks}{[}{]
17688
}{next}{prev}{prev-|<tail|>}{front}{tail}{up}
17689
\:CheckOption{next} \if:Option
17691
{\ShowPar\par\noindent \HCode{<span class="next">}[}
17693
\Css{@media print {span.next {visibility:hidden;}}}
17696
\Configure{halignTB}{\HCode{<table }}{\HCode{>}}
17697
\def\R:HA{\HCode{<tr \Hnewline}\halignTR\HCode{>}}
17698
\def\r:HA{\HCode{</tr>}}
17699
\def\D:HA{\SaveEndP \HCode{<td \ifnum \HMultispan>1 colspan="\HMultispan"\fi}%
17700
\halignTD \HCode{\Hnewline>}\ShowPar\par}
17701
\def\d:HA{\ifvmode \IgnorePar \fi \EndP\HCode{</td>}\RecallEndP}
17702
\Configure{HVerbatim+}{\z@}{\:nbsp}
17703
\Configure{CssFile}{\jobname.css}
17704
{/* \aa:CssFile\space from \jobname.tex (TeX4ht, \:today) */}
17705
\Configure{Picture+}{}{}
17706
\Configure{Picture*}{}{}
17707
\Configure{Picture-alt}{[Picture]}
17708
\Configure{Needs}{l.
17709
\the\inputlineno\space--- needs --- #1 ---}
17710
\Configure{Needs-}{l.
17711
\the\inputlineno\space--- needs --- #1 ---}
17715
\<config tex4ht\><<<
17716
\Configure{moveright}{\leavevmode\endgraf }
17717
\Configure{HChar}{x}
17722
\def\SPAN:#1{\HCode{<span class="#1">}}
17723
\def\EndSPAN:{\HCode{</span>}}
17724
\def\DIV:#1{\HCode{<div class="#1">}}
17725
\def\EndDIV:{\HCode{</div>}}
17730
\section{Interpretation for the Entries}
17735
Use \verb'\ ', and not \verb'~', in style files, because some
17736
users redefine the latter macro.
17738
\<html latex tocs\><<<
17739
\def\:SPAN#1#2{\HCode{<span class="#1">}#2\HCode{</span>}}
17743
\section{latin1.def}
17746
\<configure html4 latin1\><<<
17747
\def\HTitleText#1{%
17756
{\DeclareInputText{168}{"}%
17824
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
17826
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
17829
\<configure html4 syntax\><<<
17830
\ConfigureEnv{grammar}
17831
{\Picture*{}} {\EndPicture}
17837
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
17838
\section{???????????}
17839
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
17842
\<article,report,book\><<<
17844
\Configure{listof}{}{}{}{\HCode{<br\xml:empty>}}{}{}
17848
\ConfigureEnv{quotation}
17850
{\IgnorePar\EndP\HCode{<div class="quotation">}}
17851
{\IgnorePar\EndP\HCode{</div>}\ShowPar}
17852
\Css{.quotation {margin-bottom:0.25em;
17853
margin-top:0.25em; margin-left:1em; }}
17871
\<PICT dot tabbing\><<<
17872
\:CheckOption{pic-tabbing'} \if:Option
17873
\edef\:temp{\LikeRef{|<tabbing tag|>.}}%
17874
\def\:tempa{.}\ifx \:temp\:tempa
17875
\ConfigureEnv{tabbing}{\Picture*{}}{\EndPicture}{}{}
17911
\<configure html4 titlesec\><<<
17912
\ConfigureMark{section}
17913
{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble
17914
\else \csname thetitlesection\endcsname\fi}
17915
\Configure{section}{}{}
17916
{\IgnorePar \EndP\IgnorePar\HCode{<h3 class="sectionHead"\a:LRdir>}
17918
{\HCode{</h3>}\IgnoreIndent}
17927
\section{fontmath.ltx}
17930
\<configure html4-math fontmath\><<<
17931
|<32,4 picmath: plain, fontmath, amsmath, amstex1|>
17932
|<picmath plain,fontmath|>
17933
|<html4-math plain,fontmath|>
17970
\<configure html4-math tex4ht\><<<
17971
|<32,4 picmath tex4ht|>
17972
\Configure{PicMath}{}{}{}{ class="math" }
17973
\Css{img.math{vertical-align:middle;}}
17974
|<contribute to picmath of 4.0t|>
17979
% {\:xhtml{\IgnorePar\EndP}%
17980
% \HCode{<div class="displaymath">}}
17981
% {\HCode{</div>}|<try env inline par|>} {}
17982
% \Css{div.displaymath{text-align:center;}}
17987
\<try env inline par\><<<
17991
\<try inline par\><<<
17992
\ShowPar \par{\HCondtrue\noindent}%
17997
\<32,4 picmath tex4ht\><<<
17998
\:CheckOption{no_^}
17999
\if:Option \else \:CheckOption{no_}\fi
18002
{\HCode{<sub \csname :SUB:\endcsname>}}{\HCode{</sub>}}
18005
\:CheckOption{no_^}
18006
\if:Option \else \:CheckOption{no^}\fi
18009
{\HCode{<sup \csname :SUP:\endcsname>}}{\HCode{</sup>}}
18012
\:CheckOption{no_^}
18013
\if:Option \else \:CheckOption{no_}\fi
18014
\if:Option \else \:CheckOption{no^}\fi
18017
{\HCode{<sub>}}{\HCode{</sub><sup>}}{\HCode{</sup>}}
18020
{\Picture+{ \a:@Picture{left}}}
18021
{\aftergroup\EndPicture }
18022
\Configure{mathchoice}{\PictureOff}{\PictureOn}
18026
\verb'\endgraf' is safer than \verb'\par', because the latter may be redefined.
18027
For instance, see p 262 in texbook.
18029
\<configure html4-math tex4ht\><<<
18030
\let\MathPar|=\empty
18031
\Configure{PicDisplay}
18032
{\edef\MathPar{\ifvmode par-\fi}\IgnorePar\endgraf\EndP
18033
\HCode{<center class="\MathPar math-display" \a:LRdir >}}
18034
{\HCode{</center>}} {} {class="\MathPar math-display" }
18037
% \Css{img.mathdisplay, div.displaymath, img.par-mathdisplay,
18038
% div.par-displaymath { margin-top: 1em;
18039
% margin-bottom: 1em; }}
18040
% \Css{center img.mathdisplay, td img.mathdisplay,
18041
% center img.par-mathdisplay,
18042
% td img.par-mathdisplay { margin-top: 0;
18043
% margin-bottom:0 ; }}
18053
\<temp hcode accents\><<<
18054
\HCode{&\expandafter \ifx\csname U#2#1\endcsname\relax
18055
#2#1\else \#x\csname U#2#1\endcsname\fi;}%
18061
xmlns="http://www.w3.org/1999/xhtml"
18069
\subsection{TeX Engine}
18072
The \verb'\trap:base' is to catch empty bases of exponents like, e.g.,
18073
in \verb'$a^{^b}$'.
18080
\Configure{\expandafter\:gobble\string#1*}{*}%
18082
class="\expandafter\:gobble\string#1">}{</|.mrow>}%
18083
{\Configure{\expandafter\:gobble\string#1}{}{}{}{}}#1}%
18085
\<recall dvimath par\><<<
18089
\<sv dvimath par\><<<
18090
\edef\sv:ignore{\if:nopar
18091
\noexpand\IgnorePar\else \noexpand\ShowPar\fi}%
18095
The \verb'\MathRow' requests a \verb'<|.mrow\Hnewline>...</|.mrow>', instead of the contributions
18096
of \verb'\mathop', \verb'\mathrel',...., for the next parameter.
18103
\subsection{latex.ltx}
18109
Definitions like \verb'\def\mathbf#1{\a:mathbf#1\b:mathbf}'
18110
can't be done on a global level, because \verb'\mathbf' is just
18111
a name of a font. So, for instance, \verb'\bf' expands to \verb'\mathbf',
18112
and so \verb'$\bf R$' indirectly brings up the latter command.
18118
\subsection{Palin + LaTeX}
18120
The default \verb'\left' and \verb'\right' in their default definition
18121
with tex produce multi-part delimiters, from cmex, on large
18122
subformulas. Hence, the `'.' below is needed.
18126
% \def\:tempa{\{}\ifx \:tempa\:DEL \let\:DEL\lbrc: \else
18127
% \def\:tempa{\}}\ifx \:tempa\:DEL \let\:DEL\rbrc: \else
18128
% \def\:tempa{<}\ifx \:tempa\:DEL \def\:DEL{\string<}\else
18129
% \def\:tempa{>}\ifx \:tempa\:DEL \def\:DEL{\string>}%
18131
% \edef\lbrc:{\string{} \edef\rbrc:{\string}}
18133
% \HCode{\string#1;}%
18137
Had `BASELINE' before `MIDDLE', but changed to conform with math
18138
in page 252-- in intro to theory book.
18142
\section{Big, BIG, ....}
18145
\verb'\special{t4ht@[}...\special{t4ht@]}' gobble the enclosed stuff.
18146
The external pair is provided as grouping mechanism for
18147
sub/super-scripts cases like \verb'\bigl(...\bigr)^x' within dvimath
18148
mode. The \verb'{\HCode{}}' is neded for creating content delimiters
18149
\verb'.' delimiters like in \verb'$\bigl. a_b \bigr)$'; without that mathml
18150
gets something wrong there.
18151
\verb+\bigl{.}+ et al produce empty para,etr , hence the \verb+\:EMPTY+ is a ompensation for such cases.
18161
\<configure html4 exam\><<<
18162
\ifx \ps@examheadings\:unDef \else
18165
\ifx \@checkqueslevel\:unDef \else
18166
|<Hirschhorns' exam|>
18168
\ifx \@OneKeyHook\:unDef \else
18169
|<Alexanders' exam|>
18174
\<Hirschhorns' exam\><<<
18175
\Configure{uplevel}
18176
{\ifvmode \IgnorePar \fi \EndP \HCode{<div class="uplevel">}}
18177
{\ifvmode \IgnorePar \fi \EndP \HCode{</div>}}
18178
\Configure{fullwidth}
18179
{\ifvmode \IgnorePar \fi \EndP \HCode{<div class="fullwidth">}}
18180
{\ifvmode \IgnorePar \fi \EndP \HCode{</div>}}
18181
\Css{dl .uplevel, .fullwidth{margin-left:-2.5em;}}
18182
\Css{dl dl .fullwidth {margin-left:-5em;}}
18183
\Css{dl dl dl .fullwidth {margin-left:-7.5em;}}
18186
\<Hirschhorns' exam\><<<
18187
\ConfigureEnv{questions}
18188
{\ifvmode \IgnorePar \fi \EndP \HCode{<div class="questions">}}
18189
{\ifvmode \IgnorePar \fi \EndP \HCode{</div>}}
18191
\ConfigureEnv{parts}
18192
{\ifvmode \IgnorePar \fi \EndP \HCode{<div class="parts">}}
18193
{\ifvmode \IgnorePar \fi \EndP \HCode{</div>}}
18195
\ConfigureEnv{subparts}
18196
{\ifvmode \IgnorePar \fi \EndP \HCode{<div class="subparts">}}
18197
{\ifvmode \IgnorePar \fi \EndP \HCode{</div>}}
18202
\<Hirschhorns' exam\><<<
18203
\Configure{setpoints}
18204
{\HCode{<span class="setpoints">}} {\HCode{</span>}}
18211
\ConfigureEnv{exam}
18212
{\ifvmode \IgnorePar \fi \EndP \HCode{<div class="exam">}}
18213
{\ifvmode \IgnorePar \fi \EndP \HCode{</div>}}
18215
\ConfigureEnv{problem}
18216
{\ifvmode \IgnorePar \fi \EndP \HCode{<div class="problem">}}
18217
{\ifvmode \IgnorePar \fi \EndP \HCode{</div>}}
18219
\Css{.problem{border-bottom: 1px solid black;}}
18220
\Configure{scorebox}
18221
{\ifvmode \IgnorePar \fi \EndP \HCode{<div class="scorebox">}
18222
\bgroup\Configure{fbox}{\leavevmode}{}}
18223
{\egroup\ifvmode \IgnorePar \fi \EndP \HCode{</div>}}
18224
\Css{.scorebox{margin-left:90\%; border: 1px solid black;}}
18228
\<Alexanders' exam\><<<
18229
\Configure{sectiontitle}
18230
{\ifvmode\IgnorePar\fi
18231
\EndP \HCode{<h4 class="sectiontitle">}\IgnorePar}
18232
{\ifvmode \IgnorePar \fi \EndP \HCode{</h4>}}
18235
\<Alexanders' exam\><<<
18237
{\HCode{<span class="answer">}} {\HCode{</span>}}
18238
\Css{.answer {text-decoration:underline;}}
18239
\Configure{question}
18240
{\HCode{<span class="question">}} {\HCode{</span>}}
18243
\<Alexanders' exam\><<<
18244
\Configure{instructions}
18245
{\ifvmode \IgnorePar \fi \EndP \HCode{<div class="instructions">}}
18246
{\IgnorePar\EndP \HCode{</div>}}
18250
\<Alexanders' exam\><<<
18251
\ConfigureEnv{examtop}
18252
{\ifvmode \IgnorePar \fi \EndP \HCode{<table class="examtop"><tr><td>}}
18253
{\ifvmode \IgnorePar \fi \EndP \HCode{</td></tr></table>}}
18255
\Configure{namedata}
18256
{\ifvmode \IgnorePar \fi \EndP
18257
\Configure{newline}{\HCode{</td><td
18258
class="namedata-rule"><hr /></td></tr><tr><td>}}%
18259
\HCode{</td><td><div class="namedata"><table><tr><td>}}
18260
{\ifvmode \IgnorePar \fi \EndP
18262
class="namedata-rule"><hr /></td></tr></table></div>}}
18263
\Css{td.namedata-rule {width:10em; vertical-align:bottom; }}
18264
\Css{div.namedata{text-align:right;}}
18265
\Configure{classdata}
18266
{\ifvmode \IgnorePar \fi \EndP \HCode{<h3 class="classdata">}}
18267
{\ifvmode \IgnorePar \fi \EndP \HCode{</h3>}}
18272
\<Alexanders' exam\><<<
18273
\ConfigureEnv{keytop}
18274
{\ifvmode \IgnorePar \fi \EndP \HCode{<div class="keytop">}}
18275
{\ifvmode \IgnorePar \fi \EndP \HCode{</div>}}
18280
\<Alexanders' exam\><<<
18281
\Configure{frontmatter}
18282
{\ifvmode \IgnorePar \fi \EndP \HCode{<div class="frontmatter">}}
18283
{\ifvmode \IgnorePar \fi \EndP \HCode{</div>}}
18306
\<configure html4 rotating\><<<
18307
\ConfigureEnv{turn}
18308
{\Picture+{}} {\EndPicture}
18313
\<configure html4 manju\><<<
18314
\Configure{@TITLE}{\let\@title=\empty}
18320
\<configure html4 mls\><<<
18321
\Configure{@TITLE}{\let\@title=\empty}
18333
\<configure html4 ulem\><<<
18335
{\HCode{<span class="underline">}} {\HCode{</span>}}
18337
{\HCode{<span class="underline">}} {\HCode{</span>}}
18339
{\HCode{<span class="sout">}} {\HCode{</span>}}
18340
\Css{span.sout {text-decoration: line-through }}
18342
{\HCode{<span class="xout"><span class="underline">}}
18343
{\HCode{</span></span>}}
18344
\Css{span.xout {text-decoration: line-through }}
18346
{\HCode{<span class="underline">}}
18348
\Css{span.uwave {text-decoration: line-through }}
18353
\<configure html4 go\><<<
18354
\Configure{showdiagram}
18355
{\Picture*[go]{}} {\EndPicture}
18363
\<configure html4 pifont\><<<
18364
\ConfigureList{dingautolist}
18365
{\EndP\HCode{<dl \a:LRdir class="dingautolist\expandafter\the
18366
\csname @listdepth\endcsname">}%
18367
|<save end:itm|>\global\let\end:itm=\empty}
18368
{|<recall end:itm|>\EndP\HCode{</dd></dl>}\ShowPar}
18369
{\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
18370
class="dingautolist">}}
18371
{\HCode{</dt><dd\Hnewline class="dingautolist">}}
18372
\ConfigureList{Piautolist}
18373
{\EndP\HCode{<dl \a:LRdir class="Piautolist\expandafter\the
18374
\csname @listdepth\endcsname">}%
18375
|<save end:itm|>\global\let\end:itm=\empty}
18376
{|<recall end:itm|>\EndP\HCode{</dd></dl>}\ShowPar}
18377
{\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
18378
class="Piautolist">}}
18379
{\HCode{</dt><dd\Hnewline class="Piautolist">}}
18380
\ConfigureList{Pilist}
18381
{\EndP\HCode{<dl \a:LRdir class="Pilist\expandafter\the
18382
\csname @listdepth\endcsname">}%
18383
|<save end:itm|>\global\let\end:itm=\empty}
18384
{|<recall end:itm|>\EndP\HCode{</dd></dl>}\ShowPar}
18385
{\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
18387
{\HCode{</dt><dd\Hnewline class="Pilist">}}
18391
\<configure html4 paralist\><<<
18392
\ConfigureList{asparaitem}%
18393
{\EndP\HCode{<div class="asparaitem">}\ShowPar\ShowIndent}
18394
{\EndP\HCode{</div>}\ShowPar}
18395
{\par\ShowPar{\parindent=10pt\leavevmode}}
18397
\ConfigureList{asparaenum}%
18398
{\EndP\HCode{<div class="asparaenum">}\ShowPar\ShowIndent}
18399
{\EndP\HCode{</div>}\ShowPar}
18400
{\par\ShowPar{\parindent=10pt\leavevmode}}
18402
\ConfigureList{asparadesc}%
18403
{\EndP\HCode{<div class="asparadesc">}\ShowPar\ShowIndent}
18404
{\EndP\HCode{</div>}\ShowPar}
18405
{\par\ShowPar{\parindent=10pt\leavevmode}}
18407
\ConfigureList{compactdesc}%
18408
{\EndP\HCode{<dl \a:LRdir class="compactdesc">}%
18409
|<save end:itm|>\global\let\end:itm=\empty}
18410
{|<recall end:itm|>\EndP\HCode{</dd></dl>}\ShowPar}
18411
{\end:itm \global\def\end:itm{\EndP\Tg</dd>}\HCode{<dt
18412
class="compactdesc">}\bgroup \bf}
18413
{\egroup\EndP\HCode{</dt><dd\Hnewline class="compactdesc">}}
18414
\ConfigureList{compactitem}%
18415
{\EndP\HCode{<ul>}%
18416
|<save end:itm|>\global\let\end:itm=\empty}
18417
{|<recall end:itm|>\EndP\HCode{</li></ul>}\ShowPar}
18418
{\end:itm \global\def\end:itm{\EndP\Tg</li>}\DeleteMark}
18419
{\HCode{<li class="compactitem">}}
18420
\ConfigureEnv{enumerate}
18421
{}{|<try env inline par|>}{}{}
18422
\ConfigureList{enumerate}%
18423
{\if@plalwaysadjust
18424
\EndP \HCode{<dl \a:LRdir class="enumerate">}%
18425
|<save end:itm|>\global\let\end:itm=\empty
18426
\def\para:enumII{|<recall end:itm|>\EndP
18427
\HCode{</dd></dl>}\ShowPar}%
18428
\def\para:enumIII{\end:itm \global
18430
\Tg</dd>}\HCode{<dt class="enumerate">}}%
18431
\def\para:enumIV{\EndP
18432
\HCode{</dt><dd\Hnewline class="enumerate">}}%
18435
\def\para:enumII{|<enumerate II|>}%
18436
\def\para:enumIII{|<enumerate III|>}%
18437
\def\para:enumIV{|<enumerate IV|>}%
18440
{\para:enumII} {\para:enumIII} {\para:enumIV}
18447
\<configure html4 alphanum\><<<
18448
\def\:tempc#1#2#3#4{%
18449
\ConfigureMark{toclvl#1}
18450
{\HCode{<span class="titlemark">}\csname thelvl#1\endcsname
18452
\Configure{toclvl#1}
18454
{\ifvmode \IgnorePar\fi \EndP\IgnorePar
18455
\HCode{<#4 class="toclvl#1Head"\a:LRdir>}\TitleMark\space\HtmlParOff}
18456
{\HCode{</#4>}\HtmlParOn \IgnoreIndent \par}%
18457
\ConfigureToc{toclvl#1}
18458
{|<alphanum toc spaces|>\def\:temp{\J@INumberRoot{#2}{\tmp:cnt}}%
18459
\afterassignment\:temp \tmp:cnt}
18460
{#3 \HCode{<span class="toclvl#1">}}{}
18461
{\HCode{</span><br\xml:empty>}}%
18462
\ConfigureToc{liketoclvl#1}
18463
{} {|<alphanum toc spaces|>\HCode{<span class="liketoclvl#1">}}{}
18464
{\HCode{</span><br\xml:empty>}}%
18475
\:tempc j{10}{)}{h5}
18476
\:tempc k{11}{)}{h5}
18477
\:tempc l{12}{)}{h5}
18480
\<alphanum toc spaces\><<<
18481
\tmp:cnt=0 \loop \advance\tmp:cnt by 1
18482
\ifnum \tmp:cnt<#2 ~~\repeat
18486
\ConfigureMark{toc}
18487
{\HCode{<span class="titlemark">}\csname thelvl\alph{tiefe}\endcsname
18491
{\ifvmode \IgnorePar\fi \EndP\IgnorePar
18492
\HCode{<h5 class="tocHead"\a:LRdir>}\TitleMark\space\HtmlParOff}
18493
{\HCode{</h5>}\HtmlParOn \IgnoreIndent \par}
18502
\<configure html4 alphanum\><<<
18506
\let\:tempa=\expandafter
18507
\let\expandafter=\relax
18508
\let\:TableOfContents=\relax
18512
\def\Auto:ent#1{\noexpand\Auto:ent{#1,toclvla,liketoclvla,toclvlb,%
18513
liketoclvlb,toclvlc,liketoclvlc,toclvld,liketoclvld,toclvle,%
18514
liketoclvle,toclvlf,liketoclvlf,toclvlg,liketoclvlg,toclvlh,%
18515
liketoclvlh,toclvli,liketoclvli,toclvlj,%
18516
liketoclvlj,toclvlk,liketoclvlk,toclvll,liketoclvll}}
18517
\edef\:TOC{\def\noexpand\:TOC{\:TOC}}
18534
\<configure html4 gloss\><<<
18535
\ConfigureList{glosslist}{}{}{}{}
18536
\Configure{gloss} {\Link{\gls@b}{}} {\EndLink}
18537
\Configure{glosslist}%
18539
\HCode{<dl \a:LRdir class="glosslist">}\global\let\end:glitm=\empty}
18540
{\IgnorePar\EndP\HCode{</dd></dl>}\ShowPar}
18541
{\end:glitm\gdef\end:glitm{\EndP\Tg</dd>}\HCode{<dt
18542
class="glosslist">}\Link{}{\GlossLabel}\EndLink }
18543
{\HCode{</dt><dd\Hnewline class="glosslist">}}
18544
\Css{dl.glosslist {margin-left:2em;}}
18551
\<configure html4 booktabs\><<<
18552
\Configure{toprule}
18553
{|<booktabs rule mag|>%
18554
\Css{tr\#TBL-\TableNo-\ifnum \HRow=0
18555
1- td{border-top:|<booktabs rule height|> solid}
18557
\HRow- td{border-bottom:|<booktabs rule height|> solid}
18560
\Configure{bottomrule}
18561
{|<booktabs rule mag|>%
18562
\Css{tr\#TBL-\TableNo-\HRow-
18563
td{border-bottom:|<booktabs rule height|> solid}}}
18564
\Configure{midrule}
18565
{|<booktabs rule mag|>%
18566
\Css{tr\#TBL-\TableNo-\HRow-
18567
td{border-bottom:|<booktabs rule height|> solid}}}
18568
\Configure{cmidrule}
18569
{|<booktabs rule mag|>%
18570
\Css{tr\#TBL-\TableNo-\HRow-
18571
td{border-bottom:|<booktabs rule height|> solid}}%
18572
\HCode{<!--cmidrule-->}}
18577
The cmidrule introduces ruler segments at different rows, instead of all of
18578
them in the same row.
18580
\<booktabs rule height\><<<
18581
\expandafter\x:Em \the\@thisrulewidth em
18584
\<booktabs rule mag\><<<
18585
\@thisrulewidth=\csname a:rule-mag\endcsname\@thisrulewidth
18588
\<configure html4 booktabs\><<<
18589
\NewConfigure{rule-mag}{1}
18590
\Configure{rule-mag}{0.14}
18604
\section{Endnotes.sty}
18611
\<configure html4 endnotes\><<<
18612
\Configure{makeenmark}
18613
{\Link{ennote-\endnoteN}{enmark-\endnoteN}} {\EndLink}
18614
\Configure{enoteformat}
18615
{\Link{enmark-\endnoteN}{ennote-\endnoteN}} {\EndLink}
18622
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
18624
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
18625
\<TeX4ht copyright\><<<
18627
% This work may be distributed and/or modified under the %
18628
% conditions of the LaTeX Project Public License, either %
18629
% version 1.3 of this license or (at your option) any %
18630
% later version. The latest version of this license is %
18632
% http://www.latex-project.org/lppl.txt %
18633
% and version 1.3 or later is part of all distributions %
18634
% of LaTeX version 2003/12/01 or later. %
18636
% This work has the LPPL maintenance status "maintained".%
18638
% This Current Maintainer of this work %
18639
% is Eitan M. Gurari. %
18641
% If you modify this program your changing its signature %
18642
% with a directive of the following form will be %
18644
% \message{signature} %
18646
% gurari@cse.ohio-state.edu %
18647
% http://www.cse.ohio-state.edu/~gurari %
18648
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
18649
\immediate\write-1{version |version}
18659
\<addr for Tag and Ref of Sec\><<<
18660
\xdef\:cursec{|<section html addr|>}%
18671
\OutputCode[4ht]\<exerqz\>
18672
\OutputCodE\<onmouseover.4ht\>