summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/glossaries/samples/sample-chap-hyperfirst.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/glossaries/samples/sample-chap-hyperfirst.tex')
-rw-r--r--Master/texmf-dist/doc/latex/glossaries/samples/sample-chap-hyperfirst.tex20
1 files changed, 10 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/glossaries/samples/sample-chap-hyperfirst.tex b/Master/texmf-dist/doc/latex/glossaries/samples/sample-chap-hyperfirst.tex
index 4e74e2e059c..619519e6857 100644
--- a/Master/texmf-dist/doc/latex/glossaries/samples/sample-chap-hyperfirst.tex
+++ b/Master/texmf-dist/doc/latex/glossaries/samples/sample-chap-hyperfirst.tex
@@ -1,8 +1,8 @@
- % This file is public domain
- % If you want to use arara, you need the following directives:
- % arara: pdflatex
- % arara: makeglossaries
- % arara: pdflatex
+% This file is public domain
+% If you want to use arara, you need the following directives:
+% arara: pdflatex
+% arara: makeglossaries
+% arara: pdflatex
\documentclass{report}
\usepackage[colorlinks]{hyperref}
@@ -17,13 +17,13 @@
\renewcommand*{\glslinkpostsetkeys}{%
\edef\currentchap{\arabic{chapter}}%
\ifnum\currentchap=\glschapnum{\glslabel}\relax
- % Already used this entry in the current chapter, so switch
- % off the hyperlink.
+% Already used this entry in the current chapter, so switch
+% off the hyperlink.
\setkeys{glslink}{hyper=false}%
\else
- % Hasn't been used in the current chapter. Update the value
- % of the "chapter" field unless the hyperlink has been switched
- % off.
+% Hasn't been used in the current chapter. Update the value
+% of the "chapter" field unless the hyperlink has been switched
+% off.
\glsifhyperon
{%
\glsfieldxdef{\glslabel}{chapter}{\currentchap}%