% This file is embedded in glossaries-extra-manual.pdf
% Example 142 Inner glossaries using printunsrtglossarywrap
% Label: "ex:unsrtwrap"
% arara: pdflatex
% arara: pdfcrop
\documentclass[12pt]{article}
\pagestyle{empty}
\usepackage{glossaries-extra}
\newglossaryentry{ant}{name={ant},description={}}
\newglossaryentry{bee}{name={bee},description={}}
\newignoredglossary*{other}
\newglossaryentry{duck}{type={other},name={duck},description={}}
\newglossaryentry{goose}{type={other},name={goose},description={}} 
\begin{document}
\begin{printunsrtglossarywrap}[style=index]
\glstreeitem First Glossary
\printunsrtinnerglossary[leveloffset=1]{}{}
\glstreeitem Second Glossary
\printunsrtinnerglossary[type=other,leveloffset=1]{}{}
\end{printunsrtglossarywrap} 
\end{document}
