Page 1 of 1

Using word2dita

Posted: Tue Sep 25, 2018 4:17 am
by mdslup
I'm trying to use this page to convert a docx to dita:

http://dita4publishers.sourceforge.net/ ... xygen.html

I don't understand step 6:

Select the Parameters button to open the Parameters dialog and set the following parameters:

outputDir
The URI of the output directory to hold the generated files.
styleMapUri
The URI of the style-to-tag map document to use for the transform.


What am I supposed to set the styleMapUti parameter to?

Re: Using word2dita

Posted: Tue Sep 25, 2018 8:11 am
by Radu
Hi,

I do not know much about the plugin but from what I looked in the build files, there is a default style map XML located in DITA-OT2.x/plugins/org.dita4publishers.word2dita/xsl/word-builtin-styles-style2tagmap.xml so for example on my side I would need to set the parameter styleMapUri to an URL-like value like:

file:/D:/path/to/oxygen/installation/frameworks/dita/DITA-OT2.x/plugins/org.dita4publishers.word2dita/xsl/word-builtin-styles-style2tagmap.xml



Regards,
Radu