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:
John MacFarlane 2013-09-01 15:54:48 -07:00
parent 53f61019e2
commit 39cdafd505

View file

@ -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 }))