git.iko.soy/typeable/pandoc
on master help sign in
Fix CSL JSON conversion examples in MANUAL.

You need -f csljson.

commitaa5d87961d157f21b72d4e757b38ab66ff1e668f authorJohn MacFarlane <jgm@berkeley.edu> dateWed 14 Oct 2020, 09:54 (6 years ago) parent435f3bd
1 file changed+4−4
MANUAL.txt+4−4
MANUAL.txt+4−4
@@ -5147,14 +5147,14 @@ array of YAML-encoded references, for example:
51475147Note that `pandoc` can be used to produce such a YAML metadata
51485148section from a BibTeX, BibLaTeX, or CSL JSON bibliography:
51495149
5150− pandoc chem.bib -s -t markdown
5151− pandoc chem.json -s -t markdown
5150+ pandoc chem.bib -s -f biblatex -t markdown
5151+ pandoc chem.json -s -f csljson -t markdown
51525152
51535153`pandoc` can also be used to produce CSL JSON bibliography
51545154from BibTeX, BibLaTeX, or markdown YAML:
51555155
5156− pandoc chem.bib -s -t csljson
5157− pandoc chem.yaml -s -t csljson
5156+ pandoc chem.bib -s -f biblatex -t csljson
5157+ pandoc chem.yaml -s -f markdown -t csljson
51585158
51595159Running pandoc on a bibliography file with the `--citeproc`
51605160option will create a formatted bibliography in the format