ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Rik Kabel <ConTeXt@rik.users.panix.com>
To: ntg-context@ntg.nl
Subject: Re: Quick question about dual output pdf and epub
Date: Tue, 3 Mar 2020 16:04:38 -0500	[thread overview]
Message-ID: <608d0c78-959a-6435-fdf8-2fc0db505f77@rik.users.panix.com> (raw)
In-Reply-To: <05A62EE2-439E-4DEA-9DAC-EEC6BBD71560@ziggo.nl>

Instructions for creating the .epub from the export are contained in the 
log file.

On 3/3/2020 15:58, Hans van der Meer wrote:
> I followed your advice and added the setup:
>
>> You need
>>   \setupbackend[export=yes]
>> in your document.
> This, however, does not result in an .epub file but an export directory containing an html and xhtml file (only partially conformant to the equivalent pdf).
>
> Can I get the output as an .epub file? Some more changes needed?
>
>> On Tue, 3 Mar 2020 19:37:47 +0100
>> Hans van der Meer <havdmeer@ziggo.nl> wrote:
>>
>>>> and then run with --mode=epub
>>> I am running with:
>>>     mtxrun --autogenerate --mode=epub --script context "$1"
>>> but no epub document is generated, just the same result.pdf I get without that mode.
>> You need
>>
>>   \setupbackend[export=yes]
>>
>> in your document. When you put the setup above in a "epub"
>> mode you create a epub-document only when you enable the mode
>> which is recommended because it can have side effects for
>> the normal PDF.
>>
>> To avoid these side effects make an extra ConTeXt run
>> by enabling the mode to get the epub file.
>>
>> Wolfgang
>> ___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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-03 21:04 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-28 10:48 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 [this message]
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           ` epub and pdf not the same Hans van der Meer
2020-03-04 16:30             ` 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=608d0c78-959a-6435-fdf8-2fc0db505f77@rik.users.panix.com \
    --to=context@rik.users.panix.com \
    --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).