1
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2
% titlesec.4ht 2001-12-14-17:07 %
3
% Copyright (C) 2000--2001 Eitan M. Gurari %
5
% This program can redistributed and/or modified under %
6
% the terms of the LaTeX Project Public License %
7
% Distributed from CTAN archives in directory %
8
% macros/latex/base/lppl.txt; either version 1 of the %
9
% License, or (at your option) any later version. %
11
% However, you are allowed to modify this program %
12
% without changing its name, if you modify its %
13
% signature. Changes to the signature can be introduced %
14
% with a directive of the form %
15
% \message{signature} %
17
% gurari@cis.ohio-state.edu %
18
% http://www.cis.ohio-state.edu/~gurari %
19
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
20
\immediate\write-1{version 2001-12-14-17:07}
22
\ifx \ttl@sect\:UnDef\else
23
\pend:defII\ttl@sect{%
24
\@ifstar {}{\SkipRefstepAnchor}}
25
\let\ttl:select=\ttl@select
26
\def\ttl@select#1#2#3#4#5{%
27
\def\sc:tp{#1}\def\c:secnumdepth{#5}%
28
\ttl:select{#1}{#2}{#3}{#4}{#5}}
29
\let\ttl@write\:gobbleIII
32
\ifx \ttl@useclass\:UnDef\else
33
\pend:defII\ttl@useclass{%
34
\@ifstar {}{\SkipRefstepAnchor}}
35
\let\ttl:select\ttl@select
37
\def\sc:tp{#1}\def\c:secnumdepth{\@nameuse{ttll@#1}}%
39
\let\ttl@write\:gobbleII
41
\let\ttl@beginlongest\@empty
42
\let\ttl@midlongest\@empty
43
\let\ttl@endlongest\@empty
46
\let\ttlh:hang\ttlh@hang
47
\def\ttlh@hang#1#2#3#4#5#6#7#8{%
48
\HtmlEnv \expandafter\def\csname thetitle\sc:tp\endcsname{#2}%
49
\csname no:\sc:tp\endcsname{#8}%
50
\ttlh:hang{}{}{#3}{}{}{#6}{#7}{}}