summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/glossaries-extra/glossaries-extra-manual-examples/glossaries-extra-manual-example095.tex
blob: c764dc2505266ff2477ed0d7157dc99de41628f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
% This file is embedded in glossaries-extra-manual.pdf
% Example 95 Nested link text with \glspl
% arara: pdflatex
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage[colorlinks]{hyperref}
\usepackage{glossaries-extra}
\setabbreviationstyle{long-em-short-em}
\newabbreviation{html}{HTML}{hypertext markup language}
\newabbreviation{ssi}{SSI}{server-side includes}
\newabbreviation{shtml}{SHTML}{\glsps{html} enabled \glsps{ssi}} 
\begin{document}
\tableofcontents
\section{\glsfmtlong{shtml}}
First use: \gls{shtml}, \gls{html}, \gls{ssi}. 

Next use: \gls{shtml}, \gls{html}, \gls{ssi}. 

\printunsrtglossaries 
\end{document}