File: data.py

package info (click to toggle)
pybtex 0.25.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,628 kB
  • sloc: python: 13,585; makefile: 181; sh: 39; javascript: 29
file content (56 lines) | stat: -rw-r--r-- 2,123 bytes parent folder | download | duplicates (4)
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
# vim:fileencoding=utf-8

from __future__ import unicode_literals

from pybtex.database import BibliographyData, Entry, Person

reference_data = BibliographyData(
    entries=[
        ('viktorov-metodoj', Entry('book',
            fields=[
                ('publisher', u'Л.: <<Химия>>'),
                ('language', u'russian'),
                ('year', u'1977'),
                ('title', u'Методы вычисления физико-химических величин и прикладные расчёты'),
            ],
            persons={'author': [Person(u'Викторов, Михаил Маркович')]}
        )),
        ('test-booklet', Entry('booklet',
            fields=[
                ('year', u'2006'),
                ('month', u'January'),
                ('title', u'Just a booklet'),
                ('howpublished', u'Published by Foo'),
                ('language', u'english'),
                ('address', u'Moscow'),
            ],
            persons={'author': [Person(u'de Last, Jr., First Middle')]}
        )),
        ('ruckenstein-diffusion', Entry('article',
            fields=[
                ('language', u'english'),
                ('title', u'Predicting the Diffusion Coefficient in Supercritical Fluids'),
                ('journal', u'Ind. Eng. Chem. Res.'),
                ('volume', u'36'),
                ('year', u'1997'),
                ('pages', u'888-895'),
            ],
            persons={'author': [Person(u'Liu, Hongquin'), Person(u'Ruckenstein, Eli')]},
        )),
        ('test-inbook', Entry('inbook',
            fields=[
                ('title', u'Some Title'),
                ('booktitle', u'Some Good Book'),
                ('series', u'Some series'),
                ('number', u'3'),
                ('publisher', u'Some Publisher'),
                ('edition', u'Second'),
                ('language', u'english'),
                ('year', u'1933'),
                ('pages', u'44--59'),
            ],
            persons={'author': [Person(u'Jackson, Peter')]}
        )),
    ],
    preamble=['%%% pybtex example file']
)