On 10/26/2012 09:07 AM, Schmidt Christian wrote:

we found a problem when including a topic with subtopics twice into a
bookmap.

The topic itself is included correctly but the subtopic is included only
once (I think it should be included every time or never).

I'm sorry but I don't remember. I'll have to check the DITA standard.

Please note that using a <dita> file containing one or more topics, some of the topics themselves possibly containing subtopics, is [1] likely to cause you other problems [2] is not "DITA-ish" at all (DITA rules: every topic in its own file; no nested topics).

TIP: If you want to work conveniently with many topic files, please consider opening the map as a document set, rather than putting many topics in a single file. See tutorial "Working with a document set" -- http://www.xmlmind.com/xmleditor/_tutorial/document_set/index.html




It doesn’t matter if I convert it as a PDF or an XHTML (the file is
missing in the dita_lists).

For input and output please see attachment.

We'll *try* to fix this bug for next release (expected in about a week).




Can you please provide some kind of solution


Attached ditamap seems to work more consistently.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE bookmap PUBLIC "-//OASIS//DTD DITA BookMap//EN"
"bookmap.dtd">
<bookmap>
  <title/>

  <frontmatter>
    <booklists>
      <toc/>
    </booklists>
  </frontmatter>

  <part href="???">
    <chapter href="???">
      <topicref href="UnvertraeglichkeitenAssiNeu1ArztBeginn.dita#UnvertraeglichkeitenAssiNeu1ArztBeginn"
                id="id1">
        <topicref href="UnvertraeglichkeitenAssiNeu1ArztBeginn.dita#sub_task_id"/>
      </topicref>

      <topicref href="UnvertraeglichkeitenAssiNeu1ArztBeginn.dita#UnvertraeglichkeitenAssiNeu1ArztBeginn"
                id="id2">
        <topicref href="UnvertraeglichkeitenAssiNeu1ArztBeginn.dita#sub_task_id"/>
      </topicref>
    </chapter>
  </part>
</bookmap>
 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to