From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84122 Path: news.gmane.org!not-for-mail From: Mica Semrick Newsgroups: gmane.comp.tex.context Subject: Re: EPUB XHTML Format Date: Thu, 5 Sep 2013 12:54:46 -0700 Message-ID: References: <5228CC7A.9040307@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1727925068==" X-Trace: ger.gmane.org 1378410892 30698 80.91.229.3 (5 Sep 2013 19:54:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Sep 2013 19:54:52 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 05 21:54:56 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 1VHfdk-0006JO-Mz for gctc-ntg-context-518@m.gmane.org; Thu, 05 Sep 2013 21:54:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A791210208; Thu, 5 Sep 2013 21:53:18 +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 xZX-ft8v0YiJ; Thu, 5 Sep 2013 21:53:16 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 8E1DD101EF; Thu, 5 Sep 2013 21:53:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5CFDF101EF for ; Thu, 5 Sep 2013 21:53:15 +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 goWbkxt6ygpq for ; Thu, 5 Sep 2013 21:53:14 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 33C17101EA for ; Thu, 5 Sep 2013 21:53:14 +0200 (CEST) Original-Received: from mail-we0-x232.google.com (mail-we0-x232.google.com [IPv6:2a00:1450:400c:c03::232]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r85JtqAY031214 for ; Thu, 5 Sep 2013 21:55:53 +0200 Original-Received: by mail-we0-f178.google.com with SMTP id u57so1073718wes.9 for ; Thu, 05 Sep 2013 12:54:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=r+8c6JEl4Bjn5bHkqaOca6Bvanve9lyYColfCF61gIg=; b=G9mJlazUuPRIQmthPxVgVUuYKW1MJ2SjP2tGBaXtEVxDxJm1M1JGeJ+bEY1t26MZ91 RsePlRam2oV3Rpu/FTdsrO93YjesCTZ/jaW45hP2vNHVXIilCmGxxFWWeiszpiarv5tE MQPi/K5p/cL2PqVwPuaB+lGEB3P6tvV4lBSU3YhtIef0kpsv22WSOQaQAN78uauST8mM v1Q1SCmi14qKReLP30HVrOnGvr8sRfJSRlEix+vgQhEMvgQxiZvdawcj4Qc2X+uZq2ch ePZ7pzTjDJ+2bADyO9Lo0+E4O7mPwg6MyQC1az6kuom4KwGa7Fku01wXqU1WvMagDw1I 3TdQ== X-Received: by 10.194.77.167 with SMTP id t7mr8250418wjw.27.1378410886709; Thu, 05 Sep 2013 12:54:46 -0700 (PDT) Original-Received: by 10.217.86.5 with HTTP; Thu, 5 Sep 2013 12:54:46 -0700 (PDT) In-Reply-To: <5228CC7A.9040307@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c03::232; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01KlvTQpC - fff3fe9b6988 - 20130905 (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:84122 Archived-At: --===============1727925068== Content-Type: multipart/alternative; boundary=047d7bf0d62841c86204e5a84bbf --047d7bf0d62841c86204e5a84bbf Content-Type: text/plain; charset=ISO-8859-1 I'd say use an xml source (docbook, TEI, or DITA) and then write a ConTeXt stylesheet to typeset your XML. See http://wiki.contextgarden.net/TEI_xml I think that TEI-lite is a nice, very general XML vocabulary... Best, Mica On Thu, Sep 5, 2013 at 11:24 AM, Hans Hagen wrote: > On 9/5/2013 8:20 PM, Aditya Mahajan wrote: > > The typical ConTeXt document has a lot of structure, and the XML export >> generates a well structured XML output. That can be directly used in >> most modern browsers that handle XML+CSS well. However, most (all?) EPUB >> readers don't. So, the question is asking if instead ConTeXt could >> generate a XHTML >> > > but how hard would it be to make an xslt tranformation from context.export > to epub variants (ok, at some point i can look into it but only if there is > a robust standard and i have devices to test it on) > > and indeed the quality of the source is important > > > 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 > ______________________________**______________________________** > _______________________ > --047d7bf0d62841c86204e5a84bbf Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I'd say use an xml source (docbook, TEI, or DITA) and = then write a ConTeXt stylesheet to typeset your XML. See=A0http://wiki.contextgarden.net/TEI_xml=

I think that TEI-lite is a nice, very general XML vocabulary= ...=A0

Best,
Mica


On Thu, Sep 5, 2013 at = 11:24 AM, Hans Hagen <pragma@wxs.nl> wrote:
On 9/5/2013 8:20 PM, Adity= a Mahajan wrote:

The typical ConTeXt document has a lot of structure, and the XML export
generates a well structured XML output. That can be directly used in
most modern browsers that handle XML+CSS well. However, most (all?) EPUB readers don't. So, the question is asking if instead ConTeXt could
generate a XHTML

but how hard would it be to make an xslt tranformation from context.export = to epub variants (ok, at some point i can look into it but only if there is= a robust standard and i have devices to test it on)

and indeed the quality of the source is important
<= br>
Hans

-------------------------------------------------------------= ----
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 Hans Hagen | PRAGMA ADE
=A0 =A0 =A0 =A0 =A0 =A0 =A0 Ridderstraat 27 | 8061 GH Hasselt | The Netherl= ands
=A0 =A0 tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0| ww= w.pragma-pod.nl
-------------------------------------------------------------= ----
_____________________________________________________________= ______________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0:
http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/ wiki =A0 =A0 : http:= //contextgarden.net
_____________________________________________________________= ______________________

--047d7bf0d62841c86204e5a84bbf-- --===============1727925068== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1727925068==--