diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/crossreftools/crossreftools.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/crossreftools/crossreftools.sty | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/crossreftools/crossreftools.sty b/Master/texmf-dist/tex/latex/crossreftools/crossreftools.sty index e232337ae51..93bee4fbf2c 100644 --- a/Master/texmf-dist/tex/latex/crossreftools/crossreftools.sty +++ b/Master/texmf-dist/tex/latex/crossreftools/crossreftools.sty @@ -1,4 +1,4 @@ -%% LaTeX package crossreftools - version 0.1 (2017/10/08 -- 22:58:50) +%% LaTeX package crossreftools - version 0.2 (2017/10/25 -- 23:08:36) %% Source file for crossreftools.sty %% %% @@ -19,10 +19,10 @@ %% %% -\def\crossreftoolspackageversion{0.1} +\def\crossreftoolspackageversion{0.2} \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\ProvidesPackage{crossreftools}[2017/10/08 - v\crossreftoolspackageversion] +\ProvidesPackage{crossreftools}[2017/10/25 - v\crossreftoolspackageversion] % Some helper macros @@ -97,11 +97,15 @@ } \newcommand{\crtcrefnamebylabel}[1]{% - \expandafter\csname cref@\@@crtextr@ct@cref{counter}{#1}@name\endcsname% + \@ifundefined{r@#1}{UNDEFINED LABEL}{% + \expandafter\csname cref@\@@crtextr@ct@cref{counter}{#1}@name\endcsname% + }% } \newcommand{\crtCrefnamebylabel}[1]{% - \expandafter\csname Cref@\@@crtextr@ct@cref{counter}{#1}@name\endcsname% + \@ifundefined{r@#1}{UNDEFINED LABEL}{% + \expandafter\csname Cref@\@@crtextr@ct@cref{counter}{#1}@name\endcsname% + }% } \def\@@crt@@cref@@suffix{cref} |