On 21/10/2016 00:22, Sandiford Kevin wrote:
Hi Nicola,Thanks for the vim scripts, I've been looking for something like this for a while. Just a minor problem, on windows the :make or :ConTeXt commands fail if there is a space in the path or file name. Changing fnameescape() to shellescape() in the definition of l:makeprg in line 21 of compiler/context.vim seems to fix this
Good catch, thanks! Could you please try the attached version, which should fix that and has other changes?
Please note that in the current version, :make does not `cd` any more (that was causing other issues), so you have to do it yourself before typesetting (using :cd or :lcd). That said, :ConTeXt should be a better option under all circumstances.
Nicola
context.tgz
Description: GNU Zip compressed data
___________________________________________________________________________________ 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 ___________________________________________________________________________________