blob: bb72a7ce1cd2fa2a3a6c306ab234a806a5c6fa68 (
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
|
% arara: pdflatex
% arara: makeglossaries
% arara: pdflatex
\documentclass{article}
\usepackage[colorlinks]{hyperref}
\usepackage
%[debug=showtargets]% requires glossaries.sty v4.32
{glossaries-extra}
%\renewcommand*{\glsshowtarget}[1]{\texttt{\small [#1]}}
\makeglossaries
\newglossaryentry{sample}{name={sample},description={an example}}
\renewcommand{\thesection}{S.\arabic{section}}
\renewcommand{\theHsection}{\thepart.\thesection}
\begin{document}
\part{Sample Part}
\section{Sample Section}
\part{Another Part}
\section{Another Section}
\gls[counter=section]{sample}.
\printglossaries
\end{document}
|