Abbreviated Form and Plural Terms
Posted: Fri Apr 07, 2023 8:39 pm
Hi,
We are using <abbreviated-form> for our glossary entries for the hover text functionality and really like it. Unfortunately, I can't find a way to replace the content in the topic with a plural when necessary. For example, previously when we had a glossentry in singular such as "term", but the context in the topic required a plural "terms", we were able to do this:
But with the <abbreviated-form>, I don't see a way to do this. I'm hoping someone has a solution. This entry in a topic always resolves to "term".
The conref_source_glossary contains:
Which is:
Thanks,
Adam
We are using <abbreviated-form> for our glossary entries for the hover text functionality and really like it. Unfortunately, I can't find a way to replace the content in the topic with a plural when necessary. For example, previously when we had a glossentry in singular such as "term", but the context in the topic required a plural "terms", we were able to do this:
Code: Select all
<xref href="../_glossary/term.xml" type="glossentry" format="dita" scope="local">[b]terms[/b]</xref>
Code: Select all
<ph conkeyref="conref_source_glossary/term"/>
Code: Select all
<li><ph id="term"><abbreviated-form keyref="term"/></ph></li>
Code: Select all
<glossentry id="term">
<glossterm>term</glossterm>
<glossdef>Term info.</glossdef>
</glossentry>
Adam