diff options
author | Karl Berry <karl@freefriends.org> | 2022-12-16 22:25:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-12-16 22:25:07 +0000 |
commit | 13def4e91736916fb77c64ea39a852fa310a0904 (patch) | |
tree | ee3f9afa440196a819ec8b5fb55b56810410b50a /Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex | |
parent | 2811b370a9db2922ccdd8b3a3619299ea3b759d1 (diff) |
prevent duplicate toc, tex4ht r1268; \paragraph, \subparagraph numbering, tex4ht r1269
git-svn-id: svn://tug.org/texlive/trunk@65295 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex index 0ee6765c008..38044106902 100644 --- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex +++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-html4.tex 1261 2022-12-09 16:06:10Z michal_h21 $ +% $Id: tex4ht-html4.tex 1269 2022-12-16 16:03:28Z michal_h21 $ % Compile 4 times: latex tex4ht-html4 % Copy html4.4ht into the work directory before all but the last compilation. % @@ -11101,8 +11101,13 @@ a \par b \<latex shared paragraph config\><<< +\ConfigureMark{paragraph} + {\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble + \else + \HCode{<span class="titlemark">}\@seccntformat{paragraph}% + \HCode{</span>}\fi } \Configure{paragraph}{}{} - {\ShowPar\IgnoreIndent\HCode{<span class="paragraphHead"\a:LRdir>}\begingroup\bf} + {\ShowPar\IgnoreIndent\HCode{<span class="paragraphHead"\a:LRdir>}\begingroup\bf\TitleMark\space} {\endgroup\HCode{</span>}\par\IgnorePar} \Configure{likeparagraph}{}{} {\ShowPar\IgnoreIndent\HCode{<span class="likeparagraphHead"\a:LRdir>}} @@ -11112,7 +11117,10 @@ a \par b >>> \<latex config div 4.0t\><<< -\ConfigureMark{subparagraph}{} +\ConfigureMark{subparagraph}{\ifnum \c:secnumdepth>\c@secnumdepth \expandafter\:gobble + \else + \HCode{<span class="titlemark">}\@seccntformat{subparagraph}% + \HCode{</span>}\fi } \Configure{subparagraph}{}{} {\ShowPar\HCode{<span class="subparagraphHead"\a:LRdir>}\begingroup\bf \TitleMark\space} |