Hi,
You do not understand my point. I one uses XML why use ConTeXt.
Yet, I one wants to use ConTeXt and do ebooks and they have experience why force them
to XML.
As I stated the idea use ConTeXt to do the markup with commands that will ensure proper input of
HTML5 for making ebooks that will render well on MOST ereaders and at the same time be typeset
by ConTeXt to good quality PDF!
ereaders need the html code to adhere to special guidelines in order to create a high quality display for the ebook.
That is why special commands are needed to restirct the features available!
regards
Keith.
Am 20.11.2013 um 14:59 schrieb Aditya Mahajan
To me, the biggest advantage of a TeX based system is the ease of extensibility. If you want to restrict to a specific subset, then might as well use XML:
<document> <book> <chapter> <paragraph leftmargin=20%> text </paragraph> </book> </document>
or using one of the existing XML schemas rather than inventing your own (perhaps even HTML5).
As far as ConTeXt is concerned, you can process the above XML quite easily. Come to think of it, it may be a useful to provide a module that maps HTML5 to PDF.
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 ___________________________________________________________________________________