I would like to control the content that is included in my glossary. I have managed to set a glossary up satisfactorily using keyrefs, which are used to reference the <glossentry> topics. Provided the glossentry is referenced in the <glossarylist> in the same bookmap where the key is referenced, it includes the <glossentry> in the text (as abbreviated-form) and in the glossary at the back of the PDF. It looks like this in a bookmap using the 'HMI' <glossentry>:
Code: Select all
<backmatter> <booklists> <glossarylist> <topicref href="Reuseable%20content/glossary/H/hmi.dita" keys="gloss_HMI"/>
At the moment, for each term in the glossary of the PDF, the following elements are shown:
<glossterm>, <glossdef>, <glosssurfaceform>, <glossacronym>.
Is there a way to control what elements are shown for all the referenced <glossentry> topics in the PDF glossary?
The <glossterm> and the <glosssurfaceform> are almost identical, so they both don't need to be visible. The <glossacronym> could also be removed, leaving only the <glossterm> and the <glossdef> in the PDF glossary, for each entry.