Missing link to Preface in TOC
Posted: Fri Feb 25, 2011 6:27 pm
Hi,
I am using Oxygen 12 and the DITA-OT to generate a PDF file. I have the situation where my Preface title appears in the PDF TOC and bookmarks, but the link does not work. Also, in the TOC, the page number for the Preface is missing. All the other links work and have the correct page number. Does anyone know where the link/page number in the TOC is set, and what might be happening?
The ditamap for the preface looks like this:
<frontmatter>
<notices toc="no" href="../../Common/c_Legal_Notices.xml" class="- map/topicref bookmap/notices "/>
<booklists>
<toc/>
</booklists>
<preface href="c_Introduction.xml" class="- map/topicref bookmap/preface ">
<topicref href="../../Common/c_Contacting.xml"/>
</preface>
</frontmatter>
It is the link to c_introduction.xml that is missing; the link/page to c_contacting.xml is fine.
The .fo output looks fine to me, snippet is:
<fo:bookmark-tree>
<fo:bookmark internal-destination="ID_TOC_00-0F-EA-40-0D-4D">
<fo:bookmark-title>Table of Contents</fo:bookmark-title>
</fo:bookmark>
<fo:bookmark internal-destination="_OPENTOPIC_TOC_PROCESSING_d50e658" starting-state="hide">
<fo:bookmark-title>Introduction</fo:bookmark-title>
<fo:bookmark internal-destination="_OPENTOPIC_TOC_PROCESSING_d50e722" starting-state="hide">
<fo:bookmark-title>Contacting Us</fo:bookmark-title>
</fo:bookmark>
</fo:bookmark>...
Any help or suggestions very welcome!
Thanks, John
I am using Oxygen 12 and the DITA-OT to generate a PDF file. I have the situation where my Preface title appears in the PDF TOC and bookmarks, but the link does not work. Also, in the TOC, the page number for the Preface is missing. All the other links work and have the correct page number. Does anyone know where the link/page number in the TOC is set, and what might be happening?
The ditamap for the preface looks like this:
<frontmatter>
<notices toc="no" href="../../Common/c_Legal_Notices.xml" class="- map/topicref bookmap/notices "/>
<booklists>
<toc/>
</booklists>
<preface href="c_Introduction.xml" class="- map/topicref bookmap/preface ">
<topicref href="../../Common/c_Contacting.xml"/>
</preface>
</frontmatter>
It is the link to c_introduction.xml that is missing; the link/page to c_contacting.xml is fine.
The .fo output looks fine to me, snippet is:
<fo:bookmark-tree>
<fo:bookmark internal-destination="ID_TOC_00-0F-EA-40-0D-4D">
<fo:bookmark-title>Table of Contents</fo:bookmark-title>
</fo:bookmark>
<fo:bookmark internal-destination="_OPENTOPIC_TOC_PROCESSING_d50e658" starting-state="hide">
<fo:bookmark-title>Introduction</fo:bookmark-title>
<fo:bookmark internal-destination="_OPENTOPIC_TOC_PROCESSING_d50e722" starting-state="hide">
<fo:bookmark-title>Contacting Us</fo:bookmark-title>
</fo:bookmark>
</fo:bookmark>...
Any help or suggestions very welcome!
Thanks, John