diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/fink/fink.sty | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/fink/fink.sty b/Master/texmf-dist/tex/latex/fink/fink.sty index b628b16d57d..4b763d9e7df 100644 --- a/Master/texmf-dist/tex/latex/fink/fink.sty +++ b/Master/texmf-dist/tex/latex/fink/fink.sty @@ -38,7 +38,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fink}[2007/06/11 2.0 +\ProvidesPackage{fink}[2007/11/14 v2.1 Keep track of the current filename] \RequirePackage{kvoptions} @@ -77,7 +77,8 @@ \PackageInfo{FiNK}{main file set to "\finkpath"} \newcommand*\fink@prepare[1]{% - {\filename@parse{#1}% + \begingroup% + \filename@parse{#1}% \xdef\fink@nextdir{% \ifx\filename@area\@empty% \fnk@maindir% @@ -87,7 +88,8 @@ \xdef\fink@nextbase{\filename@base}% \xdef\fink@nextext{\ifx\filename@ext\relax tex\else\filename@ext\fi}% \xdef\fink@nextfile{\fink@file{\fink@nextbase}{\fink@nextext}}% - \xdef\fink@nextpath{\fink@nextdir\fink@nextfile}}} + \xdef\fink@nextpath{\fink@nextdir\fink@nextfile}% + \endgroup} \newcommand*\fink@input{% \xdef\finkdir{\fink@nextdir}% @@ -97,12 +99,14 @@ \xdef\finkpath{\fink@nextpath}% \@@input\@filef@und} \newcommand*\fink@restore[1]{% - {\filename@parse{#1}% + \begingroup% + \filename@parse{#1}% \xdef\finkdir{\filename@area}% \xdef\finkbase{\filename@base}% \xdef\finkext{\filename@ext}% \xdef\finkfile{\fink@file{\finkbase}{\finkext}} - \xdef\finkpath{\finkdir\finkfile}}} + \xdef\finkpath{\finkdir\finkfile}% + \endgroup} \long\def\InputIfFileExists#1#2{% \IfFileExists{#1}{% |