Why mode not recognized?
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? dr. Hans van der Meer
On Tue, 3 Mar 2020 22:07:51 +0100
Hans van der Meer
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
On 3 Mar 2020, at 22:21, Wolfgang Schuster
wrote: On Tue, 3 Mar 2020 22:07:51 +0100 Hans van der Meer
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@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 ___________________________________________________________________________________
participants (2)
-
Hans van der Meer
-
Wolfgang Schuster