From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/77836 Path: news.gmane.org!not-for-mail From: "Rogers, Michael K" Newsgroups: gmane.comp.tex.context Subject: Re: Can't generate an epub - what am I doing wrong? Date: Thu, 9 Aug 2012 14:33:36 +0000 Message-ID: <61612DDD-6D81-4528-BB38-51C4758B48DF@emory.edu> References: <20120809150943.2974e31d@aga-netbook> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0891218060==" X-Trace: dough.gmane.org 1344522833 16732 80.91.229.3 (9 Aug 2012 14:33:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Aug 2012 14:33:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 09 16:33:54 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 1SzTo9-00028e-Fa for gctc-ntg-context-518@m.gmane.org; Thu, 09 Aug 2012 16:33:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 21C0810204; Thu, 9 Aug 2012 16:33:52 +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 0Bp6JCLyT4vs; Thu, 9 Aug 2012 16:33:49 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A4A10101EC; Thu, 9 Aug 2012 16:33:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E5476101EC for ; Thu, 9 Aug 2012 16:33:48 +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 Pjd1tKOEXSJv for ; Thu, 9 Aug 2012 16:33:41 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 79C1E101E2 for ; Thu, 9 Aug 2012 16:33:41 +0200 (CEST) Original-Received: from ws-mr2.cc.emory.edu (ws-mr2.cc.emory.edu [170.140.50.232]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q79EXdhU029894 for ; Thu, 9 Aug 2012 16:33:40 +0200 Original-Received: from e14edge1n.Emory.Edu (emoryfloatdmz.cc.emory.edu [170.140.52.254]) by ws-mr2.cc.emory.edu (8.13.8/8.13.8) with ESMTP id q79EXbee008232 for ; Thu, 9 Aug 2012 10:33:37 -0400 Original-Received: from E14CH2N.Enterprise.emory.net (10.240.8.114) by e14edge1n.Emory.Edu (170.140.52.18) with Microsoft SMTP Server (TLS) id 14.2.283.3; Thu, 9 Aug 2012 10:33:37 -0400 Original-Received: from E14MBX23N.Enterprise.emory.net ([fe80::b473:ef05:b37f:5ccd]) by e14ch2n.Enterprise.emory.net ([::1]) with mapi id 14.02.0283.003; Thu, 9 Aug 2012 10:33:36 -0400 Thread-Topic: [NTG-context] Can't generate an epub - what am I doing wrong? Thread-Index: AQHNdjBKM5c1mQC9U0K4nyg18xj2HZdRzpYA In-Reply-To: <20120809150943.2974e31d@aga-netbook> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [170.140.30.131] X-Emory-MailScanner-Information: Please contact the ISP for more information X-Emory-MailScanner-ID: q79EXbee008232 X-Emory-MailScanner: Found to be clean X-Emory-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.009, required 8, autolearn=disabled, HTML_MESSAGE 0.00, T_RP_MATCHES_RCVD -0.01) X-Emory-MailScanner-From: mroge02@emory.edu X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=170.140.50.232; country=US; region=GA; city=Atlanta; postalcode=30322; latitude=33.7952; longitude=-84.3248; metrocode=524; areacode=404; http://maps.google.com/maps?q=33.7952,-84.3248&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03HICxDdL - 8c30f72ec0fa - 20120809 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:77836 Archived-At: --===============0891218060== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_61612DDD6D814528BB3851C4758B48DFemoryedu_" --_000_61612DDD6D814528BB3851C4758B48DFemoryedu_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I don't seem to have an epub reader that can format the output. (MS Word c= omplain there was no xslt file, But the xhtml file produced contains the m= etadata and the document structure. Output pasted below. Michael On Aug 9, 2012, at 9:09 AM, Marcin Borkowski wrote: Hello all, my problem is as in the topic;). The minimal example from the wiki works fine, but this does not: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \setupbackend[export=3Dyes,xhtml=3Dyes] \settaggedmetadata [title=3DMy Document, author=3DA. U. Thor] \starttext \startchapter[title=3D{First chapter}] \input tufte \stopchapter \startchapter[title=3D{Second chapter}] \input knuth \stopchapter \stoptext %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% The resulting epub file (after the mtxrun, of course) does not contain any metadata; also, there is no chapter structure whatsoever. What am I missing? TIA, -- Marcin Borkowski http://mbork.pl XHTML output (text shortened): A. U. Thor My Document
1 First chapter We thrive...
2 Second chapter Thus,... The separation... But...
________________________________ This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). --_000_61612DDD6D814528BB3851C4758B48DFemoryedu_ Content-Type: text/html; charset="us-ascii" Content-ID: <430B42DAE2A9444B82B5189E6A290A46@Enterprise.emory.net> Content-Transfer-Encoding: quoted-printable
Hi,

I don't seem to have an epub reader that can format the output.  = (MS Word complain there was no xslt file,  But the xhtml file produced= contains the metadata and the document structure.  Output pasted belo= w.

Michael

On Aug 9, 2012, at 9:09 AM, Marcin Borkowski wrote:

Hello all,

my problem is as in the topic;).  The minimal example from the wiki works fine, but this does not:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setupbackend[export=3Dyes,xhtml=3Dyes]

\settaggedmetadata
 [title=3DMy Document,
  author=3DA. U. Thor]

\starttext

\startchapter[title=3D{First chapter}]
\input tufte  
\stopchapter

\startchapter[title=3D{Second chapter}]
\input knuth
\stopchapter
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

The resulting epub file (after the mtxrun, of course) does not contain
any metadata; also, there is no chapter structure whatsoever.

What am I missing?

TIA,

--
Marcin Borkowski
http://mbork.pl

XHTML output (text shortened):

<?xml version=3D'1.0' encoding=3D'UTF-8' standalone=3D'yes' ?>

<!-- input filename   : foo13338          = -->
<!-- processing date  : Thu Aug  9 09:30:38 2012 -->
<!-- context version  : 2012.08.05 12:52  -->
<!-- exporter version : 0.30            &n= bsp; -->


<document xmlns:m=3D"http://ww= w.w3.org/1998/Math/MathML" version=3D"0.30" language=3D"en" date=3D"Thu Aug  9 09:30:38 2012" file=3D"foo13338" context=3D"2012.08.05 12:52" xmlns:xhtml=3D"http://www.w3.org/1999/xhtml">
<metadata>
  <metavariable name=3D"author&qu= ot;>A. U. Thor</metavaria= ble>
  <metavariable name=3D"title&quo= t;>My Document</metavaria= ble>
</metadata>
  &= lt;xhtml:a name=3D"aut_1"><section location=3D"aut:1" detail=3D"chapter">=
    <sectionnumber>1</sectionnumber> 
    <sectiontitle>First chapter</sectiontitle> 
    <sectioncontent>
We thrive...
    </sectioncontent><= /div>
  </section></xhtml:a>= ;
  &= lt;xhtml:a name=3D"aut_2"><section location=3D"aut:2" detail=3D"chapter">=
    <sectionnumber>2</sectionnumber> 
    <sectiontitle>Second chapter</sectiontitle> 
    <sectioncontent>
Thus,...
      <break/>
The separation...
      <break/>
But...
    </sectioncontent><= /div>
  </section></xhtml:a>= ;
</document>



This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
--_000_61612DDD6D814528BB3851C4758B48DFemoryedu_-- --===============0891218060== 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 ___________________________________________________________________________________ --===============0891218060==--