From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85302 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: EPUB woes Date: Mon, 18 Nov 2013 16:33:36 +0100 Message-ID: <528A3350.7040306@wxs.nl> References: <52878C67.90007@meahan.net> <5287A29B.6010302@meahan.net> <528A063A.10203@wxs.nl> <63EC0C6C-1DBA-4CE4-84E5-66347AF42417@uni-trier.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1384788842 22978 80.91.229.3 (18 Nov 2013 15:34:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Nov 2013 15:34:02 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 18 16:34:07 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 1ViQpv-00080m-MJ for gctc-ntg-context-518@m.gmane.org; Mon, 18 Nov 2013 16:34:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C3BD910223; Mon, 18 Nov 2013 16:34:02 +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 fZVhpCe88-qv; Mon, 18 Nov 2013 16:34:00 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 895E910202; Mon, 18 Nov 2013 16:34:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 084B010202 for ; Mon, 18 Nov 2013 16:33:59 +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 zzznWFu-UcVk for ; Mon, 18 Nov 2013 16:33:57 +0100 (CET) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 86AD7101F9 for ; Mon, 18 Nov 2013 16:33:57 +0100 (CET) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rAIFXeJY015076 for ; Mon, 18 Nov 2013 16:33:46 +0100 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.103; Original-Received: from [10.100.1.103] (unverified [10.100.1.103]) by pragma-net.nl (SurgeMail 6.3c2) with ESMTP id 124-1713362 for ; Mon, 18 Nov 2013 16:33:39 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 In-Reply-To: <63EC0C6C-1DBA-4CE4-84E5-66347AF42417@uni-trier.de> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=15; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08KP3xE1D - 2d96aeb9f6dd - 20131118 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:85302 Archived-At: On 11/18/2013 4:11 PM, Keith J. Schultz wrote: > Hi Hans, > > > Am 18.11.2013 um 13:21 schrieb Hans Hagen : > >> On 11/18/2013 10:00 AM, Keith J. Schultz wrote: >> >>> 2) Now, what a EPub-READER must implement to handle is very >>> little. There are HARDLY ANY provisions that a certified EPuB-READER has >>> to implement any particular engine or features therein to display/render >>> the information contain in the EPub-file/wrapper. >> >> right, and I'm not going to waste time on it till i have a decent ebook reader that behaves well > The point you are missing is that the ereaders are behaving well. They are following the epub > standard, and that to the letter of the standard. The problem is that the standard does not > enforce any particular implementation. If you look at the slow progress of the standard that > actually requires a full implementation of the HTML5 standard. That wait will very long. sure, and every time i see an epub novel i realize that for something like that one really can stick to rather dumb html ... the point is that one cannot expect context to output simple everywhere accepted html from complex rendered input ... > Furthermore, ereaders are made by companies more interested in profits than spending a few Euros > more to put decent HTML engines into their readers. Why they do not do that is beyond me! >> >>>> 3. Modify the way in which ConTeXt generates the XML files. Ideally, I should be able to write something like >>> Would be nice if there where commands in ConTeXt or a module for defining what should go into the CSS and a >>> mode "epub" where the ConTeXt commands are converted to suitible HTML5 structures that are suitiable for >>> most ereaders. >>> Features: >>> 1) margins in percentages >>> 2) font sizes based on em >>> 3) a new file for every chapter optional for sections user defined >>> Just a few. Lots more can be found in any decent documentation on writing ebooks. >> >> context outputs xml and as a bonus provides a css too ... one can always convert that xml to his/her ebooks liking .. maybe at some point the mtx-epub script will do that > > I always to like to look at programming as modular and would think that a epub/ebook module would be nice that maps > there are commands for layingout ebooks. these commands can then be mapped back to standard context commands. in that case code in xml and either processit by context or transform it into something ebooks can render > For some interested in producing a epub then can use the conventions for producing ebooks and ConTeXt can provide the > math conversions to regular page dimensions used in PDFs for proofing or creating a printed version. It would also make the > creation of EPubs from ConTeXt a simple parsing exercise. so far i had no projects where epub was needes so it has a low priority and i still read paper books (or when i would have ebooks i wouldn't need to render them) ... pdfs views quite well on e.g. nexus 7 devices and i assume the upcoming sony high res ebook will also do pdf well concerning modular: you can consider the context export to be modular .. convertable Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________