File: apa4e.xml

package info (click to toggle)
pybliographer 1.2.12-4squeeze1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 3,560 kB
  • ctags: 1,413
  • sloc: python: 9,817; xml: 2,560; sh: 813; makefile: 621
file content (199 lines) | stat: -rw-r--r-- 7,124 bytes parent folder | download | duplicates (5)
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<?xml version="1.0"?>

<!-- A simple modification of Alpha.xml -->
<!-- This Style by Darrell Rudmann (rudmann@uiuc.edu) -->
<!-- Creates APA (4th ed.) styled bibliography for most common sources -->
<!-- See apa4e.txt for more information -->

<!-- Issues: 1) Puts a period after titles ending in punctuation, e.g. "?" -->
<!-- 2) Missing tab at beginning of citations -->
<!-- 3) If citing a full edited text, order of author name is incorrect -->
<!-- 4) Uses emphasis ("emph") instead of underlining, but see apa4e.txt -->

<!-- Must add "Autoload.preregister ('style', 'apa4e', 'Pblio.Style.apa4e')" -->
<!--  to pybrc.py before use. -->

<bibstyle>
  
  <module name="apa4e">
    <define field="author">last_first_initials_authors</define>
    <define field="editor">first_last_initials_authors</define>
    <define field="date">european_date</define>
    <define method="keys">string_keys</define>
  </module>

<!-- Start with the author, editor if no author, then Date -->
<!-- **Points out editor-as-author problem (an effective cludge) -->
<infield name="author"><content/></infield>
<notinfield name="author">
<infield name="editor"><content/> **FIX ORDER** <singular>(Ed.)</singular><plural>(Eds.)</plural></infield>
</notinfield>
<separator>.</separator>
<infield name="date">(<content/>). </infield>

<!-- PROCEEDINGS -->
<!-- Excludes editions -->
<inentry name="proceedings">
<content name="title"/><separator>.</separator>

<infield name="editor">
In <content/> <singular>(Ed.)</singular><plural>(Eds.)</plural>, </infield>
<infield name="booktitle">
<style name="emph"><content name="booktitle"/></style></infield>

<infield name="edition"> (<content/>.
<infield name="pages">, <singular>p.</singular><plural>pp.</plural> <content/></infield>).</infield>

<notinfield name="edition">
<infield name="pages"> (<singular>p.</singular><plural>pp.</plural> <content/>).</infield>
</notinfield>

<infield name="address"> <content/>:</infield>
<infield name="publisher"> <content/></infield>
</inentry>

<!-- ARTICLE -->
<inentry name="article">
<content name="title"/><separator>.</separator>
<style name="emph">
<infield name="journal"><content/></infield>
<infield name="volume">, <content/></infield></style>
<infield name="number">(<content/>),</infield>
<notinfield name="number"><style name="emph">,</style></notinfield>
<infield name="pages"> <content/></infield>
</inentry>

<!-- BOOK -->
<!-- Use InCollection for irregularly published series -->
<!-- **Unfortunately, puts a period after titles that end in a "?" -->
<inentry name="book">

<style name="emph"><content name="title"/></style>

<infield name="edition"> (<content/> ed.
<infield name="volume">, Vol. <content/></infield>
<infield name="pages">, <singular>p.</singular><plural>pp.</plural> <content/></infield>).</infield>

<notinfield name="edition">
<infield name="volume"> (Vol. <content/>
<infield name="pages">, <singular>p.</singular><plural>pp.</plural> <content/></infield>).</infield>
</notinfield>

<notinfield name="edition"><notinfield name="volume">
<infield name="pages"> (<singular>p.</singular><plural>pp.</plural> <content/>).</infield>
</notinfield></notinfield>

<notinfield name="edition"><notinfield name="volume"><notinfield name="pages">
<style name="emph">.</style>
</notinfield></notinfield></notinfield>

<infield name="address"> <content/>:</infield>
<infield name="publisher"> <content/></infield>
</inentry>

<!-- INBOOK (same as BOOK) -->
<inentry name="inbook">
<style name="emph"><content name="title"/></style>

<infield name="edition"> (<content/> ed.
<infield name="volume">, <content/></infield>
<infield name="pages">, <singular>p.</singular><plural>pp.</plural> <content/></infield>).</infield>

<notinfield name="edition">
<infield name="volume"> (<content/>
<infield name="pages">, <singular>p.</singular><plural>pp.</plural> <content/></infield>).</infield>
</notinfield>

<notinfield name="edition"><notinfield name="volume">
<infield name="pages"> (<singular>p.</singular><plural>pp.</plural> <content/>).</infield>
</notinfield></notinfield>

<notinfield name="edition"><notinfield name="volume"><notinfield name="pages">
<style name="emph">.</style>
</notinfield></notinfield></notinfield>

<infield name="address"> <content/>:</infield>
<infield name="publisher"> <content/></infield>
</inentry>

<!-- INCOLLECTION -->
<!-- Volumes are part of title in edited works -->
<inentry name="incollection">
<content name="title"/><separator>.</separator>

<infield name="editor">
In <content/> <singular>(Ed.)</singular><plural>(Eds.)</plural>, </infield>

<notinfield name="series">
<style name="emph"><content name="booktitle"/></style>
</notinfield>

<infield name="series"><style name="emph"><content/>: <infield name="volume">Vol. <content/>. </infield><content name="booktitle"/></style></infield>

<infield name="edition"> (<content/> ed.
<infield name="pages">, <singular>p.</singular><plural>pp.</plural> <content/></infield>).</infield>

<notinfield name="edition">
<infield name="pages"> (<singular>p.</singular><plural>pp.</plural> <content/>).</infield>
</notinfield>

<infield name="address"> <content/>:</infield>
<infield name="publisher"> <content/></infield>
</inentry>

<!-- INPROCEEDINGS -->
<!-- Same as InCollection entry; Vol. is part of title -->
<inentry name="inproceedings">
<content name="title"/><separator>.</separator>

<infield name="editor">
In <content/> <singular>(Ed.)</singular><plural>(Eds.)</plural>, </infield>
<infield name="booktitle">
<style name="emph"><content name="booktitle"/></style></infield>

<infield name="edition"> (<content/>.
<infield name="pages">, <singular>p.</singular><plural>pp.</plural> <content/></infield>).</infield>

<notinfield name="edition">
<infield name="pages"> (<singular>p.</singular><plural>pp.</plural> <content/>).</infield>
</notinfield>

<infield name="address"> <content/>:</infield>
<infield name="publisher"> <content/></infield>
</inentry>

<!-- PhDThesis; Vol, #, pages, special -->
<inentry name="phdthesis">
<content name="title"/>. <style name="emph">Dissertation Abstracts International, <content name="volume"/>,</style><infield name="number"><content/>,</infield>
<content name="publisher"/>
</inentry>

<!-- TechReport uses Institution field, handles pages, but not editors -->
<inentry name="techreport">
<style name="emph"><content name="title"/></style>
<infield name="number"> (<content/>
<infield name="pages">, <singular>p.</singular><plural>pp.</plural> <content/></infield>).</infield>
<notinfield name="number"><style name="emph">.</style></notinfield>
<infield name="address"> <content/>:</infield>
<infield name="institution"> <content/></infield>
</inentry>

<!-- Miscellaneous -->
<inentry name="misc">
<content name="title"/>
</inentry>

<!-- Unpublished -->
<inentry name="unpublished">
<infield name="subject">[<content/>].</infield>
 <notinfield name="subject">
 <style name="emph"><content name="title"/>.</style>
 </notinfield>
<content name="special"/>
<infield name="school">, <content/></infield>
</inentry>

<!-- Everybody gets a final period. -->
<separator>.</separator>

</bibstyle>