4

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

  • 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
3

[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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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