On 19-7-2011 12:15, Mojca Miklavec wrote:
On Tue, Jul 19, 2011 at 11:41, Cecil Westerhof wrote:
Okay, I'll discard this option then. (Or someone else must have a way to do the ConTeXt -> LaTeXt part.)
Keep in mind that ConTeXt -> ODT should in theory be doable as well, but the author of tex4ht died and it is very unlikely that the conversion would work without any problems and even more unlikely that anyone would know how to fix it.
If you can throw away any formatting you did and if you didn't use too many ConTeXt specific tricks, you can "simply rewrite" your code to LaTeX with a few regular expressions etc. But in the same spirit it might be way easier to just "convert" the document straight to ODT using copy-paste and applying some formatting there.
It also depends on the requirement. Of a document only has some sectioning, itemize, and tables (and the majority of the document have) then some simple convertable input format can do. For more complex documents you end up with either coding in tex or when multiple output is needed xml is a good choice. When coding in tex, the xml/xhtml can be of help (and it will evolve) as it provides a pretty complete structure of the document. Concerning OTD: if you need to be roundtrip, then you also need to be able to convert back, which might be non trivial. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------