texlive[73059] Master/texmf-dist: glossaries class, tex4ht r1612;

commits+karl at tug.org commits+karl at tug.org
Sat Dec 7 00:06:31 CET 2024


Revision: 73059
          https://tug.org/svn/texlive?view=revision&revision=73059
Author:   karl
Date:     2024-12-07 00:06:30 +0100 (Sat, 07 Dec 2024)
Log Message:
-----------
glossaries class, tex4ht r1612; disable resizegather, tex4ht r1613

Revision Links:
--------------
    https://tug.org/svn/texlive?view=revision&revision=1612
    https://tug.org/svn/texlive?view=revision&revision=1613

Modified Paths:
--------------
    trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
    trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
    trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/glossaries.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/generic/tex4ht/resizegather-hooks.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/resizegather.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2024-12-06 22:33:46 UTC (rev 73058)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2024-12-06 23:06:30 UTC (rev 73059)
@@ -1,3 +1,14 @@
+2024-12-06  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (
+	resizegather.4ht, usepackage.4ht, resizegather-hooks.4ht
+	): disable the Resizegather package to prevent MathML errors. 
+	https://github.com/michal-h21/make4ht/issues/158
+
+	* tex4ht-4ht.tex (glossaries.4ht): add a class atribute to links to
+	glossary.
+	https://tex.stackexchange.com/a/732132/2891
+
 2024-12-04  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-4ht.tex (manyfoot.4ht): fixed spurious space in footnotes

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex	2024-12-06 22:33:46 UTC (rev 73058)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex	2024-12-06 23:06:30 UTC (rev 73059)
@@ -1,4 +1,4 @@
-% $Id: mktex4ht-cnf.tex 1605 2024-11-28 14:57:28Z michal_h21 $
+% $Id: mktex4ht-cnf.tex 1613 2024-12-06 11:45:21Z michal_h21 $
 % Manually-maintained file, listing *.4ht files created by tex4ht-4ht.tex.
 % Read by tex4ht-cond4ht.
 %
@@ -148,6 +148,8 @@
 \AddFile{9}{braket}
 \AddFile{9}{mathtools}
 \AddFile{9}{mathtools-hooks}
+\AddFile{9}{resizegather}
+\AddFile{9}{resizegather-hooks}
 \AddFile{9}{llncs}
 \AddFile{9}{llncs-a}
 \AddFile{9}{lncse}

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2024-12-06 22:33:46 UTC (rev 73058)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2024-12-06 23:06:30 UTC (rev 73059)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1611 2024-12-04 20:42:25Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1613 2024-12-06 11:45:21Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2024 TeX Users Group    
@@ -13890,7 +13890,7 @@
 >>>        \AddFile{6}{glossaries}
 
 \<config glossaries\><<<
-\def\:tempc#1#2{\Link{#1}{}#2\EndLink}  
+\def\:tempc#1#2{\Link[ class="glossary"]{#1}{}#2\EndLink}  
 \HLet\@glslink\:tempc
 \def\:tempc#1#2{\Link{}{#1}\EndLink#2}
 \HLet\@glstarget\:tempc
@@ -22773,6 +22773,44 @@
 \ExplSyntaxOff
 >>>
 
+%%%%%%%%%%%%%%%%%%%%%%%%
+\Section{resizegather}
+%%%%%%%%%%%%%%%%%%%%%%%%
+
+Basically, we need to disable Resizegather, because it redefines 
+a lot of basic math environments and causes errors with MathML. 
+So this is just a dummy file.
+
+\<resizegather.4ht\><<< 
+% resizegather.4ht (|version), generated from |jobname.tex
+% Copyright 2024 TeX Users Group
+|<TeX4ht license text|> 
+
+
+\Hinput{resizegather} 
+\endinput
+>>> \AddFile{9}{resizegather}
+
+%%%%%%%%%%%%%%%%%%%%%%%%
+\Section{resizegather-hooks}
+%%%%%%%%%%%%%%%%%%%%%%%%
+
+\<add to usepackage\><<<
+\Configure{PackageHooks}{resizegather.sty}{resizegather-hooks.4ht}
+>>>
+
+\<resizegather-hooks.4ht\><<< 
+% resizegather-hooks.4ht (|version), generated from |jobname.tex
+% Copyright 2024 TeX Users Group
+|<TeX4ht license text|> 
+
+% this option should be enough to disable redefinition of equations 
+% and other math environments
+\PassOptionsToPackage{equations=false}{resizegather}
+
+\endinput
+>>> \AddFile{9}{resizegather-hooks}
+
 %%%%%%%%%%%%%%%%%%%%%%
 \Chapter{Other}
 %%%%%%%%%%%%%%%%%%%%%%

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/glossaries.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/glossaries.4ht	2024-12-06 22:33:46 UTC (rev 73058)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/glossaries.4ht	2024-12-06 23:06:30 UTC (rev 73059)
@@ -1,4 +1,4 @@
-% glossaries.4ht (2024-12-04-13:41), generated from tex4ht-4ht.tex
+% glossaries.4ht (2024-12-06-14:38), generated from tex4ht-4ht.tex
 % Copyright 2008-2009 Eitan M. Gurari
 % Copyright 2009-2024 TeX Users Group
 %
@@ -17,9 +17,9 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2024-12-04-13:41}
+\immediate\write-1{version 2024-12-06-14:38}
 
-\def\:tempc#1#2{\Link{#1}{}#2\EndLink}
+\def\:tempc#1#2{\Link[ class="glossary"]{#1}{}#2\EndLink}
 \HLet\@glslink\:tempc
 \def\:tempc#1#2{\Link{}{#1}\EndLink#2}
 \HLet\@glstarget\:tempc

Added: trunk/Master/texmf-dist/tex/generic/tex4ht/resizegather-hooks.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/resizegather-hooks.4ht	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/resizegather-hooks.4ht	2024-12-06 23:06:30 UTC (rev 73059)
@@ -0,0 +1,27 @@
+% resizegather-hooks.4ht (2024-12-06-14:38), generated from tex4ht-4ht.tex
+% Copyright 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
+%   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".
+%
+% The Current Maintainer of this work
+% is the TeX4ht Project <http://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
+\immediate\write-1{version 2024-12-06-14:38}
+
+
+% this option should be enough to disable redefinition of equations
+% and other math environments
+\PassOptionsToPackage{equations=false}{resizegather}
+
+\endinput
+


Property changes on: trunk/Master/texmf-dist/tex/generic/tex4ht/resizegather-hooks.4ht
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/generic/tex4ht/resizegather.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/resizegather.4ht	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/resizegather.4ht	2024-12-06 23:06:30 UTC (rev 73059)
@@ -0,0 +1,25 @@
+% resizegather.4ht (2024-12-06-14:38), generated from tex4ht-4ht.tex
+% Copyright 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
+%   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".
+%
+% The Current Maintainer of this work
+% is the TeX4ht Project <http://tug.org/tex4ht>.
+%
+% If you modify this program, changing the
+% version identification would be appreciated.
+\immediate\write-1{version 2024-12-06-14:38}
+
+
+
+\Hinput{resizegather}
+\endinput
+


Property changes on: trunk/Master/texmf-dist/tex/generic/tex4ht/resizegather.4ht
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2024-12-06 22:33:46 UTC (rev 73058)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/usepackage.4ht	2024-12-06 23:06:30 UTC (rev 73059)
@@ -1,4 +1,4 @@
-% usepackage.4ht (2024-11-05-12:30), generated from tex4ht-4ht.tex
+% usepackage.4ht (2024-12-06-14:38), generated from tex4ht-4ht.tex
 % Copyright 2003-2009 Eitan M. Gurari
 % Copyright 2009-2024 TeX Users Group
 %
@@ -17,7 +17,7 @@
 %
 % If you modify this program, changing the
 % version identification would be appreciated.
-\immediate\write-1{version 2024-11-05-12:30}
+\immediate\write-1{version 2024-12-06-14:38}
 
    \def\:temp{tex4ht}\ifx \:temp\@currname
    \:warning{\string\usepackage{tex4ht} again?}
@@ -85,6 +85,7 @@
 \AddToHook{package/hypdoc/before}{\SUPOff}
 \AddToHook{package/hypdoc/after}{\SUPOn}
 \Configure{PackageHooks}{mathtools.sty}{mathtools-hooks.4ht}
+\Configure{PackageHooks}{resizegather.sty}{resizegather-hooks.4ht}
 \Configure{PackageHooks}{babel.sty}{babel-sty-hooks.4ht}
 \Configure{PackageHooks}{minted.sty}{minted-sty-hooks.4ht}
 \Configure{PackageHooks}{xyling.sty}{xyling-hooks.4ht}



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