Copy link to clipboard
Copied
Following is the ditamap i am using to create the PDF. This has booktitle, front matter, toc, chapter and backmatter. I am able to generate a PDF (complete with title page, toc, chapter, backmatter, index) using fop 0.25. However, when I try to create a pdf in FM 9.0, I get only the chapter. How can get the others through FM 9.0. Please provide a solution.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE bookmap PUBLIC "-//OASIS//DTD DITA BookMap//EN" "bookmap.dtd" [
<!-- Begin Document Specific Declarations -->
<?Fm Validation Off?>
<!-- End Document Specific Declarations -->
]>
<?Fm Condition DITA-Topicref Blue NO_OVERRIDE show?>
<?Fm Condition FM8_SYSTEM_HIDEELEMENT AsIs NO_OVERRIDE hide?>
<?Fm Condition FM8_TRACK_CHANGES_ADDED Forest%20Green SINGLE_UNDERLINE show?>
<?Fm Condition FM8_TRACK_CHANGES_DELETED Red STRIKETHROUGH show?>
<?Fm BoolCondExpr "" State 0?>
<?Fm TrackChange Off PreviewState PREVIEW_OFF_TRACK_CHANGE?>
<bookmap
xmlns:ditaarch = "http://dita.oasis-open.org/architecture/2005/">
<booktitle><mainbooktitle>Management</mainbooktitle>
<booktitlealt>Version 4.0</booktitlealt>
<booktitlealt></booktitlealt></booktitle>
<frontmatter><notices></notices>
<booklists><toc navtitle = "Contents"/></booklists>
<preface id = "preface">
<topicref navtitle = "Preface" href = "nm\concepts\nm_Preface.xml"
type = "concept"><?Fm Condstart DITA-Topicref?><?Fm Condend DITA-Topicref?></topicref></preface></frontmatter>
<chapter navtitle = "Management" href = "nm.ditamap"
format = "ditamap" id = "chapter"><?Fm Condstart DITA-Topicref?><?Fm Condend DITA-Topicref?></chapter>
<backmatter><booklists><indexlist navtitle = "Index"/></booklists></backmatter></bookmap>
Copy link to clipboard
Copied
Unfortunately, default FM9 DITA does not support the automatic creation of the special bookmap files (toc, index, etc.). The only way to do it in FM9 is to manually add those generated lists to the book after you've generated it.
DITA-FMx 1.1 provides the ability to automatically create FM generated lists as well as apply numbering and pagination (and many other properties) automatically when you generate a book from a bookmap. For more info and to download a trial ..
http://leximation.com/dita-fmx/beta.php
Cheers,
...scott
Scott Prentice
Leximation, Inc.
www.leximation.com