diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/currfile/currfile-abspath.sty | 4 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/currfile/currfile.sty | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/currfile/currfile-abspath.sty b/Master/texmf-dist/tex/latex/currfile/currfile-abspath.sty index df969069c26..3052f1cb03c 100644 --- a/Master/texmf-dist/tex/latex/currfile/currfile-abspath.sty +++ b/Master/texmf-dist/tex/latex/currfile/currfile-abspath.sty @@ -1,7 +1,7 @@ \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{currfile-abspath}[% - 2013/02/01 - v0.7b + 2015/04/23 + v0.7c Provides absolute file paths, the parent working directory and the main file name] \newcommand*\thepwd{} \newcommand*\theabspath{} diff --git a/Master/texmf-dist/tex/latex/currfile/currfile.sty b/Master/texmf-dist/tex/latex/currfile/currfile.sty index 904e57cd3cd..37755c4b8a1 100644 --- a/Master/texmf-dist/tex/latex/currfile/currfile.sty +++ b/Master/texmf-dist/tex/latex/currfile/currfile.sty @@ -1,7 +1,7 @@ \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesPackage{currfile}[% - 2013/02/01 - v0.7b + 2015/04/23 + v0.7c Provides the file path elements of the current input file] \RequirePackage{kvoptions} \SetupKeyvalOptions{family=currfile,prefix=currfile@} @@ -182,7 +182,6 @@ \relax \global\advance\c@currfiledepth by\m@ne \else - \PackageWarning{currfile}{File stack underflow!}% \global\let\currfile@stack\currfile@stackinit \global\c@currfiledepth=\z@ \fi @@ -289,7 +288,6 @@ \let\currfileabsdir\@empty \newcounter{currfiledepth} \global\c@currfiledepth\m@ne -\currfile@push \ifcurrfile@realmainfile \getmainfile \ifx\themainfile\@empty @@ -300,6 +298,7 @@ \else \currfile@set{\currfile@maindir\jobname.\currfile@mainext} \fi +\currfile@push \let\currfile@stackinit\currfile@stack \let\currfile@abspathfalse\relax \let\currfile@abspathtrue\relax |