ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Keith McKay <mckaymeister@gmail.com>
To: Hans Hagen <pragma@wxs.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Export to epub
Date: Wed, 30 Nov 2011 07:05:19 +0000	[thread overview]
Message-ID: <4ED5D5AF.6050608@gmail.com> (raw)
In-Reply-To: <4ED51F63.70405@wxs.nl>

Hans

I'll update and try it tonight.

Thanks for your help

Keith

On 29/11/2011 18:07, Hans Hagen wrote:
> On 27-11-2011 23:27, Keith McKay wrote:
>> Hans
>> Thanks for the hints.
>>
>> I downloaded inkscape but but still get the same error message. I'm not
>> too concerned about that just now. Unfortunately I couldn't find zip so
>> I played about with 7-Zip and managed to get the script to work. It's
>> still work in progress since I'm not sure I have the switches right but
>> I edited the epub generation part of mtx-epub.lua to look like this:
>>
>> os.execute(format("7z a -tzip -mx0 %s %s",epubfile,"mimetype"))
>> os.execute(format("7z a -tzip %s %s",epubfile,"META-INF"))
>> os.execute(format("7z a -tzip %s %s",epubfile,"OPS"))
>>
>> and using a simple css file I can view the test epub in Adobe Digital
>> Editions.
>>
>> I'm used to using Sigil to edit ePubs and Context but luatex is all new
>> territory for me.
>
> I've added this method too, so when zip is not found, 7z is tried ... 
> I didn't test it.
>
> 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
___________________________________________________________________________________


  reply	other threads:[~2011-11-30  7:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-27 13:03 Keith McKay
2011-11-27 14:43 ` Hans Hagen
2011-11-27 22:27   ` Keith McKay
2011-11-29 18:07     ` Hans Hagen
2011-11-30  7:05       ` Keith McKay [this message]
2011-11-30 19:30         ` Keith McKay

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ED5D5AF.6050608@gmail.com \
    --to=mckaymeister@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).