3.2 tex4ht

<..title for hypertext page..>
 \Configure{TITLE+}{\HCode{\jobname.\:html}}
-_-_-

<..0,32,4 latex..>+
 \ifTag{TITLE+}
    {\Configure{TITLE+}{\HCode{\LikeRef{TITLE+}}}}{}
-_-_-

<..configure html0 tex4ht..>
 <.0,32,4 tex4ht.>
 \Configure{HtmlPar}{}{}{}{}
 \ifx \a:HTML\:UnDef  \Configure{HTML}{}{} \fi
 \ifx \a:HEAD\:UnDef  \Configure{HEAD}{}{} \fi
 \ifx \a:BODY\:UnDef  \Configure{BODY}{}{} \fi
 \ifx \a:TITLE\:UnDef \Configure{TITLE}{}{} \fi
 \Configure{TITLE+}{}
 <.no css.>
-_-_-

<..configure html0 tex4ht..>+
 \Configure{crosslinks+}{\IgnorePar}{\par\ShowPar}{\IgnorePar}{}
 \Configure{IMG}{}{ }{}{}{}
 \Configure{Picture*}{}{}
 \Configure{SUB}{}{}
 \Configure{SUP}{}{}
 \Configure{MkHalign}{}{}{}{}{}{}
 \Configure{halignTD} {}{} {}{}{}{}{}{}{}{}
 \Configure{halign}{}{}{}{}{}{}{}
 \Configure{pic-halign}{}
-_-_-

<..0,32,4 tex4ht..>+
 <.0,32,4 preambles.>
 \ifx \a:FontCss:\:UnDef
    \Configure{FontCss}{Font\string_Css##1}
                    {Font\string_Css\string_Plus\space##1}
 \fi
 \expandafter\ifx \csname aa:Css\endcsname\relax
    \Configure{Css}{Css: ##1}
 \fi
 \:CheckOption{edit} \if:Option
    \Configure{edit}{\HCode{<strong>&lt;}}{\HCode{&gt;</strong>}}
                 {<strong>&lt;}{&gt;</strong>}
 \fi
 \:CheckOption{hooks++} \if:Option
 \else \:CheckOption{hooks+}  \if:Option
 \else \:CheckOption{hooks}  \if:Option
 \fi\fi\fi
 \if:Option
    \Configure{hooks}
       {\HCode{<strong class="hooks">&lt;}}{\HCode{&gt;</strong>}}{}{}
 \fi
 
 
 \Configure{ExitHPage}{exit}{exit }{}
 \Configure{TocLink}{\Link{#2}{#3}#4\EndLink}
 \Configure{MiniHalign}{\hlg:a}{\hlg:b}\hlg:c\hlg:d{\hlg:e}\hlg:f
 \:CheckOption{no-halign} \if:Option \else
   \Configure{noalign-}{}{}
 \fi
 \Configure{PictureAlt*+}
    {\let\sv:HtmlPar=\HtmlPar   \let\HtmlPar=\empty
      <.postscript for /Picture.>%
      <.tex halign and cr/crcr.>%
      \NoFonts\csname PauseMathClass\endcsname \SUBOff \SUPOff
      \let\HCode=\:gobble     \offinterlineskip
      \let\EndPicture=\empty}
    {\let\HCode=\:HCode
      \let\EndPicture=\:UnDef \let\HtmlPar=\sv:HtmlPar \SUBOn \SUPOn
      \csname EndPauseMathClass\endcsname \EndNoFonts
      <.tex4ht halign and cr/crcr.>%
      <.delay postscript.>}%
-_-_-

<..postscript for /Picture..>
 \def\PsCode##1{{\ht:special{\PsCodeSpecial##1}}}%
-_-_-

<..tex halign and cr/crcr..>
 \iffalse{\fi
 \let\sv:halign=\halign
 \let\sv:cr=\cr
 \let\sv:crcr=\crcr
 \iffalse}\fi
 \RecallTeXcr \let\halign =\TeXhalign
-_-_-

<..tex4ht halign and cr/crcr..>
 \iffalse{\fi
 \let\halign=\sv:halign
 \let\cr=\sv:cr
 \let\crcr=\sv:crcr
 \iffalse}\fi
-_-_-

<..delay postscript..>
 \let\PsCode=\relax
-_-_-

<..0,32,4 tex4ht..>+
 \Configure{CutAtTITLE+}{}
 \Configure{HPageTITLE+}{}
 \Configure{AtBeginDocument}
   {\edef\recallcatcodes{%
       \catcode‘\noexpand\_=\the\catcode‘\_
       \catcode‘\noexpand\^=\the\catcode‘\^ }%
    \catcode‘\_=8\catcode‘\^=7}
   {\recallcatcodes}
-_-_-

<..0,32,4 tex4ht..>+
 \Configure{crosslinks}{[}{]
    }{next}{prev}{prev-<.tail.>}{front}{tail}{up}
 \:CheckOption{next}     \if:Option
    \Configure{next+}{\ShowPar\par\noindent [}{]}
 \fi
 \Configure{TocAt*}{}{}
 \Configure{TocAt}{}{}
 
 \Configure{halignTB}{\HCode{<table }}{\HCode{>}}
 \def\t:HA{\HCode{</table>}}
 \def\R:HA{\HCode{<tr \Hnewline valign="baseline">}}
 \def\r:HA{\HCode{</tr>}}
 \def\D:HA{\HCode{<td \ifnum \HMultispan>1 colspan="\HMultispan"\fi}%
    \halignTD \HCode{\Hnewline>}}
 \def\d:HA{\HCode{</td>}}
 \Configure{HVerbatim+}{\z@}{\:nbsp}
 \Configure{CssFile}{\jobname.css}
   {/* \aa:CssFile\space from \jobname.tex (TeX4ht, \:today) */}
 \Configure{Picture+}{}{}
 \Configure{Picture*}{}{}
 \Configure{Needs}{l.
    \the\inputlineno\space--- needs --- #1 ---}
 \Configure{Needs-}{l.
    \the\inputlineno\space--- needs --- #1 ---}
 <.yes css.>
-_-_-

<..0,32,4 tex4ht..>+
 \Configure{moveright}{\leavevmode\endgraf }
 \Configure{HChar}{x}
-_-_-

<..yes css..>
    \def\:SPAN#1#2{\HCode{<span class="#1">}#2\HCode{</span>}}
    \def\SPAN:#1{\HCode{<span class="#1">}}
    \def\EndSPAN:{\HCode{</span>}}
    \def\DIV:#1{\HCode{<div class="#1">}}
    \def\EndDIV:{\HCode{</div>}}
-_-_-

<..no css..>
    \def\:SPAN#1#2{#2}
    \let\SPAN:=\:gobble  \let\EndSPAN:=\empty
    \let\DIV:=\:gobble  \let\EndDIV:=\empty
-_-_-