Page 1 of 1

Abbreviated Form and Plural Terms

Posted: Fri Apr 07, 2023 8:39 pm
by amyers3
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:

Code: Select all

<xref href="../_glossary/term.xml" type="glossentry" format="dita" scope="local">[b]terms[/b]</xref>
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".

Code: Select all

<ph conkeyref="conref_source_glossary/term"/>
The conref_source_glossary contains:

Code: Select all

<li><ph id="term"><abbreviated-form keyref="term"/></ph></li>
Which is:

Code: Select all

<glossentry id="term">
    <glossterm>term</glossterm>
    <glossdef>Term info.</glossdef>
</glossentry>
Thanks,
Adam

Re: Abbreviated Form and Plural Terms

Posted: Mon Apr 10, 2023 6:42 am
by Radu
Hi Adam,

There is no specification "trick" to do that, usually abbreviated form is used in conjunction with acronyms like "ABS" for example which are not used in the plural form:
https://www.oxygenxml.com/dita/1.3/spec ... -form.html

Maybe you could also ask around how others are doing this on the DITA Users List:
https://dita-users.groups.io/g/main

Maybe my suggestion would be to use something like:

Code: Select all

<abbreviated-form keyref="term"/> items
Regards,
Radu

Re: Abbreviated Form and Plural Terms

Posted: Thu Apr 20, 2023 7:46 pm
by amyers3
Thanks Radu.

Adam