From: Hans Hagen <pragma@wxs.nl>
To: Andy Thomas <andythomas@web.de>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: back-up.lua; mtx-epub.lua
Date: Mon, 11 Jun 2012 09:35:31 +0200 [thread overview]
Message-ID: <4FD59FC3.50704@wxs.nl> (raw)
In-Reply-To: <D3D1DE74-4C16-4F62-9CA0-1E88CE3BCA52@web.de>
On 11-6-2012 07:41, Andy Thomas wrote:
>
> On Jun 11, 2012, at 12:21 AM, Hans Hagen wrote:
>
>>> The validator likes it, next is the hard part: generating a valid xhtml. Is the xhtml generator only for the epub, i.e. can it be changed or is another output file just for the epub appropriate?
>>
>> the only issue is that css has no method for mapping a link which is why the exporter produces two files (xml and xhtml)
>
> I get an error by the epub validator if I feed it the generated epub. The content file is:
>
> -START------------
> <?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
>
> <!-- input filename : test_00 -->
> <!-- processing date : Mon Jun 11 07:03:39 2012 -->
> <!-- context version : 2012.06.11 00:21 -->
> <!-- exporter version : 0.30 -->
>
>
> <document xmlns:m="http://www.w3.org/1998/Math/MathML" version="0.30" language="de" date="Mon Jun 11 07:03:39 2012" file="test_00" context="2012.06.11 00:21" xmlns:xhtml="http://www.w3.org/1999/xhtml">
> Hello world!
> </document>
> -END------------
>
> the error is:
>
> -START------------
> Epubcheck Version 3.0b5
>
> Validating against EPUB version 2.0
> ERROR: test_00.epub/OEBPS/test_00.xhtml(9,202): elements from namespace "" are not allowed
maybe then mean that namespace mathml is not supported?
-----------------------------------------------------------------
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-06-11 7:35 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-05 19:09 Andy Thomas
2012-06-06 22:00 ` Andy Thomas
2012-06-07 12:48 ` Henning Hraban Ramm
2012-06-07 13:53 ` Hans Hagen
2012-06-07 14:51 ` luigi scarso
2012-06-08 18:08 ` Andy Thomas
2012-06-08 18:25 ` Aditya Mahajan
2012-06-08 21:02 ` Hans Hagen
2012-06-08 21:03 ` Hans Hagen
[not found] ` <8EC49686-C7B3-47A1-A646-17AEC310836C@web.de>
2012-06-08 23:31 ` Hans Hagen
2012-06-09 0:38 ` Aditya Mahajan
2012-06-09 10:44 ` Hans Hagen
2012-06-09 12:58 ` Andy Thomas
2012-06-10 22:21 ` Hans Hagen
2012-06-11 5:41 ` Andy Thomas
2012-06-11 7:35 ` Hans Hagen [this message]
2012-06-07 16:33 ` Hans Hagen
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=4FD59FC3.50704@wxs.nl \
--to=pragma@wxs.nl \
--cc=andythomas@web.de \
--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).