Supported/Unsupported

Supported

The converter allows to convert only DITA files containing a .ditamap file with only one map, here is a list of supported tags (with the corresponding Hdoc result):

The entire map is considered as the first section, this one will contain every topics :

Map :

DITA

Hdoc

<map> (attribut : title)

the title attribut is the title of the first section

<topichead>

not used

<topicref>

sub-section of the first section, data-hdoc-type="unit-of-content"

The concepts are converted into sub-sections and placed into the map following the topicref tags order :

Concepts

DITA

Hdoc

<title>

Placed in the header of the section

<conbody>

not translated

<p>

<p>

<image>

<img src=""> the image is placed in the "src" folder

<example>

<div data-hdoc-type="example">

<related-links>

<div data-hdoc-type="complement">

<h6>Related Concepts</h6>

<ol>

... (links)

</ol>

<link><linktext></linktext> </link>

<li><p>text</p></li>

The tasks works like the concepts, this is the list of the available tags :

tasks

DITA

Hdoc

<title>

Placed in the header of the section

<taskbody>

not translated

<p>

<p>

<note type="type">

<div data-hdoc-type="type"><p>

the type is matched with existing hdoc types

<steps>

<ol>

<step>

<li>

<cmd>

<p>

<context><p>

<div data-hdoc-type="complement">

<p>

<i>

<related-links>

<div data-hdoc-type="complement">

<h6>Related Concepts</h6>

<ol>

... (links)

</ol>

<link><linktext></linktext> </link>

<li><p>text</p></li>