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

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Fri Oct 25 16:22:13 CEST 2024


Author: michal_h21
Date: 2024-10-25 14:22:13 +0000 (Fri, 25 Oct 2024)
New Revision: 1587

Modified:
   trunk/lit/tex4ht-4ht.tex
Log:
print part numbers as roman numerals in toc

Modified: trunk/lit/tex4ht-4ht.tex
===================================================================
--- trunk/lit/tex4ht-4ht.tex	2024-10-25 12:57:45 UTC (rev 1586)
+++ trunk/lit/tex4ht-4ht.tex	2024-10-25 14:22:13 UTC (rev 1587)
@@ -26083,6 +26083,10 @@
 
 \<french part\><<<
 \DeclareRobustCommand*{\FB at emptypart}{}
+\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}%
 >>>
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%



More information about the tex4ht-commits mailing list.