DITA: conref, TOC/Index in PDF not generated
Posted: Wed Sep 17, 2008 2:38 am
Hello,
this is my first post on the Oxygen forums; please don't shoot...
I am currently playing around with a 30 day trial of Oxygen. I try to build and customize a DITA project. Some of it works, some of it doesn't, and I hope a kind soul can help me find out if I am encountering DITA- or Oxygen-specific problems here.
I have a DITA map with a few dozen topics nested under headings in the map. They all validate.
I tried to build XHTML and PDF versions using Oxygen's integrated transformation scenarios.
Problem #1:
During both transformations (XHTML and PDF), a simple conref (<p conref="sometopic.xml#someid"/>) produces an error:
"[xslt] [DOTX010E][ERROR]: Unable to find target for conref="sometopic.xml#someid". Check to make sure that the target element is available, and that it is a 'xxxx' element."
This is odd, as *within* Oxygen, the conref replacement works just fine: In the editor's Author view, the conref is replaced by the target's content just as expected.
Any ideas where this problem might come from? I already tried changing the relevant topics' file extensions (.XMl/.dita) to no avail.
Problem #2:
PDF generation basically works, but there are two problems:
a)
The PDF's table of content does not list all the topics that are nested under topic headings in the DITA map - only those that are on the root level. (All topics do, however, appear in the sidebar of the PDF Reader).
b)
The PDF has no index, although I have made several entries.
There are no errors in the log file for the transformation. Does this mean I am looking at restrictions of the Apache FO processor, or is there something else missing?
Thanks in advance.
this is my first post on the Oxygen forums; please don't shoot...

I am currently playing around with a 30 day trial of Oxygen. I try to build and customize a DITA project. Some of it works, some of it doesn't, and I hope a kind soul can help me find out if I am encountering DITA- or Oxygen-specific problems here.
I have a DITA map with a few dozen topics nested under headings in the map. They all validate.
I tried to build XHTML and PDF versions using Oxygen's integrated transformation scenarios.
Problem #1:
During both transformations (XHTML and PDF), a simple conref (<p conref="sometopic.xml#someid"/>) produces an error:
"[xslt] [DOTX010E][ERROR]: Unable to find target for conref="sometopic.xml#someid". Check to make sure that the target element is available, and that it is a 'xxxx' element."
This is odd, as *within* Oxygen, the conref replacement works just fine: In the editor's Author view, the conref is replaced by the target's content just as expected.
Any ideas where this problem might come from? I already tried changing the relevant topics' file extensions (.XMl/.dita) to no avail.
Problem #2:
PDF generation basically works, but there are two problems:
a)
The PDF's table of content does not list all the topics that are nested under topic headings in the DITA map - only those that are on the root level. (All topics do, however, appear in the sidebar of the PDF Reader).
b)
The PDF has no index, although I have made several entries.
There are no errors in the log file for the transformation. Does this mean I am looking at restrictions of the Apache FO processor, or is there something else missing?
Thanks in advance.