From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84115 Path: news.gmane.org!not-for-mail From: "honyk" Newsgroups: gmane.comp.tex.context Subject: Re: EPUB XHTML Format Date: Thu, 5 Sep 2013 20:11:45 +0200 Message-ID: <16467.4695035957$1378404717@news.gmane.org> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1378404708 19536 80.91.229.3 (5 Sep 2013 18:11:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Sep 2013 18:11:48 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 05 20:11:52 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VHe23-00014D-DW for gctc-ntg-context-518@m.gmane.org; Thu, 05 Sep 2013 20:11:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 56EAB101E7; Thu, 5 Sep 2013 20:10:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id EYr5jeZZteZl; Thu, 5 Sep 2013 20:10:15 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 87D42101E9; Thu, 5 Sep 2013 20:10:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3FA3C101E9 for ; Thu, 5 Sep 2013 20:10:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id yZmgtrED4+V2 for ; Thu, 5 Sep 2013 20:10:12 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 49C90101E7 for ; Thu, 5 Sep 2013 20:10:12 +0200 (CEST) Original-Received: from fep18.mx.upcmail.net (fep18.mx.upcmail.net [62.179.121.38]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r85IBiG7007582 for ; Thu, 5 Sep 2013 20:11:45 +0200 Original-Received: from edge02.upcmail.net ([192.168.13.237]) by viefep18-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20130905181144.YCDT21713.viefep18-int.chello.at@edge02.upcmail.net> for ; Thu, 5 Sep 2013 20:11:44 +0200 Original-Received: from emk ([78.102.140.2]) by edge02.upcmail.net with edge id MWBk1m00503HwaN02WBk2k; Thu, 05 Sep 2013 20:11:44 +0200 X-SourceIP: 78.102.140.2 In-Reply-To: X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac6pDNsLT42q16vSQ0q/ZaRNvNMamwBUuuTw Content-Language: cs X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=62.179.121.38; country=AT; latitude=47.3333; longitude=13.3333; http://maps.google.com/maps?q=47.3333,13.3333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NKlubISM - 50eef947f1ef - 20130905 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84115 Archived-At: 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________