On Thu, 25 Oct 2007, Idris Samawi Hamid wrote:
Hi Aditya,
On Thu, 25 Oct 2007 08:50:03 -0600, Aditya Mahajan
wrote: This is interesting. A website that converts html to context (actually uses markdown behind the scenes).
http://johnmacfarlane.net/pandoc/html2x.html
This is how the context wiki looks like.
The program is written in haskell and is also available for download. You can use it to convert markdown to context. I had been looking for this for a while, when multiple formats are needed. Write in markdown and generate html or context. I do not completely like the context output it generates (for example http://johnmacfarlane.net/pandoc/README gets converted to http://johnmacfarlane.net/pandoc/example11.tex.html)
This looks very promising. Perhaps some of us can help the developers to improve the ConTeXt support.
I will explore pandoc in more detail in the future. I am more interested in it from the point of view of understanding Haskell parsers, but improving the context output will definitely not hurt. Aditya