title: vim and latex-box
body: <p>I installed the vim plugin latex-box but I am having trouble getting it to compile my Latex file. The docs say it uses latexmk to do the compiling, and I have that installed and it works when called by itself.
  But when I use the plugin's <code>\ll</code> command to compile I get an error that says 'cannot run latexmk in background without a VIM server'. I cannot find an explanation of why this error would occur in the plugin documentation.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I found a solution to this issue, but ran into others.</p>
  
  <p>To fix this, you need to install the full version of vim (which is different depending on your OS) which will include things like server support. I suggest doing this even if you don't use this plugin because it will fix not been able to copy/paste from/to vim. In (K)ubuntu, install the package <code>vim-gtk</code>.</p>
  
  <p>Start vim like this <code>vim --servername SOMETHING file.tex</code></p>
  
  <p>After doing this, the servername error went away and the compilation went through but the output from latexmk shows up on top of the file I'm editing. It doesn't overwrite it, it's just displayed on top of the text. When I move the cursor and vim highlights a word or bracket, that appears back on the screen. The only quick way I found to get rid of the compiler output is to scroll the file up and back down, that makes the text appear again.</p>