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.
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)

How to avoid this automatic linking mechanism in the chm-toc?

Thanks
Emiliano


On Fri, Aug 6, 2010 at 12:10 PM, Hussein Shafie <[email protected]> wrote:
> I've already answered this question on 07/30/2010. See
> http://www.xmlmind.com/pipermail/ditac-support/2010-July/000120.html
>
> My answer was:
> ---
> 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
> ---
>
> I attached Test.ditamap and Test.chm to my answer. May be that's why
> your anti-spam filter discarded this email?
>
>
>
> ∋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 chm output a single topic titled
>> "Methods" containing all children topics.
>>
>> 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? Or is it a bug?
>>
>
 
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to