Page 1 of 1

Reusing Glossary Term Definitions in Topics

Posted: Wed Dec 19, 2018 1:49 pm
by Anne
Hello,

I'd like to create an introductory topic that explains the main terms and concepts of a product, reusing some of the term definitions already existing in a glossary. But a <term keyref=...> link only opens a glossary topic separately.
Is it possible to reuse glossary term definitions in topics similarly to conkeyrefs?

Thanks,
Anne

Re: Reusing Glossary Term Definitions in Topics

Posted: Thu Dec 20, 2018 10:39 am
by Radu
Hi Anne,

Just so that we can discuss a common example, there is a glossentry example here:

https://www.oxygenxml.com/dita/1.3/spec ... entry.html

So you mean that you want to use the <glossdef> content somewhere else?
Maybe one way would be to define a phrase with an ID inside it:

Code: Select all

<glossdef><ph id="phid">A small portable drive.</ph></glossdef>
and then use a ph with conkeyref in some other place to refer to this particular ph element. Something like:

Code: Select all

<ph conkeyref="glossKey/phid"/>
Regards,
Radu

Re: Reusing Glossary Term Definitions in Topics

Posted: Wed Dec 26, 2018 1:24 pm
by Anne
Thank you, this is helpful!

Anne