Glossary term referenced with <abbreviated-form> not appearing in PDF
Posted: Wed Dec 26, 2018 8:26 am
I'm trying to reference glossary terms in a topic using <abbreviated-form>. I get the expected result in HTML when publishing to "DITA Map WebHelp Responsive" (text, a hyperlink, and hover text) but I get nothing in the PDF file when publishing to "DITA Map PDF - based on HTML5 & CSS". Is there something basic I am missing here? Thanks! Rick
the map:
referringtopic.dita:
glossary.dita:
sn-cfn.dita:
sn-iam.dita:
the map:
Code: Select all
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map>
<title>Test 2</title>
<topicref href="referringtopic.dita" keys="a_topic"/>
<topicref href="glossary.dita" keys="glossary">
<topicref href="sn-cfn.dita" keys="sn-cfn"/>
<topicref href="sn-iam.dita" keys="sn-iam"/>
</topicref>
</map>
Code: Select all
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic xml:lang="en-us" id="referring-topic">
<title>Referring Topic</title>
<body><p>AWS guidance to achieve governance at scale automates the application of company
policies, deploying accounts with standard specifications to ensure consistency
across AWS accounts and resources. The policy engine is flexible to accommodate and
enforce different types of security polices such as <abbreviated-form
keyref="sn-iam"/>, <abbreviated-form keyref="sn-cfn"/>, or custom scripts.</p>
</body>
</topic>
Code: Select all
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic xml:lang="en-us" id="glossary">
<title>Glossary</title>
<body/>
</topic>
Code: Select all
<!DOCTYPE glossentry PUBLIC "-//OASIS//DTD DITA Glossary//EN" "glossary.dtd">
<glossentry id="sn-cfn">
<glossterm>AWS CloudFormation</glossterm>
<glossdef>
<p>AWS CloudFormation is a service that helps you model and set up your AWS resources so
that you can spend less time managing those resources and more time focusing on your
applications that run in AWS.</p>
</glossdef>
</glossentry>
Code: Select all
<!DOCTYPE glossentry PUBLIC "-//OASIS//DTD DITA Glossary//EN" "glossary.dtd">
<glossentry id="sn-iam">
<glossterm>AWS Identity and Access Management</glossterm>
<glossdef>
<p>AWS Identity and Access Management (IAM) is a web service that helps you securely control
access to AWS resources. You use IAM to control who is authenticated (signed in) and
authorized (has permissions) to use resources. </p>
</glossdef>
<glossBody>
<glossSurfaceForm>AWS Identity and Access Management (IAM)</glossSurfaceForm>
<glossAlt>
<glossAcronym>IAM</glossAcronym>
</glossAlt>
</glossBody>
</glossentry>