Skip to content

Commit 78cb979

Browse files
authored
Merge pull request #230 from pandoc/test_pandoc_latex_environment
Add test for the environment filter
2 parents b3f8f6d + 8c9314f commit 78cb979

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

test/Makefile

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
# Two primary targets are defined by this Makefile:
1+
# Three primary targets are defined by this Makefile:
22
#
33
# 1. test-minimal: test a minimal base image
44
# 2. test-latex: test a latex image
5+
# 3. test-extra: test an extra image
56
#
67
# The IMAGE variable is required to be defined in order to `docker run` the
78
# various tests. The parent Makefile test targets define this, or alternatively
@@ -187,14 +188,21 @@ EXTRA_CMD = docker run --rm \
187188
--fail-if-warnings
188189

189190
.PHONY: test-extra
190-
test-extra: output/eisvogel.pdf output/beamertheme-metropolis.pdf
191+
test-extra: output/eisvogel.pdf output/eisvogel_with_environment.pdf output/beamertheme-metropolis.pdf
191192

192193
output/eisvogel.pdf: eisvogel.md
193194
$(EXTRA_CMD) $< \
194195
--output=$@ \
195196
--template=eisvogel \
196197
--pdf-engine=xelatex
197198

199+
output/eisvogel_with_environment.pdf: eisvogel.md
200+
$(EXTRA_CMD) $< \
201+
--output=$@ \
202+
--template=eisvogel \
203+
--pdf-engine=xelatex \
204+
--filter=pandoc-latex-environment
205+
198206
output/beamertheme-metropolis.pdf: beamertheme-metropolis.md
199207
$(EXTRA_CMD) $< \
200208
--output=$@ \

0 commit comments

Comments
 (0)