diff options
author | Karl Berry <karl@freefriends.org> | 2016-04-24 22:07:49 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-04-24 22:07:49 +0000 |
commit | 56868dd74576c285418c9d76bc3a5bab642fd6d8 (patch) | |
tree | 7bd1d3ba93157fa12e65badd02cd116d106d5553 /Master/texmf-dist/tex/latex/currfile | |
parent | b21728bcbb6e9398bc75b2485dac171e3a2edaf5 (diff) |
currfile (24apr16)
git-svn-id: svn://tug.org/texlive/trunk@40725 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/currfile')
-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 |