aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2010-11-27 11:28:11 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2010-11-27 11:28:11 -0800
commit219853b05e37be8cda8527eff80ec4f505203c5d (patch)
tree555c45434bcaf2bdc0476385a2b6d89bd17a67bb /src/Text/Pandoc
parent8f1aed168b8cae43f3fb7a4303ceea4792b8a45b (diff)
downloadpandoc-219853b05e37be8cda8527eff80ec4f505203c5d.tar.gz
Added procOpts parameter to citeproc call.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Biblio.hs3
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'