Thanks, Luigi.
Is it not possible to run "mtxrun --script epub --make export-example" and then zip the files by

zip -X Filename.epub mimetype
zip -rg Filename.epub META-INF -x \*.DS_Store
zip -rg Filename.epub OPS -x \*.DS_Store

If 7z is the only way, I give up. I already spent about 30 minutes trying to find a mac version.

Ciao, Jörg

On Feb 16, 2012, at 12:13 PM, luigi scarso wrote:

On Thu, Feb 16, 2012 at 11:51 AM, Jörg Hagmann <joerg.hagmann@unibas.ch> wrote:
I would like to prepare some student material in epub format and tried the
"export-example.tex" as follows:

- context export-example (by the way, gives an error with the latest beta,
not with 2011.12.19 22:53,  but produces the output; shouldn't matter here).
- mtxrun --script epub --make export-example (tells me "sh: 7z: command not
found", but produces an epub file. Zipping manually doesn't make a
difference).

In Calibre, only the text appears -- no paragraphs or anything else. The
same happens when I try a minimal example with just paragraphs, bold, italic
and sections.

Most likely I misunderstood something, or is epub support still too
preliminary (see http://wiki.contextgarden.net/epub)?

I'm using current version: 2012.02.16 09:55 on a Mac (Lion).

Thanks, Jörg

Comment
%\starttabulate[|l|r|p|]
%\NC left \NC right \NC \input ward \NC \NR
%\NC l    \NC r     \NC \input ward \NC \NR
%\stoptabulate

and be sure to have all the images in the same folder, to have 7z and
inkscape --- otherwise comment

%\placefigure
%  {}
%  {\externalfigure[cow.pdf]}


I've just made the epub, if you want I can send you.

--
luigi
___________________________________________________________________________________
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
___________________________________________________________________________________