summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-12-18 03:04:42 +0000
committerNorbert Preining <norbert@preining.info>2022-12-18 03:04:42 +0000
commit81dce26929e98696f622283b42f25c643dcfe565 (patch)
tree7b1172ee9247eab226e5d425bc8d42ddea0be53b /support
parent7b88c25271448cb717bea52abc52e2c8ec033dd9 (diff)
CTAN sync 202212180304
Diffstat (limited to 'support')
-rw-r--r--support/TeX4ht/source/ChangeLog16
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex6
-rw-r--r--support/TeX4ht/source/tex4ht-html4.tex14
3 files changed, 30 insertions, 6 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index 451438c022..c7e1a5855d 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,19 @@
+2022-12-16 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-html4.tex (html4.4ht): fixed numbering of \paragraph and
+ \subparagraph in base classes.
+ https://tex.stackexchange.com/q/668713/2891
+
+ * tex4ht-4ht.tex (amsart.4ht, amsart.4ht, amsbook.4ht,
+ amsbook.4ht, amsproc.4ht, amsproc.4ht, article.4ht,
+ article.4ht, book.4ht, book.4ht, mwart.4ht, mwart.4ht,
+ mwbk.4ht, mwbk.4ht, mwrep.4ht, mwrep.4ht, report.4ht,
+ report.4ht, scrbook.4ht, scrbook.4ht, scrreprt.4ht,
+ scrreprt.4ht): prevent duplicate TOC printing with
+ \Configure{tableofcontents*} when \tableofcontents command is used
+ in the document.
+ https://tex.stackexchange.com/q/668713/2891
+
2022-12-15 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-mathml.tex (mathml.4ht): disable stretchy attribute for
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index f1288840d1..30a73224d3 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1264 2022-12-11 15:00:58Z karl $
+% $Id: tex4ht-4ht.tex 1268 2022-12-16 15:18:27Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2022 TeX Users Group
@@ -15711,8 +15711,8 @@ any of the options is on.
\ifx \au:StartSec\:UnDef
\let\au:StartSec|=\:StartSec
\def\:StartSec{\:tableofcontents
- \global\let\auto:toc|=\:UnDef \:StartSec}%
- \pend:def\:tableofcontents{\gdef\:StartSec{\au:StartSec}}%
+ \global\let\auto:toc|=\:UnDef \global\let\:StartSec\au:StartSec\:StartSec}%
+ \pend:def\tableofcontents{\gdef\:StartSec{\au:StartSec}}%
\fi \fi
}
>>>
diff --git a/support/TeX4ht/source/tex4ht-html4.tex b/support/TeX4ht/source/tex4ht-html4.tex
index 0ee6765c00..3804410690 100644
--- a/support/TeX4ht/source/tex4ht-html4.tex
+++ b/support/TeX4ht/source/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}