On 07/30/2010 03:49 PM, ∋mim∈ wrote: > > please consider the following ditamap fragment: > > <chapter navtitle="Methods"> > <topicref href="topics/methods/add.xml" navtitle="Add" locktitle="yes"/> > <topicref href="topics/methods/get.xml" navtitle="Get" locktitle="yes"/> > <topicref href="topics/methods/delete.xml" navtitle="Delete" locktitle="yes"/> > </chapter> > > By default, ditac generates in the output chm a single topic titled > "Methods" containing all children. > > My question: How to get in the chm output a single topic for each xml > file? I mean I would like to have children of "chapter" or children of > "topicref" in separated topics. > > PS: I used chunk options, but no way to get single topics :(. May be > is there something I'm missing? >
You probably made a mistake. Please specify a chunk attribute on the
above topicrefs.
For example, I've created this:
---
<chapter chunk="to-content" navtitle="Methods">
<topicref href="topics/methods/add.xml" locktitle="yes"
navtitle="Add"/>
<topicref chunk="to-content" href="topics/methods/get.xml"
locktitle="yes" navtitle="Get"/>
<topicref chunk="to-content" href="topics/methods/delete.xml"
locktitle="yes" navtitle="Delete"/>
</chapter>
---
and using the above Test.ditamap file, I've generated attached Test.chm.
More information in
http://www.xmlmind.com/ditac/_distrib/doc/manual/manual-4.html#chunking
Test.chm
Description: application/chm
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE bookmap PUBLIC "-//OASIS//DTD DITA BookMap//EN" "http://docs.oasis-open.org/dita/dtd/bookmap.dtd"> <bookmap> <title>Test</title> <chapter chunk="to-content" navtitle="Methods"> <topicref href="topics/methods/add.xml" locktitle="yes" navtitle="Add"/> <topicref chunk="to-content" href="topics/methods/get.xml" locktitle="yes" navtitle="Get"/> <topicref chunk="to-content" href="topics/methods/delete.xml" locktitle="yes" navtitle="Delete"/> </chapter> </bookmap>
-- XMLmind DITA Converter Support List [email protected] http://www.xmlmind.com/mailman/listinfo/ditac-support

