Added test files

This commit is contained in:
Karl Yngve Lervåg 2016-12-30 23:06:43 +01:00
parent 404061ff99
commit 924d507a2f
4 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,2 @@
\ProvidesPackage{localpackage}
\endinput

10
test/issues/630/main.tex Normal file
View File

@ -0,0 +1,10 @@
\documentclass{article}
\usepackage{filecontents}
\usepackage{subfiles}
\usepackage{localpackage}
\begin{document}
\subfile{sub/sub.tex}
b
\end{document}

17
test/issues/630/minivimrc Normal file
View File

@ -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

View File

@ -0,0 +1,5 @@
\documentclass[main.tex]{subfiles}
\begin{document}
a
\end{document}