On Tue, Jul 19, 2011 at 02:37:33PM +0200, Hans Hagen wrote:
On 19-7-2011 12:46, luigi scarso wrote:
On Tue, Jul 19, 2011 at 12:41 PM, John Haltiwanger
wrote: On Tue, Jul 19, 2011 at 3:27 AM, Martin Schröder
wrote: 2011/7/19 Cecil Westerhof
: When you find them, I would be interested in them. And maybe I can improve on them.
Pandoc. :-)
Pandoc does not support Context as an input. Nor does it support modern mkIV conventions (\startchapter..\stopchapter; \hyphenatedURL; etc). If anyone knows Haskell, maybe we can submit some patches to Pandoc to create a --mkiv switch for Context?
I don't know haskell, but it sound like a good excuse to start.
it might be way easier to convert the xml export to pandoc because then users can still define commands (like special sectioning); otherwise you keep extending
Indeed, I was about to suggest the same. Handling xml exported by ConTeXt avoids all the complexities of parsing TeX code and avoids the need to only support some predefined subset of it (which is inevitable). Regards, Khaled -- Khaled Hosny Egyptian Arab