On 03/07/2012 04:18 AM, Dan Tran wrote:
> It is known to ditaot world that index pages are not possible with FOP.

I don't see why. The only limitation of FOP is that, unlike XEP (and 
probably Antenna House), it cannot remove duplicate page numbers in an 
index entry.

FOP:

Felis Catus 1, 1, 2, 3-4, 5, 5

XEP:

Felis Catus 1, 2, 3-4, 5



>
> The question is how did
> http://www.xmlmind.com/ditac/_distrib/doc/manual/manual-fop.pdf get
> its index pages working?

The ditac preprocessor generates everything needed to have *any* XSL-FO 
processor create a usable index section.

[1] The ditac preprocessor performs all the indexterm processing and 
creates a ditac:indexList element in the dita_lists.ditac_lists file. 
The ditac:indexList element represents the logical contents of the index 
section.

See 
http://www.xmlmind.com/ditac/_distrib/doc/manual/howItWorks.html#howItWorks 
-- Search for "ditac:indexList"

[2] Then the XSLT stylesheets converts ditac:indexList to XSL-FO

See ditac_install_dir/xsl/fo/ditac_indexList.xsl

[3] Then the XSL-FO processor converts the XSL-FO to PDF, RTF, etc.



>
> my experiment using ditac with -index param to generate pdf with FOP
> returns empty page
>

Ditac fully supports DITA Indexing. The corresponding code is 
extensively tested. We generate indexes all the time for our needs.

Therefore my guess is that your DITA source does not contain any 
indexterm element.

See http://docs.oasis-open.org/dita/v1.2/os/spec/langref/indexterm.html

 
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to