[tex4ht-commits] [SCM] tex4ht updated: r1591 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Tue Oct 29 14:48:36 CET 2024


Author: michal_h21
Date: 2024-10-29 13:48:36 +0000 (Tue, 29 Oct 2024)
New Revision: 1591

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-4ht.tex
   trunk/lit/tex4ht-html4.tex
Log:
configure \part to omit the part number

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2024-10-26 20:38:45 UTC (rev 1590)
+++ trunk/lit/ChangeLog	2024-10-29 13:48:36 UTC (rev 1591)
@@ -1,3 +1,10 @@
+2024-10-29  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (french.4ht),
+	* tex4ht-html4.tex (html4.4ht): configure \part to omit the part
+	number.
+	https://github.com/michal-h21/make4ht/issues/155
+
 2024-10-25  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): restore math

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2024-10-26 20:38:45 UTC (rev 1590)
+++ trunk/lit/tex4ht-4ht.tex	2024-10-29 13:48:36 UTC (rev 1591)
@@ -26081,11 +26081,7 @@
 \Link[https://github.com/michal-h21/make4ht/issues/155]{}{}here\EndLink
 
 \<french part\><<<
-\DeclareRobustCommand*{\FB at emptypart}{\def\thepart{}}
-\HAssign\french:part=0
-\def\tocpart#1#2#3{\par
-  \HAdvance\french:part 1\relax%
-  \HCode{<span class="partToc" \a:LRdir>}\uppercase\expandafter{\romannumeral\french:part\relax}\ \  #2\HCode{</span>}\par}%
+\DeclareRobustCommand*{\FB at emptypart}{}
 >>>
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%

Modified: trunk/lit/tex4ht-html4.tex
===================================================================
--- trunk/lit/tex4ht-html4.tex	2024-10-26 20:38:45 UTC (rev 1590)
+++ trunk/lit/tex4ht-html4.tex	2024-10-29 13:48:36 UTC (rev 1591)
@@ -18434,8 +18434,21 @@
 >>>
 
 
+This should remove part number in French Babel, because 
+the number is a part of the partname.
+\Link[https://github.com/michal-h21/make4ht/issues/155]{}{}Bug report\EndLink.
 
+\<configure html4 french\><<<
+\Configure{part}{}{}
+   {\IgnorePar \EndP\HCode{<h1 class="partHead"\a:LRdir>}%
+       \HCode{<span class="titlemark">}\partname
+       \HCode{</span><br />}}
+   {\HCode{</h1>}\IgnoreIndent\par}
+>>>
 
+
+
+
 \<configure html4 galician\><<<
 \ifx\A:charset\empty
 \def\A:charset{charset=iso-8859-1}



More information about the tex4ht-commits mailing list.