5 Sep
2013
5 Sep
'13
8:11 p.m.
On 2013-09-04 Thangalin wrote:
What needs to happen to take a minimal ConTeXt file (such as the attached) to produce a minimum viable EPUB that:
It is always difficult to parse and further process not well structured plain text without advanced semantics. Garbage in, garbage out. If you need both EPUB and PDF, start with a semantically rich XML vocabulary, e.g. DocBook. In this case you can relatively easy transfrom (XSLT) input data into almost any format. These basic outputs like EPUB or PDF (via XSL-FO) you can get out-of-the-box. The Context output can be generated using dbcontext: http://dblatex.sourceforge.net/ In sum, use XML as your primary source and from it derive everything else. Jan