texlive[72661] Master/texmf-dist: toc \part for French babel, tex4ht

commits+karl at tug.org commits+karl at tug.org
Fri Oct 25 23:54:51 CEST 2024


Revision: 72661
          https://tug.org/svn/texlive?view=revision&revision=72661
Author:   karl
Date:     2024-10-25 23:54:50 +0200 (Fri, 25 Oct 2024)
Log Message:
-----------
toc \part for French babel, tex4ht r1585; part roman numerals, tex4ht r1587; redefine \thepart, tex4ht r1588; restore math before \tikz at installcommands, tex4ht r1589

Revision Links:
--------------
    https://tug.org/svn/texlive?view=revision&revision=1585
    https://tug.org/svn/texlive?view=revision&revision=1587
    https://tug.org/svn/texlive?view=revision&revision=1588
    https://tug.org/svn/texlive?view=revision&revision=1589

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/french.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/memoir.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2024-10-25 21:30:14 UTC (rev 72660)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2024-10-25 21:54:50 UTC (rev 72661)
@@ -1,3 +1,12 @@
+2024-10-25  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-mathjax.tex (mathjax-latex-4ht.4ht): restore math
+	environments before \tikz at installcommands, to fix issues with
+	the matrix environment.
+
+	* tex4ht-4ht.tex (french.4ht): fixed \part command in TOC.
+	https://github.com/michal-h21/make4ht/issues/155
+
 2024-10-18  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (caption.4ht): fixed support for the \caption

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2024-10-25 21:30:14 UTC (rev 72660)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2024-10-25 21:54:50 UTC (rev 72661)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1584 2024-10-18 15:00:09Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1588 2024-10-25 14:32:49Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2024 TeX Users Group    
@@ -16657,7 +16657,6 @@
 \<memoir.4ht\><<<
 % memoir.4ht (|version), generated from |jobname.tex
 % Copyright |CopyYear.2003. Eitan M. Gurari
-% Copyright 2003-2024 TeX Users Group
 |<TeX4ht copywrite|>
 \input book.4ht
 \input verse.4ht
@@ -26043,6 +26042,7 @@
    |<french 4ht|>
    \Configure{special}{\csname @s at ORI\endcsname}
 \fi
+|<french part|>
 \Hinput{french}
 \endinput
 >>>       \AddFile{7}{french}
@@ -26077,6 +26077,17 @@
 \fi
 >>>
 
+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 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}%
+>>>
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \Chapter{Verbatim}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex	2024-10-25 21:30:14 UTC (rev 72660)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-mathjax.tex	2024-10-25 21:54:50 UTC (rev 72661)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-mathjax.tex 1562 2024-09-27 11:07:49Z michal_h21 $
+% $Id: tex4ht-mathjax.tex 1589 2024-10-25 14:47:14Z michal_h21 $
 % compile: latex tex4ht-mathjax
 %
 % Copyright 2018-2024 TeX Users Group
@@ -309,7 +309,8 @@
 
 \<restore environments\><<<
 \@ifpackageloaded{tikz}{%
-\tikzset{every picture/.append code={\:ignoretikzmatrix\RestoreMathJaxEnvironments}} 
+%\tikzset{every picture/.append code={\:ignoretikzmatrix\RestoreMathJaxEnvironments}} 
+\pend:def\tikz at installcommands{\RestoreMathJaxEnvironments}
 }{}
 >>>
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/french.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/french.4ht	2024-10-25 21:30:14 UTC (rev 72660)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/french.4ht	2024-10-25 21:54:50 UTC (rev 72661)
@@ -1,31 +1,23 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% french.4ht                            2009-05-21-09:32 %
-% Copyright (C) 1999--2009       Eitan M. Gurari         %
-%                                                        %
-% This work may be distributed and/or modified under the %
-% conditions of the LaTeX Project Public License, either %
-% version 1.3c of this license or (at your option) any   %
-% later version. The latest version of this license is   %
-% in                                                     %
-%   http://www.latex-project.org/lppl.txt                %
-% and version 1.3c or later is part of all distributions %
-% of LaTeX version 2005/12/01 or later.                  %
-%                                                        %
-% This work has the LPPL maintenance status "maintained".%
-%                                                        %
-% This Current Maintainer of this work                   %
-% is Eitan M. Gurari.                                    %
-%                                                        %
-% If you modify this program your changing its signature %
-% with a directive of the following form will be         %
-% appreciated.                                           %
-%            \message{signature}                         %
-%                                                        %
-%                             gurari at cse.ohio-state.edu  %
-%                 http://www.cse.ohio-state.edu/~gurari  %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\immediate\write-1{version 2009-05-21-09:32}
-
+% french.4ht                            2024-10-25-14:48 %
+% Copyright (C) 1999-2009       Eitan M. Gurari         %
+% Copyright 2009-2024 TeX Users Group
+%
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either
+% version 1.3c of this license or (at your option) any
+% later version. The latest version of this license is in
+%   https://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions
+% of LaTeX version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status "maintained".
+%
+% The Current Maintainer of this work
+% is the TeX4ht Project <https://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
 \expandafter\ifx \csname @s at ORI\endcsname \relax
 \else
    \let\:GOfrench\GOfrench
@@ -55,6 +47,12 @@
 
    \Configure{special}{\csname @s at ORI\endcsname}
 \fi
+\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}%
+
 \Hinput{french}
 \endinput
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht	2024-10-25 21:30:14 UTC (rev 72660)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/mathjax-latex-4ht.4ht	2024-10-25 21:54:50 UTC (rev 72661)
@@ -1,4 +1,4 @@
-% mathjax-latex-4ht.4ht (2024-09-27-09:25), generated from tex4ht-mathjax.tex
+% mathjax-latex-4ht.4ht (2024-10-25-14:48), generated from tex4ht-mathjax.tex
 % Copyright 2018-2024 TeX Users Group
 %
 % This work may be distributed and/or modified under the
@@ -16,7 +16,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2024-09-27-09:25}
+\immediate\write-1{version 2024-10-25-14:48}
 
 
 \ExplSyntaxOn
@@ -166,7 +166,8 @@
 }{}
 
 \@ifpackageloaded{tikz}{%
-\tikzset{every picture/.append code={\:ignoretikzmatrix\RestoreMathJaxEnvironments}}
+%\tikzset{every picture/.append code={\:ignoretikzmatrix\RestoreMathJaxEnvironments}}
+\pend:def\tikz at installcommands{\RestoreMathJaxEnvironments}
 }{}
 
 }
@@ -221,6 +222,12 @@
 
 
 
+
+
+
+
+
+
 
 
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/memoir.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/memoir.4ht	2024-10-25 21:30:14 UTC (rev 72660)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/memoir.4ht	2024-10-25 21:54:50 UTC (rev 72661)
@@ -1,6 +1,5 @@
-% memoir.4ht (2024-05-20-13:21), generated from tex4ht-4ht.tex
+% memoir.4ht (2024-10-20-07:19), generated from tex4ht-4ht.tex
 % Copyright 2003-2009 Eitan M. Gurari
-% Copyright 2003-2024 TeX Users Group
 % Copyright 2009-2024 TeX Users Group
 %
 % This work may be distributed and/or modified under the
@@ -7,7 +6,7 @@
 % conditions of the LaTeX Project Public License, either
 % version 1.3c of this license or (at your option) any
 % later version. The latest version of this license is in
-%   http://www.latex-project.org/lppl.txt
+%   https://www.latex-project.org/lppl.txt
 % and version 1.3c or later is part of all distributions
 % of LaTeX version 2005/12/01 or later.
 %
@@ -14,11 +13,11 @@
 % This work has the LPPL maintenance status "maintained".
 %
 % The Current Maintainer of this work
-% is the TeX4ht Project <http://tug.org/tex4ht>.
+% is the TeX4ht Project <https://tug.org/tex4ht>.
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2024-05-20-13:21}
+\immediate\write-1{version 2024-10-20-07:19}
 
 \input book.4ht
 \input verse.4ht
@@ -117,6 +116,7 @@
    \HtmlEnv    \Toc:Title{##8}\csname no:#1\endcsname{##9}}%
 %
       \def\@sect##1##2##3##4##5##6[##7]##8{%
+   \UseHookWithArguments{cmd/@sect/before}{8}{##1}{##2}{##3}{##4}{##5}{##6}{##7}{##8}%
    \ifx \o:@seccntformat:\:UnDef
   \let\o:@seccntformat:\@seccntformat
 \fi
@@ -130,9 +130,12 @@
 %
    \let\@seccntformat=\o:@seccntformat:
 %
-   \HtmlEnv    \Toc:Title{##7}\csname no:#1\endcsname{##8}}%
+   \HtmlEnv    \Toc:Title{##7}\csname no:#1\endcsname{##8}%
+   \UseHookWithArguments{cmd/@sect/after}{8}{##1}{##2}{##3}{##4}{##5}{##6}{##7}{##8}%
+ }%
 %
       \def\@ssect##1##2##3##4##5{%
+   \UseHookWithArguments{cmd/@ssect/before}{5}{##1}{##2}{##3}{##4}{##5}%
    \gdef\ssect:ttl{##5}%
 %
    \let\@ssect\no at ssect
@@ -141,7 +144,9 @@
    \let\:Sc\sv:Sc \let\@sect\sv:sect \let\@ssect\sv:ssect
 \let\M at sect\sv:Msect
 %
-   \HtmlEnv   \csname :like#1\endcsname{##5}}%
+   \HtmlEnv   \csname :like#1\endcsname{##5}%
+   \UseHookWithArguments{cmd/@ssect/after}{5}{##1}{##2}{##3}{##4}{##5}%
+ }%
 \IgnorePar}
 \fi
 



More information about the tex-live-commits mailing list.