On Wed, 19 Nov 2008, Shiv Shankar Dayal wrote: > Hi, > > I updated context and grepped mtxrun for noquotes and the output is > same as yours. > > I have a query. Line 270 of t-vim says \runvimsyntax{#2} > Line275: \input #2-vimsyntax.tmp\relax > > where #2 is product_name-vimsyntax.tmp. > > This means that if the product name is xyz then \runvimsyntax{#2} > which is basically > a run of vim over #2 and it generates the #2-vimsyntax.tmp.
Yes. The 2context.vim script generates filename.ext-vimsyntax.tmp file. I am at a loss of understanding what is happening here. Run context --verbose filename and check the output for something like MtxRun | executing: vim -u NONE -e -C -n -c "set tabstop=8" -c "syntax on" -c "s et syntax=cpp" -c "let contextstartline=1" -c "let contextstopline=0" -c "source /opt/context/tex/texmf-project/tex/context/third/vim/2context.vim" -c "wqa" "vim-test-vimsyntax.tmp" Run this line on your terminal (in a single line) and see what vim does. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________