\:CheckOption{notoc*} \if:Option
\Configure{tableofcontents*}
{part,chapter,appendix}
\else
<.notoc* note.>
\Configure{tableofcontents*}
{part,likepart,chapter,likechapter,appendix}
\fi -_-_-
\CutAt{part}
\CutAt{likepart}
-_-_-
\:CheckOption{notoc*} \if:Option
\else
\:CheckOption{nominitoc} \if:Option
\else
<.note nominitoc.>
\TocAt*{part,/likepart,chapter,likechapter,appendix,%
section,likesection}
\TocAt*{likepart,/part,chapter,likechapter,appendix,%
section,likesection}
\fi
\fi -_-_-
\Log:Note{to eliminate mini tables of
contents, use the command line option ‘nominitoc’}
-_-_-
\:CheckOption{notoc*} \if:Option
\Configure{tableofcontents*}{part,chapter,%
appendix,section\expandafter\ifx
\csname @chapter\endcsname\relax ,subsection\fi}
\else
<.notoc* note.>
\Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
appendix,section,likesection\expandafter\ifx
\csname @chapter\endcsname\relax ,subsection,likesubsection\fi}
\fi -_-_-
\CutAt{chapter,likechapter,appendix,part}
\CutAt{likechapter,appendix,part}
\CutAt{appendix,chapter,likechapter,part}
-_-_-
\:CheckOption{notoc*} \if:Option
\Configure{tableofcontents*}{part,chapter,appendix,section%
\expandafter\ifx \csname @chapter\endcsname\relax
,subsection\fi}
\else
<.notoc* note.>
\Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
appendix,section,likesection%
\expandafter\ifx \csname @chapter\endcsname\relax
,subsection,likesubsection\fi}
\fi -_-_-
\:CheckOption{notoc*} \if:Option
\:CheckOption{nominitoc} \if:Option
\else
<.note nominitoc.>
\TocAt*{section,/likesection,/chapter,/likechapter,/appendix,/part,%
subsection,subsubsection}
\TocAt*{likesection,/section,/chapter,/likechapter,/appendix,/part,%
subsection,subsubsection}
\fi
\else
\:CheckOption{nominitoc} \if:Option
\else
<.note nominitoc.>
\TocAt*{section,/likesection,/chapter,/likechapter,/appendix,/part,%
subsection,likesubsection,subsubsection,likesubsubsection}
\TocAt*{likesection,/section,/chapter,/likechapter,/appendix,/part,%
subsection,likesubsection,subsubsection,likesubsubsection}
\fi
\fi -_-_-
\CutAt{section,likesection,chapter,likechapter,appendix,part}
\CutAt{likesection,chapter,likechapter,appendix,part}
-_-_-
\:CheckOption{notoc*} \if:Option
\:CheckOption{nominitoc} \if:Option
\else
<.note nominitoc.>
\TocAt*{chapter,/likechapter,/appendix,/part,%
section,subsection}
\TocAt*{likechapter,/appendix,/chapter,/part,%
section,subsection}
\TocAt*{appendix,/chapter,/likechapter,/part,%
section,subsection}
\fi
\else
\:CheckOption{nominitoc} \if:Option
\else
<.note nominitoc.>
\TocAt*{chapter,/likechapter,/appendix,/part,%
section,likesection,subsection,likesubsection}
\TocAt*{likechapter,/appendix,/chapter,/part,%
section,likesection,subsection,likesubsection}
\TocAt*{appendix,/chapter,/likechapter,/part,%
section,likesection,subsection,likesubsection}
\fi
\fi -_-_-
\:CheckOption{notoc*} \if:Option
\Configure{tableofcontents*}{part,chapter,%
appendix,section,subsection}
\else
<.notoc* note.>
\Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
appendix,section,likesection,likesubsection,subsection}
\fi -_-_-
\CutAt{subsection,section,likesection,%
chapter,likechapter,appendix,part}
\CutAt{likesubsection,section,likesection,%
chapter,likechapter,appendix,part}
-_-_-
\:CheckOption{notoc*} \if:Option
\:CheckOption{nominitoc} \if:Option
\else
<.note nominitoc.>
\TocAt*{subsection,/likesubsection,/section,/likesection,%
/chapter,/likechapter,%
/appendix,/part,%
subsubsection,paragraph}
\TocAt*{likesubsection,/subsection,/likesection,%
/section,/chapter,/likechapter,/appendix,/part,%
subsubsection,paragraph}
\fi
\else
\:CheckOption{nominitoc} \if:Option
\else
<.note nominitoc.>
\TocAt*{subsection,/likesubsection,/section,/likesection,%
/chapter,/likechapter,/appendix,/part,%
subsubsection,likesubsubsection,%
paragraph}
\TocAt*{likesubsection,/subsection,%
/likesection,/section,/chapter,/likechapter,/appendix,/part,%
subsubsection,likesubsubsection,%
paragraph}
\fi
\fi -_-_-
\:CheckOption{notoc*} \if:Option
\Configure{tableofcontents*}{part,chapter,%
appendix,section,subsection,subsubsection}
\else
<.notoc* note.>
\Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
appendix,section,likesection,%
likesubsection,subsection,likesubsubsection,subsubsection}
\fi -_-_-
\:CheckOption{notoc*} \if:Option
\:CheckOption{nominitoc} \if:Option
\else
<.note nominitoc.>
\TocAt*{subsubsection,/likesubsubsection,/subsection,%
/likesubsection,/section,/likesection,%
/chapter,/likechapter,%
/appendix,/part,%
paragraph,subparagraph}
\TocAt*{likesubsubsection,/subsubsection,/likesubsection,%
/subsection,/likesection,%
/section,/chapter,/likechapter,/appendix,/part,%
paragraph,subparagraph}
\fi
\else
\:CheckOption{nominitoc} \if:Option
\else
<.note nominitoc.>
\TocAt*{subsubsection,/likesubsubsection,%
/subsection,/likesubsection,/section,/likesection,%
/chapter,/likechapter,/appendix,/part,%
paragraph,subparagraph}
\TocAt*{likesubsubsection,/subsubsection,/likesubsection,/subsection,%
/likesection,/section,/chapter,/likechapter,/appendix,/part,%
paragraph,subparagraph}
\fi
\fi -_-_-
\:CheckOption{notoc*} \if:Option
\Configure{tableofcontents*}{part,chapter,%
appendix,section,subsection,subsubsection,paragraph}
\else
<.notoc* note.>
\Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
appendix,section,likesection,%
likesubsection,subsection,likesubsubsection,subsubsection,%
paragraph}
\fi -_-_-
\:CheckOption{notoc*} \if:Option
\:CheckOption{nominitoc} \if:Option
\else
<.note nominitoc.>
\TocAt*{paragraph,/subsubsection,/likesubsubsection,/subsection,%
/likesubsection,/section,/likesection,%
/chapter,/likechapter,%
/appendix,/part,%
subparagraph}
\fi
\else
\:CheckOption{nominitoc} \if:Option
\else
<.note nominitoc.>
\TocAt*{paragraph,/subsubsection,/likesubsubsection,%
/subsection,/likesubsection,/section,/likesection,%
/chapter,/likechapter,/appendix,/part,%
subparagraph}
\fi
\fi -_-_-
\:CheckOption{notoc*} \if:Option
\Configure{tableofcontents*}{part,chapter,%
appendix,section,subsection,subsubsection,%
paragraph,subparagraph}
\else
<.notoc* note.>
\Configure{tableofcontents*}{part,likepart,chapter,likechapter,%
appendix,section,likesection,%
likesubsection,subsection,likesubsubsection,subsubsection,%
paragraph,subparagraph}
\fi -_-_-
\CutAt{subsubsection,subsection,likesubsection,section,likesection,%
chapter,likechapter,appendix,part}
\CutAt{likesubsubsection,subsection,likesubsection,section,likesection,%
chapter,likechapter,appendix,part}
-_-_-
\CutAt{paragraph,subsubsection,likesubsubsection,subsection,likesubsection,%
section,likesection,chapter,likechapter,appendix,part}
-_-_-
\CutAt{subparagraph,paragraph,subsubsection,likesubsubsection,%
subsection,likesubsection,%
section,likesection,chapter,likechapter,appendix,part}
-_-_-
\Configure{hspace}{}{}{\:nbsp}
-_-_-
\:CheckOption{accent-} \if:Option
\Configure{HAccent}\acute{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\bar{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\breve{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\check{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\ddot{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\dot{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\grave{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\hat{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\tilde{AOaoNn{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\vec{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\widehat{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\widetilde{}{\Picture+{}}{\EndPicture}
\fi
\:CheckOption{mathaccent-} \if:Option
\Configure{HAccent}\"{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\’{AEIOUYaeiouy{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\.{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\={}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\H{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\^{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\‘{AEIOUaeiou{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\b{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\c{Cc{}}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\d{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\t{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\u{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\v{}{\Picture+{}}{\EndPicture}
\Configure{HAccent}\~{AOaoNn{}}{\Picture+{}}{\EndPicture}
\fi
-_-_-
\Configure{accent}{*}
{<!--tex4ht:accent\Hnewline font="}{" char="}{" type="}{"-->}
{<!--tex4ht:end accent-->}
\Configure{mathaccent}{*}
{<!--tex4ht:mathaccent\Hnewline font="}{" char="}{" type="}{"-->}
{<!--tex4ht:end mathaccent-->}
\Configure{accented}{*}
{<!--tex4ht:accented\Hnewline font="}{" char="}{" type="}{"-->}
{<!--tex4ht:end accented-->}
\Configure{accenting}{*}
{<!--tex4ht:accenting\Hnewline-->}
{<!--tex4ht:end accenting-->}
-_-_-
\Configure{accent}\‘\grave{A{A}E{E}I{I}O{O}U{U}%
a{a}e{e}i{i}\i{i}o{o}u{u}{}{}}
{\a:accents{grave}{#1}} {\b:accents{grave}{#1}{#2}}
\Configure{accent}\’\acute{A{A}E{E}I{I}O{O}U{U}Y%
{Y}a{a}e{e}i{i}\i{i}o{o}u{u}y{y}{}{}}
{\a:accents{acute}{#1}} {\b:accents{acute}{#1}{#2}}
\Configure{accent}\^\hat{A{A}E{E}I{I}O{O}U{U}a{a}%
e{e}i{i}\i{i}o{o}u{u}{}{}}
{\a:accents{circ}{#1}} {\b:accents{hat}{#1}{#2}}
\Configure{accent}\~\tilde{A{A}O{O}a{a}o{o}N{N}n{n}{}{}}
{\a:accents{tilde}{#1}} {\b:accents{tilde}{#1}{#2}}
\Configure{accent}\"\ddot{A{A}E{E}I{I}O{O}U{U}Y%
{Y}a{a}e{e}i{i}\i{i}o{o}u{u}y{y}{}{34}}
{\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}}
-_-_-
The following are also placed under accents configuration.
\Configure{accent}\c\c{C{C}c{c}{}{}}
{\a:accents{cedil}{#1}} {\b:accents{cedil}{#1}{#2}}
\Configure{accent}\t\t{{}{}}
{\a:accents{udot}{#1}} {\b:accents{udot}{#1}{#2}}
\Configure{accent}\H\H{{}{}} {}{\b:accents{Huml}{#1}{#2}}
-_-_-
The following originally have been defined to be parameter-less.
\Configure{accent}\.\dot{{}{}} {}{\b:accents{dot}{#1}{#2}}
\Configure{accent}\u\breve{{}{}}{}{\b:accents{breve}{#1}{#2}}
\Configure{accent}\vec\vec{{}{}}{}{\b:accents{vec}{#1}{#2}}
\Configure{accent}\v\check{{}{}}{}{\b:accents{check}{#1}{#2}}
\Configure{accent}\=\bar{{}{}} {}{\b:accents{bar}{#1}{#2}}
-_-_-
\Configure{accent}\widetilde\widetilde{{}{}}
{}{\b:accents{widetilde}{#1}{#2}}
\Configure{accent}\widehat\widehat{{}{}}
{}{\b:accents{widehat}{#1}{#2}}
-_-_-
\vec, \widetilde, and \widehat are for math mode. \b, \c, \d, \t, and \H are
for text mode.
\Configure{add accent}{T1:2}
{}{\ht:special{t4ht@+\string&\#x005E;}x}
{}{}
-_-_-
\Configure{accent}\widetilde\widetilde{{}{}}
{\a:accents{widetilde}{#1}} {\b:accents{widetilde}{#1}{#2}}
\Configure{accent}\widehat\widehat{{}{}}
{\a:accents{widehat}{#1}} {\b:accents{widehat}{#1}{#2}}
-_-_-
\expand:after{\Configure{accent}}\csname T1\string\‘\expandafter\endcsname
\csname T1\string\‘\endcsname{<.grave codes.>{}{}}
{\a:accents{grave}{#1}} {\b:accents{grave}{#1}{#2}}
\expand:after{\Configure{accent}}\csname T1\string\’\expandafter\endcsname
\csname T1\string\’\endcsname{<.acute codes.>{}{}}
{\a:accents{acute}{#1}} {\b:accents{acute}{#1}{#2}}
\expand:after{\Configure{accent}}\csname T1\string\^\expandafter\endcsname
\csname T1\string\^\endcsname{<.circumflex codes.>{}{}}
{\a:accents{circ}{#1}} {\b:accents{circ}{#1}{#2}}
\expand:after{\Configure{accent}}\csname T1\string\~\expandafter\endcsname
\csname T1\string\~\endcsname{<.tilde codes.>{}{}}
{\a:accents{tilde}{#1}} {\b:accents{tilde}{#1}{#2}}
\expand:after{\Configure{accent}}\csname T1\string\"\expandafter\endcsname
\csname T1\string\"\endcsname{<.diaeresis codes.>{}{34}}
{\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}}
\expand:after{\Configure{accent}}\csname T1\string\r\endcsname
\mathring{<.ring codes.>{}{}}
{\a:accents{ring}{#1}} {\b:accents{ring}{#1}{#2}} -_-_-
\expand:after{\expand:after{\Configure{accent}}%
\csname T1\string\c\endcsname}%
\csname T1\string\c\endcsname{<.cedilla codes.>{}{}}
{\a:accents{cedil}{#1}} {\b:accents{cedil}{#1}{#2}}
\expand:after{\expand:after{\Configure{accent}}%
\csname T1\string\t\endcsname}%
\csname T1\string\t\endcsname{{}{}}
{\a:accents{udot}{#1}} {\b:accents{udot}{#1}{#2}}
\expand:after{\expand:after{\Configure{accent}}%
\csname T1\string\H\endcsname}%
\csname T1\string\H\endcsname{{}{}}
{\a:accents{Huml}{#1}} {\b:accents{Huml}{#1}{#2}}
\expand:after{\expand:after{\Configure{accent}}%
\csname T1\string\b\endcsname}%
\csname T1\string\b\endcsname{{}{}}
{\a:accents{b}{#1}} {\b:accents{b}{#1}{#2}}
\expand:after{\expand:after{\Configure{accent}}%
\csname T1\string\d\endcsname}%
\csname T1\string\d\endcsname{{}{}}
{\a:accents{d}{#1}} {\b:accents{d}{#1}{#2}} -_-_-
\expand:after{\Configure{accent}}\csname T1\string\.\expandafter\endcsname
\csname T1\string\.\endcsname
{<.dot above codes.>{}{}}
{\a:accents{dot}{#1}} {\b:accents{dot}{#1}{#2}}
\expand:after{\Configure{accent}}\csname T1\string\u\expandafter\endcsname
\csname T1\string\u\endcsname
{<.breve codes.>{}{}}
{\a:accents{breve}{#1}} {\b:accents{breve}{#1}{#2}}
\expand:after{\Configure{accent}}\csname T1\string\vec\expandafter\endcsname
\csname T1\string\vec\endcsname
{<.vec iso-8859-1.>{}{}}
{\a:accents{vec}{#1}} {\b:accents{vec}{#1}{#2}}
\expand:after{\Configure{accent}}\csname T1\string\v\expandafter\endcsname
\csname T1\string\v\endcsname
{<.caron codes.>{}{}}
{\a:accents{check}{#1}} {\b:accents{check}{#1}{#2}}
\expand:after{\Configure{accent}}\csname T1\string\=\expandafter\endcsname
\csname T1\string\=\endcsname
{<.macron codes.>{}{}}
{\a:accents{bar}{#1}} {\b:accents{bar}{#1}{#2}} -_-_-
\expand:after{\Configure{accent}}\csname OT1\string\‘\endcsname
\grave{<.grave codes.>{}{}}
{\a:accents{grave}{#1}} {\b:accents{grave}{#1}{#2}}
\expand:after{\Configure{accent}}\csname OT1\string\’\endcsname
\acute{<.acute codes.>{}{}}
{\a:accents{acute}{#1}} {\b:accents{acute}{#1}{#2}}
\expand:after{\Configure{accent}}\csname OT1\string\^\endcsname
\hat{<.circumflex codes.>{}{}}
{\a:accents{circ}{#1}} {\b:accents{circ}{#1}{#2}}
\expand:after{\Configure{accent}}\csname OT1\string\~\endcsname
\tilde{<.tilde codes.>{}{}}
{\a:accents{tilde}{#1}} {\b:accents{tilde}{#1}{#2}}
\expand:after{\Configure{accent}}\csname
OT1\string\"\expandafter\endcsname
\csname OT1\string\"\endcsname{<.diaeresis codes.>{}{34}}
{\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}}
\Configure{accent}\ddot\ddot{<.diaeresis codes.>{}{34}}
{\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}}
\expand:after{\Configure{accent}}\csname OT1\string\r\endcsname
\mathring{<.ring codes.>{}{}}
{\a:accents{ring}{#1}} {\b:accents{ring}{#1}{#2}} -_-_-
\expand:after{\expand:after{\Configure{accent}}%
\csname OT1\string\c\endcsname}%
\csname OT1\string\c\endcsname{<.cedilla codes.>{}{}}
{\a:accents{cedil}{#1}} {\b:accents{cedil}{#1}{#2}}
\expand:after{\expand:after{\Configure{accent}}%
\csname OT1\string\t\endcsname}%
\csname OT1\string\t\endcsname{{}{}}
{\a:accents{udot}{#1}} {\b:accents{udot}{#1}{#2}}
\expand:after{\expand:after{\Configure{accent}}%
\csname OT1\string\H\endcsname}%
\csname OT1\string\H\endcsname{{}{}}
{\a:accents{Huml}{#1}} {\b:accents{Huml}{#1}{#2}}
\expand:after{\expand:after{\Configure{accent}}%
\csname OT1\string\b\endcsname}%
\csname OT1\string\b\endcsname{{}{}}
{\a:accents{b}{#1}} {\b:accents{b}{#1}{#2}}
\expand:after{\expand:after{\Configure{accent}}%
\csname OT1\string\d\endcsname}%
\csname OT1\string\d\endcsname{{}{}}
{\a:accents{d}{#1}} {\b:accents{d}{#1}{#2}} -_-_-
\expand:after{\Configure{accent}}\csname OT1\string\.\endcsname
\dot{<.dot above codes.>{}{}}
{\a:accents{dot}{#1}} {\b:accents{dot}{#1}{#2}}
\expand:after{\Configure{accent}}\csname OT1\string\u\endcsname
\breve{<.breve codes.>{}{}}
{\a:accents{breve}{#1}} {\b:accents{breve}{#1}{#2}}
\expand:after{\Configure{accent}}\csname OT1\string\vec\endcsname
\vec{<.vec iso-8859-1.>{}{}}
{\a:accents{vec}{#1}} {\b:accents{vec}{#1}{#2}}
\expand:after{\Configure{accent}}\csname OT1\string\v\endcsname
\check{<.caron codes.>{}{}}
{\a:accents{check}{#1}} {\b:accents{check}{#1}{#2}}
\expand:after{\Configure{accent}}\csname OT1\string\=\endcsname
\bar{<.bar iso-8859-1.>{}{}}
{\a:accents{bar}{#1}} {\b:accents{bar}{#1}{#2}} -_-_-
\expandafter\def
\csname OT1\string\l\endcsname{\ht:special{t4ht@+\string&{35}x0142{59}}x}
\expandafter\def
\csname OT1\string\L\endcsname{\ht:special{t4ht@+\string&{35}x0141{59}}x}
-_-_-
\def\:temp{charset=iso-8859-2}
\ifx \a:charset\:UnDef
\ifx \A:charset\:temp \let\:temp=\def \fi
\else \ifx \a:charset\:temp \let\:temp=\def \fi
\fi
\ifx \:temp\def
\:CheckOption{new-accents} \if:Option \else
<.old iso-8859-2 accents.>
\fi \fi -_-_-
\Configure{accent}\‘\grave{<.grave codes.>{}{}}
{\a:accents{grave}{#1}} {\b:accents{grave}{#1}{#2}}
\Configure{accent}\’\acute{<.acute codes.>{}{}}
{\a:accents{acute}{#1}} {\b:accents{acute}{#1}{#2}}
\Configure{accent}\^\hat{<.circumflex codes.>{}{}}
{\a:accents{hat}{#1}} {\b:accents{hat}{#1}{#2}}
\Configure{accent}\~\tilde{<.tilde codes.>{}{}}
{\a:accents{tilde}{#1}} {\b:accents{tilde}{#1}{#2}}
\Configure{accent}\"\ddot{<.diaeresis codes.>{}{34}}
{\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}} -_-_-
\Configure{accent}\c\c{<.cedilla codes.>{}{}}
{\a:accents{cedil}{#1}} {\b:accents{cedil}{#1}{#2}}
\Configure{accent}\t\t{{}{}}
{\a:accents{udot}{#1}} {\b:accents{udot}{#1}{#2}}
\Configure{accent}\H\H{<.double acute iso-8859-2.>{}{}}
{\a:accents{Huml}{#1}} {\b:accents{Huml}{#1}{#2}}
\Configure{accent}\b\b{{}{}}
{\a:accents{b}{#1}} {\b:accents{b}{#1}{#2}}
\Configure{accent}\d\d{{}{}}
{\a:accents{d}{#1}} {\b:accents{d}{#1}{#2}} -_-_-
\Configure{accent}\.\.{<.dot above codes.>{}{}}
{\a:accents{dot}{#1}} {\b:accents{dot}{#1}{#2}}
\Configure{accent}\dot\dot{<.dot above codes.>{}{}}
{\a:accents{dot}{#1}} {\b:accents{dot}{#1}{#2}}
\Configure{accent}\u\breve{<.breve codes.>{}{}}
{\a:accents{breve}{#1}} {\b:accents{breve}{#1}{#2}}
\Configure{accent}\vec\vec{{}{}}
{\a:accents{vec}{#1}} {\b:accents{vec}{#1}{#2}}
\Configure{accent}\v\v{<.caron codes.>{}{}}
{\a:accents{check}{#1}} {\b:accents{check}{#1}{#2}}
\Configure{accent}\check\check{<.caron codes.>{}{}}
{\a:accents{check}{#1}} {\b:accents{check}{#1}{#2}}
\Configure{accent}\=\bar{{}{}}
{\a:accents{bar}{#1}} {\b:accents{bar}{#1}{#2}} -_-_-
\expand:after{\Configure{accent}}\csname T1\string\‘\expandafter\endcsname
\csname T1\string\‘\endcsname{<.grave codes.>{}{}}
{\a:accents{grave}{#1}} {\b:accents{grave}{#1}{#2}}
\expand:after{\Configure{accent}}\csname T1\string\’\expandafter\endcsname
\csname T1\string\’\endcsname{<.acute codes.>{}{}}
{\a:accents{acute}{#1}} {\b:accents{acute}{#1}{#2}}
\expand:after{\Configure{accent}}\csname T1\string\^\expandafter\endcsname
\csname T1\string\^\endcsname{<.circumflex codes.>{}{}}
{\a:accents{circ}{#1}} {\b:accents{circ}{#1}{#2}}
\expand:after{\Configure{accent}}\csname T1\string\~\expandafter\endcsname
\csname T1\string\~\endcsname{<.tilde codes.>{}{}}
{\a:accents{tilde}{#1}} {\b:accents{tilde}{#1}{#2}}
\expand:after{\Configure{accent}}\csname T1\string\"\expandafter\endcsname
\csname T1\string\"\endcsname{<.diaeresis codes.>{}{34}}
{\a:accents{uml}{#1}} {\b:accents{uml}{#1}{#2}}
\expand:after{\expand:after{\Configure{accent}}%
\csname T1\string\r\endcsname}%
\csname T1\string\r\endcsname{<.ring codes.>{}{}}
{\a:accents{ring}{#1}} {\b:accents{ring}{#1}{#2}} -_-_-
\expand:after{\expand:after{\Configure{accent}}%
\csname T1\string\c\endcsname}%
\csname T1\string\c\endcsname{<.cedilla codes.>{}{}}
{\a:accents{cedil}{#1}} {\b:accents{cedil}{#1}{#2}}
\expand:after{\expand:after{\Configure{accent}}%
\csname T1\string\t\endcsname}%
\csname T1\string\t\endcsname{{}{}}
{\a:accents{udot}{#1}} {\b:accents{udot}{#1}{#2}}
\expand:after{\expand:after{\Configure{accent}}%
\csname T1\string\H\endcsname}%
\csname T1\string\H\endcsname{<.double acute iso-8859-2.>{}{}}
{\a:accents{Huml}{#1}}{\b:accents{Huml}{#1}{#2}}
\expand:after{\expand:after{\Configure{accent}}%
\csname T1\string\b\endcsname}%
\csname T1\string\b\endcsname{{}{}}
{\a:accents{b}{#1}} {\b:accents{b}{#1}{#2}}
\expand:after{\expand:after{\Configure{accent}}%
\csname T1\string\d\endcsname}%
\csname T1\string\d\endcsname{{}{}}
{\a:accents{d}{#1}} {\b:accents{d}{#1}{#2}} -_-_-
\expand:after{\Configure{accent}}\csname T1\string\.\expandafter\endcsname
\csname T1\string\.\endcsname
{<.dot iso-8859-2.>{}{}}
{\a:accents{dot}{#1}}{\b:accents{dot}{#1}{#2}}
\expand:after{\Configure{accent}}\csname T1\string\u\expandafter\endcsname
\csname T1\string\u\endcsname
{<.breve codes.>{}{}}
{\a:accents{breve}{#1}}{\b:accents{breve}{#1}{#2}}
\expand:after{\Configure{accent}}\csname T1\string\vec\expandafter\endcsname
\csname T1\string\vec\endcsname
{<.vec iso-8859-2.>{}{}}
{\a:accents{vec}{#1}}{\b:accents{vec}{#1}{#2}}
\expandafter\let\csname T1\string\v\endcsname\:UnDef
\expand:after{\Configure{accent}}\csname T1\string\v\expandafter\endcsname
\csname T1\string\v\endcsname
{<.caron codes.>{}{}}
{\a:accents{check}{#1}}{\b:accents{check}{#1}{#2}}
\expand:after{\Configure{accent}}\csname T1\string\=\expandafter\endcsname
\csname T1\string\=\endcsname
{<.bar iso-8859-2.>{}{}}
{\a:accents{bar}{#1}}{\b:accents{bar}{#1}{#2}} -_-_-
A{00C0}E{00C8}I{00CC}N{01F8}O{00D2}U{00D9}W{1E80}%
Y{1EF2}a{00E0}e{00E8}i{00EC}n{01F9}o{00F2}u{00F9}%
w{1E81}y{1EF3}\i{00EC}%
-_-_-
A{00C1}C{0106}D{010E}E{00C9}G{01F4}I{00CD}L{0139}N{0143}%
O{00D3}R{0154}S{015A}U{00DA}Y{00DD}Z{0179}a{00E1}c{0107}%
d{010F}e{00E9}g{01F5}i{00ED}l{013A}n{0144}o{00F3}r{0155}%
s{015B}u{00FA}y{00FD}z{017A}j{FFFD}J{FFDD}\i{00ED}\j{FFFD}%
-_-_-
A{00C2}E{00CA}I{00CE}O{00D4}U{00DB}a{00E2}e{00EA}%
i{00EE}o{00F4}u{00FB}C{0108}c{0109}G{011C}g{011D}%
H{0124}h{0125}J{0134}j{0135}S{015C}s{015D}W{0174}%
w{0175}Y{0176}y{0177}Z{1E90}z{1E91}\i{00EE}\j{0135}%
-_-_-
A{00C3}N{00D1}O{00D5}a{00E3}n{00F1}o{00F5}I{0128}%
i{0129}U{0168}u{0169}V{1E7C}v{1E7D}E{1EBC}e{1EBD}%
Y{1EF8}y{1EF9}\i{0129}%
-_-_-
H{1E26}h{1E27}W{1E84}w{1E85}X{1E8C}x{1E8D}%
t{1E97}A{00C4}E{00CB}I{00CF}O{00D6}U{00DC}%
a{00E4}e{00EB}i{00EF}o{00F6}u{00FC}y{00FF}%
Y{0178}\i{00EF}%
-_-_-
A{00C5}a{00E5}U{016E}u{016F}%
-_-_-
K{0136}k{0137}L{013B}l{013C}N{0145}n{0146}%
R{0156}r{0157}S{015E}s{015F}T{0162}t{0163}%
E{0228}e{0229}D{1E10}d{1E11}H{1E28}h{1E29}%
C{00C7}c{00E7}G{0122}g{0123}%
-_-_-
C{010A}c{010B}E{0116}e{0117}G{0120}g{0121}%
I{0130}Z{017B}z{017C}A{0226}a{0227}O{022E}%
o{022F}B{1E02}b{1E03}D{1E0A}d{1E0B}F{1E1E}%
f{1E1F}H{1E22}h{1E23}M{1E40}m{1E41}N{1E44}%
n{1E45}P{1E56}p{1E57}R{1E58}r{1E59}S{1E60}%
s{1E61}T{1E6A}t{1E6B}W{1E86}w{1E87}X{1E8A}%
x{1E8B}Y{1E8E}y{1E8F}%
-_-_-
g{011F}I{012C}i{012D}O{014E}o{014F}%
U{016C}u{016D}A{0102}a{0103}E{0114}%
e{0115}G{011E}\i{012D}%
-_-_-
C{010C}c{010D}D{010E}d{010F}%
E{011A}e{011B}L{013D}l{013E}N{0147}n{0148}R{0158}r{0159}%
S{0160}s{0161}T{0164}t{0165}Z{017D}z{017E}A{01CD}a{01CE}I{01CF}%
i{01D0}O{01D1}o{01D2}U{01D3}u{01D4}G{01E6}g{01E7}K{01E8}k{01E9}%
j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}%
-_-_-
\ifx \ttfamily\:UnDef \else \Configure{tt}{\ttfamily} \fi
-_-_-
\Configure{ref}{\Link}{\EndLink}{}
-_-_-
\def\end:TTT{\EndP\HCode{</td></tr></table>}}
-_-_-
\ConfigureEnv{center}{\EndP}{\par \ShowPar}
{\EndP\IgnorePar
\HCode{<\tbl:XV{center}><tr><td><div align="center"\Hnewline>}}
{\IgnorePar\EndP\HCode{</div>}\end:TTT\IgnorePar}
\ConfigureEnv{flushleft}{\par\leavevmode\IgnorePar}{\par \ShowPar}
{\start:fenv{left}}{\end:fenv}
\ConfigureEnv{flushright}{\par\leavevmode\IgnorePar}{\par \ShowPar}
{\start:fenv{right}}{\end:fenv}
-_-_-
\ConfigureEnv{verbatim}{\env:verb{verbatim}}{\endenv:verb}{}{}
\ConfigureEnv{verbatim*}{\env:verb{verbatim}}{\endenv:verb}{}{}
\def\env:verb#1{\ifvmode \IgnorePar \fi\EndP\HCode{<\tbl:XV{#1}><tr
class="#1"><td\Hnewline
class="#1">}\HCode{<pre class="#1">}\EndNoFonts}
\def\endenv:verb{\NoFonts
\ifvmode \IgnorePar\fi \EndP
\ht:special{t4ht=</pre>}\end:TTT \ShowPar\:xhtml{\par}}
\def\start:fenv#1{\:xhtml{\IgnorePar\EndP}\HCode{<table
\Hnewline width="100\%"
\:zbsp{flush#1}><tr><td><div align="#1"\Hnewline>}}
\def\end:fenv{\IgnorePar\HCode{</div>}\end:TTT\IgnorePar}
-_-_-
\ConfigureEnv{eqnarray}
{\IgnorePar\EndP\Tg<div class="pic-eqnarray">\Picture*{}}
{\EndPicture\Tg</div>}{}{}
\Css{div.pic-eqnarray {text-align:center;}}
\ConfigureEnv{eqnarray*}
{\IgnorePar\EndP\Tg<div class="pic-eqnarray-star">\Picture*{}}
{\EndPicture\Tg</div>}{}{}
\Css{div.pic-eqnarray-star {text-align:center;}}
-_-_-
\:CheckOption{pic-array} \if:Option
\ConfigureEnv{array}
{\IgnorePar\EndP\Tg<div class="pic-array">\Picture*{}$$}
{$$\EndPicture\Tg</div>}{}{}
\Css{div.pic-array {text-align:center;}}
\fi
-_-_-
\:CheckOption{pic-tabular} \if:Option
\ConfigureEnv{tabular}
{\IgnorePar\EndP\Tg<div class="pic-tabular">\Picture*{}}
{\EndPicture\Tg</div>}{}{}
\Css{div.pic-tabular {text-align:center;}}
\fi
-_-_-
\append:def\vspc:s{\h:HBorder}%
\def\:tempb{\ifnum \tmp:cnt<\ar:cnt
\advance\tmp:cnt by 1 \append:def\vspc:s{\i:HBorder}%
\expandafter\:tempb
\fi }
\tmp:cnt=0 \:tempb
\append:def\vspc:s{\j:HBorder}\global\let\vspc:s=\vspc:s
-_-_-
\append:def\hline:s{\a:HBorder}%
\def\:tempb{\ifnum \tmp:cnt<\ar:cnt
\advance\tmp:cnt by 1 \append:def\hline:s{\b:HBorder}%
\expandafter\:tempb
\fi }
\tmp:cnt=0 \:tempb
\append:def\hline:s{\c:HBorder}\global\let\hline:s=\hline:s
-_-_-
\Configure{noalign}{}{}
-_-_-
\Configure{noalign}%
{\f:tabular\d:tabular \HCode{<tr><td colspan="\ar:cnt">}}
{\HCode{</td></tr>}\pend:def\TableNo{0}\c:tabular\e:tabular}%
-_-_-
\AllColMargins Return a binary string in which 1 represents a column, and 0
represents a ‘@’. \ColMargins retrieves the zeros before the 1’s that represent the
current and following 1’s.
We force border around the full table whenever a vertical line is requested,
because it makes the tables better looking within the existing capabilities.
Currently, we either have empty \VBorder, or one defined to
\def\VBorder{border="1"}.
When \putVBorder is call in \VBorder we have a sequence of the form
<COLGROUP><COL ...">...</COLGROUP>... with the last tag possibly missing.
\Configure{ }{\:nbsp}
-_-_-
\Configure{framebox}
{\Picture+[]{ \a:@Picture{framebox}}} {\EndPicture}
\Configure{InsertTitle}{\let\label=\lb:l
\let\ref=\o:ref \Configure{ref}{}{}{}}
\Configure{AfterTitle}{\let\index=\:index
\let\ref=\:ref \let\label=\lb:l }
\Configure{NoSection}
{\let\sv:index=\index \let\sv:label=\label \let\sv:ref=\ref
\let\sv:newline=\newline \def\newline{ }%
\let\sv:setfontsize=\@setfontsize \let\@setfontsize=\:gobbleIII
\let\index=\@gobble \let\label=\@gobble \let\ref=\@gobble
}
{\let\index=\sv:index \let\label=\sv:label \let\ref=\sv:ref
\let\newline=\sv:newline \let\@setfontsize=\sv:setfontsize
}
\Configure{oalign}{\Picture+{ \a:@Picture{oalign}}}{\EndPicture}
\Configure{TocLink}
{\Link{#2}{#3}{\Configure{ref}{}{}{}\Configure{cite}{}{}{}{}#4}\EndLink}
-_-_-
\Configure{stackrel}{\Picture+{ class="stackrel"}\mathrel}
{\limits ^}{\EndPicture}
-_-_-
Don’t put \:xhtml{\IgnorePar\EndP} on the following; \PicDisplay should
handle it.
\Configure{[]}
{\PicDisplay $$\everymath{}\everydisplay{}}
{$$\EndPicDisplay <.try inline par.>}
\Configure{()}{\protect\PicMath$}{$\protect\EndPicMath} -_-_-
\Configure{picture}
{\Picture+[PICT]{}}
{\EndPicture}
-_-_-
\Configure{cite}{}{}{\Link}{\EndLink}
\Configure{bibitem}{\Link}{\EndLink}
\ConfigureEnv{minipage}
{\IgnorePar\EndP
\HCode{<center class="minipage">}%
{\ifnum 0=‘}\fi
}
{\ifnum 0=‘{\fi}%
\EndP\HCode{</center>}}
{}{}
\Configure{fbox}
{\leavevmode\Picture+[]{ \a:@Picture{fbox}}} {\EndPicture}
-_-_-
\Configure{endsection}
{likesection,chapter,likechapter,appendix,part,likepart}
\Configure{endlikesection}
{section,chapter,likechapter,appendix,part,likepart}
-_-_-
\Configure{endsubsection}
{likesubsection,section,likesection,chapter,%
likechapter,appendix,part,likpart}
\Configure{endlikesubsection}
{subsection,section,likesection,chapter,%
likechapter,appendix,part,likpart}
-_-_-
\Configure{endsubsubsection}
{likesubsubsection,subsection,likesubsection,section,%
likesection,chapter,likechapter,appendix,part,likpart}
\Configure{endlikesubsubsection}
{subsubsection,subsection,likesubsection,section,%
likesection,chapter,likechapter,appendix,part,likpart}
\Configure{endparagraph}
{likeparagraph,subsubsection,likesubsubsection,subsection,%
likesubsection,section,%
likesection,chapter,likechapter,appendix,part,likpart}
\Configure{endlikeparagraph}
{paragraph,subsubsection,likesubsubsection,subsection,%
likesubsection,section,%
likesection,chapter,likechapter,appendix,part,likpart}
\Configure{endsubparagraph}
{likesubparagraph,likeparagraph,subsubsection,likesubsubsection,%
subsection,likesubsection,section,%
likesection,chapter,likechapter,appendix,part,likpart}
\Configure{endlikesubparagraph}
{subparagraph,likeparagraph,subsubsection,likesubsubsection,%
subsection,likesubsection,section,%
likesection,chapter,likechapter,appendix,part,likpart}
-_-_-
\Configure{endpart}{likepart}
\Configure{endlikepart}{endpart}
-_-_-
\Configure{part}{}{}
{\IgnorePar \IgnorePar\HCode{<h1 class="partHead">}%
\partname \ \thepart\HCode{<br\xml:empty>}}
{\HCode{</h1>}\IgnoreIndent}
\Configure{partTITLE+}{\thepart\space #1}
-_-_-
\Configure{likepart}{}{}
{\IgnorePar\IgnorePar\HCode{<h1 class="likepartHead">}}
{\HCode{</h1>}\IgnoreIndent}
-_-_-
It is better to put the LI in the third field to avoid extra space to the following
text.
\let\sv:atoc=\a:tableofcontents
\let\sv:btoc=\b:tableofcontents
\let\sv:ctoc=\c:tableofcontents
\let\sv:dtoc=\d:tableofcontents
\let\sv:etoc=\e:tableofcontents
-_-_-
\let\a:tableofcontents=\sv:atoc
\let\b:tableofcontents=\sv:btoc
\let\c:tableofcontents=\sv:ctoc
\let\d:tableofcontents=\sv:dtoc
\let\e:tableofcontents=\sv:etoc
-_-_-
Earlier we had \:CheckOption{no-halign} \if:Option \else |<pic array|> \fi,
and the same for pic tabular. Why?
\Configure{displaylines}
{\HCode{<table \Hnewline border="0" width="100\%">}}
{\HCode{</table>}}
{\HCode{<tr><td\Hnewline valign="bottom" align="center" <.no wrap.> >}}
{\HCode{</td></tr>}} -_-_-
\let\A:displaylines=\a:displaylines
\let\B:displaylines=\b:displaylines
\let\C:displaylines=\c:displaylines
\let\D:displaylines=\d:displaylines
\Configure{displaylines}
{\ifmmode
\def\A:displaylines{\Picture*{}}%
\def\B:displaylines{\EndPicture}%
\fi
\A:displaylines}
{\B:displaylines} {\C:displaylines}{\D:displaylines}
-_-_-