diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/crossreftools/crossreftools.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/crossreftools/crossreftools.sty | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/crossreftools/crossreftools.sty b/Master/texmf-dist/tex/latex/crossreftools/crossreftools.sty index 9836769576f..e10067d58ad 100644 --- a/Master/texmf-dist/tex/latex/crossreftools/crossreftools.sty +++ b/Master/texmf-dist/tex/latex/crossreftools/crossreftools.sty @@ -1,9 +1,9 @@ -%% LaTeX package crossreftools - version 0.9 (2019/01/03 -- 15:57:43) +%% LaTeX package crossreftools - version 1.0 (2020/07/19 -- 11:55:58) %% Source file for crossreftools.sty %% %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2017 -- 2019 by Dr. Christian Hupfer <typography dot with dot latex at gmail dot com> +%% Copyright (c) 2017 -- 2020 by Dr. Christian Hupfer <dr dot christian dot hupfer at gmail dot com> %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -19,10 +19,10 @@ %% %% -\def\crossreftoolspackageversion{0.9} +\def\crossreftoolspackageversion{1.0} \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{crossreftools}[2019/01/03 - v\crossreftoolspackageversion] +\ProvidesPackage{crossreftools}[2020/07/19 - v\crossreftoolspackageversion] \newif\ifcrtfinal \newif\ifcleverefcompatmode @@ -433,7 +433,10 @@ \newcommand{\crtaddlabeltotoc}[1]{% \ifcrtfinal \else - \addcontentsline{\crt@listoflabelsfileextension}{\crt@listoflabelsstructurelevel}{\protect\numberline{\expandafter\crtrefnumber{#1}}#1}% + % Bug fix provided by user muzimuzhi-z from TeX.SE (https://tex.stackexchange.com/users/79060/muzimuzhi-z)x + \addcontentsline{\crt@listoflabelsfileextension}{\crt@listoflabelsstructurelevel}{\protect\numberline{\string\crtrefnumber{#1}}#1}% + % Up to v0.9 +% \addcontentsline{\crt@listoflabelsfileextension}{\crt@listoflabelsstructurelevel}{\protect\numberline{\expandafter\crtrefnumber{#1}}#1}% \fi } |