From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84138 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: EPUB XHTML Format Date: Fri, 06 Sep 2013 18:09:34 +0200 Message-ID: <5229FE3E.3090807@wxs.nl> 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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1378485846 16125 80.91.229.3 (6 Sep 2013 16:44:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Sep 2013 16:44:06 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 06 18:44:10 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 1VHz8i-0006Ns-TL for gctc-ntg-context-518@m.gmane.org; Fri, 06 Sep 2013 18:44:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 17D8F1022E; Fri, 6 Sep 2013 18:42:33 +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 uuFc1NoPr+L6; Fri, 6 Sep 2013 18:42:30 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 662C6101F5; Fri, 6 Sep 2013 18:42:30 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8D537101F5 for ; Fri, 6 Sep 2013 18:42:28 +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 u+u9pJxKoDI1 for ; Fri, 6 Sep 2013 18:42:27 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 881B7101F0 for ; Fri, 6 Sep 2013 18:42:27 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r86Gi1k6018062 for ; Fri, 6 Sep 2013 18:44:01 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.0.4.6; Original-Received: from [10.0.4.6] (unverified [10.0.4.6]) by pragma-net.nl (SurgeMail 6.3c2) with ESMTP id 4381-1713362 for ; Fri, 06 Sep 2013 18:44:00 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 In-Reply-To: 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: 07KlQI19m - 6651bd14daba - 20130906 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:84138 Archived-At: On 9/6/2013 12:00 AM, Thangalin wrote: > That is a good point. The current XML structure produced by ConTeXt > (Hans correct me here if I'm mistaken) is not accessible, as it doesn't > adhere to strict XHTML. I suspect that
tags would not be > accessible -- the only way to provide true accessibility in EPUB format > would be by using the strict XHTML tags. html is not rich enough .. one ends up with abusing tags which in turn is confusing for accesibility ... i once saw an epub where h1 was used for the chapter number and h2 for the chapter title > When I talk about strict XHTML, I'm proposing that a _simple_ ConTeXt > document (up to 6 header levels, numbered and unnumbered lists, images, > text emphasis, etc.) should generate a simple, validating XHTML > document. Trying to attain 100% coverage of ConTeXt transmogrification > to XHTML is ridiculous when, I suspect, 80% coverage would meet most > needs.. :-) in that case a few page transformation could do, isn't it? > *XML + XSLT -> ConTeXT TeX -> EPUB + CSS* probably ok for novels but who there is no way to limit the user ... so in the end we still have a complex mix to deal with ... i'd rather have ConTeXT TeX reading xml -> export -> optional transform -> EPUB + CSS* you want 'direct epub html from context' (no xslt) but on the other hand use xslt to map onto context while context can do xml directly ... chicken egg 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 ___________________________________________________________________________________