Merge pull request #1005 from nougad/consistent_bibliography
Don't add pandoc-citeproc filter if natbib or biblatex is used
This commit is contained in:
commit
36cda45d70
1 changed files with 3 additions and 1 deletions
|
@ -958,7 +958,9 @@ main = do
|
|||
|
||||
-- --bibliography implies -F pandoc-citeproc for backwards compatibility:
|
||||
let filters' = case M.lookup "bibliography" metadata of
|
||||
Just _ | all (\f -> takeBaseName f /= "pandoc-citeproc")
|
||||
Just _ | optCiteMethod opts /= Natbib &&
|
||||
optCiteMethod opts /= Biblatex &&
|
||||
all (\f -> takeBaseName f /= "pandoc-citeproc")
|
||||
filters -> "pandoc-citeproc" : filters
|
||||
_ -> filters
|
||||
let plugins = map externalFilter filters'
|
||||
|
|
Loading…
Add table
Reference in a new issue