Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using vim with cygwin on Windows XP. I have Miktex install and I can compile files using Texmaker for example.

However, I'd like to use vim with the vim-latex suite. When I type

:echo Tex_CompileRule_dvi

It just gives me an error. However when I type

:!latex -interaction=nonstopmode %

I'm able to compile it. So it seems that vim doesn't recognise that I have vim-latex installed on my machine. Any suggestions?

Thanks

share|improve this question
2  
from this answer, could you run :scriptnames and check that latex-suite lines appear, showing that the plugin has been correctly installed ? In my case, with a working plugin, I get for instance the line ~/.vim/ftplugin/latex-suite/main.vim. –  Vincent Nivoliers Apr 4 '13 at 14:19
    
Thanks for the suggestions Vincent. It appears that the plugin is not installed correctly. I shall have a look at what's wrong. –  lost.identity Apr 4 '13 at 14:35
    
I have figured out the problem. I copied all the files to ~/vimfiles as described in the installation instructions. However, when I made this ~/.vim then it started working. So I guess, if you're using vim-latex suite on cygwin then you have to have .vim directory rather than vimfiles –  lost.identity Apr 4 '13 at 15:16
add comment

1 Answer

[OPs comment converted to an answer]

I have figured out the problem. I copied all the files to ~/vimfiles as described in the installation instructions. However, when I made this ~/.vim then it started working. So I guess, if you're using vim-latex suite on Cygwin then you have to have .vim directory rather than vimfiles.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.