Adding Annotations to Subject Scheme

Post here questions and problems related to editing and publishing DITA content.
diane_xml
Posts: 1
Joined: Thu May 20, 2021 5:34 am

Adding Annotations to Subject Scheme

Post by diane_xml »

How do you add annotations to the Subject Scheme so they will show up in the completion assistant dialog?

image.png
image.png (9.76 KiB) Viewed 745 times
Or is there a way to add the text with the <topicmeta>? I did not find any such information in the Subject Scheme Help File.

E.g. <subjectdef keys="WEB"><topicmeta><shortdesc>Responsive Web</shortdesc></topicmeta></subjectdef>
Radu
Posts: 9049
Joined: Fri Jul 09, 2004 5:18 pm

Re: Adding Annotations to Subject Scheme

Post by Radu »

Hi Diane,

Please use the <navtitle> element instead of <shortdesc>:

Code: Select all

<subjectdef keys="WEB"><topicmeta><navtitle>Responsive Web</navtitle></topicmeta></subjectdef>
We have plans to support by default also the shortdesc element as a way to obtain some rendering information for the subject def key, but in the meantime Oxygen looks only at the navtitle.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Cosmin Duna
Site Admin
Posts: 120
Joined: Wed Dec 12, 2018 5:33 pm

Re: Adding Annotations to Subject Scheme

Post by Cosmin Duna »

Hi,
Oxygen 24.0 is out now and it supports shortdesc element as a way to obtain rendering information for the subject def key.

Regards,
Cosmin
Cosmin Duna
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply