Skip to content

Commit

Permalink
Merge pull request #2078 from nickbart1980/patch-2
Browse files Browse the repository at this point in the history
Adds YAML biblio format
  • Loading branch information
jgm committed Apr 13, 2015
2 parents c5acaec + a43ceb5 commit 0908363
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -2667,20 +2667,24 @@ The bibliography may have any of these formats:

Format File extension
------------ --------------
MODS .mods
BibLaTeX .bib
BibTeX .bibtex
RIS .ris
Copac .copac
CSL JSON .json
CSL YAML .yaml
EndNote .enl
EndNote XML .xml
ISI .wos
MEDLINE .medline
Copac .copac
CSL JSON .json
MODS .mods
RIS .ris

Note that `.bib` can generally be used with both BibTeX and BibLaTeX
files, but you can use `.bibtex` to force BibTeX.

Note that `pandoc-citeproc --bib2json` and `pandoc-citeproc --bib2yaml`
can produce `.json` and `.yaml` files from any of the supported formats.

As an alternative to specifying a bibliography file, you can include
the citation data directly in the `references` field of the
document's YAML metadata. The field should contain an array of
Expand All @@ -2700,8 +2704,8 @@ YAML-encoded references, for example:
- - 1953
- 4
- 25
title: 'Molecular structure of nucleic acids: a structure for deoxyribose nucleic
acid'
title: 'Molecular structure of nucleic acids: a structure for deoxyribose
nucleic acid'
title-short: Molecular structure of nucleic acids
container-title: Nature
volume: 171
Expand Down

0 comments on commit 0908363

Please sign in to comment.