summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-10-26 21:24:23 +0000
committerKarl Berry <karl@freefriends.org>2017-10-26 21:24:23 +0000
commit49b5449684c5567f46c84152f7105fe18c543147 (patch)
treebb03b478f0d50ea05c2c32508f5a67005f1fb0d4 /Master/texmf-dist/tex
parenta4cdecbc435a85bff51392d60d6b397e585167a2 (diff)
crossreftools (26oct17)
git-svn-id: svn://tug.org/texlive/trunk@45608 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/crossreftools/crossreftools.sty14
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}