blob: bb1722f9d75b9f97804b8a41ec29a9f11504e3ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
% arara: pdflatex
% arara: makeglossaries
% arara: pdflatex
% arara: pdflatex
\documentclass{report}
\usepackage[nopostdot=false]{glossaries-extra}
\makeglossaries
\GlsXtrEnablePreLocationTag{Page: }{Pages: }
\newglossaryentry{sample1}{name={sample1},description={an example}}
\newglossaryentry{sample2}{name={sample2},description={another example}}
\newglossaryentry{sample3}{name={sample3},description={a third example}}
\newglossaryentry{sample4}{name={sample4},description={a fourth example}}
\glsadd[format=glsignore]{sample4}
\begin{document}
\chapter{First}
Two entries: \gls{sample1}, \gls{sample2}.
\chapter{Second}
One entry: \gls{sample1}.
\chapter{Third}
All entries: \gls{sample1}, \gls{sample2}, \gls{sample3}.
\printglossaries
\end{document}
|