[NTG-context] Can't generate an epub - what am I doing wrong?

Rogers, Michael K mroge02 at emory.edu
Thu Aug 9 16:33:36 CEST 2012


I don't seem to have an epub reader that can format the output.  (MS Word complain there was no xslt file,  But the xhtml file produced contains the metadata and the document structure.  Output pasted below.


On Aug 9, 2012, at 9:09 AM, Marcin Borkowski wrote:

Hello all,

my problem is as in the topic;).  The minimal example from the wiki
works fine, but this does not:


 [title=My Document,
  author=A. U. Thor]


\startchapter[title={First chapter}]
\input tufte

\startchapter[title={Second chapter}]
\input knuth

The resulting epub file (after the mtxrun, of course) does not contain
any metadata; also, there is no chapter structure whatsoever.

What am I missing?


Marcin Borkowski

XHTML output (text shortened):

<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>

<!-- input filename   : foo13338          -->
<!-- processing date  : Thu Aug  9 09:30:38 2012 -->
<!-- context version  : 2012.08.05 12:52  -->
<!-- exporter version : 0.30              -->

<document xmlns:m="http://www.w3.org/1998/Math/MathML" version="0.30" language="en" date="Thu Aug  9 09:30:38 2012" file="foo13338" context="2012.08.05 12:52" xmlns:xhtml="http://www.w3.org/1999/xhtml">
  <metavariable name="author">A. U. Thor</metavariable>
  <metavariable name="title">My Document</metavariable>
  <xhtml:a name="aut_1"><section location="aut:1" detail="chapter">
    <sectiontitle>First chapter</sectiontitle>
We thrive...
  <xhtml:a name="aut_2"><section location="aut:2" detail="chapter">
    <sectiontitle>Second chapter</sectiontitle>
The separation...


This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20120809/91ddd72e/attachment-0001.html>

More information about the ntg-context mailing list