| 1 |
% This file is embedded in glossaries-extra-manual.pdf |
| 2 |
% Example 111 Cross-references (bib2gls) |
| 3 |
% Label: "ex:recordedanddeps" |
| 4 |
% arara: pdflatex |
| 5 |
% arara: bib2gls: { group: on } |
| 6 |
% arara: pdflatex |
| 7 |
% arara: pdfcrop |
| 8 |
\documentclass[12pt]{article} |
| 9 |
\pagestyle{empty} |
| 10 |
\begin{filecontents*}{\jobname.bib} |
| 11 |
% Encoding: UTF-8 |
| 12 |
@index{pumpkin, name = {pumpkin}} |
| 13 |
@index{cucumber, name = {cucumber}} |
| 14 |
@index{melon, name = {melon}} |
| 15 |
@index{gourd, see = {pumpkin,cucumber,melon}, name = {gourd}} |
| 16 |
@index{cucurbit, see = {gourd}, name = {cucurbit}} |
| 17 |
@index{courgette, name = {courgette}} |
| 18 |
@index{marrow, name = {marrow}, seealso = {courgette}} |
| 19 |
@index{zucchini, name = {zucchini}, alias = {courgette}} |
| 20 |
@index{broccoli, name = {broccoli}} |
| 21 |
@index{cauliflower, name = {cauliflower}, seealso = {broccoli} } |
| 22 |
\end{filecontents*} |
| 23 |
\usepackage[colorlinks]{hyperref} |
| 24 |
\usepackage[record,nostyles,stylemods=bookindex,style=bookindex]{glossaries-extra} |
| 25 |
\GlsXtrLoadResources[src=\jobname] |
| 26 |
\begin{document} |
| 27 |
This document is only discussing \glspl{courgette} (baby \glspl{marrow}, also called a \gls{zucchini}), \glspl{pumpkin} and \glspl{melon}. |
| 28 |
\printunsrtglossaries |
| 29 |
\end{document} |