好的,經過大量的修補的我已經發現,下面產生所需的輸出:
<!-- chapter.ditamap -->
<topicref href="objects/overview.dita" type="concept" chunk="to-content">
<!-- topics to combine with parent -->
<topicref href="objects/visualising-objects.dita" type="concept"/>
<!-- changing-the-object-size.dita = nested topic -->
<topicref href="changing-the-object-size.dita" type="task" chunk="to-content"/>
</topicref>
或彼此稍微清潔器標記(IMO):
<!-- chapter.ditamap -->
<topicref href="objects/overview.dita" type="concept" chunk="to-content">
<!-- topics to combine with parent -->
<topicref href="objects/visualising-objects.dita" type="concept"/>
<!-- changing-the-object-size.dita = nested topic -->
<topicgroup>
<topicref href="changing-the-object-size.dita" type="task" chunk="to-content"/>
</topicgroup>
</topicref>
這會生成2個HTML文件,一個用於「Overview + Visualizing Objects」,另一個用於嵌套在「Overview + Visualizing Objects」中的「更改對象大小」。
可惜我不能合併的話題放到自己獨立的地圖:
<!-- chapter.ditamap -->
<!-- objects.ditamap = combined topic -->
<topicref href="objects.ditamap" type="dita">
<!-- changing-the-object-size.dita = nested topic -->
<topicref href="changing-the-object-size.dita" type="task"/>
</topicref>
(任何想法傢伙?)
但是,至少我已經找到了解決方案!