On 03/05/2012 06:14 PM, Dan Tran wrote:
>
> It looks like the entry into a generated webhelp directory is named
> after the ditamap file. It is a way to to tell ditac to rename it to
> index.html?
>

Yes, add attribute copy-to="index.html" to one of the topicrefs of your 
ditamap. Example:

---
<bookmap chunk="by-document" id="xdr_manual" xml:lang="en">
   <title>XMLmind Document Repository - Manual</title>

   ...

   <frontmatter>
   ...
   </frontmatter>

   <part chunk="to-content" copy-to="index.html"
         href="deploying_intro.dita">
     <chapter chunk="to-content" href="distribution.dita"/>
     ...

   <backmatter>
   ...
   </backmatter>
</bookmap>
---

Ditac 2.2 (to be released in at most a week) should also have a 
convenience option which will more or less work as follows:

---
If file index.html is not already generated as instructed by the map, 
then create a copy of the first generated page and name it "index.html".
---
 
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to