% This file is embedded in glossaries-extra-manual.pdf
% Example 109 Cross-references (no see, seealso or alias)
% Label: ex:noxrfields
% arara: pdflatex
% arara: makeglossaries
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage [colorlinks]{hyperref}
\usepackage [nostyles,stylemods=bookindex,style=bookindex]{glossaries-extra}
\makeglossaries 
\newglossaryentry {pumpkin}{name={pumpkin},description={}}
\newglossaryentry {cucumber}{name={cucumber},description={}}
\newglossaryentry {melon}{name={melon},description={}}
\newglossaryentry {gourd}{name={gourd},description={}}
\newglossaryentry {cucurbit}{name={cucurbit},description={}}
\newglossaryentry {courgette}{name={courgette},description={}}
\newglossaryentry {marrow}{name={marrow},description={}}
\newglossaryentry {zucchini}{name={zucchini},description={}}
\newglossaryentry {broccoli}{name={broccoli},description={}}
\newglossaryentry {cauliflower}{name={cauliflower},description={}}
\glssee {gourd}{pumpkin,melon,courgette}
\glssee {zucchini}{courgette}
\GlsXtrSetField {zucchini}{alias}{courgette}

\begin{document}
 This document is only discussing \glspl {courgette} (baby \glspl {marrow}, also called a \gls {zucchini}), \glspl {pumpkin} and \glspl {melon}.
\printglossaries 
\end{document}
