LaTeX-Box-Team / LaTeX-Box

Lightweight Toolbox for LaTeX - New Official repository
http://www.vim.org/scripts/script.php?script_id=3109
GNU General Public License v3.0
396 stars 66 forks source link

Compile command doesn't work with more than one buffer #107

Open dkarapetyan-zz opened 11 years ago

dkarapetyan-zz commented 11 years ago

When only one tex file is loaded, the plugin works as expected. If another is loaded, however, compilation fails for the last loaded text file with an "E492: Not an editor command: Latexmk". It seems the plugin is not being recognized by any additional files. Compilation still works fine for the first loaded file.

lervag commented 11 years ago

Hi,

Strange. I am not able to reproduce this error. What Latexbox settings do you use? Do you use the latest version of Latexbox? What version of vim?

lervag commented 11 years ago

In a duplicate issue #108, @dkarapetyan writes:

This was discussed in an earlier post https://bugs.launchpad.net/vim-latex-box/+bug/899442

I have confirmed that the above addition to the codebase resolves the problem. Is there any reason why it was not merged into master?

lervag commented 11 years ago

Oh, and btw: The solution you are referencing has already been merged into master. See ftplugin/tex_LatexBox.vim.