I think I may not write it clear in my previous email. I run the command as

mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" \"test.tex\""

which got the mtxrun output has spurious " before test.tex. if omit the \"
around the test.tex, like this,

 mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" test.tex"

there are no spurious " in mtxrun output. However, both will make vim open a
new file named "tabset=8" and the test.tex to be edited. That is the
problem. I guess under linux this command should open vim to edit the
test.tex only instead.


Andy


On Fri, Apr 10, 2009 at 1:40 PM, Aditya Mahajan <adit...@umich.edu> wrote:

> Hi,
>
> It seems that mtxrun --noquotes behaves differently on windows and linux.
> Can someone on windows (who has vim) check the following. Run
>
> mtxrun --noquotes bin:vim "-u NONE -c \"set tabstop=8\" test.tex"
>
> You will enter in vim. Press :qa! to exit vim. What does the output on the
> terminal say? On my linux machine, I get
>
> MTXrun | executing: vim -u NONE -c "set tabstop=8" test.tex
>
> Andy Wong tested it on windows and he gets
>
> MTXrun | executing: vim -u NONE -c "set tabstop=8" "test.tex
>
> Notice the spurious " before test.tex. This causes t-vim to fail on
> windows. Do others on windows get the same behavour? I do not see a reason
> why mtxrun should behave differently on linux and windows.
>
> Thanks,
> 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
>
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to