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

\usepackage[colorlinks]{hyperref}
\usepackage[stylemods=mcols,style=mcolindex]{glossaries-extra}

\makeglossaries

\loadglsentries{example-glossaries-brief}

\begin{document}

\tableofcontents

\section{Sample}

Entries: \forglsentries{\thislabel}{\gls{\thislabel}. }
\toxttt{Deliberate undefined command to allow capture of .log file}
\printglossaries

\end{document}
