summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-09-12 21:04:16 +0000
committerKarl Berry <karl@freefriends.org>2019-09-12 21:04:16 +0000
commit3af8a57de54296931665995bb516a091cb1e2ced (patch)
tree16af564e736fe1219e34823fdbf30900c62fe44a /Master/texmf-dist/tex/generic/tex4ht/html4.4ht
parentc3b3441033e901c72e783ac44f01903bc772a589 (diff)
set image dimensions explicitly, use -dusecropbox with gs, tex4ht r602-603
git-svn-id: svn://tug.org/texlive/trunk@52086 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/html4.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/html4.4ht13
1 files changed, 5 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
index b1b1563c954..3680981fdcd 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/html4.4ht
@@ -1,4 +1,4 @@
-% html4.4ht (2019-09-03-14:08), generated from tex4ht-html4.tex
+% html4.4ht (2019-09-12-14:02), generated from tex4ht-html4.tex
% Copyright 2009-2019 TeX Users Group
% Copyright 1997-2009 Eitan M. Gurari
%
@@ -17,7 +17,7 @@
%
% If you modify this program, changing the
% version identification would be appreciated.
-\immediate\write-1{version 2019-09-03-14:08}
+\immediate\write-1{version 2019-09-12-14:02}
\exit:ifnot{8859-6,%
CJK,%
@@ -11367,7 +11367,7 @@ j{01F0}H{021E}h{021F}\i{01D0}\j{01F0}%
% it is better to use the following command. pdf2svg must be installed separately.
\Configure{EpsConvert}{"epstopdf "\Gin@base.eps" && pdf2svg "\Gin@base.pdf" "\Gin@base.svg""}
\else
-\Configure{PdfConvert}{png}{"\a:Ghostscript\space -q -dNOPAUSE -dBATCH -sDEVICE=pngalpha -r300 \ifx\Gin@page\@empty\else -dFirstPage="\Gin@page" -dLastPage="\Gin@page"\fi\space -sOutputFile="\Gin@base-\Gin@page.\a:PdfConvert" "\Gin@base.pdf" "}
+\Configure{PdfConvert}{png}{"\a:Ghostscript\space -q -dNOPAUSE -dBATCH -dusecropbox -sDEVICE=pngalpha -r300 \ifx\Gin@page\@empty\else -dFirstPage="\Gin@page" -dLastPage="\Gin@page"\fi\space -sOutputFile="\Gin@base-\Gin@page.\a:PdfConvert" "\Gin@base.pdf" "}
\Configure{EpsConvert}{"\a:Ghostscript\space -dSAFER -dBATCH -dNOPAUSE -dEPSCrop -r120 -sDEVICE=pngalpha -sOutputFile="\Gin@base.png" "\Gin@base.eps" "}
\fi
\Configure{graphics*}
@@ -11429,12 +11429,9 @@ height="\expandafter\int:pt\the\Gin@req@height!*?: "
`Gin-dim'; for key dimensions when bounding box is unavailable
try `Gin-dim+'; neither is recommended}
\Configure{Gin-dim}
- {\ifx\noBoundingBox\UnDefined
- width="\expandafter\int:pt\the\Gin@req@width!*?: "
+ {\if:boundingbox{width="\expandafter\int:pt\the\Gin@req@width!*?: "
height="\expandafter\int:pt\the\Gin@req@height!*?: "
-%
- \fi
- }
+}{}}
\fi \fi