Added procOpts parameter to citeproc call.
This commit is contained in:
parent
8f1aed168b
commit
219853b05e
1 changed files with 2 additions and 1 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue