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} ::: ::: ```