* Why mode not recognized? @ 2020-03-03 21:07 Hans van der Meer 2020-03-03 21:21 ` Wolfgang Schuster 0 siblings, 1 reply; 3+ messages in thread From: Hans van der Meer @ 2020-03-03 21:07 UTC (permalink / raw) To: NTG ConTeXt [-- Attachment #1.1: Type: text/plain, Size: 301 bytes --] 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 [-- Attachment #1.2: Type: text/html, Size: 1889 bytes --] [-- Attachment #2: Type: text/plain, Size: 493 bytes --] ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Why mode not recognized? 2020-03-03 21:07 Why mode not recognized? Hans van der Meer @ 2020-03-03 21:21 ` Wolfgang Schuster 2020-03-03 21:29 ` Hans van der Meer 0 siblings, 1 reply; 3+ messages in thread From: Wolfgang Schuster @ 2020-03-03 21:21 UTC (permalink / raw) To: ntg-context 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Why mode not recognized? 2020-03-03 21:21 ` Wolfgang Schuster @ 2020-03-03 21:29 ` Hans van der Meer 0 siblings, 0 replies; 3+ messages in thread From: Hans van der Meer @ 2020-03-03 21:29 UTC (permalink / raw) To: NTG ConTeXt > On 3 Mar 2020, at 22:21, Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote: > > 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 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-03 21:29 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-03-03 21:07 Why mode not recognized? Hans van der Meer 2020-03-03 21:21 ` Wolfgang Schuster 2020-03-03 21:29 ` Hans van der Meer
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).