Debian Codegraph @

texmf-dist/tex/generic/tex4ht/titlesec-hooks.4ht

raw
1 % titlesec-hooks.4ht (2023-04-03-14:42), generated from tex4ht-4ht.tex
2 % Copyright 2022-2023 TeX Users Group
3 %
4 % This work may be distributed and/or modified under the
5 % conditions of the LaTeX Project Public License, either
6 % version 1.3c of this license or (at your option) any
7 % later version. The latest version of this license is in
8 % http://www.latex-project.org/lppl.txt
9 % and version 1.3c or later is part of all distributions
10 % of LaTeX version 2005/12/01 or later.
11 %
12 % This work has the LPPL maintenance status "maintained".
13 %
14 % The Current Maintainer of this work
15 % is the TeX4ht Project <http://tug.org/tex4ht>.
16 %
17 % If you modify this program, changing the
18 % version identification would be appreciated.
19 \immediate\write-1{version 2023-04-03-14:42}
20
21 \let\ttl:@makechapterhead\@makechapterhead
22 \let\ttl:@makeschapterhead\@makeschapterhead
23 \let\ttl:chapter\chapter
24 \let\ttl:section\section
25 \let\ttl:subsection\subsection
26 \let\ttl:subsubsection\subsubsection
27 \let\ttl:paragraph\paragraph
28 \let\ttl:subparagraph\subparagraph
29 \:AtEndOfPackage{
30 \let\chapter\ttl:chapter
31 \let\section\ttl:section
32 \let\subsection\ttl:subsection
33 \let\subsubsection\ttl:subsubsection
34 \let\paragraph\ttl:paragraph
35 \let\subparagraph\ttl:subparagraph
36 \let\@makechapterhead\ttl:@makechapterhead
37 \let\@makeschapterhead\ttl:@makeschapterhead
38 \def\ttl@format@si#1#2#3#4#5#6#7{}
39 \def\ttl@format@ii#1[#2]#3#4#5#6{
40 \@ifnextchar[{%
41 \ttl@format@iii{#2}%
42 }{%
43 \ttl@format@iii{#2}[]}
44 }
45 \def\ttl@format@iii#1[#2]{}
46
47 }
48
49 \endinput
50