From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/90659 Path: news.gmane.org!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Re: Now that I have something working on mkiv, I'd like to try ePUB Date: Wed, 18 Mar 2015 07:34:12 +0100 Message-ID: <5D4ACBA4-46BB-4ABD-A34C-E3D0088C45DF@rna.nl> References: <296DA4CC-C4C1-4792-A90C-B72CF5CC0F47@rna.nl> <55084D72.5010800@wxs.nl> <3D1B4032-B212-4DE8-A965-6369DC9908F3@rna.nl> <5508D166.8060002@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/mixed; boundary="===============0444882605==" X-Trace: ger.gmane.org 1426660521 5292 80.91.229.3 (18 Mar 2015 06:35:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Mar 2015 06:35:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 18 07:35:08 2015 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 1YY7ZK-0007iz-0n for gctc-ntg-context-518@m.gmane.org; Wed, 18 Mar 2015 07:35:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2EE4A10229 for ; Wed, 18 Mar 2015 07:35:05 +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 ryESOnF2TxTL for ; Wed, 18 Mar 2015 07:35:03 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id EF0F11022F for ; Wed, 18 Mar 2015 07:34:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1557C101EA for ; Wed, 18 Mar 2015 07:34:29 +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 2Nasa1EqtzSZ for ; Wed, 18 Mar 2015 07:34:27 +0100 (CET) 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 64B21101E8 for ; Wed, 18 Mar 2015 07:34:18 +0100 (CET) Original-Received: from mail.rna.nl (D57D7632.static.ziggozakelijk.nl [213.125.118.50]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t2I6YH3e012684 for ; Wed, 18 Mar 2015 07:34:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by mail.rna.nl (Postfix) with ESMTP id 12E18153780E for ; Wed, 18 Mar 2015 07:34:17 +0100 (CET) X-Virus-Scanned: amavisd-new at rna.nl Original-Received: from mail.rna.nl ([127.0.0.1]) by localhost (vanroodewierda.rna.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Psrf8jUfgVSs for ; Wed, 18 Mar 2015 07:34:15 +0100 (CET) Original-Received: from luna-wifi.rna.nl (luna-wifi.rna.nl [192.168.2.89]) by mail.rna.nl (Postfix) with ESMTPSA id AA65F15377F5 for ; Wed, 18 Mar 2015 07:34:15 +0100 (CET) In-Reply-To: <5508D166.8060002@wxs.nl> X-Mailer: Apple Mail (2.1878.6) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=213.125.118.50; country=NL; region=North Brabant; city=Tilburg; latitude=51.5555; longitude=5.0913; http://maps.google.com/maps?q=51.5555,5.0913&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03O4SyhQy - cbfe83f3e3f6 - 20150318 (trained as not-spam) Received-SPF: none (filter3-ams.mf.surf.net: domain of gerben.wierda@rna.nl does not designate permitted sender hosts) receiver=filter3-ams.mf.surf.net; client-ip=213.125.118.50; envelope-from=; helo=mail.rna.nl; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:90659 Archived-At: --===============0444882605== Content-Type: multipart/alternative; boundary="Apple-Mail=_CF2A284A-A1A2-4A60-A09B-9FC10AA2FFF1" --Apple-Mail=_CF2A284A-A1A2-4A60-A09B-9FC10AA2FFF1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 18 Mar 2015, at 02:14, Hans Hagen wrote: > On 3/17/2015 10:33 PM, Gerben Wierda wrote: >> On 17 Mar 2015, at 16:51, Hans Hagen wrote: >>=20 >>> On 3/17/2015 3:41 PM, Gerben Wierda wrote: >>>> Nobody? >>>>=20 >>>> On 15 Mar 2015, at 22:12, Gerben Wierda = wrote: >>>>=20 >>>>> Now that I have my book project basically running on mkiv (the = layout probably has a few problems left, the main one currently being = extra whitespace after a chapter heading compared to mkii), I=92d like = to try producing ePUB from it. >>>>>=20 >>>>> ConTeXtgarden says I have to add a backend and points me to the = info on the standard project structure (which I use), but there I don=92t = find anything about a backend. The extended example says that starting = january 2015, things have changed with ePUB, which probably also applies = to me as I only recently started with a fresh download of a current = ConTeXt mkiv. >>>>>=20 >>>>> So, can someone tell me what I need to do to get a basic ePUB = output? >>>=20 >>> \setupbackend >>> [export=3Dyes] >>>=20 >>> more on wiki >>=20 >> The wiki doesn=92t really help. Am I supposed to create another = product file in =85/products? >=20 > no, just enable it ... export files end up in a subpath I did add this to the environment file and tried to create an ePub for = the whole book and for an individual chapter, but no success yet: luna-wifi:chapters gerben$ (. /usr/local/src/ConTeXt/tex/setuptex && = mtxrun --script epub --make c_loosely.specification) Setting "/usr/local/src/ConTeXt/tex" as ConTeXt root. mtx-epub | unknown specificaton file = 'c_loosely.specification-export/c_loosely.specification-pub' for = 'c_loosely.specification' luna-wifi:chapters gerben$ (. /usr/local/src/ConTeXt/tex/setuptex && = mtxrun --script epub --make prd_book.specification) Setting "/usr/local/src/ConTeXt/tex" as ConTeXt root. mtx-epub | unknown specificaton file = 'prd_book.specification-export/prd_book.specification-pub' for = 'prd_book.specification' What am I missing? What is a specification file? >=20 > ----------------------------------------------------------------- > 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! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_CF2A284A-A1A2-4A60-A09B-9FC10AA2FFF1 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 On 18 = Mar 2015, at 02:14, Hans Hagen <pragma@wxs.nl> wrote:

On 3/17/2015 10:33 PM, Gerben Wierda = wrote:
On 17 Mar 2015, at 16:51, Hans Hagen = <pragma@wxs.nl> = wrote:

On 3/17/2015 3:41 PM, Gerben = Wierda wrote:
Nobody?

On 15 Mar = 2015, at 22:12, Gerben Wierda <Gerben.Wierda@rna.nl> = wrote:

Now that I have my book project = basically running on mkiv (the layout probably has a few problems left, = the main one currently being extra whitespace after a chapter heading =  compared to mkii), I=92d like to try producing ePUB from = it.

ConTeXtgarden says I have to add a backend and points me to = the info on the standard project structure (which I use), but there I = don=92t find anything about a backend. The extended example says that = starting january 2015, things have changed with ePUB, which probably = also applies to me as I only recently started with a fresh download of a = current ConTeXt mkiv.

So, can someone tell me what I need to do = to get a basic ePUB = output?

\setupbackend
 [export=3D= yes]

more on wiki

The wiki doesn=92t really = help. Am I supposed to create another product file in = =85/products?

no, just enable it ... export files = end up in a subpath

I did add this = to the environment file and tried to create an ePub for the whole book = and for an individual chapter, but no success = yet:

luna-wifi:chapters gerben$ (. = /usr/local/src/ConTeXt/tex/setuptex && mtxrun --script epub = --make c_loosely.specification)
Setting = "/usr/local/src/ConTeXt/tex" as ConTeXt root.

mtx-epub        | unknown = specificaton file = 'c_loosely.specification-export/c_loosely.specification-pub' for = 'c_loosely.specification'
luna-wifi:chapters gerben$ (. = /usr/local/src/ConTeXt/tex/setuptex && mtxrun --script epub = --make prd_book.specification)
Setting = "/usr/local/src/ConTeXt/tex" as ConTeXt root.

mtx-epub        | unknown = specificaton file = 'prd_book.specification-export/prd_book.specification-pub' for = 'prd_book.specification'


What am = I missing? What is a specification file?


----------------------------------------------------------------= -
           &nb= sp;            = ;            &= nbsp;    Hans Hagen | PRAGMA = ADE
           &= nbsp; Ridderstraat 27 | 8061 GH Hasselt | The = Netherlands
   tel: 038 477 53 69 | voip: 087 875 68 = 74 | www.pragma-ade.com
  =             &n= bsp;           &nbs= p;            =      | 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.sup= elec.fr/projects/contextrev/
wiki     : http://contextgarden.net
________= __________________________________________________________________________= _

= --Apple-Mail=_CF2A284A-A1A2-4A60-A09B-9FC10AA2FFF1-- --===============0444882605== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============0444882605==--