On 04/25/2015 02:36 AM, Idris Samawi Hamid ادريس   سماوي حامد wrote:
> Dear gang,
> 
>   I've spent a considerable amount of time over the past month trying to
>   master the art of xhtml output. We are close to being able to use ConTeXt
>   as a replacement for markdown in, e.g., WordPress.

Hi Idris,

Markdown or pandoc? Markdown is the markup format, pandoc is the tool.

Replacing pandoc with ConTeXt to generate XHTML or ePub files has a
downside.

As far as I know, ConTeXt is much slower for this task. With a sample
from pandoc (http://pandoc.org/epub.html#a-real-book), it takes between
5 and 3 seconds on my computer (depending whether pandoc is loaded in
memory or not).

With pandoc you have also more formats to write to.

>   Indeed, I plan topresent the results of this experiment (porting an
>   entire academic article to xhtml and WP) in a future article for one of
>   the TeX journals...

I’m really interested in reading it. Also because I’m trying to use
ConTeXt to generate high-quality PDF documents from XHTML files
generated by pandoc ;-).

>   Now we can of course already export xhtml footnotes from ConTeXt but there
>   will be no interactive links. In the current project, there are 77
>   footnotes; I had to add the links manually to get the output to do what we
>   wanted.

I’m afraid that missing links for footnotes is a bug,

>   [Also note that it makes much more sense to export the footnotes as
>   endnotes, particularly for long blog posts.]

I think that footnotes are related to pages. You can only have proper
footnotes in a page.

Just in case it might help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to