summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-03-07 23:12:01 +0000
committerKarl Berry <karl@freefriends.org>2023-03-07 23:12:01 +0000
commit9952d5338598c8078be3651d3b34d89aff347a46 (patch)
tree2c827a2c3d565cb84bf46f460e7a6be5b3bd2f5d
parent9cc798a19092dfa52afc1182b532f210f6c41347 (diff)
mathml fixes in physics packages, tex4ht r1304 (branch)
git-svn-id: svn://tug.org/texlive/branches/branch2022.final@66459 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/ChangeLog6
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex3
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex24
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-fonts-noncjk.tex12
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/physics.4ht28
5 files changed, 65 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/ChangeLog b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
index 6e7294edca9..f172361dba2 100644
--- a/Master/texmf-dist/source/generic/tex4ht/ChangeLog
+++ b/Master/texmf-dist/source/generic/tex4ht/ChangeLog
@@ -1,3 +1,9 @@
+2023-03-07 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (physics.4ht): fixed MathML issues with the Physics
+ package.
+ https://github.com/michal-h21/make4ht/issues/109
+
2023-03-02 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-html4.tex (html4.4ht): added jpeg to list of supported
diff --git a/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex b/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
index 66173731138..b99917a7c90 100644
--- a/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/mktex4ht-cnf.tex
@@ -1,4 +1,4 @@
-% $Id: mktex4ht-cnf.tex 1285 2023-01-12 13:43:41Z michal_h21 $
+% $Id: mktex4ht-cnf.tex 1304 2023-03-07 12:50:09Z michal_h21 $
% Manually-maintained file, listing *.4ht files created by tex4ht-4ht.tex.
% Read by tex4ht-cond4ht.
%
@@ -259,6 +259,7 @@
\AddFile{8}{euler}
\AddFile{8}{eucal}
\AddFile{9}{longdiv}
+\AddFile{9}{physics}
\AddFile{7}{index}
\AddFile{7}{multind}
\AddFile{7}{imakeidx}
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index 57e5e215b99..4d36f3a4723 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 1300 2023-02-25 21:15:50Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1304 2023-03-07 12:50:09Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2023 TeX Users Group
@@ -31257,6 +31257,28 @@ UnDFexyz%
\NewConfigure{longdiv}{2}
>>>
+\Section{physics.sty}
+
+\<physics.4ht\><<<
+% physics.4ht (|version), generated from |jobname.tex
+% Copyright 2023 TeX Users Group
+|<TeX4ht license text|>
+|<physics argopen|>
+\Hinput{physics}
+\endinput
+>>> \AddFile{9}{physics}
+
+argopen and argclose cause issues in MathML, so we make a dummy definition, which is then
+used outside of Pictures. The original version added automatically left and right, which is
+not necessary in MathML anyway.
+
+\<physics argopen\><<<
+\DeclareDocumentCommand\physics:argopen{s}{} % Special open grouping for argument of a function
+\DeclareDocumentCommand\physics:argclose{s}{} % Special close grouping for argument of a function
+\HLet\argopen\physics:argopen
+\HLet\argclose\physics:argclose
+>>>
+
%%%%%%%%%%%%%%%%%%%%%%%%%
\Section{Indexes}
\SubSection{index.sty}
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-fonts-noncjk.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-fonts-noncjk.tex
index 2440f4a88ff..2681238c7c7 100644
--- a/Master/texmf-dist/source/generic/tex4ht/tex4ht-fonts-noncjk.tex
+++ b/Master/texmf-dist/source/generic/tex4ht/tex4ht-fonts-noncjk.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-fonts-noncjk.tex 1250 2022-11-24 14:12:46Z michal_h21 $
+% $Id: tex4ht-fonts-noncjk.tex 1301 2023-02-27 10:13:24Z michal_h21 $
% tex tex4ht-fonts-noncjk
% or ht tex tex4ht-fonts-noncjk
%
@@ -39749,7 +39749,7 @@ htfcss: cmcitt font-family: monospace,monospace; font-style: italic;
\<cmcbxti-uni\><<<
cmcbxti 25 127
-'&#x2216;' '' 25 `<version 0`>
+'&#x2116;' '' 25 `<version 0`>
'' '' 26 % cmcbxti.htf (unicode) `version %
'' '' 27 % Copyright `CopyYear.2000. Eitan M. Gurari %
'' '' 28 `<version 2`>
@@ -39863,7 +39863,7 @@ htfcss: cmcbxti font-weight: bold; font-style: italic;
\<cmcbxti-1251\><<<
cmcbxti 25 127
-'&#x2216;' '1'25 `<version 0`>
+'&#x2116;' '1'25 `<version 0`>
'' '' 26 % cmcbxti.htf (win 2151) `version %
'' '' 27 % Copyright `CopyYear.2000. Eitan M. Gurari %
'' '' 28 `<version 2`>
@@ -39975,7 +39975,7 @@ htfcss: cmcbxti font-weight: bold; font-style: italic;
\<cmcbxti-5\><<<
cmcbxti 25 127
-'&#x2216;' '1'25 `<version 0`>
+'&#x2116;' '1'25 `<version 0`>
'' '' 26 % cmcbxti.htf (iso-8859-2) `version %
'' '' 27 % Copyright `CopyYear.2000. Eitan M. Gurari %
'' '' 28 `<version 2`>
@@ -40124,7 +40124,7 @@ htfcss: cmcb font-weight: bold;
\<cmcbx-5\><<<
cmcbx 25 127
-'&#x2216;' '' 25 `<version 0`>
+'&#x2116;' '' 25 `<version 0`>
'' '' 26 % cmcbx.htf (unicode) `version %
'' '' 27 % Copyright `CopyYear.2000. Eitan M. Gurari %
'' '' 28 `<version 2`>
@@ -40346,7 +40346,7 @@ cmccsc 30 127
\<cmcbx-1251\><<<
cmcbx 25 127
-'&#x2216;' '' 25 `<version 0`>
+'&#x2116;' '' 25 `<version 0`>
'' '' 26 % cmcbx.htf (unicode) `version %
'' '' 27 % Copyright `CopyYear.2000. Eitan M. Gurari %
'' '' 28 `<version 2`>
diff --git a/Master/texmf-dist/tex/generic/tex4ht/physics.4ht b/Master/texmf-dist/tex/generic/tex4ht/physics.4ht
new file mode 100644
index 00000000000..c15d716d321
--- /dev/null
+++ b/Master/texmf-dist/tex/generic/tex4ht/physics.4ht
@@ -0,0 +1,28 @@
+% physics.4ht (2023-03-07-14:49), generated from tex4ht-4ht.tex
+% Copyright 2023 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 2023-03-07-14:49}
+
+\DeclareDocumentCommand\physics:argopen{s}{} % Special open grouping for argument of a function
+\DeclareDocumentCommand\physics:argclose{s}{} % Special close grouping for argument of a function
+\HLet\argopen\physics:argopen
+\HLet\argclose\physics:argclose
+
+\Hinput{physics}
+\endinput
+