Page 1 of 1
DITA to rtf or odt
Posted: Tue Oct 25, 2016 2:35 pm
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
Re: DITA to rtf or odt
Posted: Wed Oct 26, 2016 9:31 am
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
Re: DITA to rtf or odt
Posted: Mon Nov 07, 2016 6:00 pm
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
Re: DITA to rtf or odt
Posted: Tue Nov 08, 2016 12:19 am
by Radu
Hi Ann,
It's in Oxygen XML Editor/frameworks/dita/DITA-OT2.x/plugins/com.elovirta.ooxml/resources.
Regards,
Radu