Restore --bibliography, --csl, --citation-abbreviations.
These are now implemented as: --bibliography FILE => --metadata bibliography=FILE --filter pandoc-citeproc --csl FILE => --metadata csl=FILE --citation-abbreviations FILE => --metadata csl-abbreviations=FILE
This commit is contained in:
parent
53f61019e2
commit
39cdafd505
1 changed files with 27 additions and 0 deletions
27
pandoc.hs
27
pandoc.hs
|
@ -655,6 +655,33 @@ options =
|
|||
"PROGRAM")
|
||||
"" -- "Name of latex program to use in generating PDF"
|
||||
|
||||
, Option "" ["bibliography"]
|
||||
(ReqArg
|
||||
(\arg opt ->
|
||||
return opt{ optMetadata = ("bibliography",arg) :
|
||||
optMetadata opt
|
||||
, optPlugins = externalFilter "pandoc-citeproc"
|
||||
: optPlugins opt
|
||||
})
|
||||
"FILE")
|
||||
""
|
||||
|
||||
, Option "" ["csl"]
|
||||
(ReqArg
|
||||
(\arg opt ->
|
||||
return opt{ optMetadata = ("csl",arg) :
|
||||
optMetadata opt })
|
||||
"FILE")
|
||||
""
|
||||
|
||||
, Option "" ["citation-abbreviations"]
|
||||
(ReqArg
|
||||
(\arg opt ->
|
||||
return opt{ optMetadata = ("csl-abbreviations",arg) :
|
||||
optMetadata opt })
|
||||
"FILE")
|
||||
""
|
||||
|
||||
, Option "" ["natbib"]
|
||||
(NoArg
|
||||
(\opt -> return opt { optCiteMethod = Natbib }))
|
||||
|
|
Loading…
Reference in a new issue