From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/106450 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: epub and pdf not the same Date: Wed, 4 Mar 2020 17:30:10 +0100 Message-ID: References: <01a4ea1b18a2ebebde35205655430c4377585b9c.camel@out-world.com> <5119fbdb-70da-62dc-cacc-fc3726c4b5d0@xs4all.nl> <98ECB190-7548-4CE7-BB15-A8152B59C54B@ziggo.nl> <20200303194747.be6258c0874427883095b98e@gmail.com> <05A62EE2-439E-4DEA-9DAC-EEC6BBD71560@ziggo.nl> <608d0c78-959a-6435-fdf8-2fc0db505f77@rik.users.panix.com> <35C53B15-1AFD-403D-A92E-59D123685147@ziggo.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5825631171641646114==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="71314"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.12 To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 04 17:30:39 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j9Wur-000IQw-M5 for gctc-ntg-context-518@m.gmane-mx.org; Wed, 04 Mar 2020 17:30:37 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DF81D182722; Wed, 4 Mar 2020 17:30:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HtvY5lja7k9Z; Wed, 4 Mar 2020 17:30:17 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5F602182723; Wed, 4 Mar 2020 17:30:17 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 701D218271F for ; Wed, 4 Mar 2020 17:30:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0CHclRC1XxTN for ; Wed, 4 Mar 2020 17:30:15 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.46; helo=mail-wr1-f46.google.com; envelope-from=wolfgang.schuster.lists@gmail.com; receiver= Original-Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id D0B731826CA for ; Wed, 4 Mar 2020 17:30:15 +0100 (CET) Original-Received: by mail-wr1-f46.google.com with SMTP id y17so3171728wrn.6 for ; Wed, 04 Mar 2020 08:30:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=5wJNqSrMnvQuW5+I/wDWpWsVN+RULsuY4nBP887bNY8=; b=PitGNuFd6GFvQj48kYEB4p72AxQlpYJSvoj+ckzzpjySOKFZ4B9SxjeK2PWpAB5+8T jWnasKRhXxsUY+JSwhDjh0k6Ke1QYx/A/VJVHvLKm/+RQc9V9YYOwfYSdwxQJvSrOJmh CGVQxuf8rD46A/0pkBaXRzmdnvmJBgLgtgS1NPtVMwXeXRFYB6jkgPB3oZeKZ0m0xMjr B/xrM6JKFa0GdTM56dDBk9Neh7/t9PG4O+rcQ4McQiJQLdPF8T9PubIlUCComVw5L5iW GPO/HLCSYcZlx1onQPfX4o79OPMtvQm/AoZjLJrCWfT1eRKLLGM01EhxH1S4SrK+Ka2h 9Q6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=5wJNqSrMnvQuW5+I/wDWpWsVN+RULsuY4nBP887bNY8=; b=PX2MoT+ybaN79GcXFjuq+PS1ewpPjibp9Zg9JOFsmN6xGcmux5MdwqEADTfCc/uXVA uBrN7Tt4SFp6Wd+aPkaswWLsLtycRUa4YSAUl9SF0rXwQIRafWe5ylpyQoLhJ2Q0N0iJ kTpgwWVUh3q7LaxB2CgATS4hddqOzTtTLcDmKcS7cVi9IYKJW7A5sGZbzXirdI9S8Ycd Z/SSs2/P9AMCkCJvSaPoxF5+c0OXUbaGCFMIOHR/XJl630TYWTAzh6nepJR3TtWDxrdX fn4w8Fx0QhG972LLkCvOCSV58A02CEEcPb2CNlvp/0zkhkRRi1+yYb7aEJEDUGiUXD1L DyjA== X-Gm-Message-State: ANhLgQ07xAf1Vow4MR446XteddADBPOJYkmhtWBLFSebBNzCc+oqWwXn MSKKfpCkcTEsOcsQrS9tMiBP/54v X-Google-Smtp-Source: ADFU+vtn7jUIs5Ry9nAwSm020z9BtWeaFmRPxWGeH+2YkmxxKZZnAHjFiXmYEEHbUnwIW/yFPjfCBw== X-Received: by 2002:a5d:4992:: with SMTP id r18mr5048703wrq.358.1583339415279; Wed, 04 Mar 2020 08:30:15 -0800 (PST) Original-Received: from [192.168.1.4] (x4d0909cc.dyn.telefonica.de. [77.9.9.204]) by smtp.gmail.com with ESMTPSA id 19sm5640138wma.3.2020.03.04.08.30.11 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Mar 2020 08:30:12 -0800 (PST) In-Reply-To: <35C53B15-1AFD-403D-A92E-59D123685147@ziggo.nl> Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:106450 Archived-At: This is a multi-part message in MIME format. --===============5825631171641646114== Content-Type: multipart/alternative; boundary="------------757E991D6B7C9A3E5597A218" Content-Language: en-US This is a multi-part message in MIME format. --------------757E991D6B7C9A3E5597A218 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Hans van der Meer schrieb am 04.03.2020 um 13:23: >> On 3 Mar 2020, at 22:04, Rik Kabel > > 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. You make things easier when you show your TeX file. Wolfgang --------------757E991D6B7C9A3E5597A218 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit Hans van der Meer schrieb am 04.03.2020 um 13:23:
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.

You make things easier when you show your TeX file.

Wolfgang

--------------757E991D6B7C9A3E5597A218-- --===============5825631171641646114== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============5825631171641646114==--