summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-08-12 22:04:53 +0000
committerKarl Berry <karl@freefriends.org>2021-08-12 22:04:53 +0000
commitd935d2640a5fd93fb80f4f838fb5cc3c5d8f3379 (patch)
tree984a356cda68079f9a967900599fae3d0c2d8305 /Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
parent99fae766826af61fe77f2b404faa7752b39b0e47 (diff)
tex4ht source file updates
git-svn-id: svn://tug.org/texlive/trunk@60231 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex')
-rw-r--r--Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex21
1 files changed, 14 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex b/Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex
index f409c9f06a3..2f3aa6f0e12 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 969 2021-08-03 18:00:44Z michal_h21 $
+% $Id: tex4ht-4ht.tex 972 2021-08-12 20:24:34Z michal_h21 $
% tex tex4ht-4ht or ht tex tex4ht-4ht
%
% Copyright 2009-2021 TeX Users Group
@@ -25920,6 +25920,18 @@ Show dimensions only for pictures that have dimensions specified explicitly or u
\def\if:boundingbox#1#2{\ifdim\Gin@req@width=\Gin@nat@width\ifx\noBoundingBox\UnDefined#1\else#2\fi\else#1\fi}
>>>
+We need to find bounding boxes of images. Graphics support the .xbb file that contain this information.
+It is necessary to provide the DeclareGraphicsRule commands for supported image formats so
+the .xbb file works.
+
+\<fix graphics\><<<
+\DeclareGraphicsRule{.png}{bmp}{.xbb}{}
+\DeclareGraphicsRule{.jpg}{bmp}{.xbb}{}
+\DeclareGraphicsRule{.gif}{bmp}{.xbb}{}
+\DeclareGraphicsRule{.pdf}{bmp}{.xbb}{}
+\DeclareGraphicsRule{.svg}{bmp}{.xbb}{}
+>>>
+
%\expandafter\def\csname c:graphics-file:\endcsname#1{\Gin@drafttrue
% \def\Gin@setfile##1##2##3{%
% \def\:temp####1####2{#1}\:temp{##3}{\Gin@base}}}
@@ -26037,11 +26049,6 @@ dvips needs to be used instead
\fi
\Gin:esetsize
}
-\DeclareGraphicsRule{.png}{bmp}{.xbb}{}
-\DeclareGraphicsRule{.jpg}{bmp}{.xbb}{}
-\DeclareGraphicsRule{.gif}{bmp}{.xbb}{}
-\DeclareGraphicsRule{.pdf}{bmp}{.xbb}{}
-\DeclareGraphicsRule{.svg}{bmp}{.xbb}{}
\NewConfigure{rotatebox}{2}
\pend:def\Grot@box{\a:rotatebox}
@@ -26605,7 +26612,7 @@ We need to use dvips driver with XeLaTeX
\<mdframed.4ht\><<<
% mdframed.4ht (|version), generated from |jobname.tex
-% Copyright 2017 TeX Users Group
+% Copyright 2017-2021 TeX Users Group
|<TeX4ht license text|>
\NewConfigure{mdframed}{2}