diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/grffile.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/grffile.sty | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/grffile.sty b/Master/texmf-dist/tex/latex/oberdiek/grffile.sty index da9cb1d01d1..f7a91e1ceae 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/grffile.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/grffile.sty @@ -28,7 +28,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{grffile}% - [2007/08/16 v1.5 Extended file name support for graphics (HO)]% + [2007/11/11 v1.6 Extended file name support for graphics (HO)]% \edef\grffile@RestoreCatcodes{% \catcode`\noexpand\=\the\catcode`\=\relax \catcode`\noexpand\:\the\catcode`\:\relax @@ -67,8 +67,9 @@ \DeclareDefaultOption{% \PassOptionsToPackage\CurrentOption{graphics}% } +\RequirePackage{pdftexcmds}[2007/11/11] \begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname pdffilesize\endcsname\relax +\expandafter\ifx\csname pdf@filesize\endcsname\relax \grffile@spacefalse \let\grffile@space@disabled\@empty \def\grffile@spacetrue{% @@ -98,7 +99,8 @@ \else \ifx\grffile@inputencoding\@empty \expandafter\ifx\csname inputencodingname\endcsname\relax - \expandafter\ifx\csname CurrentInputEncodingOption\endcsname\relax + \expandafter\ifx\csname + CurrentInputEncodingOption\endcsname\relax \else \let\grffile@inputencoding\CurrentInputEncodingOption \fi @@ -187,13 +189,13 @@ }% } \def\grffile@IfFileExists#1{% - \expandafter\ifx\expandafter\\\pdffilesize{#1}\\% + \expandafter\ifx\expandafter\\\pdf@filesize{#1}\\% \let\reserved@a\@secondoftwo \ifx\input@path\@undefined \else \expandafter\@tfor\expandafter\reserved@b\expandafter :\expandafter=\input@path\do{% - \expandafter\ifx\expandafter\\\pdffilesize{\reserved@b#1}\\% + \expandafter\ifx\expandafter\\\pdf@filesize{\reserved@b#1}\\% \else \edef\grffile@file@found{\reserved@b#1}% \let\reserved@a\@firstoftwo |