abbreviated-form, glossSurfaceForm and introductory context

Posts: 1

abbreviated-form, glossSurfaceForm and introductory context

Fri Mar 02, 2018 12:33 pm

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?
Posts: 5315

Re: abbreviated-form, glossSurfaceForm and introductory context

Tue Mar 06, 2018 4:12 pm


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.

Radu Coravu
<oXygen/> XML Editor

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: No registered users and 0 guests