我正在按照DITA Open-Toolkit 3.5 文档从轻量级/降价输入生成规范化的 DITA。
如何拆分输出 - 以便每个主题获得一个文件?这是我的输入降价(“test.md”):
# My Document
This is my document
# Header One
This is some text.
- One
- Two
- Three
# Header Two
This is some text for the Topic called 'Header Two'.
Another bit of text here.
- Item 1
- Item 2
- Item 3
还有我的地图文件(“map.dita”):
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE map PUBLIC "-//OASIS//DTD DITA Map//EN" "map.dtd">
<map>
<topicref href="test.md" format="markdown"/>
</map>
我正在使用的命令:
$ dita --input=map.dita --format=dita
和dita版本:
$ dita -version
DITA-OT version 3.5.3
该手册谈到了插件——但我不确定这些是否需要专门用 java 编写——或者这是否可以通过 XSLT 来实现?(或配置等)