Added procOpts parameter to citeproc call.

This commit is contained in:
John MacFarlane 2010-11-27 11:28:11 -08:00
parent 8f1aed168b
commit 219853b05e

View file

@ -54,7 +54,8 @@ processBiblio cslfile r p
needNt = cits \\ concat ncits needNt = cits \\ concat ncits
in (,) needNt $ getNoteCitations needNt p' in (,) needNt $ getNoteCitations needNt p'
else (,) [] $ queryWith getCitation 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) cits_map = M.fromList $ zip grps (citations result)
biblioList = map (renderPandoc' csl) (bibliography result) biblioList = map (renderPandoc' csl) (bibliography result)
Pandoc m b = processWith (procInlines $ processCite csl cits_map) p' Pandoc m b = processWith (procInlines $ processCite csl cits_map) p'