aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cabal.project8
-rw-r--r--stack.yaml3
-rw-r--r--test/command/6783.md26
3 files changed, 32 insertions, 5 deletions
diff --git a/cabal.project b/cabal.project
index 96e56de84..d76e01a1f 100644
--- a/cabal.project
+++ b/cabal.project
@@ -4,8 +4,8 @@ package pandoc
flags: +embed_data_files -trypandoc
ghc-options: -j +RTS -A64m -RTS
--- source-repository-package
--- type: git
--- location: https://github.com/jgm/citeproc
--- tag: 0.1.0.3
+source-repository-package
+ type: git
+ location: https://github.com/jgm/citeproc
+ tag: ac57c6ceb8fe6583921c5e3f3a3838401191b97c
diff --git a/stack.yaml b/stack.yaml
index 87847d0ac..30a2b6b71 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -22,7 +22,8 @@ extra-deps:
- commonmark-0.1.0.2
- commonmark-extensions-0.2.0.1
- commonmark-pandoc-0.2.0.1
-- citeproc-0.1.0.3
+- git: https://github.com/jgm/citeproc
+ commit: ac57c6ceb8fe6583921c5e3f3a3838401191b97c
ghc-options:
"$locals": -fhide-source-paths -Wno-missing-home-modules
diff --git a/test/command/6783.md b/test/command/6783.md
new file mode 100644
index 000000000..bbb98ce18
--- /dev/null
+++ b/test/command/6783.md
@@ -0,0 +1,26 @@
+```
+% pandoc -f markdown -t plain -s --citeproc
+---
+references:
+- author:
+ - family: Jupyter
+ given: Project
+ container-title: Proceedings of the 17th Python in Science Conference
+ id: 'ref-1'
+ issued: 2018
+ title: 'Binder 2.0 - Reproducible, interactive, sharable environments for science at scale'
+ type: 'paper-conference'
+ volume:
+...
+
+This is a test[@ref-1].
+^D
+
+
+This is a test(Jupyter 2018).
+
+Jupyter, Project. 2018. “Binder 2.0 - Reproducible, Interactive,
+Sharable Environments for Science at Scale.” In Proceedings of the 17th
+Python in Science Conference.
+```
+