texlive[72589] Master/texmf-dist: nicematrix support, tex4ht r1583;
commits+karl at tug.org
commits+karl at tug.org
Sat Oct 19 00:22:03 CEST 2024
Revision: 72589
https://tug.org/svn/texlive?view=revision&revision=72589
Author: karl
Date: 2024-10-19 00:22:03 +0200 (Sat, 19 Oct 2024)
Log Message:
-----------
nicematrix support, tex4ht r1583; improved \caption support, tex4ht r1584
Revision Links:
--------------
https://tug.org/svn/texlive?view=revision&revision=1583
https://tug.org/svn/texlive?view=revision&revision=1584
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/caption.4ht
Added Paths:
-----------
trunk/Master/texmf-dist/tex/generic/tex4ht/nicematrix.4ht
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2024-10-18 21:21:07 UTC (rev 72588)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog 2024-10-18 22:22:03 UTC (rev 72589)
@@ -1,3 +1,12 @@
+2024-10-18 Michal Hoftich <michal.h21 at gmail.com>
+
+ * tex4ht-4ht.tex (caption.4ht): fixed support for the \caption
+ command in classes where we don't provide \Configure{caption}. Found
+ in Svjour3.
+
+ * tex4ht-4ht.tex (nicematrix.4ht): added basic support for the
+ Nicematrix package.
+
2024-10-14 Michal Hoftich <michal.h21 at gmail.com>
* tex4ht-html4.tex (html4.4ht): fixed formatting of the \rtitlex
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex 2024-10-18 21:21:07 UTC (rev 72588)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex 2024-10-18 22:22:03 UTC (rev 72589)
@@ -1,4 +1,4 @@
-% $Id: mktex4ht-cnf.tex 1579 2024-10-10 21:25:46Z michal_h21 $
+% $Id: mktex4ht-cnf.tex 1583 2024-10-18 14:27:19Z michal_h21 $
% Manually-maintained file, listing *.4ht files created by tex4ht-4ht.tex.
% Read by tex4ht-cond4ht.
%
@@ -58,6 +58,7 @@
\AddFile{7}{arydshln}
\AddFile{9}{threeparttable}
\AddFile{9}{tabularray}
+\AddFile{9}{nicematrix}
\AddFile{9}{mdwtab}
\AddFile{9}{tabto}
\AddFile{9}{multirow}
Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2024-10-18 21:21:07 UTC (rev 72588)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex 2024-10-18 22:22:03 UTC (rev 72589)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1581 2024-10-13 11:33:56Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1584 2024-10-18 15:00:09Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2024 TeX Users Group
@@ -11574,6 +11574,31 @@
>>>
%%%%%%%%%%%%%%%%%%%%%%%%
+\Section{nicematrix}
+%%%%%%%%%%%%%%%%%%%%%%%%
+
+\<nicematrix.4ht\><<<
+% nicematrix.4ht (|version), generated from |jobname.tex
+% Copyright 2024 TeX Users Group
+|<TeX4ht license text|>
+\ExplSyntaxOn
+|<nicematrix suppress error message|>
+\ExplSyntaxOff
+
+\Hinput{nicematrix}
+\endinput
+>>> \AddFile{9}{nicematrix}
+
+Nicematrix detects if the array environment was changed
+and prints error message if it was. As TeX4ht changes the environment,
+it caused an error message. This boolean should suppress it.
+
+\<nicematrix suppress error message\><<<
+\bool_set_true:N\g__nicematrix_no_test_for_array_bool
+>>>
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%
\Section{mdwtab}
%%%%%%%%%%%%%%%%%%%%%%%%
@@ -13008,11 +13033,23 @@
}
>>>
+Define default values for commands used in caption configuration.
+This configuration is defined in configuration files for particular
+classes, so if the class is unsupported by TeX4ht (like Svjour3,
+for example), the configuration is not defined and these missing
+commands would cause compilation errors.
+
+\<caption redefine makecaption\><<<
+\c:def\cptA:{}\c:def\cptB:{}%
+\c:def\cptC:{}\c:def\cptD:{}
+>>>
+
Handle redefined caption command. We ignore the second parameter of
\''\Configure{caption}'. It contains the separator between caption number
and label. It is colon by default, but user can configure to use something
different. We should keep the separator selected by the user.
+
\<caption redefine makecaption\><<<
\long\def\@makecaption#1#2{%
|<fix continued float|>%
Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/caption.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/caption.4ht 2024-10-18 21:21:07 UTC (rev 72588)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/caption.4ht 2024-10-18 22:22:03 UTC (rev 72589)
@@ -1,12 +1,12 @@
-% caption.4ht (2022-11-22-14:29), generated from tex4ht-4ht.tex
+% caption.4ht (2024-10-18-14:47), generated from tex4ht-4ht.tex
% Copyright 2007-2009 Eitan M. Gurari
-% Copyright 2009-2022 TeX Users Group
+% 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
-% 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.
%
@@ -13,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 2022-11-22-14:29}
+\immediate\write-1{version 2024-10-18-14:47}
\let\sv:toclof\toclof
\def\toclof#1#2#3{%
@@ -45,6 +45,8 @@
}\fi%
}
+\c:def\cptA:{}\c:def\cptB:{}%
+\c:def\cptC:{}\c:def\cptD:{}
\long\def\@makecaption#1#2{%
\xdef\continuedfloat at captype{\@captype}%
\caption at make@above%
Added: trunk/Master/texmf-dist/tex/generic/tex4ht/nicematrix.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/nicematrix.4ht (rev 0)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/nicematrix.4ht 2024-10-18 22:22:03 UTC (rev 72589)
@@ -0,0 +1,28 @@
+% nicematrix.4ht (2024-10-18-14:47), 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-10-18-14:47}
+
+\ExplSyntaxOn
+\bool_set_true:N\g__nicematrix_no_test_for_array_bool
+
+\ExplSyntaxOff
+
+\Hinput{nicematrix}
+\endinput
+
Property changes on: trunk/Master/texmf-dist/tex/generic/tex4ht/nicematrix.4ht
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
More information about the tex-live-commits
mailing list.