ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans van der Meer <havdmeer@ziggo.nl>
To: NTG ConTeXt <ntg-context@ntg.nl>
Subject: epub and pdf not the same
Date: Wed, 4 Mar 2020 13:23:56 +0100	[thread overview]
Message-ID: <35C53B15-1AFD-403D-A92E-59D123685147@ziggo.nl> (raw)
In-Reply-To: <608d0c78-959a-6435-fdf8-2fc0db505f77@rik.users.panix.com>


[-- Attachment #1.1: Type: text/plain, Size: 1262 bytes --]



> On 3 Mar 2020, at 22:04, Rik Kabel <context@rik.users.panix.com> wrote:
> 
> Instructions for creating the .epub from the export are contained in the log file.

In the log comes:
    create epub with: mtxrun --script epub --make "kookboek" --purge --rename --svgmath
This I did.

The log gives:
 adding: mimetype (stored 0%)
  adding: META-INF/ (stored 0%)
  adding: META-INF/container.xml (deflated 32%)
  adding: OEBPS/ (stored 0%)
  adding: OEBPS/nav.xhtml (deflated 49%)
  adding: OEBPS/images/ (stored 0%)
  adding: OEBPS/kookboek.opf (deflated 65%)
  adding: OEBPS/styles/ (stored 0%)
  adding: OEBPS/styles/kookboek-styles.css (deflated 35%)
  adding: OEBPS/styles/kookboek-defaults.css (deflated 80%)
  adding: OEBPS/styles/kookboek-images.css (deflated 7%)
  adding: OEBPS/cover.xhtml (deflated 38%)
  adding: OEBPS/kookboek-div.html (deflated 67%)
  adding: OEBPS/toc.ncx (deflated 53%)
mtx-epub        | epub archive made using zip: kookboek.epub


But, the resulting epub is bad. Compare the output as pdf with the output as epub and it is immediately clear that something is wrong in the production of the epub. See also the corresponding -raw.xml. Unless I am making a gross mistake.



dr. Hans van der Meer


[-- Attachment #1.2.1: Type: text/html, Size: 6044 bytes --]

[-- Attachment #1.2.2: kookboek.epub --]
[-- Type: application/epub+zip, Size: 9071 bytes --]

[-- Attachment #1.2.3: Type: text/html, Size: 249 bytes --]

[-- Attachment #1.2.4: kookboek.pdf --]
[-- Type: application/pdf, Size: 19573 bytes --]

[-- Attachment #1.2.5: Type: text/html, Size: 249 bytes --]

[-- Attachment #1.2.6: kookboek-raw.xml --]
[-- Type: application/xml, Size: 2642 bytes --]

[-- Attachment #1.2.7: Type: text/html, Size: 421 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  parent reply	other threads:[~2020-03-04 12:23 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-28 10:48 Quick question about dual output pdf and epub Christoph Hintermüller
2020-02-28 11:07 ` Hans Hagen
2020-02-28 14:09   ` Henning Hraban Ramm
     [not found]   ` <136b07463b64fcaa4e9b1850c030527a011570ab.camel@out-world.com>
2020-02-28 21:39     ` Hans Hagen
2020-03-01 13:05       ` Christoph Hintermüller
2020-03-03 18:37   ` Hans van der Meer
2020-03-03 18:47     ` Wolfgang Schuster
2020-03-03 20:58       ` Hans van der Meer
2020-03-03 21:02         ` Wolfgang Schuster
2020-03-03 21:04         ` Rik Kabel
2020-03-04  7:49           ` Jan U. Hasecke
2020-03-04  8:51             ` Hans Hagen
2020-03-04  9:31               ` luigi scarso
2020-03-04  9:46                 ` Hans Hagen
2020-03-04 10:02             ` Henning Hraban Ramm
2020-03-04 12:23           ` Hans van der Meer [this message]
2020-03-04 16:30             ` epub and pdf not the same Wolfgang Schuster
2020-02-28 11:07 ` Quick question about dual output pdf and epub 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=35C53B15-1AFD-403D-A92E-59D123685147@ziggo.nl \
    --to=havdmeer@ziggo.nl \
    --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).