blob: dcceb703b04120c6ab26a2f2cd681c6976e1b3bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
OPTIONS_test_default := -t native \
-M bibliography=bibliography.bib \
-F pandoc-citeproc \
--lua-filter=section-refs.lua
OPTIONS_test_no_citeproc := -t native \
--lua-filter=section-refs.lua
OPTIONS_test_refs_name := -t native \
-M bibliography=bibliography.bib \
-M reference-section-title="Works Cited" \
-F pandoc-citeproc \
--lua-filter=section-refs.lua
OPTIONS_test_section_level := -t native \
-M bibliography=bibliography.bib \
-M reference-section-title="Works Cited" \
-M section-refs-level=2\
-F pandoc-citeproc \
--lua-filter=section-refs.lua
.PHONY: test
test: test_default test_no_citeproc test_refs_name test_section_level
test_%: expected_%.native sample.md bibliography.bib
@pandoc sample.md $(OPTIONS_$@) | diff --strip-trailing-cr -u $< -
|