annotate writeup/mlj_submission/spphys.bst @ 644:e63d23c7c9fb

reviews aistats finales
author Yoshua Bengio <bengioy@iro.umontreal.ca>
date Thu, 24 Mar 2011 17:05:05 -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 `spphys.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: `seq-no,vonx,nm-init,ed-au,yr-par,xmth,jtit-x,jttl-rm,thtit-a,vol-bf,volp-com,jpg-1,pgsep-c,num-xser,ser-vol,ser-ed,jnm-x,pub-date,pre-pub,doi,edpar,edby,fin-bare,pp,ed,abr,ord,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 physics publications. Based on the APS reference style. %%
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
12 %% Report bugs and improvements to: Joylene Vette-Guillaume or Frank Holzwarth %%
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
13 %% Springer-Verlag 2004/10/15 %%
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
14 %% %%
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 %% Copyright 1994-2004 Patrick W Daly
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
18 % ===============================================================
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
19 % IMPORTANT NOTICE:
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
20 % This bibliographic style (bst) file has been generated from one or
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
21 % more master bibliographic style (mbs) files, listed above.
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
22 %
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
23 % This generated file can be redistributed and/or modified under the terms
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
24 % of the LaTeX Project Public License Distributed from CTAN
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
25 % archives in directory macros/latex/base/lppl.txt; either
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
26 % version 1 of the License, or any later version.
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
27 % ===============================================================
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
28 % Name and version information of the main mbs file:
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
29 % \ProvidesFile{merlin.mbs}[2004/02/09 4.13 (PWD, AO, DPC)]
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
30 % For use with BibTeX version 0.99a or later
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
31 %-------------------------------------------------------------------
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
32 % This bibliography style file is intended for texts in ENGLISH
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
33 % This is a numerical citation style, and as such is standard LaTeX.
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
34 % It requires no extra package to interface to the main text.
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
35 % The form of the \bibitem entries is
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
36 % \bibitem{key}...
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
37 % Usage of \cite is as follows:
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
38 % \cite{key} ==>> [#]
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
39 % \cite[chap. 2]{key} ==>> [#, chap. 2]
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
40 % where # is a number determined by the ordering in the reference list.
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
41 % The order in the reference list is that by which the works were originally
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
42 % cited in the text, or that in the database.
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.comma}
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 { "ed. 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 FUNCTION {bbl.first}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
284 { "1st" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
285
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
286 FUNCTION {bbl.second}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
287 { "2nd" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
288
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
289 FUNCTION {bbl.third}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
290 { "3rd" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
291
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
292 FUNCTION {bbl.fourth}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
293 { "4th" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
294
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
295 FUNCTION {bbl.fifth}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
296 { "5th" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
297
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
298 FUNCTION {bbl.st}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
299 { "st" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
300
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
301 FUNCTION {bbl.nd}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
302 { "nd" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
303
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
304 FUNCTION {bbl.rd}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
305 { "rd" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
306
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
307 FUNCTION {bbl.th}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
308 { "th" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
309
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
310 MACRO {jan} {"Jan."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
311
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
312 MACRO {feb} {"Feb."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
313
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
314 MACRO {mar} {"Mar."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
315
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
316 MACRO {apr} {"Apr."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
317
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
318 MACRO {may} {"May"}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
319
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
320 MACRO {jun} {"Jun."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
321
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
322 MACRO {jul} {"Jul."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
323
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
324 MACRO {aug} {"Aug."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
325
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
326 MACRO {sep} {"Sep."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
327
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
328 MACRO {oct} {"Oct."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
329
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
330 MACRO {nov} {"Nov."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
331
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
332 MACRO {dec} {"Dec."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
333
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
334 FUNCTION {eng.ord}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
335 { duplicate$ "1" swap$ *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
336 #-2 #1 substring$ "1" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
337 { bbl.th * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
338 { duplicate$ #-1 #1 substring$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
339 duplicate$ "1" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
340 { pop$ bbl.st * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
341 { duplicate$ "2" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
342 { pop$ bbl.nd * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
343 { "3" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
344 { bbl.rd * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
345 { bbl.th * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
346 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
347 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
348 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
349 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
350 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
351 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
352 if$
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 MACRO {acmcs} {"ACM Comput. Surv."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
356
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
357 MACRO {acta} {"Acta Inf."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
358
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
359 MACRO {cacm} {"Commun. ACM"}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
360
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
361 MACRO {ibmjrd} {"IBM J. Res. Dev."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
362
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
363 MACRO {ibmsj} {"IBM Syst.~J."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
364
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
365 MACRO {ieeese} {"IEEE Trans. Software Eng."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
366
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
367 MACRO {ieeetc} {"IEEE Trans. Comput."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
368
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
369 MACRO {ieeetcad}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
370 {"IEEE Trans. Comput. Aid. Des."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
371
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
372 MACRO {ipl} {"Inf. Process. Lett."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
373
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
374 MACRO {jacm} {"J.~ACM"}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
375
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
376 MACRO {jcss} {"J.~Comput. Syst. Sci."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
377
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
378 MACRO {scp} {"Sci. Comput. Program."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
379
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
380 MACRO {sicomp} {"SIAM J. Comput."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
381
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
382 MACRO {tocs} {"ACM Trans. Comput. Syst."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
383
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
384 MACRO {tods} {"ACM Trans. Database Syst."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
385
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
386 MACRO {tog} {"ACM Trans. Graphic."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
387
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
388 MACRO {toms} {"ACM Trans. Math. Software"}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
389
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
390 MACRO {toois} {"ACM Trans. Office Inf. Syst."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
391
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
392 MACRO {toplas} {"ACM Trans. Progr. Lang. Syst."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
393
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
394 MACRO {tcs} {"Theor. Comput. Sci."}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
395
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
396 FUNCTION {bibinfo.check}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
397 { swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
398 duplicate$ missing$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
399 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
400 pop$ pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
401 ""
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
402 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
403 { duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
404 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
405 swap$ pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
406 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
407 { swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
408 pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
409 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
410 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
411 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
412 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
413 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
414 FUNCTION {bibinfo.warn}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
415 { swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
416 duplicate$ missing$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
417 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
418 swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
419 ""
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
420 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
421 { duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
422 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
423 swap$ "empty " swap$ * " in " * cite$ * warning$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
424 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
425 { swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
426 pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
427 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
428 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
429 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
430 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
431 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
432 FUNCTION {format.url}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
433 { url empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
434 { "" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
435 { "\urlprefix\url{" url * "}" * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
436 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
437 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
438
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
439 STRINGS { bibinfo}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
440 INTEGERS { nameptr namesleft numnames }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
441
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
442 FUNCTION {format.names}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
443 { 'bibinfo :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
444 duplicate$ empty$ 'skip$ {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
445 's :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
446 "" 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
447 #1 'nameptr :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
448 s num.names$ 'numnames :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
449 numnames 'namesleft :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
450 { namesleft #0 > }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
451 { s nameptr
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
452 "{f{.}.~}{vv~}{ll}{, jj}"
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
453 format.name$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
454 bibinfo bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
455 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
456 nameptr #1 >
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
457 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
458 namesleft #1 >
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
459 { ", " * t * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
460 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
461 "," *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
462 s nameptr "{ll}" format.name$ duplicate$ "others" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
463 { 't := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
464 { pop$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
465 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
466 t "others" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
467 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
468 " " * bbl.etal *
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 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
473 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
474 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
475 't
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
476 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
477 nameptr #1 + 'nameptr :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
478 namesleft #1 - 'namesleft :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
479 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
480 while$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
481 } if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
482 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
483 FUNCTION {format.names.ed}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
484 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
485 format.names
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
486 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
487 FUNCTION {format.authors}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
488 { author "author" format.names
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
489 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
490 FUNCTION {get.bbl.editor}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
491 { editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
492
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
493 FUNCTION {format.editors}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
494 { editor "editor" format.names duplicate$ empty$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
495 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
496 " " *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
497 get.bbl.editor
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
498 "(" swap$ * ")" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
499 *
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.doi}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
504 { doi "doi" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
505 duplicate$ empty$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
506 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
507 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
508 "\doi{" swap$ * "}" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
509 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
510 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
511 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
512 FUNCTION {format.note}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
513 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
514 note empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
515 { "" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
516 { note #1 #1 substring$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
517 duplicate$ "{" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
518 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
519 { output.state mid.sentence =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
520 { "l" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
521 { "u" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
522 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
523 change.case$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
524 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
525 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
526 note #2 global.max$ substring$ * "note" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
527 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
528 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
529 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
530
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
531 FUNCTION {format.title}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
532 { title
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
533 duplicate$ empty$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
534 { "t" change.case$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
535 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
536 "title" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
537 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
538 FUNCTION {output.bibitem}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
539 { newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
540 "\bibitem{" write$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
541 cite$ write$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
542 "}" write$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
543 newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
544 ""
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
545 before.all 'output.state :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
546 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
547
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
548 FUNCTION {if.digit}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
549 { duplicate$ "0" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
550 swap$ duplicate$ "1" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
551 swap$ duplicate$ "2" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
552 swap$ duplicate$ "3" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
553 swap$ duplicate$ "4" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
554 swap$ duplicate$ "5" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
555 swap$ duplicate$ "6" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
556 swap$ duplicate$ "7" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
557 swap$ duplicate$ "8" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
558 swap$ "9" = or or or or or or or or or
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
559 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
560 FUNCTION {n.separate}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
561 { 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
562 ""
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
563 #0 'numnames :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
564 { t empty$ not }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
565 { t #-1 #1 substring$ if.digit
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
566 { numnames #1 + 'numnames := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
567 { #0 'numnames := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
568 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
569 t #-1 #1 substring$ swap$ *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
570 t #-2 global.max$ substring$ 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
571 numnames #5 =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
572 { duplicate$ #1 #2 substring$ swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
573 #3 global.max$ substring$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
574 "," swap$ * *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
575 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
576 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
577 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
578 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
579 while$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
580 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
581 FUNCTION {n.dashify}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
582 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
583 n.separate
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
584 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
585 ""
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
586 { t empty$ not }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
587 { t #1 #1 substring$ "-" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
588 { t #1 #2 substring$ "--" = not
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
589 { "--" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
590 t #2 global.max$ substring$ 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
591 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
592 { { t #1 #1 substring$ "-" = }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
593 { "-" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
594 t #2 global.max$ substring$ 't :=
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 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
599 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
600 { t #1 #1 substring$ *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
601 t #2 global.max$ substring$ 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
602 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
603 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
604 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
605 while$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
606 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
607
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
608 FUNCTION {word.in}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
609 { bbl.in
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
610 " " * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
611
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
612 FUNCTION {format.date}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
613 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
614 ""
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
615 duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
616 year "year" bibinfo.check duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
617 { swap$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
618 { "there's a month but no year in " cite$ * warning$ }
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 { swap$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
623 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
624 swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
625 " " * swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
626 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
627 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
628 *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
629 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
630 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
631 duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
632 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
633 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
634 before.all 'output.state :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
635 " (" swap$ * ")" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
636 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
637 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
638 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
639 FUNCTION {format.btitle}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
640 { title "title" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
641 duplicate$ empty$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
642 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
643 emphasize
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
644 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
645 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
646 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
647 FUNCTION {either.or.check}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
648 { empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
649 'pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
650 { "can't use both " swap$ * " fields in " * cite$ * warning$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
651 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
652 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
653 FUNCTION {format.bvolume}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
654 { volume empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
655 { "" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
656 { bbl.volume volume tie.or.space.prefix
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
657 "volume" bibinfo.check * *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
658 series "series" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
659 duplicate$ empty$ 'pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
660 { emphasize ", " * swap$ * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
661 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
662 "volume and number" number either.or.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
663 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
664 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
665 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
666 FUNCTION {format.number.series}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
667 { volume empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
668 { number empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
669 { series field.or.null }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
670 { series empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
671 { number "number" bibinfo.check }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
672 { output.state mid.sentence =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
673 { bbl.number }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
674 { bbl.number capitalize }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
675 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
676 number tie.or.space.prefix "number" bibinfo.check * *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
677 bbl.in space.word *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
678 series "series" bibinfo.check *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
679 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
680 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
681 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
682 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
683 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
684 { "" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
685 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
686 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
687 FUNCTION {is.num}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
688 { chr.to.int$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
689 duplicate$ "0" chr.to.int$ < not
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
690 swap$ "9" chr.to.int$ > not and
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
691 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
692
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
693 FUNCTION {extract.num}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
694 { duplicate$ 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
695 "" 's :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
696 { t empty$ not }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
697 { t #1 #1 substring$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
698 t #2 global.max$ substring$ 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
699 duplicate$ is.num
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
700 { s swap$ * 's := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
701 { pop$ "" 't := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
702 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
703 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
704 while$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
705 s empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
706 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
707 { pop$ s }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
708 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
709 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
710
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
711 FUNCTION {convert.edition}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
712 { extract.num "l" change.case$ 's :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
713 s "first" = s "1" = or
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
714 { bbl.first 't := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
715 { s "second" = s "2" = or
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
716 { bbl.second 't := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
717 { s "third" = s "3" = or
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
718 { bbl.third 't := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
719 { s "fourth" = s "4" = or
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
720 { bbl.fourth 't := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
721 { s "fifth" = s "5" = or
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
722 { bbl.fifth 't := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
723 { s #1 #1 substring$ is.num
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
724 { s eng.ord 't := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
725 { edition 't := }
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 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
729 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
730 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
731 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
732 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
733 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
734 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
735 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
736 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
737 t
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
738 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
739
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
740 FUNCTION {format.edition}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
741 { edition duplicate$ empty$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
742 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
743 convert.edition
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
744 output.state mid.sentence =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
745 { "l" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
746 { "t" }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
747 if$ change.case$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
748 "edition" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
749 " " * bbl.edition *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
750 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
751 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
752 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
753 INTEGERS { multiresult }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
754 FUNCTION {multi.page.check}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
755 { 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
756 #0 'multiresult :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
757 { multiresult not
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
758 t empty$ not
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
759 and
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
760 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
761 { t #1 #1 substring$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
762 duplicate$ "-" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
763 swap$ duplicate$ "," =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
764 swap$ "+" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
765 or or
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
766 { #1 'multiresult := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
767 { t #2 global.max$ substring$ 't := }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
768 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
769 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
770 while$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
771 multiresult
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
772 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
773 FUNCTION {format.pages}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
774 { pages duplicate$ empty$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
775 { duplicate$ multi.page.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
776 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
777 bbl.pages swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
778 n.dashify
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
779 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
780 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
781 bbl.page swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
782 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
783 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
784 tie.or.space.prefix
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
785 "pages" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
786 * *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
787 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
788 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
789 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
790 FUNCTION {first.page}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
791 { 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
792 ""
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
793 { t empty$ not t #1 #1 substring$ "-" = not and }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
794 { t #1 #1 substring$ *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
795 t #2 global.max$ substring$ 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
796 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
797 while$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
798 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
799
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
800 FUNCTION {format.journal.pages}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
801 { pages duplicate$ empty$ 'pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
802 { swap$ duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
803 { pop$ pop$ format.pages }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
804 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
805 ", " *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
806 swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
807 first.page
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
808 "pages" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
809 *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
810 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
811 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
812 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
813 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
814 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
815 FUNCTION {format.journal.eid}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
816 { eid "eid" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
817 duplicate$ empty$ 'pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
818 { swap$ duplicate$ empty$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
819 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
820 ", " *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
821 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
822 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
823 swap$ *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
824 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
825 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
826 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
827 FUNCTION {format.vol.num.pages}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
828 { volume field.or.null
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
829 duplicate$ empty$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
830 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
831 "volume" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
832 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
833 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
834 bolden
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
835 number "number" bibinfo.check duplicate$ empty$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
836 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
837 swap$ duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
838 { "there's a number but no volume in " cite$ * warning$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
839 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
840 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
841 swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
842 "(" swap$ * ")" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
843 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
844 if$ *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
845 eid empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
846 { format.journal.pages }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
847 { format.journal.eid }
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
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
851 FUNCTION {format.chapter.pages}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
852 { chapter empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
853 'format.pages
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
854 { type empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
855 { bbl.chapter }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
856 { type "l" change.case$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
857 "type" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
858 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
859 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
860 chapter tie.or.space.prefix
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
861 "chapter" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
862 * *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
863 pages empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
864 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
865 { ", " * format.pages * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
866 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
867 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
868 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
869 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
870
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
871 FUNCTION {format.booktitle}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
872 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
873 booktitle "booktitle" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
874 emphasize
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
875 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
876 FUNCTION {format.in.ed.booktitle}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
877 { format.booktitle duplicate$ empty$ 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
878 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
879 format.bvolume duplicate$ empty$ 'pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
880 { ", " swap$ * * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
881 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
882 editor "editor" format.names.ed duplicate$ empty$ 'pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
883 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
884 bbl.edby
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
885 " " * swap$ *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
886 swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
887 "," *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
888 " " * swap$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
889 * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
890 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
891 word.in swap$ *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
892 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
893 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
894 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
895 FUNCTION {empty.misc.check}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
896 { author empty$ title empty$ howpublished empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
897 month empty$ year empty$ note empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
898 and and and and and
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
899 { "all relevant fields are empty in " cite$ * warning$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
900 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
901 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
902 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
903 FUNCTION {format.thesis.type}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
904 { type duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
905 'pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
906 { swap$ pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
907 "t" change.case$ "type" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
908 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
909 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
910 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
911 FUNCTION {format.tr.number}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
912 { number "number" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
913 type duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
914 { pop$ bbl.techrep }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
915 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
916 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
917 "type" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
918 swap$ duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
919 { pop$ "t" change.case$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
920 { tie.or.space.prefix * * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
921 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
922 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
923 FUNCTION {format.article.crossref}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
924 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
925 key duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
926 { pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
927 journal duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
928 { "need key or journal for " cite$ * " to crossref " * crossref * warning$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
929 { "journal" bibinfo.check emphasize word.in swap$ * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
930 if$
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 " \cite{" * crossref * "}" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
935 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
936 FUNCTION {format.crossref.editor}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
937 { editor #1 "{vv~}{ll}" format.name$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
938 "editor" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
939 editor num.names$ duplicate$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
940 #2 >
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
941 { pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
942 "editor" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
943 " " * bbl.etal
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
944 *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
945 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
946 { #2 <
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
947 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
948 { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
949 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
950 "editor" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
951 " " * bbl.etal
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
952 *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
953 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
954 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
955 bbl.and space.word
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
956 * editor #2 "{vv~}{ll}" format.name$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
957 "editor" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
958 *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
959 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
960 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
961 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
962 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
963 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
964 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
965 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
966 FUNCTION {format.book.crossref}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
967 { volume duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
968 { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
969 pop$ word.in
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
970 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
971 { bbl.volume
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
972 capitalize
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
973 swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
974 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
975 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
976 editor empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
977 editor field.or.null author field.or.null =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
978 or
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
979 { key empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
980 { series empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
981 { "need editor, key, or series for " cite$ * " to crossref " *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
982 crossref * warning$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
983 "" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
984 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
985 { series emphasize * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
986 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
987 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
988 { key * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
989 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
990 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
991 { format.crossref.editor * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
992 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
993 " \cite{" * crossref * "}" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
994 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
995 FUNCTION {format.incoll.inproc.crossref}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
996 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
997 editor empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
998 editor field.or.null author field.or.null =
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
999 or
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1000 { key empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1001 { format.booktitle duplicate$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1002 { "need editor, key, or booktitle for " cite$ * " to crossref " *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1003 crossref * warning$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1004 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1005 { word.in swap$ * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1006 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1007 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1008 { word.in key * " " *}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1009 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1010 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1011 { word.in format.crossref.editor * " " *}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1012 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1013 " \cite{" * crossref * "}" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1014 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1015 FUNCTION {format.org.or.pub}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1016 { 't :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1017 ""
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1018 year empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1019 { "empty year in " cite$ * warning$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1020 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1021 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1022 address empty$ t empty$ and
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1023 year empty$ and
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1024 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1025 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1026 add.blank "(" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1027 t empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1028 { address "address" bibinfo.check *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1029 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1030 { t *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1031 address empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1032 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1033 { ", " * address "address" bibinfo.check * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1034 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1035 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1036 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1037 year empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1038 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1039 { t empty$ address empty$ and
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1040 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1041 { ", " * }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1042 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1043 year "year" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1044 *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1045 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1046 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1047 ")" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1048 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1049 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1050 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1051 FUNCTION {format.publisher.address}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1052 { publisher "publisher" bibinfo.warn format.org.or.pub
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1053 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1054
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1055 FUNCTION {format.organization.address}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1056 { organization "organization" bibinfo.check format.org.or.pub
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1057 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1058
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1059 FUNCTION {article}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1060 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1061 format.authors "author" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1062 add.comma
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1063 crossref missing$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1064 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1065 journal
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1066 "journal" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1067 "journal" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1068 add.blank
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1069 format.vol.num.pages output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1070 format.date "year" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1071 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1072 { format.article.crossref output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1073 format.pages output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1074 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1075 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1076 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1077 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1078 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1079 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1080 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1081 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1082 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1083 FUNCTION {book}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1084 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1085 author empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1086 { format.editors "author and editor" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1087 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1088 { format.authors output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1089 crossref missing$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1090 { "author and editor" editor either.or.check }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1091 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1092 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1093 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1094 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1095 add.comma
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1096 format.btitle "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1097 crossref missing$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1098 { format.bvolume output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1099 format.edition output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1100 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1101 format.number.series output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1102 new.sentence
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1103 format.publisher.address output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1104 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1105 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1106 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1107 format.book.crossref output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1108 format.date "year" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1109 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1110 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1111 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1112 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1113 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1114 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1115 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1116 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1117 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1118 FUNCTION {booklet}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1119 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1120 format.authors output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1121 add.comma
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1122 format.title "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1123 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1124 howpublished "howpublished" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1125 address "address" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1126 format.date output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1127 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1128 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1129 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1130 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1131 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1132 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1133 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1134
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1135 FUNCTION {inbook}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1136 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1137 author empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1138 { format.editors "author and editor" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1139 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1140 { format.authors output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1141 crossref missing$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1142 { "author and editor" editor either.or.check }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1143 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1144 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1145 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1146 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1147 add.comma
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1148 format.btitle "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1149 crossref missing$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1150 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1151 format.publisher.address output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1152 format.bvolume output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1153 format.edition output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1154 format.chapter.pages "chapter and pages" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1155 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1156 format.number.series output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1157 new.sentence
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1158 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1159 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1160 format.chapter.pages "chapter and pages" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1161 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1162 format.book.crossref output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1163 format.date "year" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1164 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1165 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1166 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1167 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1168 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1169 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1170 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1171 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1172 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1173
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1174 FUNCTION {incollection}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1175 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1176 format.authors "author" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1177 add.comma
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1178 crossref missing$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1179 { format.in.ed.booktitle "booktitle" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1180 format.edition output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1181 format.number.series output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1182 format.publisher.address output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1183 format.chapter.pages output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1184 new.sentence
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1185 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1186 { format.incoll.inproc.crossref output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1187 format.chapter.pages output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1188 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1189 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1190 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1191 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1192 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1193 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1194 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1195 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1196 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1197 FUNCTION {inproceedings}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1198 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1199 format.authors "author" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1200 add.comma
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1201 crossref missing$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1202 { format.in.ed.booktitle "booktitle" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1203 new.sentence
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1204 publisher empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1205 { format.organization.address output }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1206 { organization "organization" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1207 format.publisher.address output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1208 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1209 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1210 format.bvolume output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1211 format.number.series output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1212 format.pages output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1213 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1214 { format.incoll.inproc.crossref output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1215 format.pages output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1216 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1217 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1218 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1219 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1220 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1221 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1222 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1223 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1224 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1225 FUNCTION {conference} { inproceedings }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1226 FUNCTION {manual}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1227 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1228 author empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1229 { organization "organization" bibinfo.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1230 duplicate$ empty$ 'pop$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1231 { output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1232 address "address" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1233 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1234 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1235 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1236 { format.authors output.nonnull }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1237 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1238 add.comma
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1239 format.btitle "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1240 author empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1241 { organization empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1242 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1243 address new.block.checka
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1244 address "address" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1245 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1246 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1247 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1248 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1249 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1250 organization address new.block.checkb
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 address "address" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1253 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1254 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1255 format.edition output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1256 format.date output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1257 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1258 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1259 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1260 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1261 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1262 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1263 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1264
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1265 FUNCTION {mastersthesis}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1266 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1267 format.authors "author" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1268 add.comma
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1269 format.title
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1270 "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1271 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1272 bbl.mthesis format.thesis.type output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1273 school "school" bibinfo.warn output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1274 address "address" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1275 format.date "year" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1276 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1277 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1278 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1279 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1280 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1281 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1282 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1283
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1284 FUNCTION {misc}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1285 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1286 format.authors output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1287 title howpublished new.block.checkb
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1288 format.title output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1289 howpublished new.block.checka
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1290 howpublished "howpublished" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1291 format.date output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1292 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1293 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1294 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1295 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1296 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1297 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1298 empty.misc.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1299 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1300 FUNCTION {phdthesis}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1301 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1302 format.authors "author" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1303 add.comma
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1304 format.title
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1305 "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1306 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1307 bbl.phdthesis format.thesis.type output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1308 school "school" bibinfo.warn output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1309 address "address" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1310 format.date "year" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1311 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1312 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1313 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1314 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1315 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1316 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1317 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1318
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1319 FUNCTION {proceedings}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1320 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1321 editor empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1322 { organization "organization" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1323 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1324 { format.editors output.nonnull }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1325 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1326 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1327 format.btitle "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1328 format.bvolume output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1329 format.number.series output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1330 editor empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1331 { publisher empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1332 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1333 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1334 new.sentence
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1335 format.publisher.address output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1336 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1337 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1338 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1339 { publisher empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1340 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1341 new.sentence
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1342 format.organization.address output }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1343 {
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1344 new.sentence
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1345 organization "organization" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1346 format.publisher.address output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1347 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1348 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1349 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1350 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1351 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1352 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1353 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1354 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1355 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1356 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1357 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1358
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1359 FUNCTION {techreport}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1360 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1361 format.authors "author" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1362 add.comma
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1363 format.title
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1364 "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1365 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1366 format.tr.number output.nonnull
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1367 institution "institution" bibinfo.warn output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1368 address "address" bibinfo.check output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1369 format.date "year" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1370 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1371 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1372 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1373 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1374 format.note output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1375 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1376 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1377
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1378 FUNCTION {unpublished}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1379 { output.bibitem
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1380 format.authors "author" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1381 add.comma
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1382 format.title "title" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1383 format.date output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1384 format.doi output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1385 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1386 format.url output
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1387 new.block
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1388 format.note "note" output.check
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1389 fin.entry
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1390 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1391
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1392 FUNCTION {default.type} { misc }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1393 READ
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1394 STRINGS { longest.label }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1395 INTEGERS { number.label longest.label.width }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1396 FUNCTION {initialize.longest.label}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1397 { "" 'longest.label :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1398 #1 'number.label :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1399 #0 'longest.label.width :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1400 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1401 FUNCTION {longest.label.pass}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1402 { number.label int.to.str$ 'label :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1403 number.label #1 + 'number.label :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1404 label width$ longest.label.width >
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1405 { label 'longest.label :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1406 label width$ 'longest.label.width :=
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1407 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1408 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1409 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1410 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1411 EXECUTE {initialize.longest.label}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1412 ITERATE {longest.label.pass}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1413 FUNCTION {begin.bib}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1414 { preamble$ empty$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1415 'skip$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1416 { preamble$ write$ newline$ }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1417 if$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1418 "\begin{thebibliography}{" longest.label * "}" *
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1419 write$ newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1420 "\providecommand{\url}[1]{{#1}}"
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1421 write$ newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1422 "\providecommand{\urlprefix}{URL }"
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1423 write$ newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1424 "\expandafter\ifx\csname urlstyle\endcsname\relax"
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1425 write$ newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1426 " \providecommand{\doi}[1]{DOI \discretionary{}{}{}#1}\else"
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1427 write$ newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1428 " \providecommand{\doi}{DOI \discretionary{}{}{}\begingroup \urlstyle{rm}\Url}\fi"
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1429 write$ newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1430 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1431 EXECUTE {begin.bib}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1432 EXECUTE {init.state.consts}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1433 ITERATE {call.type$}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1434 FUNCTION {end.bib}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1435 { newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1436 "\end{thebibliography}" write$ newline$
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1437 }
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1438 EXECUTE {end.bib}
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1439 %% End of customized bst file
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1440 %%
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1441 %% End of file `spphys.bst'.
0cf2c4f9ed79 added springer latex stuff
fsavard
parents:
diff changeset
1442