summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-10-31 21:23:41 +0000
committerKarl Berry <karl@freefriends.org>2017-10-31 21:23:41 +0000
commit8dc98ca4418ae3272e7b4e290443b6b424cb1eb5 (patch)
treefda6987b6b9b30b3d9860c90e8a460faa0b6e1cf /Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.tex
parentb71dc5300da871cbc8529c8f06fbe3445dfc4d0f (diff)
crossreftools (31oct17)
git-svn-id: svn://tug.org/texlive/trunk@45657 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.tex')
-rw-r--r--Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.tex29
1 files changed, 27 insertions, 2 deletions
diff --git a/Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.tex b/Master/texmf-dist/doc/latex/crossreftools/crossreftools_driver.tex
index 5150f4d96e4..38c5858af4d 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.2 (2017/10/25 -- 23:08:36)
+%% LaTeX package crossreftools - version 0.3 (2017/10/31 -- 08:23:52)
%% Driver file for crossreftools.sty
%%
%%
@@ -21,12 +21,13 @@
\documentclass{book}
-\usepackage{crossreftools}
\usepackage{hyperref}
\usepackage{cleveref}
+\usepackage{crossreftools}
+
\setlength{\parindent}{0em}
@@ -52,6 +53,26 @@ The result is \fbox{\crtcrefresult{\labeltoshow}}
\edef\labeltoshowname{\crtcrefname{chapter}}
+\section{Extracting usual reference information}
+
+Extracting content with \verb!\crtextractref!
+ \begin{itemize}
+ \item reference: \crtextractcref{reference}{\labeltoshow}
+ \item page: \crtextractcref{page}{\labeltoshow}
+\end{itemize}
+
+If the \fbox{hyperref} package is loaded, further properties are retrievable:
+
+\begin{itemize}
+ \item name: \crtextractref{name}{\labeltoshow}
+ \item hyperanchor: \crtextractref{anchor}{\labeltoshow}
+ \item unused: \crtextractref{unused}{\labeltoshow}
+ \end{itemize}
+
+The 5th (and usually empty) label property introduced by hyperref is unused as of version v6.85a of that package -- \crtextractref{unused}{labelname} will return nothing here, i.e. the expansion is empty.
+
+
+
\section{Extracting the cleveref names}
\begin{itemize}
@@ -69,6 +90,10 @@ The result is \fbox{\crtcrefresult{\labeltoshow}}
The macro \verb!\crtextractcref! is expandable!\edef\counterof{\crtextractcref{counter}{\labeltoshow}} Using the stored value for counter: \counterof!
+
+See \crthyperCref{fooequationlabel}
+
+
\chapter{This is foo}\label{foochapterlabel}
\setcounter{section}{5}