pandoc-citeproc-0.1.2.1: tests/biblio2yaml/article.biblatex
@comment{
- contains:
- an article entry with just the required fields
- an article entry with required and all optional fields
- notes:
- year, month to be ignored if date is present
- journal to be ignored if journaltitle is present
- editortype, editoratype, editorbtype, editorctype, pubstate,
series contain keys which, unless corresponding CSL terms exist, require
locale-specific expansion
- limitations:
- annotator, commentator, eid, eprint, eprintclass, eprinttype,
issuetitle, issuesubtitle, language, origlanguage have no matching
counterparts in CSL
- for editor, editora, editorb, editorc (plus editortype,
editoratype, editorbtype, editorctype) only a subset, editor and director,
has matching counterparts in CSL
- kludges:
- note + addendum -> CSL note
- number + issue -> CSL issue
- handling of titleaddon
- handling of (journal) series
- done properly, this should be mapped to some CSL variable
(version? edition? collection-number?), CSL styles would have to be adapted
- slightly better kludge would map integer to ordinal + "ser."
("3" -> "3rd ser."); localization keys "newseries" -> "new ser.",
"oldseries" -> "old ser."; and print all other values as is -- but still
wouldn't fit all styles or locales.
}
@article{article-req,
Author = {Author, Ann},
Date = {2013-07-29},
Hyphenation = {english},
Journaltitle = {The Journaltitle},
Title = {An Article Entry with Just the Required Fields}}
@article{article-opt,
Addendum = {The Addendum},
Annotator = {Annotator, A.},
Author = {Author, Jr., Ann A.},
Commentator = {Commentator, C.},
Date = {2008-12-31},
Doi = {10.1086/520976},
Editor = {Editor, Edward},
Editora = {Editor, A.},
Editorb = {Editor, B.},
Editorc = {Editor, C.},
Eid = {eid},
Eprint = {eprint},
Eprintclass = {eprintclass},
Eprinttype = {eprinttype},
Hyphenation = {english},
Issn = {issn},
Issue = {issue},
Issuesubtitle = {The Issuesubtitle},
Issuetitle = {The Issuetitle},
Journalsubtitle = {The Journalsubtitle},
Journaltitle = {The Journaltitle},
Journal = {The Journal},
Language = {language},
Month = {08},
Year = {2007},
Note = {The Note},
Number = {number},
Origlanguage = {origlanguage},
Pages = {pages},
Pubstate = {inpress},
Series = {newseries},
Subtitle = {The Subtitle},
Title = {An Article Entry with the Required and All Optional Fields},
Titleaddon = {The Titleaddon},
Translator = {Translator, Ted},
Url = {http://foo.bar.baz/},
Urldate = {2013-07-29},
Version = {version},
Volume = {volume},
}
---
references:
- title: An article entry with just the required fields
id: article-req
issued:
day: 29
month: 07
year: 2013
author:
given:
- Ann
family: Author
container-title: The Journaltitle
type: article-journal
language: en-US
- issn: issn
status: in press
issue: number, issue
page: pages
note: The Note. The Addendum
title: ! 'An article entry with the required and all optional fields: The subtitle.
The titleaddon'
volume: volume
id: article-opt
issued:
day: 31
month: 12
year: 2008
author:
suffix: Jr.
given:
- Ann
- A.
comma-suffix: false
family: Author
accessed:
day: 29
month: 07
year: 2013
version: version
container-title: ! 'The Journaltitle: The Journalsubtitle, new series'
editor:
given:
- Edward
family: Editor
translator:
given:
- Ted
family: Translator
url: http://foo.bar.baz/
type: article-journal
doi: doi:10.1086/520976
language: en-US
...