Skip to content

Commit 032d289

Browse files
committed
add a test for abd9e53
1 parent abd9e53 commit 032d289

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

tests/test-ci/sub/test.tex

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
\documentclass{article}
2+
\begin{document}
3+
Just a test
4+
\end{document}

tests/test-ci/test-latex.R

+6
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,9 @@ assert('latexmk() can generate DVI output', {
66
(latexmk2('xelatex', '--no-pdf') %==% 'test-dvi.xdv')
77
(latexmk2('lualatex', '--output-format=dvi') %==% 'test-dvi.dvi')
88
})
9+
10+
assert('latexmk() generates the PDF output to the dir of the .tex file by default', {
11+
(latexmk('sub/test.tex') %==% 'sub/test.pdf')
12+
# can also specify a custom pdf output path
13+
(latexmk('sub/test.tex', pdf_file = 'foo.pdf') %==% 'foo.pdf')
14+
})

0 commit comments

Comments
 (0)