diff options
author | Norbert Preining <preining@logic.at> | 2007-11-16 10:58:58 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2007-11-16 10:58:58 +0000 |
commit | 51e28d412daef429c7c98a012b032b03c0496d8c (patch) | |
tree | f7b287ff65ab158d7a3d4e7bbe1882676c4c8b6d /Master/texmf-dist/tex/latex/fink | |
parent | e079fe13ffdc70e98604410357103ad637adb5b3 (diff) |
update fink 2.1 from ctan
git-svn-id: svn://tug.org/texlive/trunk@5450 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fink')
-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}{% |