diff options
author | Karl Berry <karl@freefriends.org> | 2017-03-13 23:16:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-03-13 23:16:45 +0000 |
commit | 2edb5793943361b66fc27160a8f06ce24bdc0e0e (patch) | |
tree | ee6ea080bd38c4f53c8e3953d095ec2b839dec8a /Master/texmf-dist/tex/generic/tex4ht/graphics.4ht | |
parent | 85b91d251e0eddca277254765e11b51dcc979b3a (diff) |
spaces in graphics filenames (tex4ht r248,r249), memoir \legend support (r247), http://puszcza.gnu.org.ua/bugs/?357
git-svn-id: svn://tug.org/texlive/trunk@43490 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/graphics.4ht')
-rw-r--r-- | Master/texmf-dist/tex/generic/tex4ht/graphics.4ht | 56 |
1 files changed, 27 insertions, 29 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/graphics.4ht b/Master/texmf-dist/tex/generic/tex4ht/graphics.4ht index b4f082d4c3d..73e667eed86 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/graphics.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/graphics.4ht @@ -1,34 +1,29 @@ -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% graphics.4ht 2009-05-21-09:32 % -% Copyright (C) 1997--2009 Eitan M. Gurari % -% % -% This work may be distributed and/or modified under the % -% conditions of the LaTeX Project Public License, either % -% version 1.3c of this license or (at your option) any % -% later version. The latest version of this license is % -% in % -% http://www.latex-project.org/lppl.txt % -% and version 1.3c or later is part of all distributions % -% of LaTeX version 2005/12/01 or later. % -% % -% This work has the LPPL maintenance status "maintained".% -% % -% This Current Maintainer of this work % -% is Eitan M. Gurari. % -% % -% If you modify this program your changing its signature % -% with a directive of the following form will be % -% appreciated. % -% \message{signature} % -% % -% gurari@cse.ohio-state.edu % -% http://www.cse.ohio-state.edu/~gurari % -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2009-05-21-09:32} - +% graphics.4ht (2017-03-13-16:10), generated from tex4ht-4ht.tex +% Copyright 1997-2009 Eitan M. Gurari +% Copyright 2009-2017 TeX Users Group +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either +% version 1.3c of this license or (at your option) any +% later version. The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3c or later is part of all distributions +% of LaTeX version 2005/12/01 or later. +% +% This work has the LPPL maintenance status "maintained". +% +% The Current Maintainer of this work +% is the TeX4ht Project <http://tug.org/tex4ht>. +% +% If you modify this program, changing the +% version identification would be appreciated. \expandafter\let\csname includegraphics \endcsname\includegraphics \def\includegraphics{\expandafter\protect\csname includegraphics \endcsname} +\def\grf:removequote"#1"{#1} +\def\grf:thrashname#1\relax{} +\def\grf:fixquotes{% + \@ifnextchar"{\edef\Gin@base{\expandafter\grf:removequote\Gin@base}\grf:thrashname}{\grf:thrashname}} \def\grp:warning#1{\no:bound#1(no BoundingBox)//\:warning{#1}} \def\no:bound#1(no BoundingBox)#2//{\gdef\noBoundingBox{#2}\ifx \noBoundingBox\empty \global\let\noBoundingBox\:UnDef\fi} @@ -51,9 +46,12 @@ \fi } \NewConfigure{graphics}{2} \def\grf:gobble#1\leavevmode#2grf:gobble{% - \PictureOff#1\PictureOn \G:cnfg \let\G:cnfg\relax} + \PictureOff\expandafter\grf:fixquotes\Gin@base\relax#1\PictureOn \G:cnfg \let\G:cnfg\relax} \let\G:cnfg\relax +\let\old:GreadEps\Gread@eps +\def\Gread@eps#1{\old:GreadEps{"#1"}} + \Hinput{graphics} \endinput |