我使用DITA-OT将一组DITA文件转换为Eclipse信息中心帮助系统。输入.ditamap文件中的映射有一个topicrefs列表。OT将列表中第一个主题的链接设置为顶级TOC节点的链接。
由此产生的TOC如下:
links to overview.html links to overview.html
如您所见,顶层条目链接到与其第一个子页面相同的页面。我需要的是链接到与第一个子页面分离的页面的顶级条目:
links to welcome_page.html links to overview.html
如何设置顶级TOC条目中的链接?
我怀疑这可能是不可能的,因为在顶级TOC条目及其第一个子条目中重复的这种链接模式存在于Eclipse (https://help.eclipse.org/oxygen/index.jsp)中。
发布于 2018-06-07 07:32:30
DITA-OT使用topicref first ,即使TOC顶级链接的 toc="no" 也是如此。
<map title="Product 1.2.3">
<topicref href="welcome_page.dita" toc="no"/>
<topicref href="overview.dita"/>
...
</map>https://stackoverflow.com/questions/50730860
复制相似问题