initial sample from DAIM, converted from glossary.sty to glossaries.sty