Skip to content

Commit

Permalink
Merge pull request #39 from jix/citeproc
Browse files Browse the repository at this point in the history
Add Citeproc option
  • Loading branch information
oli-obk authored Apr 26, 2021
2 parents d18428a + dda4194 commit c2b7fd2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ pub enum PandocOption {
PdfEngine(PathBuf),
/// --pdf-engine-opt=STRING
PdfEngineOpt(String),
/// --citeproc
Citeproc,
/// --bibliography=FILE
Bibliography(PathBuf),
/// --csl=FILE
Expand Down Expand Up @@ -375,6 +377,7 @@ impl PandocOption {
pandoc.args(&[&format!("--pdf-engine={}", program.display())])
}
PdfEngineOpt(ref s) => pandoc.args(&[&format!("--pdf-engine-opt={}", s)]),
Citeproc => pandoc.args(&["--citeproc"]),
Bibliography(ref file) => pandoc.args(&[&format!("--bibliography={}", file.display())]),
Csl(ref file) => pandoc.args(&[&format!("--csl={}", file.display())]),
CitationAbbreviations(ref f) => {
Expand Down

0 comments on commit c2b7fd2

Please sign in to comment.