From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84112 Path: news.gmane.org!not-for-mail From: Thangalin Newsgroups: gmane.comp.tex.context Subject: Re: EPUB XHTML Format Date: Thu, 5 Sep 2013 09:57:59 -0700 Message-ID: References: <5226FB76.8030602@wxs.nl> <5228B383.2080004@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1889255987==" X-Trace: ger.gmane.org 1378400286 32649 80.91.229.3 (5 Sep 2013 16:58:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Sep 2013 16:58:06 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 05 18:58:11 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 1VHcsk-0000YC-Cr for gctc-ntg-context-518@m.gmane.org; Thu, 05 Sep 2013 18:58:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 66F9A101EF; Thu, 5 Sep 2013 18:56:36 +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 AX4mGemjr4cH; Thu, 5 Sep 2013 18:56:34 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 6F7B1101E9; Thu, 5 Sep 2013 18:56:34 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D94CB101E9 for ; Thu, 5 Sep 2013 18:56: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 6MUtcEOJ+MVw for ; Thu, 5 Sep 2013 18:56:29 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 23727101E7 for ; Thu, 5 Sep 2013 18:56:29 +0200 (CEST) Original-Received: from mail-ie0-x22d.google.com (mail-ie0-x22d.google.com [IPv6:2607:f8b0:4001:c03::22d]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r85Gw0kk026511 for ; Thu, 5 Sep 2013 18:58:01 +0200 Original-Received: by mail-ie0-f173.google.com with SMTP id qa5so3529625ieb.4 for ; Thu, 05 Sep 2013 09:58:00 -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=T6rPVJLlMij0kWwHf7ue+HTnMxpT1Y6qbwoDYhsLCfg=; b=MPcGzMEjtaQKyw/2UyPwLrOfis2l108qPKf19Rk9YMYWAJu7NUODDDboXUEaLZKxBx p7w7t7JNkH+ypZdYEq8gXv2hIJ2dhpJ9MQ9089WZBgSB3FBpu9hXXbnBf5W4eduWzUNz nauLPWwHM7fzcY8VkWtkYNneKHYY/CRJg/jVLo6k3UFM37eRKFxkjehkqyDHBydoNrjZ FSGML0jowy17/WfGRMFUwEZqGpANcr/5MLu5AC8gOfhRhsL6wASQvPJn5Ii9hixKkPMF r12TKarzulWEurr/GYRS9VaXWm60ZT5ye8Hjnz31ecb6AX9yhMSJuSLpb+syq3lK5VV1 wukg== X-Received: by 10.50.111.48 with SMTP id if16mr6788778igb.23.1378400279934; Thu, 05 Sep 2013 09:57:59 -0700 (PDT) Original-Received: by 10.42.6.203 with HTTP; Thu, 5 Sep 2013 09:57:59 -0700 (PDT) In-Reply-To: <5228B383.2080004@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:4001:c03::22d; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TKlsW1dL - b2e8ab628220 - 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:84112 Archived-At: --===============1889255987== Content-Type: multipart/alternative; boundary=089e013a2d800b3b7904e5a5d368 --089e013a2d800b3b7904e5a5d368 Content-Type: text/plain; charset=ISO-8859-1 Hi,
>
>
>
> > i.e. only divs and spans I think that would be a more robust output format, technically, easier to adapt, and more readily conform to the strict XHTML tag subset. The other issue I encountered was this: \startfrontmatter \startstandardmakeup Title page \stopstandardmakeup \startstandardmakeup Copyright \stopstandardmakeup \completecontent \stopfrontmatter This produced "*Title pageCopyright*" as text without any markup, which makes the EPUB output a bit difficult to parse. I thought the software should output something like:
Title page
Copyright
This way the title and copyright pages can be styled independently. Kindest regards. --089e013a2d800b3b7904e5a5d368 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

<div class=3D"section" ...>
=A0 =A0 =A0 =A0 <div class=3D"..." ...>
=A0 =A0 =A0 =A0 <div>
</div>

i.e. only divs and spans

I think that would= be a more robust output format, technically, easier to adapt, and more rea= dily conform to the strict XHTML tag subset.

The other issue I encountered was this:

\startfrontma= tter
=A0 \startstandardmakeup
=A0 =A0 Title p= age
=A0 \stopstandardmakeup

=
=A0 \startstandardmakeup
=A0 =A0 Copyright
=A0 \stopstandardmakeup

= =A0 \completecontent
\stopfrontmatter

This produced "Title pageCopyright"= as text without any markup, which makes the EPUB output a bit difficult to= parse. I thought the software should output something like:

<div class=3D"frontmatter">
=A0 <div= id=3D"standardmakeup1" class=3D"standardmakeup">Tit= le page</div>
=
=A0 <div id=3D"standardmakeup2" class=3D"standardmak= eup">Copyright</div>
=A0 <div class=3D"= contents"><!-- etc... --></div>
</div>

This way the ti= tle and copyright pages can be styled independently.

Kindest regards.
--089e013a2d800b3b7904e5a5d368-- --===============1889255987== 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 ___________________________________________________________________________________ --===============1889255987==--