summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/glossaries/samples/sample-chap-hyperfirst.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/glossaries/samples/sample-chap-hyperfirst.tex')
-rw-r--r--macros/latex/contrib/glossaries/samples/sample-chap-hyperfirst.tex20
1 files changed, 10 insertions, 10 deletions
diff --git a/macros/latex/contrib/glossaries/samples/sample-chap-hyperfirst.tex b/macros/latex/contrib/glossaries/samples/sample-chap-hyperfirst.tex
index 4e74e2e059..619519e685 100644
--- a/macros/latex/contrib/glossaries/samples/sample-chap-hyperfirst.tex
+++ b/macros/latex/contrib/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}%