texlive[72026] Master/texmf-dist: \mathbb and \mathfrak fixes, tex4ht

commits+karl at tug.org commits+karl at tug.org
Tue Aug 13 22:28:40 CEST 2024


Revision: 72026
          https://tug.org/svn/texlive?view=revision&revision=72026
Author:   karl
Date:     2024-08-13 22:28:40 +0200 (Tue, 13 Aug 2024)
Log Message:
-----------
\mathbb and \mathfrak fixes, tex4ht r1546; jats bibs, tex4ht r1545

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

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-jats.tex
    trunk/Master/texmf-dist/tex/generic/tex4ht/amsfonts.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/html-mml.4ht
    trunk/Master/texmf-dist/tex/generic/tex4ht/jats.4ht

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2024-08-13 20:04:26 UTC (rev 72025)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/ChangeLog	2024-08-13 20:28:40 UTC (rev 72026)
@@ -1,3 +1,15 @@
+2024-08-13  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-4ht.tex (amsfonts.4ht): fixed support for \mathbb and
+	\mathfrak.
+
+	* tex4ht-jats.tex (jats.4ht): added support for LaTeX
+	bibliographies.
+
+2024-08-11  Karl Berry  <karl at freefriends.org>
+
+	* tex4ht-mathml.tex (html-mml.4ht): copyright 2024.
+
 2024-08-02  Michal Hoftich  <michal.h21 at gmail.com>
 
 	* tex4ht-mathml.tex (mathml.4ht): added "texsource" option. It will

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2024-08-13 20:04:26 UTC (rev 72025)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex	2024-08-13 20:28:40 UTC (rev 72026)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1542 2024-08-02 14:58:42Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1546 2024-08-13 19:30:20Z michal_h21 $
 % tex tex4ht-4ht   or   ht tex tex4ht-4ht
 %
 % Copyright 2009-2024 TeX Users Group    
@@ -22279,14 +22279,14 @@
 
 \<amsfonts sty\><<<<
 \NewConfigure{mathbb}{2}  
-\def\:temp#1{{\a:mathbb \o:@mathbb:{#1}\b:mathbb}}
-\HLet\@mathbb\:temp
+\def\:temp#1{{\a:mathbb \o:mathbb:{#1}\b:mathbb}}
+\HLet\mathbb\:temp
 >>>
 
 \<amsfonts sty\><<<<
 \NewConfigure{mathfrak}{2}  
-\def\:temp#1{{\a:mathfrak \o:@mathfrak:{#1}\b:mathfrak}}
-\HLet\@mathfrak\:temp
+\def\:temp#1{{\a:mathfrak \o:mathfrak:{#1}\b:mathfrak}}
+\HLet\mathfrak\:temp
 >>>
 
 Commands like \''\rm' need low level implemetation through 

Modified: trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex
===================================================================
--- trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex	2024-08-13 20:04:26 UTC (rev 72025)
+++ trunk/Master/texmf-dist/source/generic/tex4ht/tex4ht-jats.tex	2024-08-13 20:28:40 UTC (rev 72026)
@@ -1,4 +1,4 @@
-% $Id: tex4ht-jats.tex 1473 2024-02-23 12:26:51Z michal_h21 $
+% $Id: tex4ht-jats.tex 1545 2024-08-13 19:02:54Z michal_h21 $
 % compile 3 times: latex tex4ht-jats
 %           or   xhlatex tex4ht-jats "html,3,sections+"
 %
@@ -201,6 +201,7 @@
 |<latex footnotes|>
 |<latex quotes|>
 |<latex lists|>
+|<latex bibliography|>
 >>>
 
 \<shared article,report\><<<
@@ -841,6 +842,29 @@
    {\EndNoFonts\HCode{</term><def>}\HtmlParOn|<list par|>}
 >>>
 
+
+We cannot create a structured bibliographic record for plain LaTeX references, so we 
+at least mark individual entries.
+
+Entry id is set on the label element. The id comes from a child xref element that is removed 
+by make4ht. Ideally, it should be set on ref, but we need to use label here, to catch 
+potential entry number.
+
+
+\<latex bibliography\><<<
+\ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi \EndP \HCode{<ref-list>}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi \EndP \HCode{</ref-list>}}
+   {\en:bib\def\en:bib{\HCode{</mixed-citation></ref>}}%
+    \HCode{<ref><label>}%
+     \Configure{HtmlPar}%
+    {\EndP}%
+    {\EndP}%
+    {} {}%
+  }
+   {\HCode{</label><mixed-citation>}}
+>>>
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \chapter{Packages}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/amsfonts.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/amsfonts.4ht	2024-08-13 20:04:26 UTC (rev 72025)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/amsfonts.4ht	2024-08-13 20:28:40 UTC (rev 72026)
@@ -1,37 +1,29 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% amsfonts.4ht                          2009-05-21-09:32 %
-% Copyright (C) 2001--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}
-
+% amsfonts.4ht                          2024-08-13-13:15 %
+% Copyright (C) 2001-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.
   \NewConfigure{mathbb}{2}
-\def\:temp#1{{\a:mathbb \o:@mathbb:{#1}\b:mathbb}}
-\HLet\@mathbb\:temp
+\def\:temp#1{{\a:mathbb \o:mathbb:{#1}\b:mathbb}}
+\HLet\mathbb\:temp
 \NewConfigure{mathfrak}{2}
-\def\:temp#1{{\a:mathfrak \o:@mathfrak:{#1}\b:mathfrak}}
-\HLet\@mathfrak\:temp
+\def\:temp#1{{\a:mathfrak \o:mathfrak:{#1}\b:mathfrak}}
+\HLet\mathfrak\:temp
 
 \Hinput{amsfonts}
 \endinput

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/html-mml.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/html-mml.4ht	2024-08-13 20:04:26 UTC (rev 72025)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/html-mml.4ht	2024-08-13 20:28:40 UTC (rev 72026)
@@ -1,5 +1,5 @@
-% html-mml.4ht (2022-10-31-13:02), generated from tex4ht-mathml.tex
-% Copyright 2009-2022 TeX Users Group
+% html-mml.4ht (2024-08-11-08:31), generated from tex4ht-mathml.tex
+% Copyright 2009-2024 TeX Users Group
 % Copyright 1999-2009 Eitan M. Gurari
 %
 % This work may be distributed and/or modified under the
@@ -6,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.
 %
@@ -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-10-31-13:02}
+\immediate\write-1{version 2024-08-11-08:31}
 
 \exit:ifnot{amsmath,% 
 array,% 
@@ -291,6 +291,139 @@
 \Configure{MathjaxSource}{https://cdn.jsdelivr.net/npm/mathjax@3/es5/mml-chtml.js}
 \Configure{@HEAD}{\HCode{ <script type="text/javascript" id="MathJax-script" async="async" src="\a:MathjaxSource"></script> \Hnewline}}
 \fi
+\:CheckOption{texsource}\if:Option
+
+\newtoks\mmleqtoks
+\ExplSyntaxOn
+\cs_new_protected:Npn \mmlalteqtoks #1
+{
+  % save tokens, but preserve spaces
+  % https://tex.stackexchange.com/a/44444/2891
+  \tl_set:Nn \l_tmpa_tl {#1}
+  \regex_replace_all:nnN { . } { \c{string} \0 } \l_tmpa_tl
+  \tl_set:Nx \l_tmpa_tl { \l_tmpa_tl }
+  % % replace < > and & with xml entities
+  \regex_replace_all:nnN { \x{26} } { & } \l_tmpa_tl
+  \regex_replace_all:nnN { \x{3C} } { < } \l_tmpa_tl
+  \regex_replace_all:nnN { \x{3E} } { > } \l_tmpa_tl
+  % \regex_replace_all:nnN { \n } {\HCode{ \Hnewline }} \l_tmpa_tl
+  % replace \par command with blank lines
+  \regex_replace_all:nnN { \x{5C}par\b } {\x{A}\x{A}} \l_tmpa_tl
+  \tl_set:Nx \mmleqtoks{ \l_tmpa_tl }
+
+  %\HCode{\l_tmpb_tl}
+}
+\ExplSyntaxOff
+
+
+\def\AltMath#1${\mmlalteqtoks{#1}%
+   #1\HCode{</\a:mathml mrow><\a:mathml annotation encoding="application/x-tex">\mmleqtoks</\a:mathml annotation>}$}
+\Configure{$}{\Configure{@math}{display="inline"}\DviMath\HCode{<\a:mathml semantics><\a:mathml mrow>}}{\HCode{</\a:mathml semantics>}\EndDviMath}{\expandafter\AltMath}
+
+\def\AltMathParen#1\){\mmlalteqtoks{#1}%
+   #1\HCode{</\a:mathml mrow><a\a:mathml nnotation encoding="application/x-tex">\mmleqtoks</\a:mathml annotation>}$}
+
+\def\AltMathParen#1\){\mmlalteqtoks{#1}#1\HCode{</\a:mathml mrow><\a:mathml annotation encoding="application/x-tex">\mmleqtoks</\a:mathml annotation>}\)}
+%\Configure{()}{\Configure{@math}{display="inline"}\DviMath\HCode{<\a:mathml semantics><\a:mathml mrow>}\AltMathParen$}{\EndDviMath\HCode{</\a:mathml semantics>}}
+\Configure{()}
+  {\Configure{@math}{%\a:mathml
+ display="inline"
+}\csname a:mathml()\endcsname
+\DviMath\HCode{<\a:mathml semantics><\a:mathml mrow>}$\expandafter\AltMathParen}
+{$\HCode{</\a:mathml semantics>}\EndDviMath\csname b:mathml()\endcsname}
+
+
+\long\def\AltDisplay#1\]{\mmlalteqtoks{#1}#1\HCode{</\a:mathml mrow><\a:mathml annotation encoding="application/x-tex">\mmleqtoks</\a:mathml annotation></\a:mathml semantics>}\]}
+\Configure{[]}{\Configure{@math}{display="block"}\DviMath$$\DisplayMathtrue\HCode{<\a:mathml semantics><\a:mathml mrow>}\AltDisplay}{$$\EndDviMath}
+
+
+% \long\def\MMLAltlDisplayDollars#1$${\mmlalteqtoks{\[#1\]}#1\HCode{</\a:mathml mrow><\a:mathml annotation encoding="application/x-tex">\mmleqtoks</\a:mathml annotation>}$$}
+
+% configuarartion of display math doesn't work yet. need to investigate it.
+% \Configure{$$}
+%    {\Configure{@math}{%\a:mathml
+%  display="block"
+% }\IgnorePar
+%     \ifvmode\else \HCode{<!--tex4ht:inline-->}\fi
+%   \EndP\DviMath\HCode{<\a:mathml semantics><\a:mathml mrow>}}
+% {\HCode{</\a:mathml semantics>}\EndDviMath\ShowPar\par{\csname HCondtrue\endcsname\noindent}}
+%    {\DisplayMathtrue\expandafter\MMLAltlDisplayDollars}
+
+
+% \renewcommand\eqannotate[1]{\mmlalteqtoks{#1}\HCode{<\a:mathml semantics><\a:mathml mrow>}#1\HCode{</\a:mathml mrow><\a:mathml annotation encoding="application/x-tex">\mmleqtoks</\a:mathml annotation></\a:mathml semantics>}}
+
+
+% environment support
+\newcommand\MMLVerbMathToks[2]{%
+  \mmlalteqtoks{\begin{#2}
+    #1
+  \end{#2}}%
+  \begingroup%
+  \ifvmode\IgnorePar\fi\EndP\Configure{@math}{display="block"}\DviMath\DisplayMathtrue\HCode{<\a:mathml semantics><\a:mathml mrow>}
+  \Configure{$$}{}{}{}
+  \begin{old#2}
+    #1
+  \end{old#2}
+  \HCode{</\a:mathml mrow><\a:mathml annotation encoding="application/x-tex">}
+  \HCode{\mmleqtoks}
+  \HCode{</\a:mathml annotation></\a:mathml semantics>}
+  \EndDviMath
+  \endgroup
+}
+
+% we must handle equations separatelly.
+% it is a bit messy
+\newcommand\MMLVerbMathToksEquation[2]{%
+  \mmlalteqtoks{\begin{#2}
+    #1
+  \end{#2}}%
+  \begingroup%
+  \def\@tempa{#2}%
+  \def\@equationname{equation}%
+  \def\mlabeledtr{mtr}
+  \ifx\@equationname\@tempa%
+  \def\mlabeledtr{mlabeledtr} % this element can be used to print the equation number, but it is supported only by MathJax
+  \fi
+  \ifvmode\IgnorePar\fi\EndP\Configure{@math}{display="block"}\DviMath\DisplayMathtrue\HCode{<\a:mathml semantics><\a:mathml mrow><\a:mathml mtable><\a:mathml \mlabeledtr><\a:mathml mtd>}%
+  \ifx\@equationname\@tempa%
+  \incr at eqnum%
+  \print at eqnum%
+  \HCode{</\a:mathml mtd><\a:mathml mtd>}%
+  \fi
+    #1%
+  \HCode{</\a:mathml mtd></\a:mathml \mlabeledtr></\a:mathml mtable></\a:mathml mrow><\a:mathml annotation encoding="application/x-tex">}%
+  \HCode{\mmleqtoks}%
+  \HCode{</\a:mathml annotation></\a:mathml semantics>}%
+  \EndDviMath%
+  \endgroup%
+}
+
+\ExplSyntaxOn
+\newcommand\MMLVerbMath[1]{%
+  \cs_if_exist:cTF{#1}{
+    \expandafter\let\csname old#1\expandafter\endcsname\csname #1\endcsname
+    \expandafter\let\csname endold#1\expandafter\endcsname\csname end#1\endcsname
+    \RenewDocumentEnvironment{#1}{+!b}{%
+      \NoFonts\expandafter\MMLVerbMathToks\expandafter{##1}{#1}\EndNoFonts%
+    }{}
+  }{}%
+}
+
+\newcommand\MMLVerbEquation[1]{%
+  \cs_if_exist:cTF{#1}{
+    \expandafter\let\csname old#1\expandafter\endcsname\csname #1\endcsname
+    \expandafter\let\csname endold#1\expandafter\endcsname\csname end#1\endcsname
+    \RenewDocumentEnvironment{#1}{+!b}{%
+      \NoFonts\expandafter\MMLVerbMathToksEquation\expandafter{##1}{#1}\EndNoFonts%
+    }{}
+  }{}%
+}
+\ExplSyntaxOff
+
+% \MMLVerbEquation{equation}
+% \MMLVerbEquation{equation*}
+
+\fi
 \Configure{multicolumn}
    {\let\sv:VBorder\VBorder
     \let\VBorder\empty
@@ -482,9 +615,6 @@
 
 
 
-
-
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{amsmath}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -661,6 +791,43 @@
    \ShowPar\IgnoreIndent\par}
 
 \fi
+\:CheckOption{texsource}\if:Option
+\MMLVerbMath{subarray}
+\MMLVerbMath{smallmatrix}
+\MMLVerbMath{matrix}
+\MMLVerbMath{pmatrix}
+\MMLVerbMath{bmatrix}
+\MMLVerbMath{Bmatrix}
+\MMLVerbMath{vmatrix}
+\MMLVerbMath{Vmatrix}
+\MMLVerbMath{cases}
+\MMLVerbMath{subequations}
+\MMLVerbMath{aligned}
+\MMLVerbMath{alignedat}
+\MMLVerbMath{gathered}
+\MMLVerbMath{gather}
+\MMLVerbMath{gather*}
+\MMLVerbMath{alignat}
+\MMLVerbMath{alignat*}
+\MMLVerbMath{xalignat}
+\MMLVerbMath{xalignat*}
+\MMLVerbMath{xxalignat}
+\MMLVerbMath{align}
+\MMLVerbMath{align*}
+\MMLVerbMath{flalign}
+\MMLVerbMath{flalign*}
+\MMLVerbMath{split}
+\MMLVerbMath{multline}
+\MMLVerbMath{multline*}
+% equations fails with errors, even though it worked in a .cfg
+% I will need to investigate it more
+% \MMLVerbEquation{equation}
+% \MMLVerbEquation{equation*}
+\MMLVerbMath{math}
+\MMLVerbMath{displaymath}
+\MMLVerbMath{eqnarray}
+\MMLVerbMath{eqnarray*}
+\fi
 \Configure{@begin}
   {split}
   {\let\tagform@=\:gobble }
@@ -680,6 +847,8 @@
 
 
 
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{plain}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -831,6 +1000,8 @@
 
 
 
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{color}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -913,6 +1084,14 @@
 
 
 
+
+
+
+
+
+
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{rlbabel}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -960,6 +1139,7 @@
 
 
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{frenchb}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1029,6 +1209,41 @@
 
 
 
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 
 
 

Modified: trunk/Master/texmf-dist/tex/generic/tex4ht/jats.4ht
===================================================================
--- trunk/Master/texmf-dist/tex/generic/tex4ht/jats.4ht	2024-08-13 20:04:26 UTC (rev 72025)
+++ trunk/Master/texmf-dist/tex/generic/tex4ht/jats.4ht	2024-08-13 20:28:40 UTC (rev 72026)
@@ -1,4 +1,4 @@
-% jats.4ht (2024-02-23-14:41), generated from tex4ht-jats.tex
+% jats.4ht (2024-08-13-13:15), generated from tex4ht-jats.tex
 % Copyright 2022-2024 TeX Users Group
 %
 % This work may be distributed and/or modified under the
@@ -5,7 +5,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.
 %
@@ -12,11 +12,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-02-23-14:41}
+\immediate\write-1{version 2024-08-13-13:15}
 
 \exit:ifnot{amsart,% 
 amsbook,% 
@@ -490,8 +490,20 @@
    {\EndNoFonts\HCode{</term><def>}\HtmlParOn\par\ShowPar
 }
 
+\ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi \EndP \HCode{<ref-list>}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi \EndP \HCode{</ref-list>}}
+   {\en:bib\def\en:bib{\HCode{</mixed-citation></ref>}}%
+    \HCode{<ref><label>}%
+     \Configure{HtmlPar}%
+    {\EndP}%
+    {\EndP}%
+    {} {}%
+  }
+   {\HCode{</label><mixed-citation>}}
 
 
+
 \Configure{chapter}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
@@ -713,8 +725,20 @@
    {\EndNoFonts\HCode{</term><def>}\HtmlParOn\par\ShowPar
 }
 
+\ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi \EndP \HCode{<ref-list>}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi \EndP \HCode{</ref-list>}}
+   {\en:bib\def\en:bib{\HCode{</mixed-citation></ref>}}%
+    \HCode{<ref><label>}%
+     \Configure{HtmlPar}%
+    {\EndP}%
+    {\EndP}%
+    {} {}%
+  }
+   {\HCode{</label><mixed-citation>}}
 
 
+
 \ConfigureEnv{abstract}
 {\ifvmode\IgnorePar\fi\EndP\HCode{<abstract>\Hnewline}}
 {\ifvmode\IgnorePar\fi\EndP\HCode{</abstract>}\par}{}{}
@@ -945,8 +969,20 @@
    {\EndNoFonts\HCode{</term><def>}\HtmlParOn\par\ShowPar
 }
 
+\ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi \EndP \HCode{<ref-list>}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi \EndP \HCode{</ref-list>}}
+   {\en:bib\def\en:bib{\HCode{</mixed-citation></ref>}}%
+    \HCode{<ref><label>}%
+     \Configure{HtmlPar}%
+    {\EndP}%
+    {\EndP}%
+    {} {}%
+  }
+   {\HCode{</label><mixed-citation>}}
 
 
+
 \ConfigureEnv{abstract}
 {\ifvmode\IgnorePar\fi\EndP\HCode{<abstract>\Hnewline}}
 {\ifvmode\IgnorePar\fi\EndP\HCode{</abstract>}\par}{}{}
@@ -976,8 +1012,6 @@
 
 
 
-
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{amsart}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1565,6 +1599,7 @@
 
 
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{biblatex}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1634,7 +1669,6 @@
 
 
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{url}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1649,6 +1683,7 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{hyperref}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1739,7 +1774,6 @@
 
 
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{memoir}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -1926,7 +1960,19 @@
    {\EndNoFonts\HCode{</term><def>}\HtmlParOn\par\ShowPar
 }
 
+\ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi \EndP \HCode{<ref-list>}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi \EndP \HCode{</ref-list>}}
+   {\en:bib\def\en:bib{\HCode{</mixed-citation></ref>}}%
+    \HCode{<ref><label>}%
+     \Configure{HtmlPar}%
+    {\EndP}%
+    {\EndP}%
+    {} {}%
+  }
+   {\HCode{</label><mixed-citation>}}
 
+
 \ConfigureEnv{abstract}
 {\ifvmode\IgnorePar\fi\EndP\HCode{<abstract>\Hnewline}}
 {\ifvmode\IgnorePar\fi\EndP\HCode{</abstract>}\par}{}{}
@@ -2047,6 +2093,11 @@
 
 
 
+
+
+
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{scrbook}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -2233,8 +2284,20 @@
    {\EndNoFonts\HCode{</term><def>}\HtmlParOn\par\ShowPar
 }
 
+\ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi \EndP \HCode{<ref-list>}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi \EndP \HCode{</ref-list>}}
+   {\en:bib\def\en:bib{\HCode{</mixed-citation></ref>}}%
+    \HCode{<ref><label>}%
+     \Configure{HtmlPar}%
+    {\EndP}%
+    {\EndP}%
+    {} {}%
+  }
+   {\HCode{</label><mixed-citation>}}
 
 
+
 \Configure{chapter}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{<sec>\Hnewline}}
 {\ifvmode\IgnorePar\fi\EndP\IgnorePar\HCode{</sec>\Hnewline}}
@@ -2270,6 +2333,7 @@
 \endinput\empty\empty\empty\empty\empty\empty
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{scrartcl}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -2456,8 +2520,20 @@
    {\EndNoFonts\HCode{</term><def>}\HtmlParOn\par\ShowPar
 }
 
+\ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi \EndP \HCode{<ref-list>}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi \EndP \HCode{</ref-list>}}
+   {\en:bib\def\en:bib{\HCode{</mixed-citation></ref>}}%
+    \HCode{<ref><label>}%
+     \Configure{HtmlPar}%
+    {\EndP}%
+    {\EndP}%
+    {} {}%
+  }
+   {\HCode{</label><mixed-citation>}}
 
 
+
 \ConfigureEnv{abstract}
 {\ifvmode\IgnorePar\fi\EndP\HCode{<abstract>\Hnewline}}
 {\ifvmode\IgnorePar\fi\EndP\HCode{</abstract>}\par}{}{}
@@ -2473,7 +2549,6 @@
 \endinput\empty\empty\empty\empty\empty\empty
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
                 \ConfigureHinput{scrreprt}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -2660,8 +2735,20 @@
    {\EndNoFonts\HCode{</term><def>}\HtmlParOn\par\ShowPar
 }
 
+\ConfigureList{thebibliography}%
+   {\ifvmode\IgnorePar\fi \EndP \HCode{<ref-list>}\let\en:bib=\empty}
+   {\en:bib \ifvmode\IgnorePar\fi \EndP \HCode{</ref-list>}}
+   {\en:bib\def\en:bib{\HCode{</mixed-citation></ref>}}%
+    \HCode{<ref><label>}%
+     \Configure{HtmlPar}%
+    {\EndP}%
+    {\EndP}%
+    {} {}%
+  }
+   {\HCode{</label><mixed-citation>}}
 
 
+
 \ConfigureEnv{abstract}
 {\ifvmode\IgnorePar\fi\EndP\HCode{<abstract>\Hnewline}}
 {\ifvmode\IgnorePar\fi\EndP\HCode{</abstract>}\par}{}{}
@@ -2755,6 +2842,16 @@
 
 
 
+
+
+
+
+
+
+
+
+
+
 
 
 



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