On Thu, 5 Sep 2013, Hans Hagen wrote:
On 9/4/2013 11:20 AM, Hans Hagen wrote:
you get a representation in xml indeed, but not verbatim, but as close
as possible to the genaric (parent) structure elements in context
probably the most straightforward xhtml export is file with only
<div class="section" ...>
<div class="..." ...>
<div>
</div>
i.e. only divs and spans
How easy is it to create a new export format. IIRC, context keeps track of
the entire document tree, and flushes the XML output only at the end. Is
it possible to make this pluggable so that users can write their own
transformers (in lua) on how the document tree can be written. This will
enable more output formats (opendocument and (shudder) latex).
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________