On Dec 14, 2011, at 1:31 PM, Mojca Miklavec wrote:
On Wed, Dec 14, 2011 at 07:14, Chris Lott wrote:
3) PDF is my primary medium of exchange, though I would like to efficiently exchange docs with colleagues, which might mean getting them into something they can open with their beloved Microsoft Word... is there an RTF output for ConTeXt? this isn't super-high on my list, but it would be nice.
ConTeXt only support XHTML to some extent. Now that xhtml backend is done, creating support for rtf should be a lot easier to do than before xhtml export was there, but unless some substantial funding is found, it is unlikely to ever be implemented. Honestly I see no reason why anyone would want to have RTF. Even if your colleagues get a document in RTF and fix a few things, it won't at all be easy to integrate that back. tex4ht most probably offers export to RTF, but since author's death it is nearly impossible to request any substantial feature. I bet that ConTeXt doesn't work with tex4ht any more.
Roger suggested markdown/pandoc. It is limited to some extent, but if you are happy with its set of features, you could probably use it for export into both RTF and XHMTL. Of course then you can forget about lua sugars in ConTeXt ...
Another possibility is to use org-mode in Emacs, export to Latex and from there to ConTeXt. In my case, the last step is accomplished by a home-brewed ruby script which covers the most common layout commands (and I'm mentioning that here in the hope that somebody who is more competent will eventually write something useful; or maybe pandoc does that, too?). This setup allows me to have everything belonging to a project in one textfile, e.g.: * Heading Notes, Ideas Lists: - item 1 - item 2 Tables: | one | two | three | Dates: ** TODO <2011-12-14 Wed 15:10> which I can collect in an agenda * Manuscript This section contains a manuscript which I can separately export as: - textfile - Latex file - HTML file - odt file (for LibreOffice, where it can be saved as a Microsoft doc) More sophisticated ConTeXt commands that are not provided for can be enclosed in #+BEGIN_LaTeX \Context command #+END_LaTeX or put behind #+LATEX: \Context command They will show up in the final ConTeXt version, but will not, of course, be translated into html, odt etc. ** Subsection :noexport: This section is part of "Manuscript", but will not be exported. There are many more features, see http://orgmode.org/ Hope this helps, Jörg