I'm sure this is extremely simple but I just can't figure it out.
I have the following directory structure:
main.tex
sections
|
section1.tex
where main.tex contains
\documentclass{article}
\usepackage{subfiles}
\begin{document}
\section{Section 1}
\subfile{sections/section1}
\end{document}
and
section1.tex looks like
\documentclass[../main.tex]{subfiles}
\begin{document}
Hello World
\end{document}
My impression from the docs is that while editing section1.tex, by default \ll and then \lv should result in main.tex being compiled and opened by my pdf viewer. However, instead I just get that section1.tex is being compiled and opened. Any advice on how to obtain the first behaviour?
Edit: Thanks @DaiBowen for giving the always salient advice of 'is your up to date' - that's resolved it.
section1.texin the same directory asmain.tex? Also you've tagged this question [tag:vim-latex] which is a different vim plugin, unless you are actually using [tag:vim-latex] you should retag the question. – Dai Bowen Dec 13 '16 at 21:40