diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.tex | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.tex b/Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.tex index f4aa243eebc..69b1863d933 100644 --- a/Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.tex +++ b/Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.tex @@ -1,9 +1,9 @@ -%% LaTeX package crossreftools - version 0.4 (2017/12/26 -- 17:55:15) +%% LaTeX package crossreftools - version 0.5 (2018/02/23 -- 13:46:13) %% Driver file for crossreftools.sty %% %% %% ------------------------------------------------------------------------------------------- -%% Copyright (c) 2017 by Dr. Christian Hupfer <typography dot with dot latex at gmail dot com> +%% Copyright (c) 2017 -- 2018 by Dr. Christian Hupfer <typography dot with dot latex at gmail dot com> %% ------------------------------------------------------------------------------------------- %% %% This work may be distributed and/or modified under the @@ -24,6 +24,7 @@ \usepackage{hyperref} +\usepackage[user]{zref} \usepackage{cleveref} \usepackage{crossreftools} @@ -118,7 +119,7 @@ See \ref{somelabel} or \nameref{somelabel} on \cpageref{somelabel} \chapter{This is foo}\label{foochapterlabel} \setcounter{section}{5} -\section{Foo}\label{foosectionlabel} +\section{Foo}\label{foosectionlabel} \zlabel{foosectionlabel} \begin{equation} E=mc^{2}\label{firstequationlabel} @@ -135,4 +136,23 @@ See \ref{somelabel} or \nameref{somelabel} on \cpageref{somelabel} \begin{equation} a^{2} + b^{2}=c^{2}\label[section]{pythagoreantheorem}% Explicitly use a wrong counter type here for testing \end{equation} + + +\chapter{Checking for label existence} + +\crtifdefinedlabel{firstfooequationlabel}{% + Yes, that label exists% +}{ + No, that label does not exist% +} + +\crtcrefifdefinedlabel{fooequationlabel}{% + Yes, that cleveref label exists% +}{ + No, that cleveref label does not exist% +} + + + + \end{document}
\ No newline at end of file |