annotate writeup/mlj_submission/spbasic.bst @ 615:337253b82409

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