Hovertext implementation in Oxygen XML Author v19

Having trouble installing Oxygen? Got a bug to report? Post it all here.
syed
Posts: 76
Joined: Tue Nov 14, 2017 8:34 pm

Hovertext implementation in Oxygen XML Author v19

Post by syed »

Hi,

There are technical terms in the topics for which i would like users to view definition as hover text. For eg. if the statement is 'When you create a schedule, ...' the users can hover over 'schedule' to see what that term means. Does Oxygen has such a capability? If yes, how to implement it?

Thanks...
Syed
Radu
Posts: 9041
Joined: Fri Jul 09, 2004 5:18 pm

Re: Hovertext implementation in Oxygen XML Author v19

Post by Radu »

Hi Syed,

The DITA standard has an element called "abbreviated-form", you can find more info about it here:

https://www.oxygenxml.com/dita/stylegui ... ssref.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
syed
Posts: 76
Joined: Tue Nov 14, 2017 8:34 pm

Re: Hovertext implementation in Oxygen XML Author v19

Post by syed »

Thanks Radu. I will try that but can you tell me if the element can be used with a concept/task topic? I am not creating a glossary.
Radu
Posts: 9041
Joined: Fri Jul 09, 2004 5:18 pm

Re: Hovertext implementation in Oxygen XML Author v19

Post by Radu »

Hi,

The abbreviated-form needs to have a glossentry constructed (a glossentry is a special kind of DITA topic). Once you have that glossentry, you can assign a key to it and use <abbreviated-form keyref="keyName"/> in your topics and tasks where you want the reference to be expanded.
This may indeed not be what you want.
I tried also an approach like this:

Code: Select all

<p>Some text before <xref><b>term</b><desc>Some description</desc></xref> some text after</p>
so a link without a target but with a <desc> description inside it. This also seemed to produce a tooltip over the text.

Maybe you could also consider registering on the DITA Users List:

http://dita.xml.org/dita-users

and ask around, the DITA experts there may have better suggestions than I do.

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