[NTG-context] Why mode not recognized?

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Tue Mar 3 22:21:31 CET 2020


On Tue, 3 Mar 2020 22:07:51 +0100
Hans van der Meer <havdmeer at 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


More information about the ntg-context mailing list