DITA to rtf or odt

Post here questions and problems related to editing and publishing DITA content.
ann.jensen
Posts: 297
Joined: Wed Jun 17, 2015 10:19 am

DITA to rtf or odt

Post by ann.jensen »

Hi,
I have found useful information on how to customise DITA to Pdf transform and now I would like to try to same with rtf and/or odt transform.
Is there any information out there that can help me with the customisation (fonts, colors etc.) of these?
Thanks in advance,
Ann
Radu
Posts: 9071
Joined: Fri Jul 09, 2004 5:18 pm

Re: DITA to rtf or odt

Post by Radu »

Hi Ann,

We don't quite have experience customizing the RTF and OTF outputs. As far as I know these transformations are very badly maintained and they will be removed as plugins bundled with DITA OT in a future DITA OT 2.x, they will remain as independent plugins which can be installed separately.
So you should probably ask around on the DITA Users List.
One thing, you might want to consider using the DITA Map MS Office Word transformation scenario we started bundling with recent versions of Oxygen (17.1 and 18.0). It produces directly a Word document based on a template document that you can customize, the plugin can also be installed directly from GitHub if you are using an external DITA OT:

https://github.com/jelovirt/com.elovirta.ooxml

Another possibility would be to use the Apache FOP to also produce the RTF. So if you set the "clean.temp" parameter to "no", look in the temporary files folder and open the "topic.fo", you can open that in Oxygen, in the Transformation Scenarios list you should find a FO PDF scenario which can be configured in the FO Processors tab to set an RTF output, then in the Output tab to save to a file with the RTF extension. But I'm not sure if Apache FOP is really that great when producing the RTF...

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
ann.jensen
Posts: 297
Joined: Wed Jun 17, 2015 10:19 am

Re: DITA to rtf or odt

Post by ann.jensen »

Hi Radu,
When you say " It produces directly a Word document based on a template document that you can customize" can you advise where the customisable template can be found?
thanks in advance,
Ann
Radu
Posts: 9071
Joined: Fri Jul 09, 2004 5:18 pm

Re: DITA to rtf or odt

Post by Radu »

Hi Ann,

It's in Oxygen XML Editor/frameworks/dita/DITA-OT2.x/plugins/com.elovirta.ooxml/resources.

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