diff options
author | John MacFarlane <jgm@berkeley.edu> | 2010-11-27 11:28:11 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2010-11-27 11:28:11 -0800 |
commit | 219853b05e37be8cda8527eff80ec4f505203c5d (patch) | |
tree | 555c45434bcaf2bdc0476385a2b6d89bd17a67bb /src | |
parent | 8f1aed168b8cae43f3fb7a4303ceea4792b8a45b (diff) | |
download | pandoc-219853b05e37be8cda8527eff80ec4f505203c5d.tar.gz |
Added procOpts parameter to citeproc call.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Biblio.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Biblio.hs b/src/Text/Pandoc/Biblio.hs index 4a8cea4da..717084ca7 100644 --- a/src/Text/Pandoc/Biblio.hs +++ b/src/Text/Pandoc/Biblio.hs @@ -54,7 +54,8 @@ processBiblio cslfile r p needNt = cits \\ concat ncits in (,) needNt $ getNoteCitations needNt p' else (,) [] $ queryWith getCitation p' - result = citeproc csl r (setNearNote csl $ map (map toCslCite) grps) + result = citeproc procOpts csl r (setNearNote csl $ + map (map toCslCite) grps) cits_map = M.fromList $ zip grps (citations result) biblioList = map (renderPandoc' csl) (bibliography result) Pandoc m b = processWith (procInlines $ processCite csl cits_map) p' |