diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/cntperchap')
-rw-r--r-- | Master/texmf-dist/tex/latex/cntperchap/cntperchap.sty | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/cntperchap/cntperchap.sty b/Master/texmf-dist/tex/latex/cntperchap/cntperchap.sty index 94b202903fd..93704b9a5da 100644 --- a/Master/texmf-dist/tex/latex/cntperchap/cntperchap.sty +++ b/Master/texmf-dist/tex/latex/cntperchap/cntperchap.sty @@ -1,5 +1,5 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{cntperchap}[2015/05/09 v0.2 -- store counter values per chapter]% +\ProvidesPackage{cntperchap}[2015/06/01 v0.3 -- store counter values per chapter]% %% %% License: LaTeX Project Public License version 1.3 %% Copyright (2015) Dr. Christian Hupfer @@ -423,7 +423,7 @@ \def\cps@@trackleveltoshow{\value{cps@@totaltracklevelcount}}% }{% \def\cps@@trackleveltoshow{#1}% - } + }% \ifcsdef{#2countlist}{% \forlistcsloop{\@cps@@searchcountervalue{\cps@@trackleveltoshow}{cps@@tempcounter}}{#2countlist}% }{% @@ -431,6 +431,11 @@ }% Failure branch should be improved } +\newcommand{\FetchStoredCounterValue}[2][\number\value{cps@@currentlevelcount}]{% + \GetStoredCounterValue[#1]{#2}% + \number\value{cps@@tempcounterstorage}% +} + \newcommand{\StartCounterToc}{% \ifnumgreater{\value{\@cps@@cpscountersname}}{0}{% |