Page 1 of 1

D4P transform - word 2 dita output file naming

Posted: Thu Apr 21, 2016 6:44 pm
by oootini
Hi,

Getting to grips with the OOXML DOCX DITA transform. Wondering is there an easy way to customize the output dita file names and map references to be more "readable".

At the moment, i get output like topic1.dita, topic1_1.dit, topic1_2.dita, etc. It would be real nice if the file names reflected the topic titles for example.

I have no idea how feasible or not this is :D

Re: D4P transform - word 2 dita output file naming

Posted: Fri Apr 22, 2016 11:03 am
by Radu
Hi,

You can search using the Oxygen Find/Replace in Files in the set of DITA for Publishers XSLTs:

OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\plugins\net.sourceforge.dita4publishers.word2dita

and look where the parameter called fileNamePrefix is used. Not sure how easy what you want can be achieved though...
Maybe you could also ask around on the Yahoo Groups DITA Users List. Eliot Kimber, the maker of the DITA for Publishers project is registered on it and he may have more suggestions for you.

Regards,
Radu

Re: D4P transform - word 2 dita output file naming

Posted: Fri Apr 22, 2016 5:28 pm
by oootini
OK cool, thank you.