% arara: pdflatex
% arara: makeglossaries
% arara: pdflatex
\documentclass{article}

\usepackage[record,indexonlyfirst]{glossaries-extra}

\GlsXtrLoadResources[src=example-glossaries-brief]

\begin{document}
\gls{lorem}.

\printunsrtglossary
\end{document}
