I'm using <term keyref="myterm"/> throughout my document to reference glossary terms. One of the reasons I'm doing this is in case some of the terminology we are using changes.
For glossentries where there is only one glossterm, it works just fine. For example:
<glossentry>
<glossterm>patient</glossterm>
<glossdef>This is the definition for a patient</glossdef>
</glossentry>
If I use this code:
<p>The correct term is <term keyref="patient"/> and...</p>
I get
The correct term is patient and...
However, if the glossentry has multiple forms of the term, such as this:
<glossentry id="glossentry_odx_dkm_4n">
<glossterm>patient</glossterm>
<glossdef>This is the definition for a patient</glossdef>
<glossBody>
<glossAlt>
<glossAcronym>participant</glossAcronym>
</glossAlt>
</glossBody>
</glossentry>
The term is not resolved, like so:
The correct term is and...
This only seems to be happening with PDF output. Using webhelp, I'm seeing the term as expected. Here is how I'm including the glossary entries in my ditamap:
<!--glossary.ditamap:-->
<map>
<title>Glossary</title>
<glossref href="glossary/g_patient.dita" keys="patient"/>
</map>
<!--book.ditamap:-->
<backmatter>
<booklists>
<abbrevlist print="yes" toc="yes"/>
<glossarylist format="ditamap" href="topics/glossary.ditamap" print="yes" toc="yes"/>
<indexlist print="yes" toc="yes"/>
</booklists>
</backmatter>
Also, despite having print="yes", I still do not see the glossary in the table of contents. It is also not printed.