Merge pull request #2078 from nickbart1980/patch-2

Adds YAML biblio format
This commit is contained in:
John MacFarlane 2015-04-13 09:23:03 -07:00
commit 09083637ab

16
README
View file

@ -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
@ -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