From b98d4db8d0d264056e5e74b4a03b1044a3e42270 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Thu, 29 Dec 2016 19:38:04 +0100 Subject: [PATCH] Added test files for #627 --- test/issues/627/.latexmkrc | 7 +++++++ test/issues/627/minimal.tex | 4 ++++ test/issues/627/minivimrc | 17 +++++++++++++++++ 3 files changed, 28 insertions(+) create mode 100644 test/issues/627/.latexmkrc create mode 100644 test/issues/627/minimal.tex create mode 100644 test/issues/627/minivimrc diff --git a/test/issues/627/.latexmkrc b/test/issues/627/.latexmkrc new file mode 100644 index 0000000..5f4cb46 --- /dev/null +++ b/test/issues/627/.latexmkrc @@ -0,0 +1,7 @@ +$pdflatex = "xelatex --shell-escape -src-specials -synctex=1 -interaction=nonstopmode %O %S"; +$preview_continuous_mode = 1; +$pdf_previewer = "start SumatraPDF -reuse-instance -inverse-search -a %O %S"; +$pdf_mode = 1; +$clean_ext = 'synctex.gz synctex.gz(busy) acn acr alg aux bbl bcf blg brf dvi fdb_latexmk glg \ +glo gls idx ilg ind ist lof log lot lox out paux pdfsync run.xml toc'; +$recorder = 1; diff --git a/test/issues/627/minimal.tex b/test/issues/627/minimal.tex new file mode 100644 index 0000000..a77c958 --- /dev/null +++ b/test/issues/627/minimal.tex @@ -0,0 +1,4 @@ +\documentclass{minimal} +\begin{document} +Hello World! +\end{document} diff --git a/test/issues/627/minivimrc b/test/issues/627/minivimrc new file mode 100644 index 0000000..1cb86c8 --- /dev/null +++ b/test/issues/627/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