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: Why mode not recognized?
Date: Tue, 3 Mar 2020 22:21:31 +0100	[thread overview]
Message-ID: <20200303222131.f93e980794d2a0f5ce683e11@gmail.com> (raw)
In-Reply-To: <8BC69AAB-8A59-481A-970A-28B2E3AE82B3@ziggo.nl>

On Tue, 3 Mar 2020 22:07:51 +0100
Hans van der Meer <havdmeer@ziggo.nl> wrote:

> Calling ConTeXt with:
> 
> mtxrun --autogenerate --mode=epub --script context "$1"
> 
> and in the tex-file called:
> \starttext
> \startmode[epub]
> 	Producing EPUB\crlf
> \stopmode
> \startnotmode[epub]
> 	Not producing EPUB\crlf
> \stopnotmode
> \stoptext
> 
> This produces "Not producing EPUB" Why?

I guess parameters which are passed to the context script have to come after you call the script, e.g.

mtxrun --autogenerate --script context --mode=epub "$1"

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 21:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-03 21:07 Hans van der Meer
2020-03-03 21:21 ` Wolfgang Schuster [this message]
2020-03-03 21:29   ` Hans van der Meer

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=20200303222131.f93e980794d2a0f5ce683e11@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).