git.iko.soy/typeable/pandoc
on master help sign in
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

commit39cdafd50598d58daad5cb6483f19268f7a06316 authorJohn MacFarlane <fiddlosopher@gmail.com> dateSun 1 Sep 2013, 15:54 (13 years ago) parent53f6101
1 file changed+27
pandoc.hs+27
pandoc.hs+27
@@ -655,6 +655,33 @@ options =
655655 "PROGRAM")
656656 "" -- "Name of latex program to use in generating PDF"
657657
658+ , Option "" ["bibliography"]
659+ (ReqArg
660+ (\arg opt ->
661+ return opt{ optMetadata = ("bibliography",arg) :
662+ optMetadata opt
663+ , optPlugins = externalFilter "pandoc-citeproc"
664+ : optPlugins opt
665+ })
666+ "FILE")
667+ ""
668+
669+ , Option "" ["csl"]
670+ (ReqArg
671+ (\arg opt ->
672+ return opt{ optMetadata = ("csl",arg) :
673+ optMetadata opt })
674+ "FILE")
675+ ""
676+
677+ , Option "" ["citation-abbreviations"]
678+ (ReqArg
679+ (\arg opt ->
680+ return opt{ optMetadata = ("csl-abbreviations",arg) :
681+ optMetadata opt })
682+ "FILE")
683+ ""
684+
658685 , Option "" ["natbib"]
659686 (NoArg
660687 (\opt -> return opt { optCiteMethod = Natbib }))