blob: 66afb492d3b05622c71c4c6bb4bf6456d749ebd4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
% This file is embedded in glossaries-extra-manual.pdf
% Example 137 Displaying unsorted glossaries with a copied list
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage[stylemods=bookindex,style=bookindex]{glossaries-extra}
\newglossaryentry{waterfowl}{name={waterfowl},description={}}
\newglossaryentry{ant}{name={ant},description={}}
\newglossaryentry{adder}{name={adder},description={}}
\newglossaryentry{duck}{name={duck},parent={waterfowl},description={}}
\newglossaryentry{zebra}{name={zebra},description={}}
\newglossaryentry{aardvark}{name={aardvark},description={}}
\newglossaryentry{gazelle}{name={gazelle},description={}}
\newglossaryentry{mallard}{name={mallard},parent={duck},description={}}
\newglossary*{another}{Another Glossary}
\glsxtrcopytoglossary{mallard}{another}
\glsxtrcopytoglossary{aardvark}{another}
\glsxtrcopytoglossary{zebra}{another}
\glsxtrcopytoglossary{ant}{another}
\glsxtrcopytoglossary{duck}{another}
\begin{document}
\printunsrtglossary
\printunsrtglossary[type=another]
\end{document}
|