summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2013-03-07 16:38:19 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2013-03-07 16:38:19 -0800
commitaf7e97b9f595e014c81d58794f546d6a75f8c0d9 (patch)
tree6704c793489166259ff908625dbbd4973bc4cc56 /tests
parent4e2e088febaf29baeb240878ab85def336c87d49 (diff)
Markdown writer: Render citations as pandoc-markdown citations.
Previously citations were rendered as citeproc-formatted citations by default. Now we render them as pandoc citations, e.g. `[@item1]`, unless the `citations` extension is disabled. If you still want formatted citations in your markdown output, use `pandoc -t markdown-citations`.
Diffstat (limited to 'tests')
-rw-r--r--tests/Tests/Old.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Tests/Old.hs b/tests/Tests/Old.hs
index c5d677bac..b6d95ca89 100644
--- a/tests/Tests/Old.hs
+++ b/tests/Tests/Old.hs
@@ -186,9 +186,9 @@ markdownCitationTests
++ [test "natbib" wopts "markdown-citations.txt"
"markdown-citations.txt"]
where
- ropts = ["-r", "markdown", "-w", "markdown", "--bibliography",
+ ropts = ["-r", "markdown", "-w", "markdown-citations", "--bibliography",
"biblio.bib", "--no-wrap"]
- wopts = ropts ++ ["--natbib"]
+ wopts = ["-r", "markdown", "-w", "markdown", "--no-wrap", "--natbib"]
styleToTest style = test style (ropts ++ ["--csl", style ++ ".csl"])
"markdown-citations.txt"
("markdown-citations." ++ style ++ ".txt")