From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85352 Path: news.gmane.org!not-for-mail From: "Jan Tosovsky" Newsgroups: gmane.comp.tex.context Subject: Re: EPUB woes Date: Wed, 20 Nov 2013 20:43:54 +0100 Message-ID: <46785.4440598332$1384976645@news.gmane.org> References: <52878C67.90007@meahan.net> <5287A29B.6010302@meahan.net> <528A063A.10203@wxs.nl> <63EC0C6C-1DBA-4CE4-84E5-66347AF42417@uni-trier.de> <528A3350.7040306@wxs.nl> <971C0359-183E-490F-B693-EA2801FE9126@uni-trier.de> <6062EC24-1DF7-4727-84E2-1FFAE5FCE1E4@uni-trier.de> <528CFB40.2030100@meahan.net> 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 1384976635 31068 80.91.229.3 (20 Nov 2013 19:43:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Nov 2013 19:43:55 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 20 20:44:01 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 1VjDgu-0004hu-TA for gctc-ntg-context-518@m.gmane.org; Wed, 20 Nov 2013 20:44:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2280D10208; Wed, 20 Nov 2013 20:44:00 +0100 (CET) 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 VceyOrUWKzQ0; Wed, 20 Nov 2013 20:43:58 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 10D68101F0; Wed, 20 Nov 2013 20:43:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5DA18101F0 for ; Wed, 20 Nov 2013 20:43:56 +0100 (CET) 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 SMFhIoQqdkCt for ; Wed, 20 Nov 2013 20:43:55 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 5848C101EA for ; Wed, 20 Nov 2013 20:43:55 +0100 (CET) Original-Received: from fep14.mx.upcmail.net (fep14.mx.upcmail.net [62.179.121.34]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rAKJhsc6028805 for ; Wed, 20 Nov 2013 20:43:54 +0100 Original-Received: from edge03.upcmail.net ([192.168.13.238]) by viefep14-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20131120194353.HPT26801.viefep14-int.chello.at@edge03.upcmail.net> for ; Wed, 20 Nov 2013 20:43:53 +0100 Original-Received: from emk ([78.102.141.153]) by edge03.upcmail.net with edge id rvjt1m00a3Jmlmu03vjtag; Wed, 20 Nov 2013 20:43:53 +0100 X-SourceIP: 78.102.141.153 In-Reply-To: <528CFB40.2030100@meahan.net> X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac7mHV0OtuF+TNsvTtW5FtqfLQVfUAAA1dng Content-Language: cs X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=62.179.121.34; 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: 0WKPTHSaE - 0a3ef9e060f2 - 20131120 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:85352 Archived-At: On 2013-11-20 Bill Meahan wrote: > On 11/20/2013 8:59 AM, Aditya Mahajan wrote: > > > > 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. > > > > I would vote for that approach. It is pretty much analogous to what I > have decided to do. I'm doing my actual writing in HTML. creating CSS > for ebooks and ConTeXt environment files for PDF. > ... > > My needs are much simpler than the majority of people on this list. I > have no need for math, no need for indexes, no need for bibliographies, > footnotes or citations. BUT I want really top-notch visual output > whether in PDF or printed on dead trees. This is exactly my situation ;-) Two outputs ideally from the same data. But thanks to my XML background and experience in the single source publishing it was clear from the very beginning that I need a well structured and also semantically rich vocabulary like DocBook. Generating ePub3 outputs is very straighforward (things gets complicated when you need customize it). It is same for PDF outputs. These outputs are generated using XSL-FO processors. But to be honest, outputs are not so visually appealing as they lack many microtypographic features (expansion, hanging punctuation etc). This is the reason why I do a noise here in this forum. There is a db-context tool (set of XSLT stylesheets): http://dblatex.sourceforge.net/releases/download.html It can convert DocBook XML into the ConTeXt source. I do some direct (local) changes into it to avoid manual post-processing (which gets lost with every generating - I still do some corrections in my source). This solution requires some experience in XML processing, but I encourage anybody who need multiple outputs from a single data to investigate it a bit. It is so powerfull ;-) 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 ___________________________________________________________________________________