summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oberdiek/grffile.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/grffile.sty')
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/grffile.sty9
1 files changed, 6 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/grffile.sty b/Master/texmf-dist/tex/latex/oberdiek/grffile.sty
index f7a91e1ceae..ca3158b2dc1 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/11/11 v1.6 Extended file name support for graphics (HO)]%
+ [2007/11/24 v1.7 Extended file name support for graphics (HO)]%
\edef\grffile@RestoreCatcodes{%
\catcode`\noexpand\=\the\catcode`\=\relax
\catcode`\noexpand\:\the\catcode`\:\relax
@@ -189,13 +189,16 @@
}%
}
\def\grffile@IfFileExists#1{%
- \expandafter\ifx\expandafter\\\pdf@filesize{#1}\\%
+ \expandafter\expandafter\expandafter
+ \ifx\expandafter\expandafter\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\\\pdf@filesize{\reserved@b#1}\\%
+ \expandafter\expandafter\expandafter
+ \ifx\expandafter\expandafter\expandafter
+ \\\pdf@filesize{\reserved@b#1}\\%
\else
\edef\grffile@file@found{\reserved@b#1}%
\let\reserved@a\@firstoftwo