<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% This file is public domain
% If you want to use arara, you need the following directives:
% arara: pdflatex
% arara: makeglossaries
% arara: pdflatex
%
%See also
%http://mirrors.ctan.org/macros/latex/contrib/glossaries/glossaries-user.html#minimalgls
\documentclass{article}

\usepackage{glossaries}

\makeglossaries

\newglossaryentry{apple}{name={apple},description={a fruit}}

\begin{document}

\Gls{apple} or \gls{apple} or \glspl{apple}.

\printglossaries

\end{document}
</pre></body></html>