DITA-OT HDITA plug-in contains a custom parser for HDITA to allow using HDITA as a source document format.
The HDITA files need to use a subset of HTML5 constructs for compatibility with DITA content models.
DITA-OT 2.2 is required. Earlier versions of DITA-OT do not have the required extension points.
-
Run Gradle distribution task
./gradlew dist
Distribution ZIP file is generated under build/distributions
.
-
Run plug-in installation command
dita -install https://github.com/jelovirt/com.elovirta.dita.html/releases/download/0.1.0/com.elovirta.dita.html_0.1.0.zip
The dita
command line tool requires no additional configuration;
running DITA-OT using Ant requires adding plug-in contributed JAR files
to CLASSPATH
with e.g. -lib plugins/com.elovirta.dita.html
.
HDITA topics can only be used by linking to them in map files.
<map>
<topicref href="test.html" format="html"/>
</map>
The format
attribute value must be set to html
in order to
recognize files as HDITA; file extension is not used to
recognize format.
Support this project and others by @jelovirt via Paypal.
DITA-OT HDITA is licensed for use under the Apache License 2.0.