On 08/06/2010 01:50 PM, ∋mim∈ wrote:
> Yes, probably anti-spam filtered the email.
>
> Ok, let's expose the problem in a different way:
>
> /*For topicref elements without href, I don't want the entries in the
> chm-toc linked to any topic. */
>
> For example,
> <chapter chunk="to-content" navtitle="Methods">
> should not linked to any topic.
>
> Furthermore, the way ditac manages chm-toc is strange and not very
> clear.
Sorry but we fail to see anything strange or obscure in the way ditac
generates CHM TOCs.
> For example, with this bookmap
> <chapter navtitle="Tables">
> <topicref href="topics/tables/add.xml" navtitle="add" locktitle="yes"
> chunk="to-content"/>
> <topicref href="topics/tables/get.xml" navtitle="get" locktitle="yes"
> chunk="to-content"/>
> </chapter>
> ditac generates a toc with this structure:
>
> - Project (link to add.html)
> - add (link to add.html)
> - get (link to get.html)
>
> but I would expect a toc lik this:
>
> - Project (no link)
> - Tables (no link)
> - add (link to add.html)
> - get (link to get.html)
In the Test.ditmap I've sent you I added chunk="to-content" to the
chapter, and not to its first topicref child (add.xml). IMHO, this gave
me a very usable .chm file.
---
<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>
---
>
> How to avoid this automatic linking mechanism in the chm-toc?
>
Sorry but I don't see how this could be done.
Moreover because we do not understand why it's useful to have TOC
entries not linked to any page, we do not plan to change the way ditac
generates CHM TOCs.
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support