summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/glossaries-extra/sample-suppl-main-hyp.tex
diff options
context:
space:
mode:
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}