[tex4ht-commits] [SCM] tex4ht updated: r1269 - trunk/lit
Michal Hoftich
INVALID.NOREPLY at gnu.org.ua
Fri Dec 16 17:03:28 CET 2022
Author: michal_h21
Date: 2022-12-16 16:03:28 +0000 (Fri, 16 Dec 2022)
New Revision: 1269
Modified:
trunk/lit/ChangeLog
trunk/lit/tex4ht-html4.tex
Log:
fixed numbering of \paragraph and \subparagraph in stanadr classes
Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog 2022-12-16 15:18:27 UTC (rev 1268)
+++ trunk/lit/ChangeLog 2022-12-16 16:03:28 UTC (rev 1269)
@@ -1,5 +1,9 @@
2022-12-16 Michal Hoftich <michal.h21 at 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,
Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex 2022-12-16 15:18:27 UTC (rev 1268)
+++ trunk/lit/tex4ht-html4.tex 2022-12-16 16:03:28 UTC (rev 1269)
@@ -11101,8 +11101,13 @@
\<latex shared paragraph config\><<<
+\ConfigureMark{paragraph}
+ {\ifnum \c:secnumdepth>\c at 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 @@
>>>
\<latex config div 4.0t\><<<
-\ConfigureMark{subparagraph}{}
+\ConfigureMark{subparagraph}{\ifnum \c:secnumdepth>\c at 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}
More information about the tex4ht-commits
mailing list.