Abbreviated Form and Plural Terms

Post here questions and problems related to editing and publishing DITA content.
amyers3
Posts: 28
Joined: Sat Feb 16, 2019 8:43 pm

Abbreviated Form and Plural Terms

Post 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
Adam Myers
Technical Publications Manager
MATRIXX Software
Radu
Posts: 9059
Joined: Fri Jul 09, 2004 5:18 pm

Re: Abbreviated Form and Plural Terms

Post 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
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
amyers3
Posts: 28
Joined: Sat Feb 16, 2019 8:43 pm

Re: Abbreviated Form and Plural Terms

Post by amyers3 »

Thanks Radu.

Adam
Adam Myers
Technical Publications Manager
MATRIXX Software
Post Reply