diff options
author | Karl Berry <karl@freefriends.org> | 2006-12-07 23:40:59 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-12-07 23:40:59 +0000 |
commit | e962278d5ed8e0d02a5519f7c96f62fcb1377415 (patch) | |
tree | c0a530004501eab7f5a6ae7e6059576bf9691006 /Master/texmf-dist/tex/latex/oberdiek/grffile.sty | |
parent | dd84ee65e40443d5b31beed25b07d91a51666e94 (diff) |
oberdiek update (8dec06)
git-svn-id: svn://tug.org/texlive/trunk@2619 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/grffile.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/grffile.sty | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/grffile.sty b/Master/texmf-dist/tex/latex/oberdiek/grffile.sty index f0b07a4e51e..80277691c9a 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}% - [2006/08/17 v1.1 Extended file name support for graphics (HO)] + [2006/11/30 v1.2 Extended file name support for graphics (HO)] \edef\grffile@RestoreCatcodes{% \catcode`\noexpand\=\the\catcode`\=\relax \catcode`\noexpand\:\the\catcode`\:\relax @@ -56,6 +56,7 @@ prefix=grffile@ } \DeclareBoolOption[true]{multidot} +\DeclareBoolOption[true]{babel} \DeclareBoolOption[false]{extendedchars} \DeclareBoolOption{space} \DeclareDefaultOption{% @@ -85,14 +86,18 @@ } \let\grffile@org@Ginclude@graphics\Ginclude@graphics \renewcommand*{\Ginclude@graphics}{% - \ifgrffile@extendedchars + \ifnum0\ifgrffile@babel 1\fi\ifgrffile@extendedchars 1\fi>\z@ \begingroup - \csname @safe@activestrue\endcsname - \edef~{\string~}% - \grffile@inputenc@loop\^^A\^^H% - \grffile@inputenc@loop\^^K\^^K% - \grffile@inputenc@loop\^^N\^^_% - \grffile@inputenc@loop\^^?\^^ff% + \ifgrffile@babel + \csname @safe@activestrue\endcsname + \edef~{\string~}% + \fi + \ifgrffile@extendedchars + \grffile@inputenc@loop\^^A\^^H% + \grffile@inputenc@loop\^^K\^^K% + \grffile@inputenc@loop\^^N\^^_% + \grffile@inputenc@loop\^^?\^^ff% + \fi \expandafter\grffile@extchar@Ginclude@graphics \else \expandafter\grffile@Ginclude@graphics |