summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-10-29 21:02:08 +0000
committerKarl Berry <karl@freefriends.org>2024-10-29 21:02:08 +0000
commitcf45147c8cf974f83afab118fb85270be645ec28 (patch)
tree5c5d8777dc26337ee64ae48dbd558f947f4dad00 /Master/texmf-dist/source
parent81cb872783c520c9b50c8c68fb233cc9d46b51c5 (diff)
omit part number from \part, tex4ht r1591
git-svn-id: svn://tug.org/texlive/trunk@72702 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog7
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex8
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex15
3 files changed, 23 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index 8f7bdcdf03e..9bdf9e73eaa 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,10 @@
+2024-10-29 Michal Hoftich <michal.h21@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@gmail.com>
* tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): restore math
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index 5f6d6397723..8ccc133f128 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1588 2024-10-25 14:32:49Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1591 2024-10-29 13:48:36Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2024 TeX Users Group
@@ -26081,11 +26081,7 @@ This should fix part commands in TOC. Bug report is
\Link[https://github.com/michal-h21/make4ht/issues/155]{}{}here\EndLink
\<french part\><<<
-\DeclareRobustCommand*{\FB@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@emptypart}{}
>>>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-html4.tex
index 720c57e3e45..012883e471f 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 1582 2024-10-14 09:21:51Z michal_h21 $
+% $Id: tex4ht-html4.tex 1591 2024-10-29 13:48:36Z michal_h21 $
% Compile 4 times: latex tex4ht-html4
% Copy html4.4ht into the work directory before all but the last compilation.
%
@@ -18434,6 +18434,19 @@ font-size:70\%;
>>>
+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\><<<