% This file is public domain. See the "Examples" chapter
% in the bib2gls user manual for a more detailed description
% of this file.

\documentclass[a4paper]{article}

\usepackage[T1]{fontenc}

\usepackage{etoolbox}
\usepackage{marvosym}

% package conflict, need to undefine conflicting commands
\undef\Sun
\undef\Lightning

\usepackage[weather]{ifsym}

\usepackage[record,% using bib2gls
 nostyles,% don't load default styles
 postdot,% append a dot after descriptions
 stylemods={tree,topic},% load glossary-tree.sty and glossary-topic.sty
 style=topic]{glossaries-extra}

\GlsXtrLoadResources[
  src={topics,miscsymbols},
% make @icon behave like @symbol:
  entry-type-aliases={icon=symbol},
  field-aliases={
   identifier=parent,
   icon=name,
   icondescription=description
  },
  symbol-sort-fallback={description},
  set-widest,
  selection=all
]

\begin{document}
\printunsrtglossaries
\end{document}

