30 Jan
2013
30 Jan
'13
9:21 p.m.
Am 30.01.2013 um 22:12 schrieb Aditya Mahajan
On Wed, 30 Jan 2013, Bill Meahan wrote:
An XSLT stylesheet would allow direct export of a document from LO-W which could then be be tweaked if necessary.
Another option is to uncompress the odt file (IIUC, it is just a zip), and process it directly in ConTeXt (http://www.pragma-ade.com/general/manuals/xml-mkiv.pdf).
ConTeXt is able to read from zip files.
This approach is more flexible than XSLT stylesheets, but it ties you to ConTeXt (with XSLT, in principle, you can switch to other formats relatively easily).
In essence it boils down to understanding the ODT XML Schema and figuring out the mapping to context commands.
Hans posted a simple example to process odt files a few years ago. Wolfgang