summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-gost/biblatex-gost.dbx
blob: a3a08302a58717eec1d795155f8153eea6bc3ac1 (plain)
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
\ProvidesFile{biblatex-gost.dbx}
[2017/01/27\space v1.11\space biblatex-gost data model]

% Biblatex-GOST data model

\DeclareDatamodelFields[type=field, datatype=range]{
  number,
  book,
  part,
  volume,
  issue,
}

\DeclareDatamodelFields[type=field, datatype=literal]{
  books,parts,issues,
  volsorder,
  sortvolume,
  systemreq,
  publication,
  ipc,
  requestnumber,
  prioritynumber,
  prioritycountry,
  authorcountry,
  major,
  majorcode,
  heading,
}

\DeclareDatamodelFields[type=field,datatype=date,skipout]{
  update,
  prioritydate,
  publicationdate,
}

\DeclareDatamodelFields[type=list, datatype=name]{
  booktranslator,
  bookcommentator,
  bookannotator,
  bookintroduction,
  bookforeword,
  bookafterword,
}

\DeclareDatamodelFields[type=field, datatype=key]{
  media,
  bookoriglanguage,
}

\DeclareDatamodelFields[type=list, datatype=literal]{
  specdata,
  credits,
  bookcredits,
  editioncredits,
}

\DeclareDatamodelEntryfields{
  number,
  book,part,issue,
  books,parts,issues,
  language,
  media,
  credits,
  editioncredits,
  specdata,
  volsorder,
  heading,
}

\DeclareDatamodelEntryfields[article,periodical]{
  journalcredits,
  location,
  publisher,
}

\DeclareDatamodelEntryfields[book,collection,proceedings,reference]{
  sortvolume,
}

\DeclareDatamodelEntryfields[inbook,incollection,inproceedings,inreference,bookinbook,suppbook,suppcollection]{
  booktranslator,
  bookcommentator,
  bookannotator,
  bookintroduction,
  bookforeword,
  bookafterword,
  bookoriglanguage,
  bookcredits,
}

\DeclareDatamodelEntryfields[thesis]{
  major,majorcode,
}

\DeclareDatamodelEntryfields[online]{
  update,systemreq,
}

\DeclareDatamodelEntryfields[patent]{
  pagetotal,
  priorityday,prioritymonth,priorityyear,
  priorityendday,priorityendmonth,priorityendyear,
  publicationday,publicationmonth,publicationyear,
  publicationendday,publicationendmonth,publicationendyear,
  publication,requestnumber,ipc,prioritynumber,prioritycountry,
  authorcountry
}

\DeclareDatamodelConstraints{
  \constraint[type=data, datatype=date]{
    \constraintfield{update}
    \constraintfield{prioritydate}
    \constraintfield{publicationdate}
  }
}

\endinput