summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/TeX4ht/source/ChangeLog10
-rw-r--r--support/TeX4ht/source/tex4ht-4ht.tex16
-rw-r--r--support/TeX4ht/source/tex4ht-html4.tex4
3 files changed, 21 insertions, 9 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog
index eb851e0e66..b7ad95ba12 100644
--- a/support/TeX4ht/source/ChangeLog
+++ b/support/TeX4ht/source/ChangeLog
@@ -1,3 +1,13 @@
+2022-12-24 Michal Hoftich <michal.h21@gmail.com>
+
+ * tex4ht-4ht.tex (mdframed.4ht): fixed support for Mdframed used
+ inside of \Picture*.
+ https://tex.stackexchange.com/a/669526/2891
+
+ * tex4ht-html4.tex (html4.4ht): added support for the inclusion of
+ MPS images.
+ https://tex.stackexchange.com/a/669526/2891
+
2022-12-23 Michal Hoftich <michal.h21@gmail.com>
* tex4ht-html4.tex (html4.4ht): fixed paragraph handling in the
diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex
index 30a73224d3..2e301d2010 100644
--- a/support/TeX4ht/source/tex4ht-4ht.tex
+++ b/support/TeX4ht/source/tex4ht-4ht.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-4ht.tex 1268 2022-12-16 15:18:27Z michal_h21 $
+% $Id: tex4ht-4ht.tex 1276 2022-12-24 12:44:15Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2022 TeX Users Group
@@ -27997,7 +27997,7 @@ We need to use dvips driver with XeLaTeX
\<mdframed.4ht\><<<
% mdframed.4ht (|version), generated from |jobname.tex
-% Copyright 2017-2021 TeX Users Group
+% Copyright 2017-2022 TeX Users Group
|<TeX4ht license text|>
\NewConfigure{mdframed}{2}
@@ -28005,18 +28005,20 @@ We need to use dvips driver with XeLaTeX
\NewConfigure{mdframetitle}{2}
\newcount\mdf:env:cnt
\def\mdf:id{mdframed-\the\mdf:env:cnt}
-\def\mdf@trivlist#1{\global\advance\mdf:env:cnt by1\relax\a:mdframed\a:mdframedstyle%
+\def\:tempa#1{\global\advance\mdf:env:cnt by1\relax\a:mdframed\a:mdframedstyle%
\ifdefempty{\mdf@frametitle}{}{\mdfframedtitleenv{\mdf@frametitle}\a:mdframetitle\mdf@@frametitle@use\b:mdframetitle}\let\mdf@frametitle\@empty%
}
+\HLet\mdf@trivlist\:tempa
-\def\endmdf@trivlist{\b:mdframed}
+\def\:tempa{\b:mdframed}
+\HLet\endmdf@trivlist\:tempa
% disable frame drawing, it can be supported using CSS
-\def\detected@mdf@put@frame{}%
+\HLet\detected@mdf@put@frame\relax%
\append:def\mdf@@ignorelastdescenders{\let\orig:unskip\unskip\def\unskip{\let\unskip\orig:unskip}}%
-\def\mdf@lrbox#1{}
-\def\endmdf@lrbox{}
+\HLet\mdf@lrbox\:gobble
+\HLet\endmdf@lrbox\relax
\Hinput{mdframed}
\endinput
>>> \AddFile{9}{mdframed}
diff --git a/support/TeX4ht/source/tex4ht-html4.tex b/support/TeX4ht/source/tex4ht-html4.tex
index 4d341ee3ff..4642e59faf 100644
--- a/support/TeX4ht/source/tex4ht-html4.tex
+++ b/support/TeX4ht/source/tex4ht-html4.tex
@@ -1,4 +1,4 @@
-% $Id: tex4ht-html4.tex 1274 2022-12-23 13:35:49Z michal_h21 $
+% $Id: tex4ht-html4.tex 1275 2022-12-24 12:38:23Z michal_h21 $
% Compile 4 times: latex tex4ht-html4
% Copy html4.4ht into the work directory before all but the last compilation.
%
@@ -14029,7 +14029,7 @@ Declare default graphics extensions supported in HTML or converted to these
supported formats by tex4ht.
\<graphics default extensions\><<<
-\DeclareGraphicsExtensions{.png,.svg,.jpg,.eps,.pdf}
+\DeclareGraphicsExtensions{.png,.svg,.jpg,.eps,.pdf,.mps}
>>>