<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% This file is embedded in glossaries-extra-manual.pdf 
% Example 102 Category post-link hook
% Label: "ex:catpostlink"
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage{glossaries-extra}
\glsdefpostlink{general}{*}
\newglossaryentry{sample}{name={sample},symbol={X},description={an example}} 
\begin{document}
\Gls{sample}, \glstext{sample}, \glsdesc{sample} and \glssymbol{sample}. 
\end{document}
</pre></body></html>