vim-latexsuite does not show tex-suite menus and no functionality

Bug #382253 reported by Daniel Germer
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
vim (Ubuntu)
Invalid
Undecided
Unassigned
vim-latexsuite (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: vim-full

Steps to reproduce:
install vim-full (this also installs some 35-36MB of stuff)
install vim-latexsuite (vim-addon-manager is automatically installed)

open a fresh .tex file, nothing special happens
check for own errors, none... ;-)
google the subject:
Suggestion 1: use vim-addon-manager with :~$ sudo vim-addons -w install latex-suite --- no success

Suggestion 2: add the line to .vimrc: let g:tex_flavor='tex' (or 'latex')
This fix was suggested on http://ubuntuforums.org/showpost.php?p=4344905&postcount=6
                                                                                                                                                --- highlighting works now but no TeX-Suite Menus and not functionality

Suggestion 3: add the line to .vimrc: set runtimepath+=/usr/share/vim/addons/ --- results in duplicate error, as I had two versions of latexsuite installed. (see below)

This is NOT:
Bug No.s --- Different to my bug because
  #225411 ---
  #42283 --- it also does not work for me in vim or gvim from command line
  #225943 --- the file-extension .latex also doesn't work (and I fixed the extension thing see above)
  #81374 --- the version of latex-suite from sourceforge did not work either
  #306840 --- solution did not work
  #137205 --- no helpful solution
  #42283 however seems to be the thing that gvim has a bug here but the solution to add sid to the sources.list is not a real solution because it has the potential to break lots of things.

# Name User Status System Status
editexisting removed removed
justify removed removed
latex-suite removed installed
matchit removed removed

I have tried to install the latex-suite just for the User, the problem persists, I have installed it for both user und System wide, and there is an Error:
Error detected while processing /usr/share/vim/addons/plugin/remoteOpen.vim:
line 37:
E174: Command already exists: add ! to replace it
line 38:
E174: Command already exists: add ! to replace it

The rest of the configuration below:

Ubuntu 9.04
vim-full:
  Installed: 2:7.2.079-1ubuntu5
  Candidate: 2:7.2.079-1ubuntu5
  Version table:
 *** 2:7.2.079-1ubuntu5 0
        500 http://ubuntu.intergenia.de jaunty/universe Packages
        100 /var/lib/dpkg/status

vim-latexsuite:
  Installed: 20060325-5
  Candidate: 20060325-5
  Version table:
 *** 20060325-5 0
        500 http://ubuntu.intergenia.de jaunty/universe Packages
        100 /var/lib/dpkg/status

vim-addon-manager:
  Installed: 0.4
  Candidate: 0.4
  Version table:
 *** 0.4 0
        500 http://ubuntu.intergenia.de jaunty/universe Packages
        100 /var/lib/dpkg/status

Tags: blocker latex vim
Revision history for this message
Joseph Smidt (jsmidt) wrote :

Thank you for your bug report. vim latexsuite has been a dead project upstream for several years. Their last release was based on the vim 6.X series. My experience is this package does not work very well with vim 7.X versions of vim. Unfortunately there is no upstream fixing these bugs.

Revision history for this message
/b/nt/ (m.sghiar) wrote :

I have the same problème

Revision history for this message
Thomas Ibbotson (thomas-ibbotson) wrote :

latexsuite itself is still being actively developed, there is an svn version which can be found at http://sourceforge.net/scm/?type=svn&group_id=52322, and the mailing list is still active.

Revision history for this message
Thomas Ibbotson (thomas-ibbotson) wrote :

Have you got the following line in your .vimrc?:
filetype plugin on

Changed in vim (Ubuntu):
status: New → Incomplete
status: Incomplete → Confirmed
Revision history for this message
Drew Dimmery (ddimmery) wrote :
Revision history for this message
Thomas Ibbotson (thomas-ibbotson) wrote :

So this is not a problem with vim itself, but a problem with the packaging of vim-latexsuite. In order for it to work "sudo vim-addons -w install latex-suite" needs to be run AND you need "filetype plugin on" in your .vimrc. If a user installs latexsuite perhaps "filetype plugin on" should be enabled in /etc/vim/vimrc.

Marking invalid in Vim and Confirmed in vim-latexsuite.

Changed in vim (Ubuntu):
status: Confirmed → Invalid
Changed in vim-latexsuite (Ubuntu):
status: New → Confirmed
Revision history for this message
Johann Felix Soden (johfel) wrote :

In newer versions (>= 20090816-1), /usr/share/doc/vim-latexsuite/README.Debian contains the needed steps to enable vim-latexsuite.

The warnings, which are shown if vim-latexsuite is systemwide and local installed/enabled, should be really solved in 20100129-1.

Revision history for this message
ԜаӀtеr Ⅼарсһуnѕkі (wxl) wrote :

#6 fixed it.

i'll also point out http://vim-latex.sourceforge.net/documentation/latex-suite/recommended-settings.html:
" OPTIONAL: Starting with Vim 7, the filetype of empty .tex files defaults to
" 'plaintex' instead of 'tex', which results in vim-latex not being loaded.
" The following changes the default filetype back to 'tex':
let g:tex_flavor='latex

Revision history for this message
Johan Thorén (kveras) wrote :

I had this problem in a fresh 12.04 install, comment #6 fixed it (sudo vim-addons -w install latex-suite). Thanks!

Revision history for this message
Ilya Kolpakov (ilya-kolpakov) wrote :

Same thing as in #9. In a fresh 12.04 one needs to run "sudo vim-addons -w install latex-suite".

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.