Oliver Buerschaper wrote:
Would it then be possible to have ConTeXt grind to a complete halt once it encounters a module whose minimum requirements aren't met?

\doifolderversionelse\contextversion{2100.01.01}\normalend\donothing
%\doifolderversionelse\contextversion{2009.07.01}\normalend\donothing

\starttext
Hello
\stoptext

That's great! It's almost what I was looking for ... yet I think \normalend might not be drastic enough ;-) Namely, running this example with

I'll add:

\unprotect

\def\forcequitjob#1%
  {\writestatus\m!systems{forcing quit: #1}%
   \batchmode
   \dorecurse\textlevel\stoptext
   \normalend}

\protect

\starttext
    test \forcequitjob{whatever}
\stoptext


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
dev-context mailing list
dev-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/dev-context

Reply via email to