annotate writeup/mlj_submission/spmpsci.bst @ 631:510220effb14

corrections demandees par reviewer
author Yoshua Bengio <bengioy@iro.umontreal.ca>
date Sat, 19 Mar 2011 22:44:53 -0400
parents 0cf2c4f9ed79
children
rev   line source
592
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1 %%
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
2 %% This is file `spmpsci.bst',
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
3 %% generated with the docstrip utility.
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
4 %%
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
5 %% The original source files were:
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
6 %%
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
7 %% merlin.mbs (with options: `vonx,nm-rvv,yr-par,xmth,jttl-rm,thtit-a,vol-bf,volp-com,pgsep-c,num-xser,ser-vol,ser-ed,jnm-x,btit-rm,bt-rm,doi,edparxc,au-col,in-col,fin-bare,pp,ed,abr,xedn,jabr,xand,url,url-blk,nfss,')
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
8 %% ----------------------------------------
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
9 %%********************************************************************************%%
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
10 %% %%
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
11 %% For Springer mathematics, computer science, and physical sciences journals %%
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
12 %% publications. %%
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
13 %% Report bugs and improvements to: Joylene Vette-Guillaume or Frank Holzwarth %%
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
14 %% Springer-Verlag 2004/10/15 %%
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
15 %% %%
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
16 %%********************************************************************************%%
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
17 %%
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
18 %% Copyright 1994-2004 Patrick W Daly
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
19 % ===============================================================
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
20 % IMPORTANT NOTICE:
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
21 % This bibliographic style (bst) file has been generated from one or
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
22 % more master bibliographic style (mbs) files, listed above.
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
23 %
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
24 % This generated file can be redistributed and/or modified under the terms
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
25 % of the LaTeX Project Public License Distributed from CTAN
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
26 % archives in directory macros/latex/base/lppl.txt; either
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
27 % version 1 of the License, or any later version.
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
28 % ===============================================================
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
29 % Name and version information of the main mbs file:
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
30 % \ProvidesFile{merlin.mbs}[2004/02/09 4.13 (PWD, AO, DPC)]
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
31 % For use with BibTeX version 0.99a or later
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
32 %-------------------------------------------------------------------
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
33 % This bibliography style file is intended for texts in ENGLISH
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
34 % This is a numerical citation style, and as such is standard LaTeX.
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
35 % It requires no extra package to interface to the main text.
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
36 % The form of the \bibitem entries is
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
37 % \bibitem{key}...
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
38 % Usage of \cite is as follows:
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
39 % \cite{key} ==>> [#]
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
40 % \cite[chap. 2]{key} ==>> [#, chap. 2]
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
41 % where # is a number determined by the ordering in the reference list.
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
42 % The order in the reference list is alphabetical by authors.
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
43 %---------------------------------------------------------------------
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
44
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
45 ENTRY
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
46 { address
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
47 author
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
48 booktitle
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
49 chapter
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
50 doi
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
51 edition
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
52 editor
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
53 eid
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
54 howpublished
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
55 institution
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
56 journal
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
57 key
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
58 month
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
59 note
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
60 number
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
61 organization
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
62 pages
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
63 publisher
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
64 school
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
65 series
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
66 title
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
67 type
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
68 url
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
69 volume
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
70 year
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
71 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
72 {}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
73 { label }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
74 INTEGERS { output.state before.all mid.sentence after.sentence after.block }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
75 FUNCTION {init.state.consts}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
76 { #0 'before.all :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
77 #1 'mid.sentence :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
78 #2 'after.sentence :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
79 #3 'after.block :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
80 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
81 STRINGS { s t}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
82 FUNCTION {output.nonnull}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
83 { 's :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
84 output.state mid.sentence =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
85 { ", " * write$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
86 { output.state after.block =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
87 { add.period$ write$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
88 newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
89 "\newblock " write$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
90 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
91 { output.state before.all =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
92 'write$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
93 { add.period$ " " * write$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
94 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
95 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
96 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
97 mid.sentence 'output.state :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
98 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
99 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
100 s
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
101 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
102 FUNCTION {output}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
103 { duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
104 'pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
105 'output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
106 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
107 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
108 FUNCTION {output.check}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
109 { 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
110 duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
111 { pop$ "empty " t * " in " * cite$ * warning$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
112 'output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
113 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
114 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
115 FUNCTION {fin.entry}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
116 { duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
117 'pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
118 'write$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
119 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
120 newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
121 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
122
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
123 FUNCTION {new.block}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
124 { output.state before.all =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
125 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
126 { after.block 'output.state := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
127 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
128 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
129 FUNCTION {new.sentence}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
130 { output.state after.block =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
131 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
132 { output.state before.all =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
133 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
134 { after.sentence 'output.state := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
135 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
136 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
137 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
138 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
139 FUNCTION {add.blank}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
140 { " " * before.all 'output.state :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
141 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
142
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
143 FUNCTION {add.colon}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
144 { duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
145 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
146 { ":" * add.blank }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
147 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
148 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
149
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
150 FUNCTION {date.block}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
151 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
152 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
153 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
154
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
155 FUNCTION {not}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
156 { { #0 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
157 { #1 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
158 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
159 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
160 FUNCTION {and}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
161 { 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
162 { pop$ #0 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
163 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
164 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
165 FUNCTION {or}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
166 { { pop$ #1 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
167 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
168 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
169 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
170 FUNCTION {new.block.checka}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
171 { empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
172 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
173 'new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
174 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
175 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
176 FUNCTION {new.block.checkb}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
177 { empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
178 swap$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
179 and
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
180 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
181 'new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
182 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
183 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
184 FUNCTION {new.sentence.checka}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
185 { empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
186 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
187 'new.sentence
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
188 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
189 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
190 FUNCTION {new.sentence.checkb}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
191 { empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
192 swap$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
193 and
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
194 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
195 'new.sentence
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
196 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
197 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
198 FUNCTION {field.or.null}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
199 { duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
200 { pop$ "" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
201 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
202 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
203 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
204 FUNCTION {emphasize}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
205 { duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
206 { pop$ "" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
207 { "\emph{" swap$ * "}" * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
208 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
209 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
210 FUNCTION {bolden}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
211 { duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
212 { pop$ "" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
213 { "\textbf{" swap$ * "}" * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
214 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
215 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
216 FUNCTION {tie.or.space.prefix}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
217 { duplicate$ text.length$ #3 <
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
218 { "~" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
219 { " " }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
220 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
221 swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
222 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
223
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
224 FUNCTION {capitalize}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
225 { "u" change.case$ "t" change.case$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
226
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
227 FUNCTION {space.word}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
228 { " " swap$ * " " * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
229 % Here are the language-specific definitions for explicit words.
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
230 % Each function has a name bbl.xxx where xxx is the English word.
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
231 % The language selected here is ENGLISH
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
232 FUNCTION {bbl.and}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
233 { "and"}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
234
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
235 FUNCTION {bbl.etal}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
236 { "et~al." }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
237
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
238 FUNCTION {bbl.editors}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
239 { "eds." }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
240
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
241 FUNCTION {bbl.editor}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
242 { "ed." }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
243
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
244 FUNCTION {bbl.edby}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
245 { "edited by" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
246
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
247 FUNCTION {bbl.edition}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
248 { "edn." }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
249
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
250 FUNCTION {bbl.volume}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
251 { "vol." }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
252
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
253 FUNCTION {bbl.of}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
254 { "of" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
255
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
256 FUNCTION {bbl.number}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
257 { "no." }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
258
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
259 FUNCTION {bbl.nr}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
260 { "no." }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
261
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
262 FUNCTION {bbl.in}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
263 { "in" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
264
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
265 FUNCTION {bbl.pages}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
266 { "pp." }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
267
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
268 FUNCTION {bbl.page}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
269 { "p." }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
270
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
271 FUNCTION {bbl.chapter}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
272 { "chap." }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
273
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
274 FUNCTION {bbl.techrep}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
275 { "Tech. Rep." }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
276
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
277 FUNCTION {bbl.mthesis}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
278 { "Master's thesis" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
279
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
280 FUNCTION {bbl.phdthesis}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
281 { "Ph.D. thesis" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
282
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
283 MACRO {jan} {"Jan."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
284
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
285 MACRO {feb} {"Feb."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
286
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
287 MACRO {mar} {"Mar."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
288
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
289 MACRO {apr} {"Apr."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
290
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
291 MACRO {may} {"May"}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
292
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
293 MACRO {jun} {"Jun."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
294
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
295 MACRO {jul} {"Jul."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
296
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
297 MACRO {aug} {"Aug."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
298
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
299 MACRO {sep} {"Sep."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
300
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
301 MACRO {oct} {"Oct."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
302
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
303 MACRO {nov} {"Nov."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
304
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
305 MACRO {dec} {"Dec."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
306
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
307 MACRO {acmcs} {"ACM Comput. Surv."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
308
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
309 MACRO {acta} {"Acta Inf."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
310
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
311 MACRO {cacm} {"Commun. ACM"}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
312
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
313 MACRO {ibmjrd} {"IBM J. Res. Dev."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
314
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
315 MACRO {ibmsj} {"IBM Syst.~J."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
316
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
317 MACRO {ieeese} {"IEEE Trans. Software Eng."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
318
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
319 MACRO {ieeetc} {"IEEE Trans. Comput."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
320
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
321 MACRO {ieeetcad}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
322 {"IEEE Trans. Comput. Aid. Des."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
323
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
324 MACRO {ipl} {"Inf. Process. Lett."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
325
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
326 MACRO {jacm} {"J.~ACM"}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
327
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
328 MACRO {jcss} {"J.~Comput. Syst. Sci."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
329
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
330 MACRO {scp} {"Sci. Comput. Program."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
331
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
332 MACRO {sicomp} {"SIAM J. Comput."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
333
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
334 MACRO {tocs} {"ACM Trans. Comput. Syst."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
335
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
336 MACRO {tods} {"ACM Trans. Database Syst."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
337
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
338 MACRO {tog} {"ACM Trans. Graphic."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
339
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
340 MACRO {toms} {"ACM Trans. Math. Software"}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
341
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
342 MACRO {toois} {"ACM Trans. Office Inf. Syst."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
343
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
344 MACRO {toplas} {"ACM Trans. Progr. Lang. Syst."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
345
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
346 MACRO {tcs} {"Theor. Comput. Sci."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
347
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
348 FUNCTION {bibinfo.check}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
349 { swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
350 duplicate$ missing$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
351 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
352 pop$ pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
353 ""
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
354 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
355 { duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
356 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
357 swap$ pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
358 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
359 { swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
360 pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
361 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
362 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
363 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
364 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
365 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
366 FUNCTION {bibinfo.warn}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
367 { swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
368 duplicate$ missing$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
369 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
370 swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
371 ""
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
372 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
373 { duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
374 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
375 swap$ "empty " swap$ * " in " * cite$ * warning$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
376 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
377 { swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
378 pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
379 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
380 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
381 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
382 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
383 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
384 FUNCTION {format.url}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
385 { url empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
386 { "" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
387 { "\urlprefix\url{" url * "}" * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
388 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
389 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
390
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
391 STRINGS { bibinfo}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
392 INTEGERS { nameptr namesleft numnames }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
393
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
394 FUNCTION {format.names}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
395 { 'bibinfo :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
396 duplicate$ empty$ 'skip$ {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
397 's :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
398 "" 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
399 #1 'nameptr :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
400 s num.names$ 'numnames :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
401 numnames 'namesleft :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
402 { namesleft #0 > }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
403 { s nameptr
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
404 "{vv~}{ll}{ jj}{, f{.}.}"
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
405 format.name$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
406 bibinfo bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
407 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
408 nameptr #1 >
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
409 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
410 namesleft #1 >
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
411 { ", " * t * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
412 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
413 "," *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
414 s nameptr "{ll}" format.name$ duplicate$ "others" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
415 { 't := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
416 { pop$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
417 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
418 t "others" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
419 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
420 " " * bbl.etal *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
421 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
422 { " " * t * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
423 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
424 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
425 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
426 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
427 't
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
428 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
429 nameptr #1 + 'nameptr :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
430 namesleft #1 - 'namesleft :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
431 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
432 while$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
433 } if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
434 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
435 FUNCTION {format.names.ed}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
436 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
437 'bibinfo :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
438 duplicate$ empty$ 'skip$ {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
439 's :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
440 "" 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
441 #1 'nameptr :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
442 s num.names$ 'numnames :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
443 numnames 'namesleft :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
444 { namesleft #0 > }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
445 { s nameptr
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
446 "{f{.}.~}{vv~}{ll}{ jj}"
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
447 format.name$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
448 bibinfo bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
449 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
450 nameptr #1 >
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
451 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
452 namesleft #1 >
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
453 { ", " * t * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
454 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
455 "," *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
456 s nameptr "{ll}" format.name$ duplicate$ "others" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
457 { 't := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
458 { pop$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
459 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
460 t "others" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
461 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
462
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
463 " " * bbl.etal *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
464 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
465 { " " * t * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
466 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
467 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
468 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
469 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
470 't
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
471 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
472 nameptr #1 + 'nameptr :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
473 namesleft #1 - 'namesleft :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
474 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
475 while$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
476 } if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
477 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
478 FUNCTION {format.authors}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
479 { author "author" format.names
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
480 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
481 FUNCTION {get.bbl.editor}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
482 { editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
483
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
484 FUNCTION {format.editors}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
485 { editor "editor" format.names duplicate$ empty$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
486 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
487 " " *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
488 get.bbl.editor
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
489 "(" swap$ * ")" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
490 *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
491 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
492 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
493 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
494 FUNCTION {format.doi}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
495 { doi "doi" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
496 duplicate$ empty$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
497 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
498 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
499 "\doi{" swap$ * "}" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
500 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
501 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
502 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
503 FUNCTION {format.note}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
504 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
505 note empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
506 { "" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
507 { note #1 #1 substring$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
508 duplicate$ "{" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
509 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
510 { output.state mid.sentence =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
511 { "l" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
512 { "u" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
513 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
514 change.case$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
515 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
516 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
517 note #2 global.max$ substring$ * "note" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
518 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
519 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
520 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
521
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
522 FUNCTION {format.title}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
523 { title
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
524 duplicate$ empty$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
525 { "t" change.case$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
526 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
527 "title" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
528 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
529 FUNCTION {output.bibitem}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
530 { newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
531 "\bibitem{" write$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
532 cite$ write$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
533 "}" write$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
534 newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
535 ""
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
536 before.all 'output.state :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
537 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
538
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
539 FUNCTION {if.digit}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
540 { duplicate$ "0" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
541 swap$ duplicate$ "1" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
542 swap$ duplicate$ "2" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
543 swap$ duplicate$ "3" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
544 swap$ duplicate$ "4" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
545 swap$ duplicate$ "5" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
546 swap$ duplicate$ "6" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
547 swap$ duplicate$ "7" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
548 swap$ duplicate$ "8" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
549 swap$ "9" = or or or or or or or or or
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
550 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
551 FUNCTION {n.separate}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
552 { 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
553 ""
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
554 #0 'numnames :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
555 { t empty$ not }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
556 { t #-1 #1 substring$ if.digit
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
557 { numnames #1 + 'numnames := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
558 { #0 'numnames := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
559 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
560 t #-1 #1 substring$ swap$ *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
561 t #-2 global.max$ substring$ 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
562 numnames #5 =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
563 { duplicate$ #1 #2 substring$ swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
564 #3 global.max$ substring$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
565 "," swap$ * *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
566 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
567 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
568 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
569 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
570 while$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
571 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
572 FUNCTION {n.dashify}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
573 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
574 n.separate
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
575 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
576 ""
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
577 { t empty$ not }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
578 { t #1 #1 substring$ "-" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
579 { t #1 #2 substring$ "--" = not
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
580 { "--" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
581 t #2 global.max$ substring$ 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
582 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
583 { { t #1 #1 substring$ "-" = }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
584 { "-" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
585 t #2 global.max$ substring$ 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
586 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
587 while$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
588 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
589 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
590 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
591 { t #1 #1 substring$ *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
592 t #2 global.max$ substring$ 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
593 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
594 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
595 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
596 while$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
597 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
598
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
599 FUNCTION {word.in}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
600 { bbl.in capitalize
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
601 ":" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
602 " " * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
603
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
604 FUNCTION {format.date}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
605 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
606 ""
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
607 duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
608 year "year" bibinfo.check duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
609 { swap$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
610 { "there's a month but no year in " cite$ * warning$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
611 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
612 *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
613 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
614 { swap$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
615 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
616 swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
617 " " * swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
618 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
619 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
620 *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
621 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
622 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
623 duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
624 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
625 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
626 before.all 'output.state :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
627 " (" swap$ * ")" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
628 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
629 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
630 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
631 FUNCTION {format.btitle}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
632 { title "title" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
633 duplicate$ empty$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
634 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
635 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
636 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
637 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
638 FUNCTION {either.or.check}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
639 { empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
640 'pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
641 { "can't use both " swap$ * " fields in " * cite$ * warning$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
642 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
643 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
644 FUNCTION {format.bvolume}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
645 { volume empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
646 { "" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
647 { bbl.volume volume tie.or.space.prefix
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
648 "volume" bibinfo.check * *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
649 series "series" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
650 duplicate$ empty$ 'pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
651 { emphasize ", " * swap$ * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
652 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
653 "volume and number" number either.or.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
654 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
655 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
656 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
657 FUNCTION {format.number.series}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
658 { volume empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
659 { number empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
660 { series field.or.null }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
661 { series empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
662 { number "number" bibinfo.check }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
663 { output.state mid.sentence =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
664 { bbl.number }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
665 { bbl.number capitalize }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
666 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
667 number tie.or.space.prefix "number" bibinfo.check * *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
668 bbl.in space.word *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
669 series "series" bibinfo.check *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
670 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
671 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
672 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
673 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
674 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
675 { "" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
676 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
677 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
678
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
679 FUNCTION {format.edition}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
680 { edition duplicate$ empty$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
681 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
682 output.state mid.sentence =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
683 { "l" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
684 { "t" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
685 if$ change.case$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
686 "edition" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
687 " " * bbl.edition *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
688 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
689 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
690 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
691 INTEGERS { multiresult }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
692 FUNCTION {multi.page.check}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
693 { 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
694 #0 'multiresult :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
695 { multiresult not
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
696 t empty$ not
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
697 and
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
698 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
699 { t #1 #1 substring$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
700 duplicate$ "-" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
701 swap$ duplicate$ "," =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
702 swap$ "+" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
703 or or
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
704 { #1 'multiresult := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
705 { t #2 global.max$ substring$ 't := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
706 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
707 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
708 while$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
709 multiresult
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
710 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
711 FUNCTION {format.pages}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
712 { pages duplicate$ empty$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
713 { duplicate$ multi.page.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
714 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
715 bbl.pages swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
716 n.dashify
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
717 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
718 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
719 bbl.page swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
720 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
721 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
722 tie.or.space.prefix
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
723 "pages" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
724 * *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
725 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
726 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
727 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
728 FUNCTION {format.journal.pages}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
729 { pages duplicate$ empty$ 'pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
730 { swap$ duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
731 { pop$ pop$ format.pages }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
732 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
733 ", " *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
734 swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
735 n.dashify
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
736 "pages" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
737 *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
738 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
739 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
740 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
741 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
742 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
743 FUNCTION {format.journal.eid}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
744 { eid "eid" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
745 duplicate$ empty$ 'pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
746 { swap$ duplicate$ empty$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
747 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
748 ", " *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
749 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
750 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
751 swap$ *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
752 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
753 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
754 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
755 FUNCTION {format.vol.num.pages}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
756 { volume field.or.null
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
757 duplicate$ empty$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
758 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
759 "volume" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
760 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
761 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
762 bolden
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
763 number "number" bibinfo.check duplicate$ empty$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
764 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
765 swap$ duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
766 { "there's a number but no volume in " cite$ * warning$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
767 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
768 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
769 swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
770 "(" swap$ * ")" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
771 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
772 if$ *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
773 eid empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
774 { format.journal.pages }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
775 { format.journal.eid }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
776 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
777 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
778
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
779 FUNCTION {format.chapter.pages}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
780 { chapter empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
781 'format.pages
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
782 { type empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
783 { bbl.chapter }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
784 { type "l" change.case$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
785 "type" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
786 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
787 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
788 chapter tie.or.space.prefix
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
789 "chapter" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
790 * *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
791 pages empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
792 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
793 { ", " * format.pages * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
794 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
795 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
796 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
797 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
798
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
799 FUNCTION {format.booktitle}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
800 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
801 booktitle "booktitle" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
802 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
803 FUNCTION {format.in.ed.booktitle}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
804 { format.booktitle duplicate$ empty$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
805 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
806 format.bvolume duplicate$ empty$ 'pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
807 { ", " swap$ * * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
808 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
809 editor "editor" format.names.ed duplicate$ empty$ 'pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
810 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
811 " " *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
812 get.bbl.editor
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
813 "(" swap$ * ") " *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
814 * swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
815 * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
816 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
817 word.in swap$ *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
818 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
819 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
820 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
821 FUNCTION {empty.misc.check}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
822 { author empty$ title empty$ howpublished empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
823 month empty$ year empty$ note empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
824 and and and and and
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
825 key empty$ not and
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
826 { "all relevant fields are empty in " cite$ * warning$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
827 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
828 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
829 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
830 FUNCTION {format.thesis.type}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
831 { type duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
832 'pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
833 { swap$ pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
834 "t" change.case$ "type" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
835 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
836 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
837 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
838 FUNCTION {format.tr.number}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
839 { number "number" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
840 type duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
841 { pop$ bbl.techrep }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
842 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
843 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
844 "type" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
845 swap$ duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
846 { pop$ "t" change.case$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
847 { tie.or.space.prefix * * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
848 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
849 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
850 FUNCTION {format.article.crossref}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
851 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
852 key duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
853 { pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
854 journal duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
855 { "need key or journal for " cite$ * " to crossref " * crossref * warning$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
856 { "journal" bibinfo.check emphasize word.in swap$ * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
857 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
858 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
859 { word.in swap$ * " " *}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
860 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
861 " \cite{" * crossref * "}" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
862 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
863 FUNCTION {format.crossref.editor}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
864 { editor #1 "{vv~}{ll}" format.name$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
865 "editor" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
866 editor num.names$ duplicate$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
867 #2 >
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
868 { pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
869 "editor" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
870 " " * bbl.etal
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
871 *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
872 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
873 { #2 <
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
874 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
875 { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
876 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
877 "editor" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
878 " " * bbl.etal
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
879 *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
880 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
881 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
882 bbl.and space.word
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
883 * editor #2 "{vv~}{ll}" format.name$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
884 "editor" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
885 *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
886 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
887 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
888 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
889 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
890 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
891 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
892 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
893 FUNCTION {format.book.crossref}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
894 { volume duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
895 { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
896 pop$ word.in
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
897 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
898 { bbl.volume
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
899 capitalize
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
900 swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
901 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
902 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
903 editor empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
904 editor field.or.null author field.or.null =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
905 or
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
906 { key empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
907 { series empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
908 { "need editor, key, or series for " cite$ * " to crossref " *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
909 crossref * warning$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
910 "" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
911 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
912 { series emphasize * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
913 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
914 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
915 { key * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
916 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
917 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
918 { format.crossref.editor * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
919 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
920 " \cite{" * crossref * "}" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
921 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
922 FUNCTION {format.incoll.inproc.crossref}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
923 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
924 editor empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
925 editor field.or.null author field.or.null =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
926 or
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
927 { key empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
928 { format.booktitle duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
929 { "need editor, key, or booktitle for " cite$ * " to crossref " *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
930 crossref * warning$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
931 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
932 { word.in swap$ * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
933 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
934 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
935 { word.in key * " " *}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
936 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
937 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
938 { word.in format.crossref.editor * " " *}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
939 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
940 " \cite{" * crossref * "}" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
941 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
942 FUNCTION {format.org.or.pub}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
943 { 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
944 ""
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
945 address empty$ t empty$ and
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
946 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
947 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
948 t empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
949 { address "address" bibinfo.check *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
950 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
951 { t *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
952 address empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
953 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
954 { ", " * address "address" bibinfo.check * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
955 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
956 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
957 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
958 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
959 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
960 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
961 FUNCTION {format.publisher.address}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
962 { publisher "publisher" bibinfo.warn format.org.or.pub
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
963 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
964
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
965 FUNCTION {format.organization.address}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
966 { organization "organization" bibinfo.check format.org.or.pub
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
967 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
968
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
969 FUNCTION {article}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
970 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
971 format.authors "author" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
972 add.colon
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
973 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
974 format.title "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
975 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
976 crossref missing$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
977 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
978 journal
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
979 "journal" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
980 "journal" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
981 add.blank
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
982 format.vol.num.pages output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
983 format.date "year" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
984 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
985 { format.article.crossref output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
986 format.pages output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
987 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
988 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
989 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
990 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
991 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
992 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
993 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
994 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
995 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
996 FUNCTION {book}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
997 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
998 author empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
999 { format.editors "author and editor" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1000 add.colon
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1001 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1002 { format.authors output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1003 add.colon
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1004 crossref missing$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1005 { "author and editor" editor either.or.check }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1006 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1007 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1008 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1009 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1010 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1011 format.btitle "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1012 crossref missing$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1013 { format.bvolume output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1014 format.edition output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1015 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1016 format.number.series output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1017 new.sentence
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1018 format.publisher.address output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1019 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1020 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1021 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1022 format.book.crossref output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1023 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1024 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1025 format.date "year" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1026 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1027 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1028 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1029 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1030 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1031 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1032 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1033 FUNCTION {booklet}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1034 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1035 format.authors output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1036 add.colon
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1037 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1038 format.title "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1039 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1040 howpublished "howpublished" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1041 address "address" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1042 format.date output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1043 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1044 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1045 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1046 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1047 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1048 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1049 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1050
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1051 FUNCTION {inbook}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1052 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1053 author empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1054 { format.editors "author and editor" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1055 add.colon
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1056 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1057 { format.authors output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1058 add.colon
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1059 crossref missing$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1060 { "author and editor" editor either.or.check }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1061 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1062 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1063 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1064 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1065 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1066 format.btitle "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1067 crossref missing$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1068 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1069 format.bvolume output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1070 format.edition output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1071 format.chapter.pages "chapter and pages" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1072 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1073 format.number.series output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1074 new.sentence
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1075 format.publisher.address output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1076 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1077 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1078 format.chapter.pages "chapter and pages" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1079 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1080 format.book.crossref output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1081 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1082 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1083 format.date "year" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1084 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1085 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1086 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1087 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1088 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1089 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1090 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1091
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1092 FUNCTION {incollection}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1093 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1094 format.authors "author" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1095 add.colon
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1096 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1097 format.title "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1098 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1099 crossref missing$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1100 { format.in.ed.booktitle "booktitle" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1101 format.number.series output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1102 format.edition output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1103 format.chapter.pages output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1104 new.sentence
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1105 format.publisher.address output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1106 format.date "year" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1107 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1108 { format.incoll.inproc.crossref output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1109 format.chapter.pages output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1110 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1111 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1112 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1113 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1114 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1115 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1116 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1117 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1118 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1119 FUNCTION {inproceedings}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1120 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1121 format.authors "author" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1122 add.colon
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1123 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1124 format.title "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1125 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1126 crossref missing$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1127 { format.in.ed.booktitle "booktitle" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1128 format.number.series output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1129 format.pages output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1130 new.sentence
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1131 publisher empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1132 { format.organization.address output }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1133 { organization "organization" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1134 format.publisher.address output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1135 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1136 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1137 format.date "year" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1138 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1139 { format.incoll.inproc.crossref output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1140 format.pages output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1141 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1142 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1143 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1144 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1145 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1146 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1147 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1148 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1149 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1150 FUNCTION {conference} { inproceedings }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1151 FUNCTION {manual}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1152 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1153 author empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1154 { organization "organization" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1155 duplicate$ empty$ 'pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1156 { output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1157 address "address" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1158 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1159 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1160 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1161 { format.authors output.nonnull }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1162 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1163 add.colon
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1164 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1165 format.btitle "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1166 author empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1167 { organization empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1168 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1169 address new.block.checka
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1170 address "address" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1171 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1172 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1173 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1174 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1175 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1176 organization address new.block.checkb
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1177 organization "organization" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1178 address "address" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1179 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1180 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1181 format.edition output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1182 format.date output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1183 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1184 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1185 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1186 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1187 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1188 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1189 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1190
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1191 FUNCTION {mastersthesis}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1192 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1193 format.authors "author" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1194 add.colon
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1195 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1196 format.title
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1197 "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1198 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1199 bbl.mthesis format.thesis.type output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1200 school "school" bibinfo.warn output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1201 address "address" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1202 format.date "year" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1203 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1204 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1205 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1206 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1207 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1208 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1209 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1210
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1211 FUNCTION {misc}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1212 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1213 format.authors output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1214 add.colon
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1215 title howpublished new.block.checkb
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1216 format.title output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1217 howpublished new.block.checka
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1218 howpublished "howpublished" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1219 format.date output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1220 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1221 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1222 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1223 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1224 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1225 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1226 empty.misc.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1227 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1228 FUNCTION {phdthesis}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1229 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1230 format.authors "author" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1231 add.colon
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1232 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1233 format.title
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1234 "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1235 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1236 bbl.phdthesis format.thesis.type output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1237 school "school" bibinfo.warn output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1238 address "address" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1239 format.date "year" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1240 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1241 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1242 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1243 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1244 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1245 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1246 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1247
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1248 FUNCTION {proceedings}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1249 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1250 editor empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1251 { organization "organization" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1252 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1253 { format.editors output.nonnull }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1254 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1255 add.colon
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1256 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1257 format.btitle "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1258 format.bvolume output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1259 format.number.series output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1260 editor empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1261 { publisher empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1262 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1263 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1264 new.sentence
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1265 format.publisher.address output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1266 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1267 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1268 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1269 { publisher empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1270 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1271 new.sentence
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1272 format.organization.address output }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1273 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1274 new.sentence
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1275 organization "organization" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1276 format.publisher.address output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1277 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1278 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1279 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1280 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1281 format.date "year" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1282 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1283 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1284 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1285 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1286 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1287 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1288 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1289
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1290 FUNCTION {techreport}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1291 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1292 format.authors "author" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1293 add.colon
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1294 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1295 format.title
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1296 "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1297 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1298 format.tr.number output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1299 institution "institution" bibinfo.warn output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1300 address "address" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1301 format.date "year" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1302 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1303 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1304 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1305 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1306 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1307 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1308 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1309
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1310 FUNCTION {unpublished}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1311 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1312 format.authors "author" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1313 add.colon
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1314 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1315 format.title "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1316 format.date output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1317 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1318 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1319 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1320 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1321 format.note "note" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1322 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1323 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1324
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1325 FUNCTION {default.type} { misc }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1326 READ
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1327 FUNCTION {sortify}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1328 { purify$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1329 "l" change.case$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1330 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1331 INTEGERS { len }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1332 FUNCTION {chop.word}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1333 { 's :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1334 'len :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1335 s #1 len substring$ =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1336 { s len #1 + global.max$ substring$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1337 's
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1338 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1339 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1340 FUNCTION {sort.format.names}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1341 { 's :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1342 #1 'nameptr :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1343 ""
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1344 s num.names$ 'numnames :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1345 numnames 'namesleft :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1346 { namesleft #0 > }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1347 { s nameptr
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1348 "{ll{ }}{ f{ }}{ jj{ }}"
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1349 format.name$ 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1350 nameptr #1 >
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1351 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1352 " " *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1353 namesleft #1 = t "others" = and
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1354 { "zzzzz" * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1355 { t sortify * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1356 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1357 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1358 { t sortify * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1359 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1360 nameptr #1 + 'nameptr :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1361 namesleft #1 - 'namesleft :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1362 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1363 while$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1364 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1365
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1366 FUNCTION {sort.format.title}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1367 { 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1368 "A " #2
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1369 "An " #3
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1370 "The " #4 t chop.word
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1371 chop.word
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1372 chop.word
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1373 sortify
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1374 #1 global.max$ substring$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1375 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1376 FUNCTION {author.sort}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1377 { author empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1378 { key empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1379 { "to sort, need author or key in " cite$ * warning$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1380 ""
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1381 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1382 { key sortify }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1383 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1384 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1385 { author sort.format.names }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1386 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1387 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1388 FUNCTION {author.editor.sort}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1389 { author empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1390 { editor empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1391 { key empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1392 { "to sort, need author, editor, or key in " cite$ * warning$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1393 ""
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1394 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1395 { key sortify }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1396 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1397 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1398 { editor sort.format.names }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1399 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1400 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1401 { author sort.format.names }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1402 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1403 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1404 FUNCTION {author.organization.sort}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1405 { author empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1406 { organization empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1407 { key empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1408 { "to sort, need author, organization, or key in " cite$ * warning$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1409 ""
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1410 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1411 { key sortify }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1412 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1413 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1414 { "The " #4 organization chop.word sortify }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1415 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1416 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1417 { author sort.format.names }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1418 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1419 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1420 FUNCTION {editor.organization.sort}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1421 { editor empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1422 { organization empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1423 { key empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1424 { "to sort, need editor, organization, or key in " cite$ * warning$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1425 ""
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1426 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1427 { key sortify }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1428 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1429 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1430 { "The " #4 organization chop.word sortify }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1431 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1432 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1433 { editor sort.format.names }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1434 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1435 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1436 FUNCTION {presort}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1437 { type$ "book" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1438 type$ "inbook" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1439 or
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1440 'author.editor.sort
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1441 { type$ "proceedings" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1442 'editor.organization.sort
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1443 { type$ "manual" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1444 'author.organization.sort
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1445 'author.sort
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1446 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1447 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1448 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1449 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1450 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1451 " "
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1452 *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1453 year field.or.null sortify
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1454 *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1455 " "
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1456 *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1457 title field.or.null
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1458 sort.format.title
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1459 *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1460 #1 entry.max$ substring$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1461 'sort.key$ :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1462 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1463 ITERATE {presort}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1464 SORT
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1465 STRINGS { longest.label }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1466 INTEGERS { number.label longest.label.width }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1467 FUNCTION {initialize.longest.label}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1468 { "" 'longest.label :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1469 #1 'number.label :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1470 #0 'longest.label.width :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1471 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1472 FUNCTION {longest.label.pass}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1473 { number.label int.to.str$ 'label :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1474 number.label #1 + 'number.label :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1475 label width$ longest.label.width >
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1476 { label 'longest.label :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1477 label width$ 'longest.label.width :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1478 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1479 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1480 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1481 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1482 EXECUTE {initialize.longest.label}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1483 ITERATE {longest.label.pass}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1484 FUNCTION {begin.bib}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1485 { preamble$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1486 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1487 { preamble$ write$ newline$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1488 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1489 "\begin{thebibliography}{" longest.label * "}" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1490 write$ newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1491 "\providecommand{\url}[1]{{#1}}"
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1492 write$ newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1493 "\providecommand{\urlprefix}{URL }"
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1494 write$ newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1495 "\expandafter\ifx\csname urlstyle\endcsname\relax"
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1496 write$ newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1497 " \providecommand{\doi}[1]{DOI~\discretionary{}{}{}#1}\else"
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1498 write$ newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1499 " \providecommand{\doi}{DOI~\discretionary{}{}{}\begingroup \urlstyle{rm}\Url}\fi"
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1500 write$ newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1501 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1502 EXECUTE {begin.bib}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1503 EXECUTE {init.state.consts}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1504 ITERATE {call.type$}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1505 FUNCTION {end.bib}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1506 { newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1507 "\end{thebibliography}" write$ newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1508 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1509 EXECUTE {end.bib}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1510 %% End of customized bst file
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1511 %%
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1512 %% End of file `spmpsci.bst'.
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1513