Abbreviated-form Use in PDF output

Posts: 48

Abbreviated-form Use in PDF output

Tue Jul 29, 2014 11:18 pm

Here is the map:
<map id="m_MasterMap" xml:lang="en-us">
<title>Master Map</title>
<glossref href="g_AntiLockBreaks.xml" keys="abskey" print="yes"/>
<topicref format="dita" href="c_ConceptUsingGlossaryTerm.xml" scope="local" type="concept"/>

Here is the defined glossary term:
<glossentry id="abs-definition" xml:lang="en-us">
<glossterm>Anti-lock Braking System</glossterm>
<glossdef>A break technology that minimizes vehicle skidding.</glossdef>
<glossSurfaceForm>Anti-lock Braking System (ABS)</glossSurfaceForm>

Here is the concept topic using abbreviated-form that calls the key abskey that is mapped to the glossary term:
<concept id="c_ConceptUsingGlossaryTerm" xml:lang="en">
<title>Concept Using Glossary Term</title>
<shortdesc>This concept topic uses the abbreviated-form element to make several references to a glossary term. In the first instance, the term is spelled out; thereafter, only the term acronym appears in output.</shortdesc>
<p>An <abbreviated-form keyref="abskey"/> helps a driver to stop. For this reason, many find an <abbreviated-form keyref="abskey"/> useful.</p>
<p>To engage the <abbreviated-form keyref="abskey"/>, press the brake peddle and hold firmly. You will feel the <abbreviated-form keyref="abskey"
/> vibrate the brake peddle as it locks and unlocks the brakes.</p>

The result of this XML in PDF output:

The concept topic using abbreviated-form, properly uses the glossSurfaceForm text on first occurrence and glossAcronym text on subsequent occurrences as it should in both XHTML and PDF outputs.

However, because the map is calling the glossary term using a <glossref print="yes"> the glossary term topic itself also is rendering as the first topic in PDF output.

QUESTION: How to I prevent the glossary term topic itself from displaying as the first topic in the PDF output but maintain the desired results in the abbreviated-form elements in the XHTML and PDF outputs?

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

Who is online

Users browsing this forum: No registered users and 1 guest