Pages: 1
Print
Author Topic: How can I insert topics after the index in a bookmap? PDF output.  (Read 2816 times)
IF
Member

Posts: 80


« on: November 25, 2010, 11:06:10 PM »

Does the index have to be the last thing in the backmatter? I am trying to insert a topic *after* the index but it always comes out before the index in the PDF output. Not sure what I'm doing wrong.

This is for XMetal Author 6.0. Output to XMetal Enhanced PDF using RenderXEP. No customizations have been applied.

This is an excerpt from my test map.
 </appendix>
  <backmatter>
    <booklists toc="yes">
      <glossarylist>
        <topicref format="dita" href="g_polar.xml" navtitle="polar" scope="local" type="concept">
        </topicref>
      </glossarylist>
      <indexlist navtitle="Index" toc="yes"/>
    </booklists>
    <topicref format="dita" href="r_symbol_description.xml" navtitle="Symbol description" scope="local" type="reference">
    </topicref>
  </backmatter>
</bookmap>
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 2621



WWW
« Reply #1 on: November 26, 2010, 12:15:57 AM »

The way things were designed this order is fixed. So, it doesn't matter how you design your map in this case, the index will always come after all topics. Changing this would require mods to be made to the XSLT in the DITA OT.

I don't have access to a good grep tool right now (and I should actually be relaxing as it is 10pm here). Once I can do a little bit of searching on the DITA OT I think I can probably find the right spot. I do recall seeing this at some point.
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 2621



WWW
« Reply #2 on: November 26, 2010, 07:00:43 PM »

This is a known issue with the DITA OT for PDF2 (Book via RenderX in our list of "deliverables"). Since the code used for the "XMetaL Enhanced PDF via RenderX XEP" deliverable essentially duplicated that code the behavior is inherited.

There is a bug logged against the DITA OT for the issue, along with a discussion of how one person has attempted to address this for the position of their TOC and some notes about how people could do something similar for the Index position:

https://sourceforge.net/tracker/index.php?func=detail&aid=2837095&group_id=132728&atid=725074
Logged
Pages: 1
Print
Jump to: