I have files that I want to make available in an variety of formats:HTMLPDFEPUBPlain Text (maybe)Most of the files will be sourced in doc, docx, or rtf format, so that needs to be considered.So I need some kind of format that converts well from docx, doc, and rtf and has plenty of libraries for converting into PDF, EPUB, HTML etc. Ideally libraries in Python, but Java is also okay.
Ideal intermediate file format to use for structured/styled text?
python;files;date format;export;import
doc and rtf can be easily converted to docx using MS Word. docx can be can be converted to PDF, EPUB, HTML or plain text either by Word's buildin converters, or by third party tools.Here is a link telling you more about a clean Word->HTML conversion: http://webdesign.about.com/od/beginningtutorials/qt/doc-to-html.htmFor Word->EPUB a simple google search will reveal you some free online converters and some commercial tools.If, for what reasons ever, you don't like that solution and want a more vendor neutral intermediate format, then use docbook. But don't expect that this will increase the overall quality of the results, since every additional step in the conversion chain will most probably add some additional data loss.