From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85301 Path: news.gmane.org!not-for-mail From: "Keith J. Schultz" Newsgroups: gmane.comp.tex.context Subject: Re: EPUB woes Date: Mon, 18 Nov 2013 16:11:23 +0100 Message-ID: <63EC0C6C-1DBA-4CE4-84E5-66347AF42417@uni-trier.de> References: <52878C67.90007@meahan.net> <5287A29B.6010302@meahan.net> <528A063A.10203@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1384787487 5279 80.91.229.3 (18 Nov 2013 15:11:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Nov 2013 15:11:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 18 16:11:33 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 1ViQU8-0004QR-H6 for gctc-ntg-context-518@m.gmane.org; Mon, 18 Nov 2013 16:11:32 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 89231101F2; Mon, 18 Nov 2013 16:11:30 +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 kzwa5ZR9LWh9; Mon, 18 Nov 2013 16:11:28 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 5EFEB101F9; Mon, 18 Nov 2013 16:11:28 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8DE7D101F9 for ; Mon, 18 Nov 2013 16:11:27 +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 0iyZaTnDbwmB for ; Mon, 18 Nov 2013 16:11:25 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 93E26101F2 for ; Mon, 18 Nov 2013 16:11:25 +0100 (CET) Original-Received: from mx1.uni-trier.de (mx1.uni-trier.de [136.199.224.17]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rAIFBOGw013551 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 18 Nov 2013 16:11:24 +0100 X-IronPort-AV: E=Sophos;i="4.93,724,1378850400"; d="scan'208";a="9081074" Original-Received: from rzmail.uni-trier.de ([136.199.8.220]) by mx1i.uni-trier.de with ESMTP; 18 Nov 2013 16:11:23 +0100 Original-Received: from [10.0.62.5] (dslb-084-058-252-244.pools.arcor-ip.net [84.58.252.244]) by rzmail.uni-trier.de (Postfix) with ESMTPA id B054E3FE78 for ; Mon, 18 Nov 2013 16:11:23 +0100 (CET) In-Reply-To: <528A063A.10203@wxs.nl> X-Mailer: Apple Mail (2.1822) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=136.199.224.17; country=DE; region=08; city=Trier; latitude=49.7500; longitude=6.6333; http://maps.google.com/maps?q=49.7500,6.6333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VKP3boLs - d0dc67f35bd6 - 20131118 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:85301 Archived-At: 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. 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. 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. regards Keith. ___________________________________________________________________________________ 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 ___________________________________________________________________________________