blob: 838717e8da7aa6c58817339b49b3394b9607f382 (
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
|
% This file is embedded in glossaries-extra-manual.pdf
% Example 120 Formatting lists contained in field values
% Label: "ex:fieldformatcsv"
% 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}
|