graphicx

<..graphicx.4ht..>
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % graphicx.4ht                          2014-07-12-22:36 %
 % Copyright (C) 2003--2009       Eitan M. Gurari         %
 <.TeX4ht copyright.>
    <.fix graphicx.>
 \Hinput{graphicx}
 \endinput
 -_-_-

<..fix graphicx..>
 \let\Gin:esetsize\Gin@esetsize
 \def\Gin@esetsize{%
    \ifx \Gin@ewidth\Gin@exclamation
       \let\Gin:ewidth\Gin@ewidth
    \else
       \setlength\tmp:dim\Gin@ewidth
       \edef\Gin:ewidth{\the\tmp:dim}%
    \fi
    \ifx \Gin@eheight\Gin@exclamation
       \let\Gin:eheight\Gin@eheight
    \else
       \setlength\tmp:dim\Gin@eheight
       \edef\Gin:eheight{\the\tmp:dim}%
    \fi
    \Gin:esetsize
 }
 -_-_-

The calc package redefined ‘\setlength’ to allow expressions of the form ‘width=.625\textwidth+5mm’. The macros ‘Gin@ewidth’ and ‘Gin@eheight’ allow such values. Hence, for such macros, we should use instructions like ‘\setlength\tmp:dim\Gin@ewidth’ instead of ‘\tmp:dim=\Gin@ewidth’.