summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/glossaries-extra/sample-suppl-main-hyp.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-09-09 22:34:08 +0000
committerKarl Berry <karl@freefriends.org>2017-09-09 22:34:08 +0000
commite94d686213b25e06fdc7b227bcb3d7baaf67c06a (patch)
tree59f221a5d1463fc42662cfc9385ec23030d34055 /Master/texmf-dist/doc/latex/glossaries-extra/sample-suppl-main-hyp.tex
parent78bea0cd1a3206a08626c39ea4eeb76a4e0ca7d9 (diff)
glossaries-extra (9sep17)
git-svn-id: svn://tug.org/texlive/trunk@45251 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/glossaries-extra/sample-suppl-main-hyp.tex')
-rw-r--r--Master/texmf-dist/doc/latex/glossaries-extra/sample-suppl-main-hyp.tex6
1 files changed, 6 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/glossaries-extra/sample-suppl-main-hyp.tex b/Master/texmf-dist/doc/latex/glossaries-extra/sample-suppl-main-hyp.tex
index 4f53fca2ddb..e2de8bfbefb 100644
--- a/Master/texmf-dist/doc/latex/glossaries-extra/sample-suppl-main-hyp.tex
+++ b/Master/texmf-dist/doc/latex/glossaries-extra/sample-suppl-main-hyp.tex
@@ -14,10 +14,16 @@
name={sample},description={an example}}
\begin{document}
+\section{Sample}
Some \gls{sample} text.
Test link: \hyperref{sample-suppl-hyp.pdf}{}{section.II.S.2}{S.2}.
+In this document, \verb|\theHsection| is in the form: \theHsection.
+
+In the other document, it's in the form II.S.2 so
+\texttt{theHvalue} is needed to ensure the hyperlink is correct.
+
\printglossaries
\glsadd[format=glsxtrsupphypernumber,thevalue={S.2},theHvalue={II.S.2},counter=section]{sample}
\end{document}