blob: d5a481604fb2dd86797dbcfe185e6c4ab47d8456 (
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
35
36
37
38
39
40
41
|
% arara: pdflatex
% arara: makeglossaries
% arara: pdflatex
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[colorlinks]{hyperref}
\usepackage{glossaries-extra}
\makeglossaries
\setabbreviationstyle{long-short-sc}
\newabbreviation{ssi}{ssi}{server side includes}
\newabbreviation{html}{html}{hypertext markup language}
%DON'T use this with upper casing commands!
\newabbreviation{shtml}{shtml}{\gls{ssi} enabled \gls{html}}
% Alternatively
%\newabbreviation{shtml}{shtml}{\glsxtrshort{ssi} enabled \glsxtrshort{html}}
\begin{document}
This is a sample document testing nested link text.
The \texttt{glossaries-extra} package temporarily modifies
commands like \verb|\gls| or \verb|\glsxtrshort| that occur
in fields, when any of those field is accessed through linking
commands.
First use: \gls{shtml}.
\newpage
Next use: \gls{shtml}.
\newpage
\printglossaries
\end{document}
|