From 9952d5338598c8078be3651d3b34d89aff347a46 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 7 Mar 2023 23:12:01 +0000 Subject: mathml fixes in physics packages, tex4ht r1304 (branch) git-svn-id: svn://tug.org/texlive/branches/branch2022.final@66459 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/generic/tex4ht/ChangeLog | 6 ++++++ .../source/generic/tex4ht/mktex4ht-cnf.tex | 3 ++- .../source/generic/tex4ht/tex4ht-4ht.tex | 24 +++++++++++++++++++++- .../source/generic/tex4ht/tex4ht-fonts-noncjk.tex | 12 +++++------ 4 files changed, 37 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/source') 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 + + * 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 * 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 (|version), generated from |jobname.tex +% Copyright 2023 TeX Users Group +| +| +\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. + +\<<< +\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 25 127 -'∖' '' 25 ` +'№' '' 25 ` '' '' 26 % cmcbxti.htf (unicode) `version % '' '' 27 % Copyright `CopyYear.2000. Eitan M. Gurari % '' '' 28 ` @@ -39863,7 +39863,7 @@ htfcss: cmcbxti font-weight: bold; font-style: italic; \<<< cmcbxti 25 127 -'∖' '1'25 ` +'№' '1'25 ` '' '' 26 % cmcbxti.htf (win 2151) `version % '' '' 27 % Copyright `CopyYear.2000. Eitan M. Gurari % '' '' 28 ` @@ -39975,7 +39975,7 @@ htfcss: cmcbxti font-weight: bold; font-style: italic; \<<< cmcbxti 25 127 -'∖' '1'25 ` +'№' '1'25 ` '' '' 26 % cmcbxti.htf (iso-8859-2) `version % '' '' 27 % Copyright `CopyYear.2000. Eitan M. Gurari % '' '' 28 ` @@ -40124,7 +40124,7 @@ htfcss: cmcb font-weight: bold; \<<< cmcbx 25 127 -'∖' '' 25 ` +'№' '' 25 ` '' '' 26 % cmcbx.htf (unicode) `version % '' '' 27 % Copyright `CopyYear.2000. Eitan M. Gurari % '' '' 28 ` @@ -40346,7 +40346,7 @@ cmccsc 30 127 \<<< cmcbx 25 127 -'∖' '' 25 ` +'№' '' 25 ` '' '' 26 % cmcbx.htf (unicode) `version % '' '' 27 % Copyright `CopyYear.2000. Eitan M. Gurari % '' '' 28 ` -- cgit v1.2.3