diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2013-09-01 15:54:48 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2013-09-01 15:54:48 -0700 |
commit | 39cdafd50598d58daad5cb6483f19268f7a06316 (patch) | |
tree | c22e00a7f832525452cad59caa72c679721b9204 | |
parent | 53f61019e27dcc14112136609a72b27e17e0eb06 (diff) | |
download | pandoc-39cdafd50598d58daad5cb6483f19268f7a06316.tar.gz |
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
-rw-r--r-- | pandoc.hs | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -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 })) |