summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/glossaries-extra/glossaries-extra-manual-examples/glossaries-extra-manual-example120.tex
blob: a20ad70cc511c13040217a87484af2974f7dbf1f (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
% This file is embedded in glossaries-extra-manual.pdf
% Example 120 Formatting lists contained in field values
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage[colorlinks]{hyperref}
\usepackage[autoseeindex=false]{glossaries-extra}
\newglossaryentry{example}{name=example,description={},
see={another1,another2}}
\newglossaryentry{another1}{name={another one},description={}}
\newglossaryentry{another2}{name={another two},description={}}

\begin{document}
\glsxtrapptocsvfield{example}{animals}{duck}
\glsxtrapptocsvfield{example}{animals}{albatross}
\glsxtrapptocsvfield{example}{animals}{arara}
Animal list: \glsxtrfieldformatcsvlist{example}{animals}.


See list: \glsxtrifhasfield{see}{example}{\glsxtrseelist{\glscurrentfieldvalue}}{not set}.


\printunsrtglossaries 
\end{document}