diff options
Diffstat (limited to 'Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex')
-rw-r--r-- | Master/texmf-dist/source/generic/tex4ht/tex4ht-4ht.tex | 21 |
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} |