From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72766 Path: news.gmane.org!not-for-mail From: Keith McKay Newsgroups: gmane.comp.tex.context Subject: Export to epub Date: Sun, 27 Nov 2011 13:03:28 +0000 Message-ID: <4ED23520.2070103@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2002119499==" X-Trace: dough.gmane.org 1322399035 25488 80.91.229.12 (27 Nov 2011 13:03:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 Nov 2011 13:03:55 +0000 (UTC) To: Ntg-Context Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 27 14:03:50 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RUeOc-0004CS-S0 for gctc-ntg-context-518@m.gmane.org; Sun, 27 Nov 2011 14:03:50 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 337D2CB0E7; Sun, 27 Nov 2011 14:03:50 +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 em2A4bfAHjXD; Sun, 27 Nov 2011 14:03:46 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D0F4CCB0DE; Sun, 27 Nov 2011 14:03:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0EADCCB0DE for ; Sun, 27 Nov 2011 14:03:45 +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 IQ6NqvDivm+a for ; Sun, 27 Nov 2011 14:03:33 +0100 (CET) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id DE256CB0BD for ; Sun, 27 Nov 2011 14:03:33 +0100 (CET) Original-Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pARD3Wk7017489 for ; Sun, 27 Nov 2011 14:03:33 +0100 Original-Received: by wwg38 with SMTP id 38so7923157wwg.2 for ; Sun, 27 Nov 2011 05:03:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=rZgsXT+8yvoCxi5k/6kvAQtKWNukFmSz8OSyFdiNs9M=; b=rmgdty88HWwjx7ew/j1t+YuVzcJMHD788sJRNZXBSInSbM05/kCbNRgGhK3Iw9eF+F Wf/jSx1gomITGUW9dQXzgkDCq8aH9z2DSLFH0+3KNCvM6JRtBuvP/fFvTnpBUzK+1hqJ +E8TVX7zIZPlapStYyjTK3WvGeJkUQEl5CndA= Original-Received: by 10.180.77.42 with SMTP id p10mr41793520wiw.66.1322399012587; Sun, 27 Nov 2011 05:03:32 -0800 (PST) Original-Received: from [192.168.0.197] (cpc1-uddi2-0-0-cust1491.uddi.cable.virginmedia.com. [82.40.13.212]) by mx.google.com with ESMTPS id g29sm3117769wbp.2.2011.11.27.05.03.30 (version=SSLv3 cipher=OTHER); Sun, 27 Nov 2011 05:03:31 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.82.45; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07G2d3wOU - b6f76a854ae5 - 20111127 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:72766 Archived-At: This is a multi-part message in MIME format. --===============2002119499== Content-Type: multipart/alternative; boundary="------------030303070904010206010102" This is a multi-part message in MIME format. --------------030303070904010206010102 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi I've been playing about with Export in Context with a view to producing ePubs. When I run the script: /mtxrun --script epub --make test.specification /the test.tree is prepared but no epub file. The output shown below has a couple or 'error' messages which are probably due to the way my text editor is set up (Scite Version 2.02). If anyone is using Scite and producing ePubs I be grateful for some hints on how to set this up so that inkscape and zip works. %%Script Output mtx-epub | creating paths in tree test.tree mtx-epub | copying toc.ncx to test.tree/OPS/toc.ncx mtx-epub | copying test-styles.css to test.tree/OPS/test-styles.css mtx-epub | copying test-images.css to test.tree/OPS/test-images.css mtx-epub | copying test.css to test.tree/OPS/test.css mtx-epub | copying test.xhtml to test.tree/OPS/test.xhtml mtx-epub | running command 'inkscape --export-plain-svg=cow.svg cow.pdf' 'inkscape' is not recognized as an internal or external command, operable program or batch file. mtx-epub | copying cow.svg to test.tree/OPS/cow.svg mtx-epub | copying hacker.jpg to test.tree/OPS/hacker.jpg mtx-epub | copying mill.png to test.tree/OPS/mill.png mtx-epub | creating archive 'zip' is not recognized as an internal or external command, operable program or batch file. 'zip' is not recognized as an internal or external command, operable program or batch file. 'zip' is not recognized as an internal or external command, operable program or batch file. mtx-epub | epub archive: test.tree/test.epub>Exit code: 0 %%End Script Output I'm using Minimals ConTeXt ver: 2011.09.27 20:05 MKIV fmt: 2011.11.19 int: english/english on a Windows 7 machine and the test.tex file is the |export-example.tex file renamed from the Minimals distribution|. Thanks Keith McKay --------------030303070904010206010102 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi

I've been playing about with Export in Context with a view to producing ePubs.

When I run the script:

mtxrun --script epub --make test.specification

the test.tree is prepared but no epub file.  The output shown below has a couple or 'error' messages which are probably due to the way my text editor is set up (Scite Version 2.02).  If anyone is using Scite and producing ePubs I be grateful for some hints on how to set this up so that inkscape and zip works.

%%Script Output

mtx-epub        | creating paths in tree test.tree
mtx-epub        | copying toc.ncx to test.tree/OPS/toc.ncx
mtx-epub        | copying test-styles.css to test.tree/OPS/test-styles.css
mtx-epub        | copying test-images.css to test.tree/OPS/test-images.css
mtx-epub        | copying test.css to test.tree/OPS/test.css
mtx-epub        | copying test.xhtml to test.tree/OPS/test.xhtml
mtx-epub        | running command 'inkscape --export-plain-svg=cow.svg cow.pdf'

'inkscape' is not recognized as an internal or external command,
operable program or batch file.

mtx-epub        | copying cow.svg to test.tree/OPS/cow.svg
mtx-epub        | copying hacker.jpg to test.tree/OPS/hacker.jpg
mtx-epub        | copying mill.png to test.tree/OPS/mill.png
mtx-epub        | creating archive

'zip' is not recognized as an internal or external command,
operable program or batch file.
'zip' is not recognized as an internal or external command,
operable program or batch file.
'zip' is not recognized as an internal or external command,
operable program or batch file.

mtx-epub        | epub archive: test.tree/test.epub>Exit code: 0

%%End Script Output

I'm using Minimals ConTeXt  ver: 2011.09.27 20:05 MKIV  fmt: 2011.11.19  int: english/english on a Windows 7 machine and the test.tex file is the export-example.tex file renamed from the Minimals distribution.

Thanks
Keith McKay

--------------030303070904010206010102-- --===============2002119499== 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 ___________________________________________________________________________________ --===============2002119499==--