Debian Codegraph @

texmf-dist/bibtex/bst/besjournals/besjournals.bst

raw
1 %%
2 %% This is file `functional_ecol.bst',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% merlin.mbs (with options: `head,ay,nat,nm-rvvc,jnrlab,keyxyr,dt-beg,yr-par,yrp-x,note-yr,vol-bf,vnum-x,volp-com,num-xser,jnm-x,edpar,edby-par,edbyx,blk-tit,in-x,pp,ed,abr,xedn,amper,and-xcom,etal-xc,etal-it,nfss,,{}')
8 %% physjour.mbs (with options: `ay,nat,nm-rvvc,jnrlab,keyxyr,dt-beg,yr-par,yrp-x,note-yr,vol-bf,vnum-x,volp-com,num-xser,jnm-x,edpar,edby-par,edbyx,blk-tit,in-x,pp,ed,abr,xedn,amper,and-xcom,etal-xc,etal-it,nfss,,{}')
9 %% geojour.mbs (with options: `ay,nat,nm-rvvc,jnrlab,keyxyr,dt-beg,yr-par,yrp-x,note-yr,vol-bf,vnum-x,volp-com,num-xser,jnm-x,edpar,edby-par,edbyx,blk-tit,in-x,pp,ed,abr,xedn,amper,and-xcom,etal-xc,etal-it,nfss,,{}')
10 %% photjour.mbs (with options: `ay,nat,nm-rvvc,jnrlab,keyxyr,dt-beg,yr-par,yrp-x,note-yr,vol-bf,vnum-x,volp-com,num-xser,jnm-x,edpar,edby-par,edbyx,blk-tit,in-x,pp,ed,abr,xedn,amper,and-xcom,etal-xc,etal-it,nfss,,{}')
11 %% merlin.mbs (with options: `tail,ay,nat,nm-rvvc,jnrlab,keyxyr,dt-beg,yr-par,yrp-x,note-yr,vol-bf,vnum-x,volp-com,num-xser,jnm-x,edpar,edby-par,edbyx,blk-tit,in-x,pp,ed,abr,xedn,amper,and-xcom,etal-xc,etal-it,nfss,,{}')
12 %% ----------------------------------------
13 %% *** BibTeX style (bst) for Functional Ecology ***
14 %% Created by Og DeSouza <[email protected]>
15 %% using custom-bib
16 %% Copyright 1994-2011 Patrick W Daly
17 % ===============================================================
18 % IMPORTANT NOTICE:
19 % This bibliographic style (bst) file has been generated from one or
20 % more master bibliographic style (mbs) files, listed above.
21 %
22 % This generated file can be redistributed and/or modified under the terms
23 % of the LaTeX Project Public License Distributed from CTAN
24 % archives in directory macros/latex/base/lppl.txt; either
25 % version 1 of the License, or any later version.
26 % ===============================================================
27 % Name and version information of the main mbs file:
28 % \ProvidesFile{merlin.mbs}[2011/11/18 4.33 (PWD, AO, DPC)]
29 % For use with BibTeX version 0.99a or later
30 %-------------------------------------------------------------------
31 % This bibliography style file is intended for texts in ENGLISH
32 % This is an author-year citation style bibliography. As such, it is
33 % non-standard LaTeX, and requires a special package file to function properly.
34 % Such a package is natbib.sty by Patrick W. Daly
35 % The form of the \bibitem entries is
36 % \bibitem[Jones et al.(1990)]{key}...
37 % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
38 % The essential feature is that the label (the part in brackets) consists
39 % of the author names, as they should appear in the citation, with the year
40 % in parentheses following. There must be no space before the opening
41 % parenthesis!
42 % With natbib v5.3, a full list of authors may also follow the year.
43 % In natbib.sty, it is possible to define the type of enclosures that is
44 % really wanted (brackets or parentheses), but in either case, there must
45 % be parentheses in the label.
46 % The \cite command functions as follows:
47 % \citet{key} ==>> Jones et al. (1990)
48 % \citet*{key} ==>> Jones, Baker, and Smith (1990)
49 % \citep{key} ==>> (Jones et al., 1990)
50 % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
51 % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
52 % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
53 % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., 1990, p. 32)
54 % \citeauthor{key} ==>> Jones et al.
55 % \citeauthor*{key} ==>> Jones, Baker, and Smith
56 % \citeyear{key} ==>> 1990
57 %---------------------------------------------------------------------
58
59 ENTRY
60 { address
61 author
62 booktitle
63 chapter
64 edition
65 editor
66 eid
67 howpublished
68 institution
69 journal
70 key
71 month
72 note
73 number
74 organization
75 pages
76 publisher
77 school
78 series
79 title
80 type
81 volume
82 year
83 }
84 {}
85 { label extra.label sort.label short.list }
86 INTEGERS { output.state before.all mid.sentence after.sentence after.block }
87 FUNCTION {init.state.consts}
88 { #0 'before.all :=
89 #1 'mid.sentence :=
90 #2 'after.sentence :=
91 #3 'after.block :=
92 }
93 STRINGS { s t}
94 FUNCTION {output.nonnull}
95 { 's :=
96 output.state mid.sentence =
97 { ", " * write$ }
98 { output.state after.block =
99 { add.period$ write$
100 newline$
101 "\newblock " write$
102 }
103 { output.state before.all =
104 'write$
105 { add.period$ " " * write$ }
106 if$
107 }
108 if$
109 mid.sentence 'output.state :=
110 }
111 if$
112 s
113 }
114 FUNCTION {output}
115 { duplicate$ empty$
116 'pop$
117 'output.nonnull
118 if$
119 }
120 FUNCTION {output.check}
121 { 't :=
122 duplicate$ empty$
123 { pop$ "empty " t * " in " * cite$ * warning$ }
124 'output.nonnull
125 if$
126 }
127 FUNCTION {fin.entry}
128 { add.period$
129 write$
130 newline$
131 }
132
133 FUNCTION {new.block}
134 { output.state before.all =
135 'skip$
136 { after.block 'output.state := }
137 if$
138 }
139 FUNCTION {new.sentence}
140 { output.state after.block =
141 'skip$
142 { output.state before.all =
143 'skip$
144 { after.sentence 'output.state := }
145 if$
146 }
147 if$
148 }
149 FUNCTION {add.blank}
150 { " " * before.all 'output.state :=
151 }
152
153 FUNCTION {date.block}
154 {
155 add.blank
156 }
157
158 FUNCTION {not}
159 { { #0 }
160 { #1 }
161 if$
162 }
163 FUNCTION {and}
164 { 'skip$
165 { pop$ #0 }
166 if$
167 }
168 FUNCTION {or}
169 { { pop$ #1 }
170 'skip$
171 if$
172 }
173 FUNCTION {new.block.checkb}
174 { empty$
175 swap$ empty$
176 and
177 'skip$
178 'new.block
179 if$
180 }
181 FUNCTION {field.or.null}
182 { duplicate$ empty$
183 { pop$ "" }
184 'skip$
185 if$
186 }
187 FUNCTION {emphasize}
188 { duplicate$ empty$
189 { pop$ "" }
190 { "\emph{" swap$ * "}" * }
191 if$
192 }
193 FUNCTION {bolden}
194 { duplicate$ empty$
195 { pop$ "" }
196 { "\textbf{" swap$ * "}" * }
197 if$
198 }
199 FUNCTION {tie.or.space.prefix}
200 { duplicate$ text.length$ #3 <
201 { "~" }
202 { " " }
203 if$
204 swap$
205 }
206
207 FUNCTION {capitalize}
208 { "u" change.case$ "t" change.case$ }
209
210 FUNCTION {space.word}
211 { " " swap$ * " " * }
212 % Here are the language-specific definitions for explicit words.
213 % Each function has a name bbl.xxx where xxx is the English word.
214 % The language selected here is ENGLISH
215 FUNCTION {bbl.and}
216 { "and"}
217
218 FUNCTION {bbl.etal}
219 { "et~al." }
220
221 FUNCTION {bbl.editors}
222 { "eds." }
223
224 FUNCTION {bbl.editor}
225 { "ed." }
226
227 FUNCTION {bbl.edby}
228 { "edited by" }
229
230 FUNCTION {bbl.edition}
231 { "edn." }
232
233 FUNCTION {bbl.volume}
234 { "vol." }
235
236 FUNCTION {bbl.of}
237 { "of" }
238
239 FUNCTION {bbl.number}
240 { "no." }
241
242 FUNCTION {bbl.nr}
243 { "no." }
244
245 FUNCTION {bbl.in}
246 { "in" }
247
248 FUNCTION {bbl.pages}
249 { "pp." }
250
251 FUNCTION {bbl.page}
252 { "p." }
253
254 FUNCTION {bbl.chapter}
255 { "chap." }
256
257 FUNCTION {bbl.techrep}
258 { "Tech. Rep." }
259
260 FUNCTION {bbl.mthesis}
261 { "Master's thesis" }
262
263 FUNCTION {bbl.phdthesis}
264 { "Ph.D. thesis" }
265
266 MACRO {jan} {"Jan."}
267
268 MACRO {feb} {"Feb."}
269
270 MACRO {mar} {"Mar."}
271
272 MACRO {apr} {"Apr."}
273
274 MACRO {may} {"May"}
275
276 MACRO {jun} {"Jun."}
277
278 MACRO {jul} {"Jul."}
279
280 MACRO {aug} {"Aug."}
281
282 MACRO {sep} {"Sep."}
283
284 MACRO {oct} {"Oct."}
285
286 MACRO {nov} {"Nov."}
287
288 MACRO {dec} {"Dec."}
289
290 %-------------------------------------------------------------------
291 % Begin module:
292 % \ProvidesFile{physjour.mbs}[2002/01/14 2.2 (PWD)]
293 MACRO {aa}{"Astronomy and Astrophysics"}
294 MACRO {aasup}{"Astronomy and Astrophysics, Supplement Series"}
295 MACRO {aj}{"Astronomical Journal"}
296 MACRO {aph} {"Acta Physica"}
297 MACRO {advp} {"Advances in Physics"}
298 MACRO {ajp} {"American Journal of Physics"}
299 MACRO {ajm} {"American Journal of Mathematics"}
300 MACRO {amsci} {"American Scientist"}
301 MACRO {anofd} {"Annals of Fluid Dynamics"}
302 MACRO {am} {"Annals of Mathematics"}
303 MACRO {ap} {"Annals of Physics"}
304 MACRO {adp} {"Annalen der Physik"}
305 MACRO {ao} {"Applied Optics"}
306 MACRO {apl} {"Applied Physics Letters"}
307 MACRO {app} {"Astroparticle Physics"}
308 MACRO {apj} {"Astrophysical Journal"}
309 MACRO {apjsup} {"Astrophysical Journal Supplement"}
310 MACRO {apss} {"Astrophysics and Space Science"}
311 MACRO {araa} {"Annual Review of Astronomy and Astrophysics"}
312 MACRO {baas} {"Bulletin of the American Astronomical Society"}
313 MACRO {baps} {"Bulletin of the American Physical Society"}
314 MACRO {cmp} {"Communications in Mathematical Physics"}
315 MACRO {cpam} {"Communications on Pure and Applied Mathematics"}
316 MACRO {cppcf} {"Comments on Plasma Physics and Controlled Fusion"}
317 MACRO {cpc} {"Computer Physics Communications"}
318 MACRO {cqg} {"Classical and Quantum Gravity"}
319 MACRO {cra} {"Comptes Rendus des S{\'e}ances de l'Acad{\'e}mie des Sciences A"}
320 MACRO {fed} {"Fusion Engineering and Design"}
321 MACRO {ft} {"Fusion Technology"}
322 MACRO {grg} {"General Relativity and Gravitation"}
323 MACRO {ieeens} {"IEEE Transactions on Nuclear Science"}
324 MACRO {ieeeps} {"IEEE Transactions on Plasma Science"}
325 MACRO {ijimw} {"International Journal of Infrared and Millimeter Waves"}
326 MACRO {ip} {"Infrared Physics"}
327 MACRO {irp} {"Infrared Physics"}
328 MACRO {jap} {"Journal of Applied Physics"}
329 MACRO {jasa} {"Journal of the Acoustical Society of America"}
330 MACRO {jcp} {"Journal of Computational Physics"}
331 MACRO {jetp} {"Soviet Physics--JETP"}
332 MACRO {jfe} {"Journal of Fusion Energy"}
333 MACRO {jfm} {"Journal of Fluid Mechanics"}
334 MACRO {jmp} {"Journal of Mathematical Physics"}
335 MACRO {jne} {"Journal of Nuclear Energy"}
336 MACRO {jnec} {"Journal of Nuclear Energy, Part C: Plasma Physics, Accelerators, Thermonuclear Research"}
337 MACRO {jnm} {"Journal of Nuclear Materials"}
338 MACRO {jpc} {"Journal of Physical Chemistry"}
339 MACRO {jpp} {"Journal of Plasma Physics"}
340 MACRO {jpsj} {"Journal of the Physical Society of Japan"}
341 MACRO {jsi} {"Journal of Scientific Instruments"}
342 MACRO {jvst} {"Journal of Vacuum Science and Technology"}
343 MACRO {nat} {"Nature"}
344 MACRO {nature} {"Nature"}
345 MACRO {nedf} {"Nuclear Engineering and Design/Fusion"}
346 MACRO {nf} {"Nuclear Fusion"}
347 MACRO {nim} {"Nuclear Instruments and Methods"}
348 MACRO {nimpr} {"Nuclear Instruments and Methods in Physics Research"}
349 MACRO {np} {"Nuclear Physics"}
350 MACRO {npb} {"Nuclear Physics B"}
351 MACRO {nt/f} {"Nuclear Technology/Fusion"}
352 MACRO {npbpc} {"Nuclear Physics B (Proceedings Supplements)"}
353 MACRO {inc} {"Il Nuovo Cimento"}
354 MACRO {nc} {"Nuovo Cimento"}
355 MACRO {pf} {"Physics of Fluids"}
356 MACRO {pfa} {"Physics of Fluids A: Fluid Dynamics"}
357 MACRO {pfb} {"Physics of Fluids B: Plasma Physics"}
358 MACRO {pl} {"Physics Letters"}
359 MACRO {pla} {"Physics Letters A"}
360 MACRO {plb} {"Physics Letters B"}
361 MACRO {prep} {"Physics Reports"}
362 MACRO {pnas} {"Proceedings of the National Academy of Sciences of the USA"}
363 MACRO {pp} {"Physics of Plasmas"}
364 MACRO {ppcf} {"Plasma Physics and Controlled Fusion"}
365 MACRO {phitrsl} {"Philosophical Transactions of the Royal Society of London"}
366 MACRO {prl} {"Physical Review Letters"}
367 MACRO {pr} {"Physical Review"}
368 MACRO {physrev} {"Physical Review"}
369 MACRO {pra} {"Physical Review A"}
370 MACRO {prb} {"Physical Review B"}
371 MACRO {prc} {"Physical Review C"}
372 MACRO {prd} {"Physical Review D"}
373 MACRO {pre} {"Physical Review E"}
374 MACRO {ps} {"Physica Scripta"}
375 MACRO {procrsl} {"Proceedings of the Royal Society of London"}
376 MACRO {rmp} {"Reviews of Modern Physics"}
377 MACRO {rsi} {"Review of Scientific Instruments"}
378 MACRO {science} {"Science"}
379 MACRO {sciam} {"Scientific American"}
380 MACRO {sam} {"Studies in Applied Mathematics"}
381 MACRO {sjpp} {"Soviet Journal of Plasma Physics"}
382 MACRO {spd} {"Soviet Physics--Doklady"}
383 MACRO {sptp} {"Soviet Physics--Technical Physics"}
384 MACRO {spu} {"Soviet Physics--Uspeki"}
385 MACRO {st} {"Sky and Telescope"}
386 % End module: physjour.mbs
387 %-------------------------------------------------------------------
388 % Begin module:
389 % \ProvidesFile{geojour.mbs}[2002/07/10 2.0h (PWD)]
390 MACRO {aisr} {"Advances in Space Research"}
391 MACRO {ag} {"Annales Geophysic\ae"}
392 MACRO {anigeo} {"Annali di Geofisica"}
393 MACRO {angl} {"Annals of Glaciology"}
394 MACRO {andmet} {"Annalen der Meteorologie"}
395 MACRO {andgeo} {"Annales de Geophysique"}
396 MACRO {andphy} {"Annales de Physique"}
397 MACRO {afmgb} {"Archiv f\^^b{u}r Meteorologie, Geophysik und Bioklimatologie"}
398 MACRO {ass}{"Astrophysics and Space Science"}
399 MACRO {atph} {"Atm\'osphera"}
400 MACRO {aao} {"Atmosphere-Ocean"}
401 MACRO {atenv} {"Atmospheric Environment"}
402 MACRO {aujag} {"Australian Journal of Agricultural Research"}
403 MACRO {aumet} {"Australian Meteorological Magazine"}
404 MACRO {blmet} {"Boundary-Layer Meteorology"}
405 MACRO {bams} {"Bulletin of the American Meteorological Society"}
406 MACRO {cch} {"Climatic Change"}
407 MACRO {cdyn} {"Climate Dynamics"}
408 MACRO {cbul} {"Climatological Bulletin"}
409 MACRO {cap} {"Contributions to Atmospheric Physics"}
410 MACRO {dsr} {"Deep-Sea Research"}
411 MACRO {dhz} {"Deutsche Hydrographische Zeitschrift"}
412 MACRO {dao} {"Dynamics of Atmospheres and Oceans"}
413 MACRO {eco} {"Ecology"}
414 MACRO {empl}{"Earth, Moon and Planets"}
415 MACRO {envres} {"Environmental Research"}
416 MACRO {envst} {"Environmental Science and Technology"}
417 MACRO {ecms} {"Estuarine and Coastal Marine Science"}
418 MACRO {expa}{"Experimental Astronomy"}
419 MACRO {geoint} {"Geofisica Internationale"}
420 MACRO {geopub} {"Geofysiske Publikasjoner"}
421 MACRO {geogeo} {"Geologiya i Geofizika"}
422 MACRO {gafd} {"Geophysical and Astrophysical Fluid Dynamics"}
423 MACRO {gfd} {"Geophysical Fluid Dynamics"}
424 MACRO {geomag} {"Geophysical Magazine"}
425 MACRO {georl} {"Geophysical Research Letters"}
426 MACRO {grl} {"Geophysical Research Letters"}
427 MACRO {ga} {"Geophysica"}
428 MACRO {gs} {"Geophysics"}
429 MACRO {ieeetap} {"IEEE Transactions on Antennas and Propagation"}
430 MACRO {ijawp} {"International Journal of Air and Water Pollution"}
431 MACRO {ijc} {"International Journal of Climatology"}
432 MACRO {ijrs} {"International Journal of Remote Sensing"}
433 MACRO {jam} {"Journal of Applied Meteorology"}
434 MACRO {jaot} {"Journal of Atmospheric and Oceanic Technology"}
435 MACRO {jatp} {"Journal of Atmospheric and Terrestrial Physics"}
436 MACRO {jastp} {"Journal of Atmospheric and Solar-Terrestrial Physics"}
437 MACRO {jce} {"Journal of Climate"}
438 MACRO {jcam} {"Journal of Climate and Applied Meteorology"}
439 MACRO {jcm} {"Journal of Climate Meteorology"}
440 MACRO {jcy} {"journal of Climatology"}
441 MACRO {jgr} {"Journal of Geophysical Research"}
442 MACRO {jga} {"Journal of Glaciology"}
443 MACRO {jh} {"Journal of Hydrology"}
444 MACRO {jmr} {"Journal of Marine Research"}
445 MACRO {jmrj} {"Journal of Meteorological Research, Japan"}
446 MACRO {jm} {"Journal of Meteorology"}
447 MACRO {jpo} {"Journal of Physical Oceanography"}
448 MACRO {jra} {"Journal de Recherches Atmospheriques"}
449 MACRO {jaes} {"Journal of the Aeronautical Sciences"}
450 MACRO {japca} {"Journal of the Air Pollution Control Association"}
451 MACRO {jas} {"Journal of the Atmospheric Sciences"}
452 MACRO {jmts} {"Journal of the Marine Technology Society"}
453 MACRO {jmsj} {"Journal of Meteorological Society of Japan"}
454 MACRO {josj} {"Journal of the Oceanographical Society of Japan"}
455 MACRO {jwm} {"Journal of Weather Modification"}
456 MACRO {lao} {"Limnology and Oceanography"}
457 MACRO {mwl} {"Mariners Weather Log"}
458 MACRO {mau} {"Mausam"}
459 MACRO {meteor} {"``Meteor'' Forschungsergebnisse"}
460 MACRO {map} {"Meteorology and Atmospheric Physics"}
461 MACRO {metmag} {"Meteorological Magazine"}
462 MACRO {metmon} {"Meteorological Monographs"}
463 MACRO {metrun} {"Meteorologische Rundschau"}
464 MACRO {metzeit} {"Meteorologische Zeitschrift"}
465 MACRO {metgid} {"Meteorologiya i Gidrologiya"}
466 MACRO {mwr} {"Monthly Weather Review"}
467 MACRO {nwd} {"National Weather Digest"}
468 MACRO {nzjmfr} {"New Zealand Journal of Marine and Freshwater Research"}
469 MACRO {npg} {"Nonlinear Processes in Geophysics"}
470 MACRO {om} {"Oceanography and Meteorology"}
471 MACRO {ocac} {"Oceanologica Acta"}
472 MACRO {oceanus} {"Oceanus"}
473 MACRO {paleoc} {"Paleoceanography"}
474 MACRO {pce} {"Physics and Chemistry of the Earth"}
475 MACRO {pmg} {"Papers in Meteorology and Geophysics"}
476 MACRO {ppom} {"Papers in Physical Oceanography and Meteorology"}
477 MACRO {physzeit} {"Physikalische Zeitschrift"}
478 MACRO {pps} {"Planetary and Space Science"}
479 MACRO {pss} {"Planetary and Space Science"}
480 MACRO {pag} {"Pure and Applied Geophysics"}
481 MACRO {qjrms} {"Quarterly Journal of the Royal Meteorological Society"}
482 MACRO {quatres} {"Quaternary Research"}
483 MACRO {rsci} {"Radio Science"}
484 MACRO {rse} {"Remote Sensing of the Environment"}
485 MACRO {rgeo} {"Reviews of Geophysics"}
486 MACRO {rgsp} {"Reviews of Geophysics and Space Physics"}
487 MACRO {rdgeo} {"Revista de Geofisica"}
488 MACRO {revmeta} {"Revista Meteorologica"}
489 MACRO {sgp}{"Surveys in Geophysics"}
490 MACRO {sp} {"Solar Phys."}
491 MACRO {ssr} {"Space Science Review"}
492 MACRO {tellus} {"Tellus"}
493 MACRO {tac} {"Theoretical and Applied Climatology"}
494 MACRO {tagu} {"Transactions, American Geophysical Union (EOS)"}
495 MACRO {wrr} {"Water Resources Research"}
496 MACRO {weather} {"Weather"}
497 MACRO {wafc} {"Weather and Forecasting"}
498 MACRO {ww} {"Weatherwise"}
499 MACRO {wmob} {"World Meteorological Organization Bulletin"}
500 MACRO {zeitmet} {"Zeitschrift f\^^b{u}r Meteorologie"}
501 % End module: geojour.mbs
502 %-------------------------------------------------------------------
503 % Begin module:
504 % \ProvidesFile{photjour.mbs}[1999/02/24 2.0b (PWD)]
505
506 MACRO {appopt} {"Applied Optics"}
507 MACRO {bell} {"Bell Systems Technical Journal"}
508 MACRO {ell} {"Electronics Letters"}
509 MACRO {jasp} {"Journal of Applied Spectroscopy"}
510 MACRO {jqe} {"IEEE Journal of Quantum Electronics"}
511 MACRO {jlwt} {"Journal of Lightwave Technology"}
512 MACRO {jmo} {"Journal of Modern Optics"}
513 MACRO {josa} {"Journal of the Optical Society of America"}
514 MACRO {josaa} {"Journal of the Optical Society of America~A"}
515 MACRO {josab} {"Journal of the Optical Society of America~B"}
516 MACRO {jdp} {"Journal de Physique"}
517 MACRO {oc} {"Optics Communications"}
518 MACRO {ol} {"Optics Letters"}
519 MACRO {phtl} {"IEEE Photonics Technology Letters"}
520 MACRO {pspie} {"Proceedings of the Society for Photo-Optical Instruments Engineers"}
521 MACRO {sse} {"Solid-State Electronics"}
522 MACRO {sjot} {"Soviet Journal of Optical Technology"}
523 MACRO {sjqe} {"Soviet Journal of Quantum Electronics"}
524 MACRO {sleb} {"Soviet Physics--Lebedev Institute Reports"}
525 MACRO {stph} {"Soviet Physics--Technical Physics"}
526 MACRO {stphl} {"Soviet Technical Physics Letters"}
527 MACRO {vr} {"Vision Research"}
528 MACRO {zph} {"Zeitschrift f\^^b{u}r Physik"}
529 MACRO {zphb} {"Zeitschrift f\^^b{u}r Physik~B"}
530 MACRO {zphd} {"Zeitschrift f\^^b{u}r Physik~D"}
531
532 MACRO {CLEO} {"Conf. on Lasers and Electro-Optics"}
533 MACRO {ASSL} {"Advanced Solid State Lasers"}
534 MACRO {OSA} {"Optical Society of America"}
535 % End module: photjour.mbs
536 %% Copyright 1994-2011 Patrick W Daly
537 MACRO {acmcs} {"ACM Computing Surveys"}
538
539 MACRO {acta} {"Acta Informatica"}
540
541 MACRO {cacm} {"Communications of the ACM"}
542
543 MACRO {ibmjrd} {"IBM Journal of Research and Development"}
544
545 MACRO {ibmsj} {"IBM Systems Journal"}
546
547 MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
548
549 MACRO {ieeetc} {"IEEE Transactions on Computers"}
550
551 MACRO {ieeetcad}
552 {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
553
554 MACRO {ipl} {"Information Processing Letters"}
555
556 MACRO {jacm} {"Journal of the ACM"}
557
558 MACRO {jcss} {"Journal of Computer and System Sciences"}
559
560 MACRO {scp} {"Science of Computer Programming"}
561
562 MACRO {sicomp} {"SIAM Journal on Computing"}
563
564 MACRO {tocs} {"ACM Transactions on Computer Systems"}
565
566 MACRO {tods} {"ACM Transactions on Database Systems"}
567
568 MACRO {tog} {"ACM Transactions on Graphics"}
569
570 MACRO {toms} {"ACM Transactions on Mathematical Software"}
571
572 MACRO {toois} {"ACM Transactions on Office Information Systems"}
573
574 MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
575
576 MACRO {tcs} {"Theoretical Computer Science"}
577 FUNCTION {bibinfo.check}
578 { swap$
579 duplicate$ missing$
580 {
581 pop$ pop$
582 ""
583 }
584 { duplicate$ empty$
585 {
586 swap$ pop$
587 }
588 { swap$
589 pop$
590 }
591 if$
592 }
593 if$
594 }
595 FUNCTION {bibinfo.warn}
596 { swap$
597 duplicate$ missing$
598 {
599 swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
600 ""
601 }
602 { duplicate$ empty$
603 {
604 swap$ "empty " swap$ * " in " * cite$ * warning$
605 }
606 { swap$
607 pop$
608 }
609 if$
610 }
611 if$
612 }
613 INTEGERS { nameptr namesleft numnames }
614
615
616 STRINGS { bibinfo}
617
618 FUNCTION {format.names}
619 { 'bibinfo :=
620 duplicate$ empty$ 'skip$ {
621 's :=
622 "" 't :=
623 #1 'nameptr :=
624 s num.names$ 'numnames :=
625 numnames 'namesleft :=
626 { namesleft #0 > }
627 { s nameptr
628 "{vv~}{ll}{, jj}{, f{.}.}"
629 format.name$
630 bibinfo bibinfo.check
631 't :=
632 nameptr #1 >
633 {
634 namesleft #1 >
635 { ", " * t * }
636 {
637 s nameptr "{ll}" format.name$ duplicate$ "others" =
638 { 't := }
639 { pop$ }
640 if$
641 t "others" =
642 {
643 " " * bbl.etal emphasize *
644 }
645 {
646 "\&"
647 space.word * t *
648 }
649 if$
650 }
651 if$
652 }
653 't
654 if$
655 nameptr #1 + 'nameptr :=
656 namesleft #1 - 'namesleft :=
657 }
658 while$
659 } if$
660 }
661 FUNCTION {format.names.ed}
662 {
663 'bibinfo :=
664 duplicate$ empty$ 'skip$ {
665 's :=
666 "" 't :=
667 #1 'nameptr :=
668 s num.names$ 'numnames :=
669 numnames 'namesleft :=
670 { namesleft #0 > }
671 { s nameptr
672 "{f{.}.~}{vv~}{ll}{ jj}"
673 format.name$
674 bibinfo bibinfo.check
675 't :=
676 nameptr #1 >
677 {
678 namesleft #1 >
679 { ", " * t * }
680 {
681 s nameptr "{ll}" format.name$ duplicate$ "others" =
682 { 't := }
683 { pop$ }
684 if$
685 t "others" =
686 {
687
688 " " * bbl.etal emphasize *
689 }
690 {
691 "\&"
692 space.word * t *
693 }
694 if$
695 }
696 if$
697 }
698 't
699 if$
700 nameptr #1 + 'nameptr :=
701 namesleft #1 - 'namesleft :=
702 }
703 while$
704 } if$
705 }
706 FUNCTION {format.key}
707 { empty$
708 { key field.or.null }
709 { "" }
710 if$
711 }
712
713 FUNCTION {format.authors}
714 { author "author" format.names
715 }
716 FUNCTION {get.bbl.editor}
717 { editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
718
719 FUNCTION {format.editors}
720 { editor "editor" format.names duplicate$ empty$ 'skip$
721 {
722 " " *
723 get.bbl.editor
724 "(" swap$ * ")" *
725 *
726 }
727 if$
728 }
729 FUNCTION {format.note}
730 {
731 note empty$
732 { "" }
733 { note #1 #1 substring$
734 duplicate$ "{" =
735 'skip$
736 { output.state mid.sentence =
737 { "l" }
738 { "u" }
739 if$
740 change.case$
741 }
742 if$
743 note #2 global.max$ substring$ * "note" bibinfo.check
744 }
745 if$
746 }
747
748 FUNCTION {format.title}
749 { title
750 duplicate$ empty$ 'skip$
751 { "t" change.case$ }
752 if$
753 "title" bibinfo.check
754 }
755 FUNCTION {format.full.names}
756 {'s :=
757 "" 't :=
758 #1 'nameptr :=
759 s num.names$ 'numnames :=
760 numnames 'namesleft :=
761 { namesleft #0 > }
762 { s nameptr
763 "{vv~}{ll}{, jj}" format.name$
764 't :=
765 nameptr #1 >
766 {
767 namesleft #1 >
768 { ", " * t * }
769 {
770 s nameptr "{ll}" format.name$ duplicate$ "others" =
771 { 't := }
772 { pop$ }
773 if$
774 t "others" =
775 {
776 " " * bbl.etal emphasize *
777 }
778 {
779 "\&"
780 space.word * t *
781 }
782 if$
783 }
784 if$
785 }
786 't
787 if$
788 nameptr #1 + 'nameptr :=
789 namesleft #1 - 'namesleft :=
790 }
791 while$
792 }
793
794 FUNCTION {author.editor.key.full}
795 { author empty$
796 { editor empty$
797 { key empty$
798 { cite$ #1 #3 substring$ }
799 'key
800 if$
801 }
802 { editor format.full.names }
803 if$
804 }
805 { author format.full.names }
806 if$
807 }
808
809 FUNCTION {author.key.full}
810 { author empty$
811 { key empty$
812 { cite$ #1 #3 substring$ }
813 'key
814 if$
815 }
816 { author format.full.names }
817 if$
818 }
819
820 FUNCTION {editor.key.full}
821 { editor empty$
822 { key empty$
823 { cite$ #1 #3 substring$ }
824 'key
825 if$
826 }
827 { editor format.full.names }
828 if$
829 }
830
831 FUNCTION {make.full.names}
832 { type$ "book" =
833 type$ "inbook" =
834 or
835 'author.editor.key.full
836 { type$ "proceedings" =
837 'editor.key.full
838 'author.key.full
839 if$
840 }
841 if$
842 }
843
844 FUNCTION {output.bibitem}
845 { newline$
846 "\bibitem[{" write$
847 label write$
848 ")" make.full.names duplicate$ short.list =
849 { pop$ }
850 { * }
851 if$
852 "}]{" * write$
853 cite$ write$
854 "}" write$
855 newline$
856 ""
857 before.all 'output.state :=
858 }
859
860 FUNCTION {n.dashify}
861 {
862 't :=
863 ""
864 { t empty$ not }
865 { t #1 #1 substring$ "-" =
866 { t #1 #2 substring$ "--" = not
867 { "--" *
868 t #2 global.max$ substring$ 't :=
869 }
870 { { t #1 #1 substring$ "-" = }
871 { "-" *
872 t #2 global.max$ substring$ 't :=
873 }
874 while$
875 }
876 if$
877 }
878 { t #1 #1 substring$ *
879 t #2 global.max$ substring$ 't :=
880 }
881 if$
882 }
883 while$
884 }
885
886 FUNCTION {word.in}
887 { "" }
888
889 FUNCTION {format.date}
890 { year "year" bibinfo.check duplicate$ empty$
891 {
892 "empty year in " cite$ * "; set to ????" * warning$
893 pop$ "????"
894 }
895 'skip$
896 if$
897 extra.label *
898 before.all 'output.state :=
899 " (" swap$ * ")" *
900 }
901 FUNCTION {format.btitle}
902 { title "title" bibinfo.check
903 duplicate$ empty$ 'skip$
904 {
905 emphasize
906 }
907 if$
908 }
909 FUNCTION {either.or.check}
910 { empty$
911 'pop$
912 { "can't use both " swap$ * " fields in " * cite$ * warning$ }
913 if$
914 }
915 FUNCTION {format.bvolume}
916 { volume empty$
917 { "" }
918 { bbl.volume volume tie.or.space.prefix
919 "volume" bibinfo.check * *
920 series "series" bibinfo.check
921 duplicate$ empty$ 'pop$
922 { swap$ bbl.of space.word * swap$
923 emphasize * }
924 if$
925 "volume and number" number either.or.check
926 }
927 if$
928 }
929 FUNCTION {format.number.series}
930 { volume empty$
931 { number empty$
932 { series field.or.null }
933 { series empty$
934 { number "number" bibinfo.check }
935 { output.state mid.sentence =
936 { bbl.number }
937 { bbl.number capitalize }
938 if$
939 number tie.or.space.prefix "number" bibinfo.check * *
940 bbl.in space.word *
941 series "series" bibinfo.check *
942 }
943 if$
944 }
945 if$
946 }
947 { "" }
948 if$
949 }
950
951 FUNCTION {format.edition}
952 { edition duplicate$ empty$ 'skip$
953 {
954 output.state mid.sentence =
955 { "l" }
956 { "t" }
957 if$ change.case$
958 "edition" bibinfo.check
959 " " * bbl.edition *
960 }
961 if$
962 }
963 INTEGERS { multiresult }
964 FUNCTION {multi.page.check}
965 { 't :=
966 #0 'multiresult :=
967 { multiresult not
968 t empty$ not
969 and
970 }
971 { t #1 #1 substring$
972 duplicate$ "-" =
973 swap$ duplicate$ "," =
974 swap$ "+" =
975 or or
976 { #1 'multiresult := }
977 { t #2 global.max$ substring$ 't := }
978 if$
979 }
980 while$
981 multiresult
982 }
983 FUNCTION {format.pages}
984 { pages duplicate$ empty$ 'skip$
985 { duplicate$ multi.page.check
986 {
987 bbl.pages swap$
988 n.dashify
989 }
990 {
991 bbl.page swap$
992 }
993 if$
994 tie.or.space.prefix
995 "pages" bibinfo.check
996 * *
997 }
998 if$
999 }
1000 FUNCTION {format.journal.pages}
1001 { pages duplicate$ empty$ 'pop$
1002 { swap$ duplicate$ empty$
1003 { pop$ pop$ format.pages }
1004 {
1005 ", " *
1006 swap$
1007 n.dashify
1008 "pages" bibinfo.check
1009 *
1010 }
1011 if$
1012 }
1013 if$
1014 }
1015 FUNCTION {format.journal.eid}
1016 { eid "eid" bibinfo.check
1017 duplicate$ empty$ 'pop$
1018 { swap$ duplicate$ empty$ 'skip$
1019 {
1020 ", " *
1021 }
1022 if$
1023 swap$ *
1024 }
1025 if$
1026 }
1027 FUNCTION {format.vol.num.pages}
1028 { volume field.or.null
1029 duplicate$ empty$ 'skip$
1030 {
1031 "volume" bibinfo.check
1032 }
1033 if$
1034 bolden
1035 eid empty$
1036 { format.journal.pages }
1037 { format.journal.eid }
1038 if$
1039 }
1040
1041 FUNCTION {format.chapter.pages}
1042 { chapter empty$
1043 'format.pages
1044 { type empty$
1045 { bbl.chapter }
1046 { type "l" change.case$
1047 "type" bibinfo.check
1048 }
1049 if$
1050 chapter tie.or.space.prefix
1051 "chapter" bibinfo.check
1052 * *
1053 pages empty$
1054 'skip$
1055 { ", " * format.pages * }
1056 if$
1057 }
1058 if$
1059 }
1060
1061 FUNCTION {format.booktitle}
1062 {
1063 booktitle "booktitle" bibinfo.check
1064 emphasize
1065 }
1066 FUNCTION {format.in.ed.booktitle}
1067 { format.booktitle duplicate$ empty$ 'skip$
1068 {
1069 editor "editor" format.names.ed duplicate$ empty$ 'pop$
1070 {
1071 get.bbl.editor
1072 " " * swap$ *
1073 "(" swap$ * ")" *
1074 swap$
1075 " " * swap$
1076 * }
1077 if$
1078 word.in swap$ *
1079 }
1080 if$
1081 }
1082 FUNCTION {format.thesis.type}
1083 { type duplicate$ empty$
1084 'pop$
1085 { swap$ pop$
1086 "t" change.case$ "type" bibinfo.check
1087 }
1088 if$
1089 }
1090 FUNCTION {format.tr.number}
1091 { number "number" bibinfo.check
1092 type duplicate$ empty$
1093 { pop$ bbl.techrep }
1094 'skip$
1095 if$
1096 "type" bibinfo.check
1097 swap$ duplicate$ empty$
1098 { pop$ "t" change.case$ }
1099 { tie.or.space.prefix * * }
1100 if$
1101 }
1102 FUNCTION {format.article.crossref}
1103 {
1104 word.in
1105 " \cite{" * crossref * "}" *
1106 }
1107 FUNCTION {format.book.crossref}
1108 { volume duplicate$ empty$
1109 { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
1110 pop$ word.in
1111 }
1112 { bbl.volume
1113 capitalize
1114 swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
1115 }
1116 if$
1117 " \cite{" * crossref * "}" *
1118 }
1119 FUNCTION {format.incoll.inproc.crossref}
1120 {
1121 word.in
1122 " \cite{" * crossref * "}" *
1123 }
1124 FUNCTION {format.org.or.pub}
1125 { 't :=
1126 ""
1127 address empty$ t empty$ and
1128 'skip$
1129 {
1130 t empty$
1131 { address "address" bibinfo.check *
1132 }
1133 { t *
1134 address empty$
1135 'skip$
1136 { ", " * address "address" bibinfo.check * }
1137 if$
1138 }
1139 if$
1140 }
1141 if$
1142 }
1143 FUNCTION {format.publisher.address}
1144 { publisher "publisher" bibinfo.warn format.org.or.pub
1145 }
1146
1147 FUNCTION {format.organization.address}
1148 { organization "organization" bibinfo.check format.org.or.pub
1149 }
1150
1151 FUNCTION {article}
1152 { output.bibitem
1153 format.authors "author" output.check
1154 author format.key output
1155 format.date "year" output.check
1156 date.block
1157 format.title "title" output.check
1158 new.sentence
1159 crossref missing$
1160 {
1161 journal
1162 "journal" bibinfo.check
1163 emphasize
1164 "journal" output.check
1165 add.blank
1166 format.vol.num.pages output
1167 }
1168 { format.article.crossref output.nonnull
1169 format.pages output
1170 }
1171 if$
1172 format.note output
1173 fin.entry
1174 }
1175 FUNCTION {book}
1176 { output.bibitem
1177 author empty$
1178 { format.editors "author and editor" output.check
1179 editor format.key output
1180 }
1181 { format.authors output.nonnull
1182 crossref missing$
1183 { "author and editor" editor either.or.check }
1184 'skip$
1185 if$
1186 }
1187 if$
1188 format.date "year" output.check
1189 date.block
1190 format.btitle "title" output.check
1191 crossref missing$
1192 { format.bvolume output
1193 new.sentence
1194 format.number.series output
1195 format.publisher.address output
1196 }
1197 {
1198 new.sentence
1199 format.book.crossref output.nonnull
1200 }
1201 if$
1202 format.edition output
1203 format.note output
1204 fin.entry
1205 }
1206 FUNCTION {booklet}
1207 { output.bibitem
1208 format.authors output
1209 author format.key output
1210 format.date "year" output.check
1211 date.block
1212 format.title "title" output.check
1213 new.sentence
1214 howpublished "howpublished" bibinfo.check output
1215 address "address" bibinfo.check output
1216 format.note output
1217 fin.entry
1218 }
1219
1220 FUNCTION {inbook}
1221 { output.bibitem
1222 author empty$
1223 { format.editors "author and editor" output.check
1224 editor format.key output
1225 }
1226 { format.authors output.nonnull
1227 crossref missing$
1228 { "author and editor" editor either.or.check }
1229 'skip$
1230 if$
1231 }
1232 if$
1233 format.date "year" output.check
1234 date.block
1235 format.btitle "title" output.check
1236 crossref missing$
1237 {
1238 format.bvolume output
1239 format.chapter.pages "chapter and pages" output.check
1240 new.sentence
1241 format.number.series output
1242 format.publisher.address output
1243 }
1244 {
1245 format.chapter.pages "chapter and pages" output.check
1246 new.sentence
1247 format.book.crossref output.nonnull
1248 }
1249 if$
1250 format.edition output
1251 format.note output
1252 fin.entry
1253 }
1254
1255 FUNCTION {incollection}
1256 { output.bibitem
1257 format.authors "author" output.check
1258 author format.key output
1259 format.date "year" output.check
1260 date.block
1261 format.title "title" output.check
1262 new.sentence
1263 crossref missing$
1264 { format.in.ed.booktitle "booktitle" output.check
1265 format.bvolume output
1266 format.number.series output
1267 format.chapter.pages output
1268 format.publisher.address output
1269 format.edition output
1270 }
1271 { format.incoll.inproc.crossref output.nonnull
1272 format.chapter.pages output
1273 }
1274 if$
1275 format.note output
1276 fin.entry
1277 }
1278 FUNCTION {inproceedings}
1279 { output.bibitem
1280 format.authors "author" output.check
1281 author format.key output
1282 format.date "year" output.check
1283 date.block
1284 format.title "title" output.check
1285 new.sentence
1286 crossref missing$
1287 { format.in.ed.booktitle "booktitle" output.check
1288 format.bvolume output
1289 format.number.series output
1290 format.pages output
1291 publisher empty$
1292 { format.organization.address output }
1293 { organization "organization" bibinfo.check output
1294 format.publisher.address output
1295 }
1296 if$
1297 }
1298 { format.incoll.inproc.crossref output.nonnull
1299 format.pages output
1300 }
1301 if$
1302 format.note output
1303 fin.entry
1304 }
1305 FUNCTION {conference} { inproceedings }
1306 FUNCTION {manual}
1307 { output.bibitem
1308 format.authors output
1309 author format.key output
1310 format.date "year" output.check
1311 date.block
1312 format.btitle "title" output.check
1313 new.sentence
1314 organization "organization" bibinfo.check output
1315 address "address" bibinfo.check output
1316 format.edition output
1317 format.note output
1318 fin.entry
1319 }
1320
1321 FUNCTION {mastersthesis}
1322 { output.bibitem
1323 format.authors "author" output.check
1324 author format.key output
1325 format.date "year" output.check
1326 date.block
1327 format.btitle
1328 "title" output.check
1329 new.sentence
1330 bbl.mthesis format.thesis.type output.nonnull
1331 school "school" bibinfo.warn output
1332 address "address" bibinfo.check output
1333 format.note output
1334 fin.entry
1335 }
1336
1337 FUNCTION {misc}
1338 { output.bibitem
1339 format.authors output
1340 author format.key output
1341 format.date "year" output.check
1342 date.block
1343 format.title output
1344 new.sentence
1345 howpublished "howpublished" bibinfo.check output
1346 format.note output
1347 fin.entry
1348 }
1349 FUNCTION {phdthesis}
1350 { output.bibitem
1351 format.authors "author" output.check
1352 author format.key output
1353 format.date "year" output.check
1354 date.block
1355 format.btitle
1356 "title" output.check
1357 new.sentence
1358 bbl.phdthesis format.thesis.type output.nonnull
1359 school "school" bibinfo.warn output
1360 address "address" bibinfo.check output
1361 format.note output
1362 fin.entry
1363 }
1364
1365 FUNCTION {proceedings}
1366 { output.bibitem
1367 format.editors output
1368 editor format.key output
1369 format.date "year" output.check
1370 date.block
1371 format.btitle "title" output.check
1372 format.bvolume output
1373 format.number.series output
1374 publisher empty$
1375 { format.organization.address output }
1376 { organization "organization" bibinfo.check output
1377 format.publisher.address output
1378 }
1379 if$
1380 format.note output
1381 fin.entry
1382 }
1383
1384 FUNCTION {techreport}
1385 { output.bibitem
1386 format.authors "author" output.check
1387 author format.key output
1388 format.date "year" output.check
1389 date.block
1390 format.title
1391 "title" output.check
1392 new.sentence
1393 format.tr.number output.nonnull
1394 institution "institution" bibinfo.warn output
1395 address "address" bibinfo.check output
1396 format.note output
1397 fin.entry
1398 }
1399
1400 FUNCTION {unpublished}
1401 { output.bibitem
1402 format.authors "author" output.check
1403 author format.key output
1404 format.date "year" output.check
1405 date.block
1406 format.title "title" output.check
1407 format.note "note" output.check
1408 fin.entry
1409 }
1410
1411 FUNCTION {default.type} { misc }
1412 READ
1413 FUNCTION {sortify}
1414 { purify$
1415 "l" change.case$
1416 }
1417 INTEGERS { len }
1418 FUNCTION {chop.word}
1419 { 's :=
1420 'len :=
1421 s #1 len substring$ =
1422 { s len #1 + global.max$ substring$ }
1423 's
1424 if$
1425 }
1426 FUNCTION {format.lab.names}
1427 { 's :=
1428 "" 't :=
1429 s #1 "{vv~}{ll}{, jj}" format.name$
1430 s num.names$ duplicate$
1431 #2 >
1432 { pop$
1433 " " * bbl.etal emphasize *
1434 }
1435 { #2 <
1436 'skip$
1437 { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
1438 {
1439 " " * bbl.etal emphasize *
1440 }
1441 { " \& " * s #2 "{vv~}{ll}" format.name$
1442 * }
1443 if$
1444 }
1445 if$
1446 }
1447 if$
1448 }
1449
1450 FUNCTION {author.key.label}
1451 { author empty$
1452 { key empty$
1453 { cite$ #1 #3 substring$ }
1454 'key
1455 if$
1456 }
1457 { author format.lab.names }
1458 if$
1459 }
1460
1461 FUNCTION {author.editor.key.label}
1462 { author empty$
1463 { editor empty$
1464 { key empty$
1465 { cite$ #1 #3 substring$ }
1466 'key
1467 if$
1468 }
1469 { editor format.lab.names }
1470 if$
1471 }
1472 { author format.lab.names }
1473 if$
1474 }
1475
1476 FUNCTION {editor.key.label}
1477 { editor empty$
1478 { key empty$
1479 { cite$ #1 #3 substring$ }
1480 'key
1481 if$
1482 }
1483 { editor format.lab.names }
1484 if$
1485 }
1486
1487 FUNCTION {calc.short.authors}
1488 { type$ "book" =
1489 type$ "inbook" =
1490 or
1491 'author.editor.key.label
1492 { type$ "proceedings" =
1493 'editor.key.label
1494 'author.key.label
1495 if$
1496 }
1497 if$
1498 'short.list :=
1499 }
1500
1501 FUNCTION {calc.label}
1502 { calc.short.authors
1503 short.list
1504 "("
1505 *
1506 year duplicate$ empty$
1507 short.list key field.or.null = or
1508 { pop$ "" }
1509 'skip$
1510 if$
1511 *
1512 'label :=
1513 }
1514
1515 FUNCTION {sort.format.names}
1516 { 's :=
1517 #1 'nameptr :=
1518 ""
1519 s num.names$ 'numnames :=
1520 numnames 'namesleft :=
1521 { namesleft #0 > }
1522 { s nameptr
1523 "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}"
1524 format.name$ 't :=
1525 nameptr #1 >
1526 {
1527 " " *
1528 namesleft #1 = t "others" = and
1529 { "zzzzz" 't := }
1530 'skip$
1531 if$
1532 t sortify *
1533 }
1534 { t sortify * }
1535 if$
1536 nameptr #1 + 'nameptr :=
1537 namesleft #1 - 'namesleft :=
1538 }
1539 while$
1540 }
1541
1542 FUNCTION {sort.format.title}
1543 { 't :=
1544 "A " #2
1545 "An " #3
1546 "The " #4 t chop.word
1547 chop.word
1548 chop.word
1549 sortify
1550 #1 global.max$ substring$
1551 }
1552 FUNCTION {author.sort}
1553 { author empty$
1554 { key empty$
1555 { "to sort, need author or key in " cite$ * warning$
1556 ""
1557 }
1558 { key sortify }
1559 if$
1560 }
1561 { author sort.format.names }
1562 if$
1563 }
1564 FUNCTION {author.editor.sort}
1565 { author empty$
1566 { editor empty$
1567 { key empty$
1568 { "to sort, need author, editor, or key in " cite$ * warning$
1569 ""
1570 }
1571 { key sortify }
1572 if$
1573 }
1574 { editor sort.format.names }
1575 if$
1576 }
1577 { author sort.format.names }
1578 if$
1579 }
1580 FUNCTION {editor.sort}
1581 { editor empty$
1582 { key empty$
1583 { "to sort, need editor or key in " cite$ * warning$
1584 ""
1585 }
1586 { key sortify }
1587 if$
1588 }
1589 { editor sort.format.names }
1590 if$
1591 }
1592 FUNCTION {presort}
1593 { calc.label
1594 label sortify
1595 " "
1596 *
1597 type$ "book" =
1598 type$ "inbook" =
1599 or
1600 'author.editor.sort
1601 { type$ "proceedings" =
1602 'editor.sort
1603 'author.sort
1604 if$
1605 }
1606 if$
1607 #1 entry.max$ substring$
1608 'sort.label :=
1609 sort.label
1610 *
1611 " "
1612 *
1613 title field.or.null
1614 sort.format.title
1615 *
1616 #1 entry.max$ substring$
1617 'sort.key$ :=
1618 }
1619
1620 ITERATE {presort}
1621 SORT
1622 STRINGS { last.label next.extra }
1623 INTEGERS { last.extra.num last.extra.num.extended last.extra.num.blank number.label }
1624 FUNCTION {initialize.extra.label.stuff}
1625 { #0 int.to.chr$ 'last.label :=
1626 "" 'next.extra :=
1627 #0 'last.extra.num :=
1628 "a" chr.to.int$ #1 - 'last.extra.num.blank :=
1629 last.extra.num.blank 'last.extra.num.extended :=
1630 #0 'number.label :=
1631 }
1632 FUNCTION {forward.pass}
1633 { last.label label =
1634 { last.extra.num #1 + 'last.extra.num :=
1635 last.extra.num "z" chr.to.int$ >
1636 { "a" chr.to.int$ 'last.extra.num :=
1637 last.extra.num.extended #1 + 'last.extra.num.extended :=
1638 }
1639 'skip$
1640 if$
1641 last.extra.num.extended last.extra.num.blank >
1642 { last.extra.num.extended int.to.chr$
1643 last.extra.num int.to.chr$
1644 * 'extra.label := }
1645 { last.extra.num int.to.chr$ 'extra.label := }
1646 if$
1647 }
1648 { "a" chr.to.int$ 'last.extra.num :=
1649 "" 'extra.label :=
1650 label 'last.label :=
1651 }
1652 if$
1653 number.label #1 + 'number.label :=
1654 }
1655 FUNCTION {reverse.pass}
1656 { next.extra "b" =
1657 { "a" 'extra.label := }
1658 'skip$
1659 if$
1660 extra.label 'next.extra :=
1661 extra.label
1662 duplicate$ empty$
1663 'skip$
1664 { "{\natexlab{" swap$ * "}}" * }
1665 if$
1666 'extra.label :=
1667 label extra.label * 'label :=
1668 }
1669 EXECUTE {initialize.extra.label.stuff}
1670 ITERATE {forward.pass}
1671 REVERSE {reverse.pass}
1672 FUNCTION {bib.sort.order}
1673 { sort.label
1674 " "
1675 *
1676 year field.or.null sortify
1677 *
1678 " "
1679 *
1680 title field.or.null
1681 sort.format.title
1682 *
1683 #1 entry.max$ substring$
1684 'sort.key$ :=
1685 }
1686 ITERATE {bib.sort.order}
1687 SORT
1688 FUNCTION {begin.bib}
1689 { preamble$ empty$
1690 'skip$
1691 { preamble$ write$ newline$ }
1692 if$
1693 "\begin{thebibliography}{" number.label int.to.str$ * "}" *
1694 write$ newline$
1695 "\providecommand{\natexlab}[1]{#1}"
1696 write$ newline$
1697 }
1698 EXECUTE {begin.bib}
1699 EXECUTE {init.state.consts}
1700 ITERATE {call.type$}
1701 FUNCTION {end.bib}
1702 { newline$
1703 "\end{thebibliography}" write$ newline$
1704 }
1705 EXECUTE {end.bib}
1706 %% End of customized bst file
1707 %%
1708 %% End of file `functional_ecol.bst'.