DITA map missing after transforming docx to DITA

Post here questions and problems related to editing and publishing DITA content.
Kid_A
Posts: 5
Joined: Wed Dec 09, 2020 5:42 pm

DITA map missing after transforming docx to DITA

Post by Kid_A »

Hi,

I would like to transform a docx-file into a ditamap with several topics.
Runing the built-in DOCX DITA transformation scenario produces a DITA project that contains multiple topics but no DITA map. Do I need to configure something to also generate the map? Or is it possible that this feauture is only available with full licencing? I'm curently using a 30 days trial licence, but intent do by the full licence.

Thanks.
Radu
Posts: 7779
Joined: Fri Jul 09, 2004 5:18 pm

Re: DITA map missing after transforming docx to DITA

Post by Radu »

Hi,

Maybe instead of the DOCX to DITA transformation you should try our free batch converter add-on:

https://www.oxygenxml.com/doc/versions/ ... addon.html

You can install it from the Oxygen main menu "Help->Install new add-ons" by choosing to show addons from all available sites.
Afterwards it should contribute contextual menus in the Oxygen Project view to convert one or more Word documents to DITA. And the conversion has a checkbox which allows you to break the Word document in multiple topics and also auto-create a DITA Map.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Kid_A
Posts: 5
Joined: Wed Dec 09, 2020 5:42 pm

Re: DITA map missing after transforming docx to DITA

Post by Kid_A »

Thanks Radu. That helped.

Does the Batch Converter only take standard Word styles such as "Title", "Heading 1", etc. to transform into topics? Or can I configure those somewhere?
Radu
Posts: 7779
Joined: Fri Jul 09, 2004 5:18 pm

Re: DITA map missing after transforming docx to DITA

Post by Radu »

Hi,

It has a small XML configuration file buried somewhere in its installation folder, on my side (Windows OS) the folder path is something like this:

C:\Users\your_user_name\AppData\Roaming\com.oxygenxml\extensions\v23.0\plugins\https_www.oxygenxml.com_InstData_Addons_default_updateSite.xml\oxygen-batch-converter-version\config\wordStyleMap.xml

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Kid_A
Posts: 5
Joined: Wed Dec 09, 2020 5:42 pm

Re: DITA map missing after transforming docx to DITA

Post by Kid_A »

Radu wrote: Fri Dec 11, 2020 4:55 pm Hi,

It has a small XML configuration file buried somewhere in its installation folder, on my side (Windows OS) the folder path is something like this:

C:\Users\your_user_name\AppData\Roaming\com.oxygenxml\extensions\v23.0\plugins\https_www.oxygenxml.com_InstData_Addons_default_updateSite.xml\oxygen-batch-converter-version\config\wordStyleMap.xml

Regards,
Radu
Thanks.

In the meantime I was able to resolve my problem with the dita4publisher plugin: The first non-skipped and non-root-topic-prolog paragraph in the Word document must be of structure type "topicTitle", "map", or "mapTitle" and level "0" (zero). So I'm all good.
Cosmin Duna
Site Admin
Posts: 53
Joined: Wed Dec 12, 2018 5:33 pm

Re: DITA map missing after transforming docx to DITA

Post by Cosmin Duna »

Hi,
I just wanted to let you know that version 3.2.0 of the Batch Documents Converter add-on is out now and it contains an option named "Word Styles Mapping" where the custom styles can be configured. You can see this documentation page for more information:
https://www.oxygenxml.com/doc/versions/ ... w5_vw4_3rb

Regards,
Cosmin
Cosmin Duna
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply