diff options
| author | John MacFarlane <[email protected]> | 2022-02-03 07:36:32 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-02-03 07:37:13 -0800 |
| commit | 54279149ab106927cae4a85dce86740f5e88c3f4 (patch) | |
| tree | 1e745cd0f6ee2f06fa0671a212509bb83f538285 | |
| parent | 6ed8999f75be11b4ef9f561599d4dd80fcca92ec (diff) | |
Use unreleased citeproc.
| -rw-r--r-- | cabal.project | 9 | ||||
| -rw-r--r-- | src/Text/Pandoc/Citeproc.hs | 2 | ||||
| -rw-r--r-- | stack.yaml | 4 |
3 files changed, 8 insertions, 7 deletions
diff --git a/cabal.project b/cabal.project index f4fbc2edd..814d983f9 100644 --- a/cabal.project +++ b/cabal.project @@ -3,8 +3,7 @@ tests: True flags: +embed_data_files constraints: aeson >= 2.0.1.0 --- source-repository-package --- type: git --- location: https://github.com/jgm/ipynb.git --- tag: 00246af10885c2ad4413ace4f69a7e6c88297a08 - +source-repository-package + type: git + location: https://github.com/jgm/citeproc.git + tag: 32fcf268d8bac2825eddd3c51a9112112e5eaadb diff --git a/src/Text/Pandoc/Citeproc.hs b/src/Text/Pandoc/Citeproc.hs index c7d4804d2..039238630 100644 --- a/src/Text/Pandoc/Citeproc.hs +++ b/src/Text/Pandoc/Citeproc.hs @@ -321,7 +321,7 @@ fromPandocCitations locale otherIdsMap = concatMap go , citationItemSuffix = case suffix of [] -> Nothing ils -> Just $ B.fromList ils - } + , citationItemData = Nothing } in if Pandoc.citationId c == "*" then [] else diff --git a/stack.yaml b/stack.yaml index 0286130ac..6c0bf4ce1 100644 --- a/stack.yaml +++ b/stack.yaml @@ -37,8 +37,10 @@ extra-deps: - commonmark-0.2.1.1 - commonmark-extensions-0.2.3 - commonmark-pandoc-0.2.1.2 -- citeproc-0.6.0.1 - ipynb-0.2 +- git: https://github.com/jgm/citeproc.git + commit: 32fcf268d8bac2825eddd3c51a9112112e5eaadb + ghc-options: "$locals": -fhide-source-paths -Wno-missing-home-modules resolver: lts-18.10 |
