From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74567 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: epub Date: Sat, 18 Feb 2012 09:25:33 +0100 Message-ID: <4F3F607D.9040301@wxs.nl> References: <48338E14-7911-49B5-A21E-0B7112485471@unibas.ch> <4E57FBC8-D440-45E6-ADA7-A152A889A6A6@unibas.ch> <832F715F-A443-4846-952A-1A397F81B83F@unibas.ch> <6DE2D0F8-C4B8-4FB3-97E2-3B1D4535CB90@unibas.ch> <1FFD39A3-2189-404B-8BCE-C875304C5D5E@googlemail.com> <4F3D7AF4.9060709@wxs.nl> <4F3E3DAA.3070104@wxs.nl> <4061D4AB-0CA9-49A0-B6E8-B53B7F3A8C10@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1329553560 24821 80.91.229.3 (18 Feb 2012 08:26:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Feb 2012 08:26:00 +0000 (UTC) Cc: mailing list for ConTeXt users To: Wolfgang Schuster Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 18 09:25:58 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RyfcC-0007uB-Fm for gctc-ntg-context-518@m.gmane.org; Sat, 18 Feb 2012 09:25:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9D8BBCB2A1; Sat, 18 Feb 2012 09:25:55 +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 9QpqPzVy9ISX; Sat, 18 Feb 2012 09:25:52 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A7283CB29D; Sat, 18 Feb 2012 09:25:52 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AEBDECB29D for ; Sat, 18 Feb 2012 09:25:51 +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 2GQ-QaJd9zuC for ; Sat, 18 Feb 2012 09:25:40 +0100 (CET) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id AACD2CB29C for ; Sat, 18 Feb 2012 09:25:40 +0100 (CET) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q1I8PdIg026033 for ; Sat, 18 Feb 2012 09:25:40 +0100 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.100; Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by pragma-net.nl (SurgeMail 5.3h2) with ESMTP (TLS) id 13884-1713362 for multiple; Sat, 18 Feb 2012 09:25:38 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 In-Reply-To: <4061D4AB-0CA9-49A0-B6E8-B53B7F3A8C10@googlemail.com> 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=11; city=Den Haag; latitude=52.0833; longitude=4.3000; http://maps.google.com/maps?q=52.0833,4.3000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dGzkpEPB - 34e387c3021b - 20120218 (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.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:74567 Archived-At: On 18-2-2012 08:17, Wolfgang Schuster wrote: > I would really prefer to use only html tags when a epub file is produced,= now the files can be only viewed without problems in firefox (with the epu= breader extension) which is nonsense. With the epub 3 standard also mathml = is supported and when a reader is used which doesn=92t understand it that= =92s no problem because the standard is AFAIK backward compatible and unkno= wn functions are just ignored. In that case some postprocessing has to be applied to as it makes no = sense to add tons of code to context to produce a less rich output (also = a pain to do and it will never be ok). We would end up with ugly kludges = like misusing

for whatever we like combined with classes that make = it titles, section numbers, inline highlighting, etc ... The export is not so much html but xhtml and afaik css can deal with = that. I woudn't be surprised if future ebook devices could do the same = as what firefox/chrome do. Also keep in mind that the (now xml) export = can be converted while some html/class/span/div hybrid would be painful = to postprocess. Going from rich encoding to poor encoding (rendering) is = easier than the reverse. I can imagine that we provide a couple of = mappings from export xml to whatever html. 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 t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________