% This file is embedded in glossaries-extra-manual.pdf 
% Example 3 @abbreviation vs @acronym vs @entry
% Label: "ex:atabbVSatacVSatentry"
% arara: pdflatex
% arara: bib2gls
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\begin{filecontents*}{\jobname.bib}
@entry{sample,
name={sample},
description={an example}
}
@abbreviation{xml,
short={XML},
long={extensible markup language}
}
@acronym{nasa,
short={NASA},
long={National Aeronautics and Space Administration}
}
\end{filecontents*}
\usepackage[record]{glossaries-extra}
\GlsXtrLoadResources 
\begin{document}
First use: \gls{sample}, \gls{xml} and \gls{nasa}.
Next use: \gls{sample}, \gls{xml} and \gls{nasa}.
\printunsrtglossaries 
\end{document}
