abbreviated-form, glossSurfaceForm and introductory context

Post here questions and problems related to editing and publishing DITA content.
annyjul
Posts: 11
Joined: Fri Mar 02, 2018 12:20 pm

abbreviated-form, glossSurfaceForm and introductory context

Post by annyjul »

Hi! I'm new to DITA, so sorry If I ask obvious questions.
I use abbreviated-form to display my glossentry. However abbreviated-form always use glossterm or glossSurfaceForm in introductory contexts or on first use. I need to turn off this behavior and make abbreviated-form always use glossAcronym. Is it possible?
Radu
Posts: 9018
Joined: Fri Jul 09, 2004 5:18 pm

Re: abbreviated-form, glossSurfaceForm and introductory context

Post by Radu »

Hi,

Are you publishing to PDF or XHTML based outputs?
Probably using Oxygen's Find/Replace in Files utility you could try to search in the DITA Open Toolkit XSLT stylesheets (OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT2.x\) for abbrev-d/abbreviated-form and see for various output types how the abbreviated form text content is computed.
For example there is an XSLT template in OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT2.x\plugins\org.dita.xhtml\xsl\xslhtml\dita2htmlImpl.xsl called:

Code: Select all

<xsl:template match="*" mode="getMatchingAcronym">
and you could look to find places where it's called.

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