% This file is embedded in glossaries-extra-manual.pdf 
% Example 121 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}
