glossref in PDF DITA-OT 2.54 and DITA-OT 3.2
Posted: Wed Nov 28, 2018 11:15 am
Hi,
I try to use glossref in a PDF output. I am using the pdf2 plugin.
I have the following result:
So I don't get a link in the PDF (although print="yes").
If I use this I get a link, but the glossary also appears twice in the PDF. The whole thing only works in DITA-OT 2.54.
If I use DITA-OT 3.2, I don't get a PDF.
What am I doing wrong?
Thank you for your help.
Regards
Apollo
I try to use glossref in a PDF output. I am using the pdf2 plugin.
I have the following result:
So I don't get a link in the PDF (although print="yes").
Code: Select all
<topicref href="../data/glossary_overview.xml" chunk="to-content" >
<glossref keys="opentoolkit" href="../data/glossary/ot.xml" print="yes" />
</topicref>
If I use this I get a link, but the glossary also appears twice in the PDF. The whole thing only works in DITA-OT 2.54.
Code: Select all
<topicref href="../data/glossary_overview.xml" chunk="to-content" >
<topicref href="../data/glossary/ot.xml" />
</topicref>
<glossref keys="opentoolkit" href="../data/glossary/ot.xml" print="yes" />
If I use DITA-OT 3.2, I don't get a PDF.
Input-Datei: C:\dita3_2_test_glossary\main_map_0002.ditamap
Programmname: DITA-OT
Fehlerlevel: fatal
Beschreibung: Transformation failed. ...Dita-Open-Toolkit_3_2_test\plugins\org.dita.pdf2\build.xml:367: org.xml.sax.SAXParseException; systemId: file:/C:/dita3_2_test_glossary/temp/pdf/stage2.fo; lineNumber: 10; columnNumber: 23893; XML document structures must start and end within the same entity.
[pipeline] Failed to transform document: A sequence of more than one item is not allowed as the value of variable $target (<topicref/>, <glossentry/>)
What am I doing wrong?
Thank you for your help.
Regards
Apollo