ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Quick question about dual output pdf and epub
Date: Tue, 3 Mar 2020 19:47:47 +0100	[thread overview]
Message-ID: <20200303194747.be6258c0874427883095b98e@gmail.com> (raw)
In-Reply-To: <98ECB190-7548-4CE7-BB15-A8152B59C54B@ziggo.nl>

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
___________________________________________________________________________________

  reply	other threads:[~2020-03-03 18:47 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 [this message]
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           ` 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=20200303194747.be6258c0874427883095b98e@gmail.com \
    --to=wolfgang.schuster.lists@gmail.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).