<..tcilatex.4ht..>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% tcilatex.4ht 2014-07-12-22:36 %
% Copyright (C) 2000--2009 Eitan M. Gurari %
<.TeX4ht copyright.>
<.shared tcilatex.>
\expandafter\ifx \csname @TCItagstar\endcsname\relax
<.tcilatex 2.5.>
\else
<.tcilatex 3.5.>
\ifx \@msidraft\:Undef
<.tcilatex 3.5 not 4.0.>
\fi \fi
<.undo swpframe.>
\Hinput{tcilatex}
\endinput
-_-_-
<..undo swpframe..>
\let\tci:ProvidesPackage=\ProvidesPackage
\def\ProvidesPackage#1{%
\tci:ProvidesPackage{#1}%
\def\:temp{swpframe}\def\:tempa{#1}\ifx \:temp\:tempa
\ifx \GRAPHICSHP\:UnDef\else
\let\swp:GRAPHICSHP=\GRAPHICSHP
\AtEndOfPackage{\let\GRAPHICSHP\swp:GRAPHICSHP}%
\fi
\ifx \graffile\:UnDef\else
\let\swp:graffile=\graffile
\AtEndOfPackage{\let\graffile\swp:graffile}%
\fi
\ifx \GRAPHIC\:UnDef\else
\let\swp:GRAPHIC=\GRAPHIC
\AtEndOfPackage{\let\GRAPHIC\swp:GRAPHIC}%
\fi
\fi
}
-_-_-
The ‘\protect’ in ‘\section{The second Section \protect\label{two}}’ is problematic because of double labels when the toc is on. The problem can be solved with the code.
<..tcilatex post 3.5--Not Needed anymore..>
\def\label:gobble{\futurelet\:temp\lbl:gobble}
\def\lbl:gobble#1{\ifx\:temp\relax \expandafter\label:gobble\fi}
\AtBeginDocument{\immediate\write\:tocout{%
\let\string\label \string\label:gobble }}
-_-_-
<..shared tcilatex..>
\def\:temp#1#2#3#4{#2\ref{#4}#3}
\ifx \:temp\hyperref
\def\hyperref{\bgroup
\catcode‘\#=12 \catcode‘\~=12 \catcode‘\_=12 \h:pref}%
\def\h:pref#1#2#3#4{\egroup\Link[#4]{}{}#1\EndLink}%
\fi
-_-_-
In version 4 \hyperref is aliased to \x@hyperref.
<..tcilatex 3.5..>
\def\y@hyperref#1#2#3#4{%
\Link[#4]{}{}#1\EndLink
\catcode‘\~ = 13
\catcode‘\$ = 3
\catcode‘\_ = 8
\catcode‘\# = 6
\catcode‘\& = 4
}
-_-_-
<..shared tcilatex..>+
\let\:tempc=\GRAPHICSPS
\pend:defI\:tempc{\a:GRAPHICSPS}
\append:defI\:tempc{\b:GRAPHICSPS}
\HLet\GRAPHICSPS=\:tempc
\NewConfigure{GRAPHICSPS}{2}
-_-_-
<..shared tcilatex..>+
\let\:tempc=\GRAPHICSHP
\pend:defI\:tempc{\a:GRAPHICSHP}
\append:defI\:tempc{\b:GRAPHICSHP}
\HLet\GRAPHICSHP=\:tempc
\NewConfigure{GRAPHICSHP}{2}
-_-_-
<..shared tcilatex..>+
\let\:tempc=\BOXTHEFRAME
\pend:defI\:tempc{\hbox\bgroup\a:BOXTHEFRAME}
\append:defI\:tempc{\b:BOXTHEFRAME\egroup}
\HLet\BOXTHEFRAME=\:tempc
\NewConfigure{BOXTHEFRAME}{2}
\let\:IFRAME=\IFRAME
\let\:DFRAME=\DFRAME
\let\:FFRAME=\FFRAME
\def\IFRAME#1#2#3#4#5#6{\a:IFRAME\leavevmode
\IgnorePar\:IFRAME{#1}{#2}{#3}{#4}{#5}{#6}\b:IFRAME}
\def\DFRAME#1#2#3#4#5{\a:DFRAME\leavevmode
\IgnorePar\:DFRAME{#1}{#2}{#3}{#4}{#5}\b:DFRAME}
\def\FFRAME#1#2#3#4#5#6#7#8{\a:FFRAME\leavevmode
\IgnorePar\:FFRAME{#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8}\b:FFRAME}
\NewConfigure{IFRAME}{2}
\NewConfigure{DFRAME}{2}
\NewConfigure{FFRAME}{2}
-_-_-
<..tcilatex 3.5..>+
\def\:tempc#1#2{\o:QATOP:{\a:QATOP #1\b:QATOP}{\c:QATOP #2\d:QATOP}}
\HLet\QATOP=\:tempc
\NewConfigure{QATOP}{4}
\def\:tempc#1#2{\o:QDATOP:{\a:QDATOP #1\b:QDATOP}{\c:QDATOP #2\d:QDATOP}}
\HLet\QDATOP=\:tempc
\NewConfigure{QDATOP}{4}
\def\:tempc#1#2{\o:QTATOP:{\a:QTATOP #1\b:QTATOP}{\c:QTATOP #2\d:QTATOP}}
\HLet\QTATOP=\:tempc
\NewConfigure{QTATOP}{4}
-_-_-
<..tcilatex 3.5 not 4.0..>
\expandafter\ifx \csname o:dfrac:\endcsname \relax
<.tcilatex fractions.>
\fi
-_-_-
The following protection, e.g., for titles of sections.
<..shared tcilatex..>+
\let\o:Greekmath:=\Greekmath
\def\Greekmath{\protect\o:Greekmath:}
-_-_-
<..seslideb.4ht..>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% seslideb.4ht 2014-07-12-22:36 %
% Copyright (C) 2001--2009 Eitan M. Gurari %
<.TeX4ht copyright.>
<.seslideb code.>
\Hinput{seslideb}
\endinput
-_-_-
<..seslideb code..>
\NewSection\swSlide{}{}
\def\PageBreak{\swSlide{\swTitle}}
\let\swTitle=\relax
-_-_-
<..jeep.4ht..>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% jeep.4ht 2014-07-12-22:36 %
% Copyright (C) 2002--2009 Eitan M. Gurari %
<.TeX4ht copyright.>
<.jeep code.>
\Hinput{jeep}
\endinput
-_-_-
<..jeep code..>
\let\jeep:@sect=\no@sect
\def\no@sect#1#2#3#4#5{%
\jeep:@sect{#1}{#2}{#3}{#4}{#5\let\@svsec=\empty}}
-_-_-