1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
```
% pandoc -f biblatex -t markdown -s
@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},
}
^D
---
nocite: '[@*]'
references:
- author:
- family: Author
given: Ann
container-title: The Journaltitle
id: 'article-req'
issued: '2013-07-29'
language: 'en-US'
title: An article entry with just the required fields
type: 'article-journal'
- accessed: '2013-07-29'
author:
- family: Author
given: Ann A.
suffix: Jr.
collection-title: new series
container-title: 'The Journaltitle: The Journalsubtitle'
doi: 10.1086/520976
editor:
- family: Editor
given: Edward
id: 'article-opt'
issn: issn
issue: 'number, issue'
issued: '2008-12-31'
language: 'en-US'
note: The Note. The Addendum
page: pages
status: in press
title: 'An article entry with the required and all optional fields:
The subtitle. The titleaddon'
title-short: An article entry with the required and all optional
fields
translator:
- family: Translator
given: Ted
type: 'article-journal'
url: 'http://foo.bar.baz/'
version: version
volume: volume
---
```
|