glossref in PDF DITA-OT 2.54 and DITA-OT 3.2
Post here questions and problems related to editing and publishing DITA content.
glossref in PDF DITA-OT 2.54 and DITA-OT 3.2
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
Re: glossref in PDF DITA-OT 2.54 and DITA-OT 3.2
The crash in DITA-OT 3.2 is due to the double entry of the glossary (abbrev-domain finds several targets for one href). DITA-OT 2.5.4 obviously reacts differently here due to the other preprocess (OT 3.2 uses preprocess2) for the PDF output.
I think the approach with chunk="to-content" and the use of topicref there is certainly wrong (merging several glossary files into one topic). I will test the use of a glossary group insted.
Apollo102
I think the approach with chunk="to-content" and the use of topicref there is certainly wrong (merging several glossary files into one topic). I will test the use of a glossary group insted.
Apollo102
Re: glossref in PDF DITA-OT 2.54 and DITA-OT 3.2
Test with glossgroup topic.
Finally this works ! in OT 3.2 and OT 2.5.4 in PDF and HTML
print="yes" is important for the PDF that the link for the term appear.
processing-role="resource-only" that there a no double entries for the glossentry.
Apollo102
Finally this works ! in OT 3.2 and OT 2.5.4 in PDF and HTML
Code: Select all
<topicref href="../data/glossary/glossary_test_0002.xml">
<topicmeta>
<navtitle>Demo Glossary Overview</navtitle>
</topicmeta>
</topicref>
<glossref keys="opentoolkit" href="../data/glossary/glossary_test_0002.xml#opentoolkit" print="yes" processing-role="resource-only"/>
<glossref keys="conref" href="../data/glossary/glossary_test_0002.xml#conref" print="yes" processing-role="resource-only" />
processing-role="resource-only" that there a no double entries for the glossentry.
Apollo102
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service