diff --git a/test/issues/630/localpackage.sty b/test/issues/630/localpackage.sty new file mode 100644 index 0000000..b82db66 --- /dev/null +++ b/test/issues/630/localpackage.sty @@ -0,0 +1,2 @@ +\ProvidesPackage{localpackage} +\endinput diff --git a/test/issues/630/main.tex b/test/issues/630/main.tex new file mode 100644 index 0000000..f0f1dc7 --- /dev/null +++ b/test/issues/630/main.tex @@ -0,0 +1,10 @@ +\documentclass{article} +\usepackage{filecontents} +\usepackage{subfiles} +\usepackage{localpackage} + +\begin{document} +\subfile{sub/sub.tex} + +b +\end{document} diff --git a/test/issues/630/minivimrc b/test/issues/630/minivimrc new file mode 100644 index 0000000..1cb86c8 --- /dev/null +++ b/test/issues/630/minivimrc @@ -0,0 +1,17 @@ +set nocompatible +let &rtp = '~/.vim/bundle/vimtex,' . &rtp +let &rtp .= ',~/.vim/bundle/vimtex/after' +filetype plugin indent on +syntax enable + +let g:tex_flavor = "latex" +let g:vimtex_latexmk_background = 1 + +let g:vimtex_view_general_viewer = 'SumatraPDF' +let g:vimtex_view_general_options = + \ '-reuse-instance -forward-search @line @pdf @tex' +let g:vimtex_view_general_options_latexmk = '-reuse-instance' + +if !has('win32') + echoerr 'This test case should be run on windows!' +endif diff --git a/test/issues/630/sub/sub.tex b/test/issues/630/sub/sub.tex new file mode 100644 index 0000000..5863164 --- /dev/null +++ b/test/issues/630/sub/sub.tex @@ -0,0 +1,5 @@ +\documentclass[main.tex]{subfiles} + +\begin{document} +a +\end{document}