I recently installed Latex-Suite using Vundle, and I use Latex to take notes. My notes are separate files for each lecture, but I have a master.tex file set up to compile each document together, and I use the subfile
packaged to do this. Unfortunately, this package can lead to some unavoidable warnings:
Package auxhook Warning: Cannot patch \document, using \AtBeginDocument instead.
I believe this is a result of having multiple nested \begin{document}
environments when the files are brought together. However, it does compile, and the document looks as it should. The problem is that Latex-Suite takes this warning and opens up the file /usr/local/texlive/2017/texmf-dist/fex/latex/oberdiek/auxhook.sty
, which I assume is where this warning presents. When it does this, it closes the current .tex
file which I'm trying to edit, which is extremely annoying. My question is, did I set something up incorrectly with the way Latex-Suite compiles my documents, or is there a way to get this to stop happening. As a side-note, I am trying to get my final result in .pdf
form for all of my compiled documents. Below are the relevant lines from my .vimrc
:
let g:Tex_DefaultTargetFormat='pdf'
let g:Tex_MultipleCompileFormats='pdf'
This happens when I use the compile command \lv
in Latex-Suite.
Also, this is my first post, please let me know if I've left anything important out.
<C-^>
to get back to the original (or you should be able to)