On Sun, 4 Dec 2011, Aditya Mahajan wrote:

\def\executeCommand
   {\doifmode{*first}
       {\ctxlua{job.files.run(\!!bs\externalfiter::input_file\!!es,
                              \!!bs\externalfiltercommand\!!es)}}}


The solution is to remove the test for the first mode. Needs a bit of refactoring to ensure that the solution still works for MkII. (Does anyone use the filter module with MkII?)

The new version of the filter module uses job.files.run in the background (when continue=yes is set) instead of mtxrun --ifchanged. This should considerably speed up the vim module when using a lot of code snippets.

Aditya
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to