From: Henning Hraban Ramm <hraban@fiee.net>
To: mailing ConTeXt users list for <ntg-context@ntg.nl>
Subject: ebook from project: observations/oddities
Date: Mon, 4 Jun 2012 12:24:27 +0200 [thread overview]
Message-ID: <9C95CCD3-B4FC-4476-BA9F-F43B6B8DDDC2@fiee.net> (raw)
(Yesterday’s beta in suite=minimals, OSX-Intel)
With
\setupbackend[export=example.xml,xhtml=example.xhtml,css=example.css]
in my project’s environment,
I get both "example.xml" and "example.xhtml" (as well as "example-
images.css" and "example-style.css"), starting with the same content
(up to line 857 in my case), but the .xhtml stops after the first
\stoppart, while the .xml contains all four parts.
mtxrun --script epub --make example
insists on copying a file named exactly "example.xhtml" to the ePub
tree.
Using
\setupbackend[export=example.xhtml,xhtml=test.xhtml,css=example.css]
both "example.xhtml" and "test.xhtml" are identical, complete *and*
both copied to the epub tree (ToC refers to test.xhtml, the other is
ignored).
Since none of my browsers or epub readers likes this XML format, I
guess I’ll need to apply a XSL transformation to create HTML.
Ok... Looking at "mtx-epub.lua" I understand why none of my setups
(i.e. author, title) has any effect on the output.
Seems like we need to fix that manually - unzip the epub, fix it, re-
pack... But create the ToC manually??
Greetlings, Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2012-06-04 10:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-04 10:24 Henning Hraban Ramm [this message]
2012-06-04 10:58 ` Andy Thomas
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=9C95CCD3-B4FC-4476-BA9F-F43B6B8DDDC2@fiee.net \
--to=hraban@fiee.net \
--cc=ntg-context@ntg.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).