使用 DITA-OT 在 Eclipse InfoCenter TOC 中设置顶级 link

Set top level link in Eclipse InfoCenter TOC using DITA-OT

我正在使用 DITA-OT 将一组 DITA 文件转换为 Eclipse 信息中心帮助系统。输入 .ditamap 文件中的地图具有 topicrefs 的列表。 DITA-OT 将此列表中第一个主题的 link 设置为顶级 TOC 节点的 link。

生成的 TOC 如下所示:

如您所见,顶级条目 link 与其第一个 child 位于同一页面。我需要的是顶级条目 linking 到与第一个 child:

分开的页面

如何设置顶级 TOC 条目中的 link?

我怀疑这可能是不可能的,因为这种 link 的模式在顶级 TOC 条目中重复,并且它的第一个 child 存在于 Eclipse 文档中(https://help.eclipse.org/oxygen/index.jsp).

DITA-OT 使用 第一个 topicref 即使 toc="no" 用于 TOC 顶层 link:

<map title="Product 1.2.3">
  <topicref href="welcome_page.dita" toc="no"/>
  <topicref href="overview.dita"/>
  ...
</map>