diff options
author | Karl Berry <karl@freefriends.org> | 2017-10-26 21:24:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-10-26 21:24:23 +0000 |
commit | 49b5449684c5567f46c84152f7105fe18c543147 (patch) | |
tree | bb03b478f0d50ea05c2c32508f5a67005f1fb0d4 /Master | |
parent | a4cdecbc435a85bff51392d60d6b397e585167a2 (diff) |
crossreftools (26oct17)
git-svn-id: svn://tug.org/texlive/trunk@45608 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/crossreftools/README | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/crossreftools/crossreftools_doc.pdf | bin | 179420 -> 181760 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/crossreftools/crossreftools_doc.tex | 15 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.pdf | bin | 83138 -> 85475 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/crossreftools/crossreftools.sty | 14 |
6 files changed, 20 insertions, 13 deletions
diff --git a/Master/texmf-dist/doc/latex/crossreftools/README b/Master/texmf-dist/doc/latex/crossreftools/README index 35cedf041ab..abe74c12672 100644 --- a/Master/texmf-dist/doc/latex/crossreftools/README +++ b/Master/texmf-dist/doc/latex/crossreftools/README @@ -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) %% README file for crossreftools.sty %% %% diff --git a/Master/texmf-dist/doc/latex/crossreftools/crossreftools_doc.pdf b/Master/texmf-dist/doc/latex/crossreftools/crossreftools_doc.pdf Binary files differindex aaec0992056..445f6391dce 100644 --- a/Master/texmf-dist/doc/latex/crossreftools/crossreftools_doc.pdf +++ b/Master/texmf-dist/doc/latex/crossreftools/crossreftools_doc.pdf diff --git a/Master/texmf-dist/doc/latex/crossreftools/crossreftools_doc.tex b/Master/texmf-dist/doc/latex/crossreftools/crossreftools_doc.tex index b54f184ff26..e24b34656bc 100644 --- a/Master/texmf-dist/doc/latex/crossreftools/crossreftools_doc.tex +++ b/Master/texmf-dist/doc/latex/crossreftools/crossreftools_doc.tex @@ -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) %% Documentation file for crossreftools.sty %% %% @@ -77,6 +77,8 @@ \@namedef{crossreftoolsversion0.1}{v0.1 2017-10-08} +\@namedef{crossreftoolsversion0.2}{v0.2 2017-10-25} + \newcommand{\authorname}{Autor} @@ -109,11 +111,9 @@ #1 } - \presetkeys{chdoc}{packageauthor={Christian Hupfer}}{}% \NewDocumentCommand{\CHPackageTitlePage}{O{}mO{}}{% \setkeys{chdoc}{packageauthor={Christian Hupfer},filepurpose={Documentation},#1}% - \typeout{Package version: \packageversion} \begin{center} \begin{CHPackageTitleBox}[#3] \large \bfseries% @@ -314,7 +314,7 @@ \usepackage{cleveref} -\def\packageversion{0.1} +\def\packageversion{0.2} \usepackage{url} @@ -529,13 +529,15 @@ This extracts the upper case cross reference plural name of a given counter. \end{docCommand} \begin{docCommand}[code={\CHDocExpCommand{}}, -doc new={\chdocextractversion{crossreftoolsversion0.1}}]{crtcrefnamebylabel}{\marg{labelname}} +doc new and updated={\chdocextractversion{crossreftoolsversion0.1}}{\chdocextractversion{crossreftoolsversion0.2}}] +{crtcrefnamebylabel}{\marg{labelname}} This extracts the lower case cross reference name of a given label. \end{docCommand} \begin{docCommand}[code={\CHDocExpCommand{}}, -doc new={\chdocextractversion{crossreftoolsversion0.1}}]{crtCrefnamebylabel}{\marg{labelname}} +doc new and updated={\chdocextractversion{crossreftoolsversion0.1}}{\chdocextractversion{crossreftoolsversion0.2}}] +{crtCrefnamebylabel}{\marg{labelname}} This extracts the upper case cross reference name of a given label. \end{docCommand} @@ -554,6 +556,7 @@ This extracts the upper case cross reference name of a given label. \begin{itemize}[itemsep=15pt] +\item \CHDocFullVersion{0.2} Introduced a check in \refCom{crtcrefnamebylabel} and \refCom{crtCrefnamebylabel} whether given label exists \item \CHDocFullVersion{0.1} First version \end{itemize} diff --git a/Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.pdf b/Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.pdf Binary files differindex 26349cbe31a..6b8abd73ee1 100644 --- a/Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.pdf +++ b/Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.pdf diff --git a/Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.tex b/Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.tex index 490c32539f5..5150f4d96e4 100644 --- a/Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.tex +++ b/Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.tex @@ -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) %% Driver file for crossreftools.sty %% %% 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} |