[NTG-context] Why mode not recognized?

Hans van der Meer havdmeer at ziggo.nl
Tue Mar 3 22:29:15 CET 2020


> On 3 Mar 2020, at 22:21, Wolfgang Schuster <wolfgang.schuster.lists at gmail.com> wrote:
> 
> 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

Indeed. That sets the mode. Thanks.

Hans van der Meer

> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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
> ___________________________________________________________________________________



More information about the ntg-context mailing list