Print Glossary
Posted: Wed Dec 20, 2017 6:27 pm
How do you include a Glossary in a DITA OT output? I can't find any specific instructions and after 4 days of grinding my teeth and going round in circles with the documentation, I am just about to call it quits and become a beachbum instead. I have created the following simple example:
The Root Map looks like this:
The Glossary map looks like:
The Glossary term looks like this:
The Root Map looks like this:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map>
<title>Capacity Management</title>
<topicref href="introduction.ditamap" format="ditamap"/>
<topicref href="roles.ditamap" format="ditamap"/>
<topicref href="glossary.ditamap" format="ditamap" print="yes"/>
</map>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map>
<title>Glossary</title>
<keydef href="Glossary/gloss_dita.dita" keys="DITA" print="yes"/>
</map>
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glossentry PUBLIC "-//OASIS//DTD DITA Glossary//EN" "glossary.dtd">
<glossentry id="gloss_dita">
<glossterm>DITA</glossterm>
<glossdef>Darwin etc...</glossdef>
</glossentry>