summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/crossreftools/crossreftools_doc.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/crossreftools/crossreftools_doc.tex')
-rw-r--r--Master/texmf-dist/doc/latex/crossreftools/crossreftools_doc.tex45
1 files changed, 43 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/crossreftools/crossreftools_doc.tex b/Master/texmf-dist/doc/latex/crossreftools/crossreftools_doc.tex
index 2f5f3908456..a57f5930725 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.6 (2018/03/18 -- 16:34:57)
+%% LaTeX package crossreftools - version 0.8 (2018/12/29 -- 16:21:53)
%% Documentation file for crossreftools.sty
%%
%%
@@ -99,6 +99,10 @@
\@namedef{crossreftoolsversion0.6}{v0.6 2018-03-18}
+\@namedef{crossreftoolsversion0.7}{v0.7 2018-12-28}
+
+\@namedef{crossreftoolsversion0.8}{v0.8 2018-12-29}
+
\newcommand{\authorname}{Autor}
@@ -327,7 +331,7 @@
-\def\packageversion{0.6}
+\def\packageversion{0.8}
\def\hyperrefversionwithfifthargument{v6.85a}
@@ -503,6 +507,17 @@ This command sets the output of \cs{crt@refundefined} in the same manner like th
\end{docCommand}
+Similar to \refCom{crtrefundefinedtext} is \refCom{crtcrefundefinedcountervalue}, providing an integer value in calculation contexts with \cs{ifnum} or \cs{setcounter}.
+
+\begin{docCommand}[doc new={\chdocextractversion{crossreftoolsversion0.4}}]{crtcrefundefinedcountervalue}{\marg{integer value}}
+
+
+This command sets the output of \cs{crt@crefundefinedcountervalue} in the same manner like the standard macro \cs{title} would do for \cs{@title}.
+
+\begin{marker}
+ \refCom{crtcrefundefinedcountervalue} is a preamble-only macro.
+\end{marker}
+\end{docCommand}
\section{Extracting information from regular labels}\label{section:extractingregularlabels}
@@ -619,6 +634,15 @@ This extracts the counter value (or something that is stored by \cs{cref@current
\end{docCommand}
\begin{docCommand}[code={\CHDocExpCommand{}},
+doc new={\chdocextractversion{crossreftoolsversion0.8}}]{crtcrefcountervalue}{\marg{label name}}
+
+This extracts the counter value (or something that is stored by \cs{cref@currentlabel} belonging to a certain label name and can be used in any context that requrires integer values.
+
+If the label does not exist, the content of \cs{crt@crefundefinedcountervalue} is returned, which is by default a number, see \refCom{crtcrefundefinedcountervalue} in order how to set the return value.
+\end{docCommand}
+
+
+\begin{docCommand}[code={\CHDocExpCommand{}},
doc new={\chdocextractversion{crossreftoolsversion0.1}}]{crtcrefresult}{\marg{label name}}
This extracts the result of the splitting of a counter belonging to a certain label name.
@@ -967,10 +991,27 @@ By default, this macro expands to nothing, but can be redefined with \cs{renewco
\clearpage
\part{Meta information}
+
+\section{Acknowledgements} \label{section::acknowledgements}
+
+I would like to thank Javier Bezos to pointing me out to an issue with \refCom{crtcrefnumber} when being used as counter value extracting and inserting it again into \cs{setcounter} or any other occurence where a number value is expected.
+
+This issue is regarded fixed with \refCom{crtcrefcountervalue}.
+
+
\section{Version history}
\begin{itemize}[itemsep=15pt]
+
+\item \CHDocFullVersion{0.8}
+
+ Added \refCom{crtcrefcountervalue}, see \cref{section::acknowledgements} for some explanation.
+
+\item \CHDocFullVersion{0.7}
+
+ Corrected two typos in \refCom{crtcref} and \refCom{crtCref}, leading to wrong reports of reference numbers.
+
\item \CHDocFullVersion{0.6}
\begin{itemize}
\item Corrected the typo in this manual about \refCom{crtifdefinedlabel} and \refCom{crtifundefinedlabel}