好的,经过大量的修补的我已经发现,下面产生所需的输出:
<!-- 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>
(任何想法家伙?)
但是,至少我已经找到了解决方案!