aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-07-11 23:39:36 +0200
committerJohn MacFarlane <[email protected]>2022-07-11 23:40:13 +0200
commit9d256aa19bdbe3db5dd42332a4af7c58dfef7466 (patch)
tree1e21e659f457accf0b03f186d46d55cb0c9cb673
parent6ae91045a2fbd5fb2cbaa00851b9c4157a25143b (diff)
Use latest dev citeproc
-rw-r--r--cabal.project8
-rw-r--r--stack.yaml4
-rw-r--r--test/command/pandoc-citeproc-386.md5
3 files changed, 10 insertions, 7 deletions
diff --git a/cabal.project b/cabal.project
index b6853f503..42d61cee4 100644
--- a/cabal.project
+++ b/cabal.project
@@ -3,7 +3,7 @@ tests: True
flags: +embed_data_files
constraints: aeson >= 2.0.1.0
--- source-repository-package
--- type: git
--- location: https://github.com/jgm/citeproc
--- tag: 7874a4ccf1845e5a8a6855c251f1aaea9bf12807
+source-repository-package
+ type: git
+ location: https://github.com/jgm/citeproc
+ tag: 647c5d292bbb6d9a8d683bcae0ba129c65086901
diff --git a/stack.yaml b/stack.yaml
index 16d23db60..5530c0433 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -39,7 +39,9 @@ extra-deps:
- commonmark-extensions-0.2.3.1
- doclayout-0.4
- doctemplates-0.10.0.2
-- citeproc-0.8
+- git: https://github.com/jgm/citeproc
+ commit: 647c5d292bbb6d9a8d683bcae0ba129c65086901
+
ghc-options:
"$locals": -fhide-source-paths -Wno-missing-home-modules
resolver: lts-18.10
diff --git a/test/command/pandoc-citeproc-386.md b/test/command/pandoc-citeproc-386.md
index ae709fc34..aedc635aa 100644
--- a/test/command/pandoc-citeproc-386.md
+++ b/test/command/pandoc-citeproc-386.md
@@ -28,8 +28,9 @@ references:
::: {#refs .references .csl-bib-body line-spacing="2"}
::: {#ref-ding_metallic_2012 .csl-entry}
-[[\[1\]K. Ding, C. Z. Ning, *Light Sci. Appl.* **2012**, *1*,
-e20](https://doi.org/10.1038/lsa.2012.20)]{.csl-left-margin}.
+[\[1\] ]{.csl-left-margin}[[K. Ding, C. Z. Ning, *Light Sci. Appl.*
+**2012**, *1*,
+e20](https://doi.org/10.1038/lsa.2012.20).]{.csl-right-inline}
:::
:::
```