when more than one latex file opened, the second does not load latex-box correctly

Bug #899442 reported by Yan Zhou
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Vim LaTeX Box
New
Undecided
Unassigned

Bug Description

If I open more than one Latex file buffers, the second buffer does not load latex-box correctly. For example, say I opened a foo.tex, then open bar.tex in the same vim session, then within the bar.tex buffer, if I execute "\ll", vim complain "E492: Not an editor command: Latexmk".

I changed "s:loaded" variable in ftplugin/tex_Latexbox.vim to "b:loaded", and problems solved. I am not sure if it is a bug in Latex-box or something I set in my own configurations files related to tex. But remove all my configurations files for tex the same problems remains. So I guess it is a bug (though "s:loaded" does not really seems problematic to me).

In addition, this problem only started to happen recently, however, I cannot figure out when exactly does it happen so I cannot know if it happens after I installed some other plugins or set some options.

Revision history for this message
halbtuerke (halbtuerke) wrote :

I have the exact problem and your "solution" seems to work.

Revision history for this message
drfrogsplat (r-launchpad-thefrog-net) wrote :

Same problem & workaround also works for me.

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.