Fix Vader subfiles test

This commit is contained in:
Karl Yngve Lervåg 2016-12-01 10:14:22 +01:00
parent e2f8b0dd3b
commit 53b4a454ec

View File

@ -1,5 +1,11 @@
Execute (Find correct main file from subfiles): Execute (Find correct main file from subfiles):
call system('main.tex') call writefile([
\ '\documentclass{article}',
\ '\usepackage{subfiles}',
\ '\begin{document}',
\ '\end{document}',
\ '\subfile{test.tex}',
\], 'main.tex')
call writefile([ call writefile([
\ '\documentclass[main.tex]{subfiles}', \ '\documentclass[main.tex]{subfiles}',
\ '\begin{document}', \ '\begin{document}',