Debian Codegraph @

texmf-dist/bibtex/bst/mciteplus/apsrmpM.bst

raw
1 %%
2 %% apsrmpM.bst
3 %% Version 1.0 (2008/01/15)
4 %% REVTeX4 apsrmp.bst with added mciteplus compatibility code by Michael Shell
5 %% Distributed with the mciteplus LaTeX package.
6 %% Support site:
7 %% http://www.michaelshell.org/tex/mciteplus/
8 %%
9 %% This is file `apsrmpM.bst',
10 %% generated with the docstrip utility.
11 %%
12 %% The original source files were:
13 %%
14 %% merlin.mbs (with options: `head,ay,nat,vonx,nm-rev1,jnrlst,nmlm,x10,x2,m10,m2,nmft,nmft-def,fnm-def,nmfted,nmand-rm,lab,lab-def,keyxyr,dt-beg,xmth,yr-com,note-yr,jtit-x,jttl-rm,trtit-b,vol-bf,volp-com,jpg-1,pp-last,num-xser,jnm-x,pub-par,pre-pub,isbn,issn,edpar,edby,blk-com,pp,ed,xedn,jabr,and-com,etal-it,revdata,eprint,url,url-blk,pub-over-eprint,bibinfo,nfss,{}')
15 %% physjour.mbs (with options: `ay,nat,vonx,nm-rev1,jnrlst,nmlm,x10,x2,m10,m2,nmft,nmft-def,fnm-def,nmfted,nmand-rm,lab,lab-def,keyxyr,dt-beg,xmth,yr-com,note-yr,jtit-x,jttl-rm,trtit-b,vol-bf,volp-com,jpg-1,pp-last,num-xser,jnm-x,pub-par,pre-pub,isbn,issn,edpar,edby,blk-com,pp,ed,xedn,jabr,and-com,etal-it,revdata,eprint,url,url-blk,pub-over-eprint,bibinfo,nfss,{}')
16 %% geojour.mbs (with options: `ay,nat,vonx,nm-rev1,jnrlst,nmlm,x10,x2,m10,m2,nmft,nmft-def,fnm-def,nmfted,nmand-rm,lab,lab-def,keyxyr,dt-beg,xmth,yr-com,note-yr,jtit-x,jttl-rm,trtit-b,vol-bf,volp-com,jpg-1,pp-last,num-xser,jnm-x,pub-par,pre-pub,isbn,issn,edpar,edby,blk-com,pp,ed,xedn,jabr,and-com,etal-it,revdata,eprint,url,url-blk,pub-over-eprint,bibinfo,nfss,{}')
17 %% photjour.mbs (with options: `ay,nat,vonx,nm-rev1,jnrlst,nmlm,x10,x2,m10,m2,nmft,nmft-def,fnm-def,nmfted,nmand-rm,lab,lab-def,keyxyr,dt-beg,xmth,yr-com,note-yr,jtit-x,jttl-rm,trtit-b,vol-bf,volp-com,jpg-1,pp-last,num-xser,jnm-x,pub-par,pre-pub,isbn,issn,edpar,edby,blk-com,pp,ed,xedn,jabr,and-com,etal-it,revdata,eprint,url,url-blk,pub-over-eprint,bibinfo,nfss,{}')
18 %% merlin.mbs (with options: `tail,ay,nat,vonx,nm-rev1,jnrlst,nmlm,x10,x2,m10,m2,nmft,nmft-def,fnm-def,nmfted,nmand-rm,lab,lab-def,keyxyr,dt-beg,xmth,yr-com,note-yr,jtit-x,jttl-rm,trtit-b,vol-bf,volp-com,jpg-1,pp-last,num-xser,jnm-x,pub-par,pre-pub,isbn,issn,edpar,edby,blk-com,pp,ed,xedn,jabr,and-com,etal-it,revdata,eprint,url,url-blk,pub-over-eprint,bibinfo,nfss,{}')
19 %% ----------------------------------------
20 %% *** REVTeX-compatible apsrmpM.bst 1702 ***
21 %%
22 %% Copyright 1994-2000 Patrick W Daly
23 % ===============================================================
24 % IMPORTANT NOTICE:
25 % This bibliographic style (bst) file has been generated from one or
26 % more master bibliographic style (mbs) files, listed above.
27 %
28 % This generated file can be redistributed and/or modified under the terms
29 % of the LaTeX Project Public License Distributed from CTAN
30 % archives in directory macros/latex/base/lppl.txt; either
31 % version 1 of the License, or any later version.
32 % ===============================================================
33 % Name and version information of the main mbs file:
34 % \ProvidesFile{merlin.mbs}[2000/05/04 4.01 (PWD, AO, DPC)]
35 % For use with BibTeX version 0.99a or later
36 %-------------------------------------------------------------------
37 % This bibliography style file is intended for texts in ENGLISH
38 % This is an author-year citation style bibliography. As such, it is
39 % non-standard LaTeX, and requires a special package file to function properly.
40 % Such a package is natbib.sty by Patrick W. Daly
41 % The form of the \bibitem entries is
42 % \bibitem[Jones et al.(1990)]{key}...
43 % \bibitem[Jones et al.(1990)Jones, Baker, and Smith]{key}...
44 % The essential feature is that the label (the part in brackets) consists
45 % of the author names, as they should appear in the citation, with the year
46 % in parentheses following. There must be no space before the opening
47 % parenthesis!
48 % With natbib v5.3, a full list of authors may also follow the year.
49 % In natbib.sty, it is possible to define the type of enclosures that is
50 % really wanted (brackets or parentheses), but in either case, there must
51 % be parentheses in the label.
52 % The \cite command functions as follows:
53 % \citet{key} ==>> Jones et al. (1990)
54 % \citet*{key} ==>> Jones, Baker, and Smith (1990)
55 % \citep{key} ==>> (Jones et al., 1990)
56 % \citep*{key} ==>> (Jones, Baker, and Smith, 1990)
57 % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
58 % \citep[e.g.][]{key} ==>> (e.g. Jones et al., 1990)
59 % \citep[e.g.][p. 32]{key} ==>> (e.g. Jones et al., p. 32)
60 % \citeauthor{key} ==>> Jones et al.
61 % \citeauthor*{key} ==>> Jones, Baker, and Smith
62 % \citeyear{key} ==>> 1990
63 %---------------------------------------------------------------------
64
65
66 % mciteplus add mcitetail field
67 ENTRY
68 { address
69 archive
70 author
71 booktitle
72 chapter
73 collaboration
74 edition
75 editor
76 eid
77 eprint
78 howpublished
79 institution
80 isbn
81 issn
82 journal
83 key
84 mcitetail
85 month
86 note
87 number
88 numpages
89 organization
90 pages
91 publisher
92 school
93 series
94 title
95 type
96 url
97 volume
98 year
99 }
100 {}
101 { label extra.label sort.label short.list }
102 INTEGERS { output.state before.all mid.sentence after.sentence after.block }
103 FUNCTION {init.state.consts}
104 { #0 'before.all :=
105 #1 'mid.sentence :=
106 #2 'after.sentence :=
107 #3 'after.block :=
108 }
109 STRINGS { s t}
110
111
112
113 % mciteplus mcitetail field and sort key adjust support
114 INTEGERS {mcitetailcnt is.mcitetail}
115 STRINGS {mciteheadsortkey}
116 % convert the strings "yes" or "no" to #1 or #0 respectively
117 FUNCTION {mciteplus.yes.no.to.int}
118 { "l" change.case$ duplicate$
119 "yes" =
120 { pop$ #1 }
121 { duplicate$ "no" =
122 { pop$ #0 }
123 { "unknown boolean " quote$ * swap$ * quote$ *
124 " in " * cite$ * warning$
125 #0
126 }
127 if$
128 }
129 if$
130 }
131 FUNCTION {mciteplustail.adj.sort.key}
132 { mcitetail
133 empty$
134 { #0 'is.mcitetail := }
135 { mcitetail
136 mciteplus.yes.no.to.int
137 'is.mcitetail :=
138 }
139 if$
140 is.mcitetail
141 { #1 mcitetailcnt +
142 'mcitetailcnt :=
143 mciteheadsortkey
144 "__" *
145 "000000000"
146 mcitetailcnt
147 int.to.str$
148 *
149 #-1 #10 substring$
150 *
151 'sort.key$ :=
152 }
153 { #0 'mcitetailcnt :=
154 sort.key$ 'mciteheadsortkey :=
155 }
156 if$
157 }
158 % END mciteplus mcitetail field support
159
160
161
162 FUNCTION {output.nonnull}
163 { 's :=
164 output.state mid.sentence =
165 { ", " * write$ }
166 { output.state after.block =
167 { add.period$ write$
168 newline$
169 "\newblock " write$
170 }
171 { output.state before.all =
172 'write$
173 { add.period$ " " * write$ }
174 if$
175 }
176 if$
177 mid.sentence 'output.state :=
178 }
179 if$
180 s
181 }
182 FUNCTION {output}
183 { duplicate$ empty$
184 'pop$
185 'output.nonnull
186 if$
187 }
188 FUNCTION {output.check}
189 { 't :=
190 duplicate$ empty$
191 { pop$ "empty " t * " in " * cite$ * warning$ }
192 'output.nonnull
193 if$
194 }
195
196
197
198 % mciteplus fin.entry
199 %
200 % pushes true (1), if add.period$ would add a period to the string on the stack
201 % pushes false (0), otherwise
202 % Uses text.length$ to avoid full string comparison and two copies of string.
203 % Requires one copy of string on stack.
204 INTEGERS {would.add.period.textlen}
205 FUNCTION {would.add.period}
206 { duplicate$
207 add.period$
208 text.length$
209 'would.add.period.textlen :=
210 duplicate$
211 text.length$
212 would.add.period.textlen =
213 { #0 }
214 { #1 }
215 if$
216 }
217
218 FUNCTION {fin.entry}
219 { would.add.period
220 { "\relax" * write$ newline$
221 "\mciteBstWouldAddEndPuncttrue" write$ newline$
222 "\mciteSetBstMidEndSepPunct{\mcitedefaultmidpunct}"
223 write$ newline$
224 "{\mcitedefaultendpunct}{\mcitedefaultseppunct}\relax"
225 }
226 { "\relax" * write$ newline$
227 "\mciteBstWouldAddEndPunctfalse" write$ newline$
228 "\mciteSetBstMidEndSepPunct{\mcitedefaultmidpunct}"
229 write$ newline$
230 "{}{\mcitedefaultseppunct}\relax"
231 }
232 if$
233 write$
234 newline$
235 "\EndOfBibitem" write$
236 }
237 % end mciteplus fin.entry
238
239
240
241
242 FUNCTION {new.block}
243 { output.state before.all =
244 'skip$
245 { after.block 'output.state := }
246 if$
247 }
248 FUNCTION {new.sentence}
249 { output.state after.block =
250 'skip$
251 { output.state before.all =
252 'skip$
253 { after.sentence 'output.state := }
254 if$
255 }
256 if$
257 }
258 FUNCTION {add.blank}
259 { " " * before.all 'output.state :=
260 }
261
262 FUNCTION {date.block}
263 {
264 skip$
265 }
266
267 FUNCTION {not}
268 { { #0 }
269 { #1 }
270 if$
271 }
272 FUNCTION {and}
273 { 'skip$
274 { pop$ #0 }
275 if$
276 }
277 FUNCTION {or}
278 { { pop$ #1 }
279 'skip$
280 if$
281 }
282 FUNCTION {new.block.checkb}
283 { empty$
284 swap$ empty$
285 and
286 'skip$
287 'new.block
288 if$
289 }
290 FUNCTION {field.or.null}
291 { duplicate$ empty$
292 { pop$ "" }
293 'skip$
294 if$
295 }
296 FUNCTION {emphasize}
297 { duplicate$ empty$
298 { pop$ "" }
299 { "\emph{" swap$ * "}" * }
300 if$
301 }
302 FUNCTION {bolden}
303 { duplicate$ empty$
304 { pop$ "" }
305 { "\textbf{" swap$ * "}" * }
306 if$
307 }
308 FUNCTION {bib.name.font}
309 { duplicate$ empty$
310 { pop$ "" }
311 { "\bibnamefont{" swap$ * "}" * }
312 if$
313 }
314 FUNCTION {bib.fname.font}
315 { duplicate$ empty$
316 { pop$ "" }
317 { "\bibfnamefont{" swap$ * "}" * }
318 if$
319 }
320 FUNCTION {cite.name.font}
321 { duplicate$ empty$
322 { pop$ "" }
323 { "\citenamefont{" swap$ * "}" * }
324 if$
325 }
326 FUNCTION {tie.or.space.prefix}
327 { duplicate$ text.length$ #3 <
328 { "~" }
329 { " " }
330 if$
331 swap$
332 }
333
334 FUNCTION {capitalize}
335 { "u" change.case$ "t" change.case$ }
336
337 FUNCTION {space.word}
338 { " " swap$ * " " * }
339 % Here are the language-specific definitions for explicit words.
340 % Each function has a name bbl.xxx where xxx is the English word.
341 % The language selected here is ENGLISH
342 FUNCTION {bbl.and}
343 { "and"}
344
345 FUNCTION {bbl.etal}
346 { "et~al." }
347
348 FUNCTION {bbl.editors}
349 { "eds." }
350
351 FUNCTION {bbl.editor}
352 { "ed." }
353
354 FUNCTION {bbl.edby}
355 { "edited by" }
356
357 FUNCTION {bbl.edition}
358 { "edition" }
359
360 FUNCTION {bbl.volume}
361 { "volume" }
362
363 FUNCTION {bbl.of}
364 { "of" }
365
366 FUNCTION {bbl.number}
367 { "number" }
368
369 FUNCTION {bbl.nr}
370 { "no." }
371
372 FUNCTION {bbl.in}
373 { "in" }
374
375 FUNCTION {bbl.pages}
376 { "pp." }
377
378 FUNCTION {bbl.page}
379 { "p." }
380
381 FUNCTION {bbl.eidpp}
382 { "pages" }
383
384 FUNCTION {bbl.chapter}
385 { "chapter" }
386
387 FUNCTION {bbl.techrep}
388 { "Technical Report" }
389
390 FUNCTION {bbl.mthesis}
391 { "Master's thesis" }
392
393 FUNCTION {bbl.phdthesis}
394 { "Ph.D. thesis" }
395
396 MACRO {jan} {"January"}
397
398 MACRO {feb} {"February"}
399
400 MACRO {mar} {"March"}
401
402 MACRO {apr} {"April"}
403
404 MACRO {may} {"May"}
405
406 MACRO {jun} {"June"}
407
408 MACRO {jul} {"July"}
409
410 MACRO {aug} {"August"}
411
412 MACRO {sep} {"September"}
413
414 MACRO {oct} {"October"}
415
416 MACRO {nov} {"November"}
417
418 MACRO {dec} {"December"}
419
420
421 %-------------------------------------------------------------------
422
423 % Begin module:
424
425
426 % \ProvidesFile{physjour.mbs}[1999/10/05 2.1 (PWD)]
427
428 MACRO {aa}{"Astron. \& Astrophys."}
429
430
431 MACRO {aasup}{"Astron. \& Astrophys. Suppl. Ser."}
432
433 MACRO {aj} {"Astron. J."}
434
435 MACRO {aph} {"Acta Phys."}
436
437 MACRO {advp} {"Adv. Phys."}
438
439 MACRO {ajp} {"Amer. J. Phys."}
440
441 MACRO {ajm} {"Amer. J. Math."}
442
443 MACRO {amsci} {"Amer. Sci."}
444
445 MACRO {anofd} {"Ann. Fluid Dyn."}
446
447 MACRO {am} {"Ann. Math."}
448
449 MACRO {ap} {"Ann. Phys. (NY)"}
450
451 MACRO {adp} {"Ann. Phys. (Leipzig)"}
452
453 MACRO {ao} {"Appl. Opt."}
454
455 MACRO {apl} {"Appl. Phys. Lett."}
456
457 MACRO {app} {"Astroparticle Phys."}
458
459 MACRO {apj} {"Astrophys. J."}
460
461 MACRO {apjsup} {"Astrophys. J. Suppl."}
462
463 MACRO {apss} {"Astrophys. Space Sci."}
464
465 MACRO {araa} {"Ann. Rev. Astron. Astrophys."}
466
467 MACRO {baas} {"Bull. Amer. Astron. Soc."}
468
469 MACRO {baps} {"Bull. Amer. Phys. Soc."}
470
471 MACRO {cmp} {"Comm. Math. Phys."}
472
473 MACRO {cpam} {"Commun. Pure Appl. Math."}
474
475 MACRO {cppcf} {"Comm. Plasma Phys. \& Controlled Fusion"}
476
477 MACRO {cpc} {"Comp. Phys. Comm."}
478
479 MACRO {cqg} {"Class. Quant. Grav."}
480
481 MACRO {cra} {"C. R. Acad. Sci. A"}
482
483 MACRO {fed} {"Fusion Eng. \& Design"}
484
485 MACRO {ft} {"Fusion Tech."}
486
487 MACRO {grg} {"Gen. Relativ. Gravit."}
488
489 MACRO {ieeens} {"IEEE Trans. Nucl. Sci."}
490
491 MACRO {ieeeps} {"IEEE Trans. Plasma Sci."}
492
493 MACRO {ijimw} {"Interntl. J. Infrared \& Millimeter Waves"}
494
495 MACRO {ip} {"Infrared Phys."}
496
497 MACRO {irp} {"Infrared Phys."}
498
499 MACRO {jap} {"J. Appl. Phys."}
500
501 MACRO {jasa} {"J. Acoust. Soc. America"}
502
503 MACRO {jcp} {"J. Comp. Phys."}
504
505 MACRO {jetp} {"Sov. Phys.--JETP"}
506
507 MACRO {jfe} {"J. Fusion Energy"}
508
509 MACRO {jfm} {"J. Fluid Mech."}
510
511 MACRO {jmp} {"J. Math. Phys."}
512
513 MACRO {jne} {"J. Nucl. Energy"}
514
515 MACRO {jnec} {"J. Nucl. Energy, C: Plasma Phys., Accelerators, Thermonucl. Res."}
516
517 MACRO {jnm} {"J. Nucl. Mat."}
518
519 MACRO {jpc} {"J. Phys. Chem."}
520
521 MACRO {jpp} {"J. Plasma Phys."}
522
523 MACRO {jpsj} {"J. Phys. Soc. Japan"}
524
525 MACRO {jsi} {"J. Sci. Instrum."}
526
527 MACRO {jvst} {"J. Vac. Sci. \& Tech."}
528
529 MACRO {nat} {"Nature"}
530
531 MACRO {nature} {"Nature"}
532
533 MACRO {nedf} {"Nucl. Eng. \& Design/Fusion"}
534
535 MACRO {nf} {"Nucl. Fusion"}
536
537 MACRO {nim} {"Nucl. Inst. \& Meth."}
538
539 MACRO {nimpr} {"Nucl. Inst. \& Meth. in Phys. Res."}
540
541 MACRO {np} {"Nucl. Phys."}
542
543 MACRO {npb} {"Nucl. Phys. B"}
544
545 MACRO {nt/f} {"Nucl. Tech./Fusion"}
546
547 MACRO {npbpc} {"Nucl. Phys. B (Proc. Suppl.)"}
548
549 MACRO {inc} {"Nuovo Cimento"}
550
551 MACRO {nc} {"Nuovo Cimento"}
552
553 MACRO {pf} {"Phys. Fluids"}
554
555 MACRO {pfa} {"Phys. Fluids A: Fluid Dyn."}
556
557 MACRO {pfb} {"Phys. Fluids B: Plasma Phys."}
558
559 MACRO {pl} {"Phys. Lett."}
560
561 MACRO {pla} {"Phys. Lett. A"}
562
563 MACRO {plb} {"Phys. Lett. B"}
564
565 MACRO {prep} {"Phys. Rep."}
566
567 MACRO {pnas} {"Proc. Nat. Acad. Sci. USA"}
568
569 MACRO {pp} {"Phys. Plasmas"}
570
571 MACRO {ppcf} {"Plasma Phys. \& Controlled Fusion"}
572
573 MACRO {phitrsl} {"Philos. Trans. Roy. Soc. London"}
574
575 MACRO {prl} {"Phys. Rev. Lett."}
576
577 MACRO {pr} {"Phys. Rev."}
578
579 MACRO {physrev} {"Phys. Rev."}
580
581 MACRO {pra} {"Phys. Rev. A"}
582
583 MACRO {prb} {"Phys. Rev. B"}
584
585 MACRO {prc} {"Phys. Rev. C"}
586
587 MACRO {prd} {"Phys. Rev. D"}
588
589 MACRO {pre} {"Phys. Rev. E"}
590
591 MACRO {ps} {"Phys. Scripta"}
592
593 MACRO {procrsl} {"Proc. Roy. Soc. London"}
594
595 MACRO {rmp} {"Rev. Mod. Phys."}
596
597 MACRO {rsi} {"Rev. Sci. Inst."}
598
599 MACRO {science} {"Science"}
600
601 MACRO {sciam} {"Sci. Am."}
602
603 MACRO {sam} {"Stud. Appl. Math."}
604
605 MACRO {sjpp} {"Sov. J. Plasma Phys."}
606
607 MACRO {spd} {"Sov. Phys.--Doklady"}
608
609 MACRO {sptp} {"Sov. Phys.--Tech. Phys."}
610
611 MACRO {spu} {"Sov. Phys.--Uspeki"}
612
613 MACRO {st} {"Sky and Telesc."}
614
615 % End module: physjour.mbs
616
617
618
619 %-------------------------------------------------------------------
620 % Begin module:
621 % \ProvidesFile{geojour.mbs}[1999/11/16 2.0g (PWD)]
622 MACRO {aisr} {"Adv. Space Res."}
623 MACRO {ag} {"Ann. Geophys."}
624 MACRO {anigeo} {"Ann. Geofis."}
625 MACRO {angl} {"Ann. Glaciol."}
626 MACRO {andmet} {"Ann. d. Meteor."}
627 MACRO {andgeo} {"Ann. d. Geophys."}
628 MACRO {andphy} {"Ann. Phys.-Paris"}
629 MACRO {afmgb} {"Arch. Meteor. Geophys. Bioklimatol."}
630 MACRO {atph} {"Atm\'osphera"}
631 MACRO {aao} {"Atmos. Ocean"}
632 MACRO {ass}{"Astrophys. Space Sci."}
633 MACRO {atenv} {"Atmos. Environ."}
634 MACRO {aujag} {"Aust. J. Agr. Res."}
635 MACRO {aumet} {"Aust. Meteorol. Mag."}
636 MACRO {blmet} {"Bound.-Lay. Meteorol."}
637 MACRO {bams} {"Bull. Amer. Meteorol. Soc."}
638 MACRO {cch} {"Clim. Change"}
639 MACRO {cdyn} {"Clim. Dynam."}
640 MACRO {cbul} {"Climatol. Bull."}
641 MACRO {cap} {"Contrib. Atmos. Phys."}
642 MACRO {dsr} {"Deep-Sea Res."}
643 MACRO {dhz} {"Dtsch. Hydrogr. Z."}
644 MACRO {dao} {"Dynam. Atmos. Oceans"}
645 MACRO {eco} {"Ecology"}
646 MACRO {empl}{"Earth, Moon and Planets"}
647 MACRO {envres} {"Environ. Res."}
648 MACRO {envst} {"Environ. Sci. Technol."}
649 MACRO {ecms} {"Estuarine Coastal Mar. Sci."}
650 MACRO {expa}{"Exper. Astron."}
651 MACRO {geoint} {"Geofis. Int."}
652 MACRO {geopub} {"Geofys. Publ."}
653 MACRO {geogeo} {"Geol. Geofiz."}
654 MACRO {gafd} {"Geophys. Astrophys. Fluid Dyn."}
655 MACRO {gfd} {"Geophys. Fluid Dyn."}
656 MACRO {geomag} {"Geophys. Mag."}
657 MACRO {georl} {"Geophys. Res. Lett."}
658 MACRO {grl} {"Geophys. Res. Lett."}
659 MACRO {ga} {"Geophysica"}
660 MACRO {gs} {"Geophysics"}
661 MACRO {ieeetap} {"IEEE Trans. Antenn. Propag."}
662 MACRO {ijawp} {"Int. J. Air Water Pollut."}
663 MACRO {ijc} {"Int. J. Climatol."}
664 MACRO {ijrs} {"Int. J. Remote Sens."}
665 MACRO {jam} {"J. Appl. Meteorol."}
666 MACRO {jaot} {"J. Atmos. Ocean. Technol."}
667 MACRO {jatp} {"J. Atmos. Terr. Phys."}
668 MACRO {jce} {"J. Climate"}
669 MACRO {jcam} {"J. Climate Appl. Meteor."}
670 MACRO {jcm} {"J. Climate Meteor."}
671 MACRO {jcy} {"J. Climatol."}
672 MACRO {jgr} {"J. Geophys. Res."}
673 MACRO {jga} {"J. Glaciol."}
674 MACRO {jh} {"J. Hydrol."}
675 MACRO {jmr} {"J. Mar. Res."}
676 MACRO {jmrj} {"J. Meteor. Res. Japan"}
677 MACRO {jm} {"J. Meteor."}
678 MACRO {jpo} {"J. Phys. Oceanogr."}
679 MACRO {jra} {"J. Rech. Atmos."}
680 MACRO {jaes} {"J. Aeronaut. Sci."}
681 MACRO {japca} {"J. Air Pollut. Control Assoc."}
682 MACRO {jas} {"J. Atmos. Sci."}
683 MACRO {jmts} {"J. Mar. Technol. Soc."}
684 MACRO {jmsj} {"J. Meteorol. Soc. Japan"}
685 MACRO {josj} {"J. Oceanogr. Soc. Japan"}
686 MACRO {jwm} {"J. Wea. Mod."}
687 MACRO {lao} {"Limnol. Oceanogr."}
688 MACRO {mwl} {"Mar. Wea. Log"}
689 MACRO {mau} {"Mausam"}
690 MACRO {meteor} {"``Meteor'' Forschungsergeb."}
691 MACRO {map} {"Meteorol. Atmos. Phys."}
692 MACRO {metmag} {"Meteor. Mag."}
693 MACRO {metmon} {"Meteor. Monogr."}
694 MACRO {metrun} {"Meteor. Rundsch."}
695 MACRO {metzeit} {"Meteor. Z."}
696 MACRO {metgid} {"Meteor. Gidrol."}
697 MACRO {mwr} {"Mon. Weather Rev."}
698 MACRO {nwd} {"Natl. Weather Dig."}
699 MACRO {nzjmfr} {"New Zeal. J. Mar. Freshwater Res."}
700 MACRO {npg} {"Nonlin. Proc. Geophys."}
701 MACRO {om} {"Oceanogr. Meteorol."}
702 MACRO {ocac} {"Oceanol. Acta"}
703 MACRO {oceanus} {"Oceanus"}
704 MACRO {paleoc} {"Paleoceanography"}
705 MACRO {pce} {"Phys. Chem. Earth"}
706 MACRO {pmg} {"Pap. Meteor. Geophys."}
707 MACRO {ppom} {"Pap. Phys. Oceanogr. Meteor."}
708 MACRO {physzeit} {"Phys. Z."}
709 MACRO {pps} {"Planet. Space Sci."}
710 MACRO {pss} {"Planet. Space Sci."}
711 MACRO {pag} {"Pure Appl. Geophys."}
712 MACRO {qjrms} {"Quart. J. Roy. Meteorol. Soc."}
713 MACRO {quatres} {"Quat. Res."}
714 MACRO {rsci} {"Radio Sci."}
715 MACRO {rse} {"Remote Sens. Environ."}
716 MACRO {rgeo} {"Rev. Geophys."}
717 MACRO {rgsp} {"Rev. Geophys. Space Phys."}
718 MACRO {rdgeo} {"Rev. Geofis."}
719 MACRO {revmeta} {"Rev. Meteorol."}
720 MACRO {sgp}{"Surveys in Geophys."}
721 MACRO {sp} {"Solar Phys."}
722 MACRO {ssr} {"Space Sci. Rev."}
723 MACRO {tellus} {"Tellus"}
724 MACRO {tac} {"Theor. Appl. Climatol."}
725 MACRO {tagu} {"Trans. Am. Geophys. Union (EOS)"}
726 MACRO {wrr} {"Water Resour. Res."}
727 MACRO {weather} {"Weather"}
728 MACRO {wafc} {"Weather Forecast."}
729 MACRO {ww} {"Weatherwise"}
730 MACRO {wmob} {"WMO Bull."}
731 MACRO {zeitmet} {"Z. Meteorol."}
732 % End module: geojour.mbs
733
734
735 %-------------------------------------------------------------------
736
737 % Begin module:
738
739
740 % \ProvidesFile{photjour.mbs}[1999/02/24 2.0b (PWD)]
741
742 MACRO {appopt} {"Appl. Opt."}
743
744 MACRO {bell} {"Bell Syst. Tech. J."}
745
746 MACRO {ell} {"Electron. Lett."}
747
748 MACRO {jasp} {"J. Appl. Spectr."}
749
750 MACRO {jqe} {"IEEE J. Quantum Electron."}
751
752 MACRO {jlwt} {"J. Lightwave Technol."}
753
754 MACRO {jmo} {"J. Mod. Opt."}
755
756 MACRO {josa} {"J. Opt. Soc. America"}
757
758 MACRO {josaa} {"J. Opt. Soc. Amer.~A"}
759
760 MACRO {josab} {"J. Opt. Soc. Amer.~B"}
761
762 MACRO {jdp} {"J. Phys. (Paris)"}
763
764 MACRO {oc} {"Opt. Commun."}
765
766 MACRO {ol} {"Opt. Lett."}
767
768 MACRO {phtl} {"IEEE Photon. Technol. Lett."}
769
770 MACRO {pspie} {"Proc. Soc. Photo-Opt. Instrum. Eng."}
771
772 MACRO {sse} {"Solid-State Electron."}
773
774 MACRO {sjot} {"Sov. J. Opt. Technol."}
775
776 MACRO {sjqe} {"Sov. J. Quantum Electron."}
777
778 MACRO {sleb} {"Sov. Phys.--Leb. Inst. Rep."}
779
780 MACRO {stph} {"Sov. Phys.--Techn. Phys."}
781
782 MACRO {stphl} {"Sov. Techn. Phys. Lett."}
783
784 MACRO {vr} {"Vision Res."}
785
786 MACRO {zph} {"Z. f. Physik"}
787
788 MACRO {zphb} {"Z. f. Physik~B"}
789
790 MACRO {zphd} {"Z. f. Physik~D"}
791
792 MACRO {CLEO} {"CLEO"}
793
794 MACRO {ASSL} {"Adv. Sol.-State Lasers"}
795
796 MACRO {OSA} {"OSA"}
797
798 % End module: photjour.mbs
799
800
801
802 %% Copyright 1994-2000 Patrick W Daly
803 MACRO {acmcs} {"ACM Comput. Surv."}
804
805 MACRO {acta} {"Acta Inf."}
806
807 MACRO {cacm} {"Commun. ACM"}
808
809 MACRO {ibmjrd} {"IBM J. Res. Dev."}
810
811 MACRO {ibmsj} {"IBM Syst.~J."}
812
813 MACRO {ieeese} {"IEEE Trans. Software Eng."}
814
815 MACRO {ieeetc} {"IEEE Trans. Comput."}
816
817 MACRO {ieeetcad}
818 {"IEEE Trans. Comput. Aid. Des."}
819
820 MACRO {ipl} {"Inf. Process. Lett."}
821
822 MACRO {jacm} {"J.~ACM"}
823
824 MACRO {jcss} {"J.~Comput. Syst. Sci."}
825
826 MACRO {scp} {"Sci. Comput. Program."}
827
828 MACRO {sicomp} {"SIAM J. Comput."}
829
830 MACRO {tocs} {"ACM Trans. Comput. Syst."}
831
832 MACRO {tods} {"ACM Trans. Database Syst."}
833
834 MACRO {tog} {"ACM Trans. Graphic."}
835
836 MACRO {toms} {"ACM Trans. Math. Software"}
837
838 MACRO {toois} {"ACM Trans. Office Inf. Syst."}
839
840 MACRO {toplas} {"ACM Trans. Progr. Lang. Syst."}
841
842 MACRO {tcs} {"Theor. Comput. Sci."}
843
844 FUNCTION {bibinfo.check}
845 { swap$
846 duplicate$ missing$
847 {
848 pop$ pop$
849 ""
850 }
851 { duplicate$ empty$
852 {
853 swap$ pop$
854 }
855 { swap$
856 "\bibinfo{" swap$ * "}{" * swap$ * "}" *
857 }
858 if$
859 }
860 if$
861 }
862 FUNCTION {bibinfo.warn}
863 { swap$
864 duplicate$ missing$
865 {
866 swap$ "missing " swap$ * " in " * cite$ * warning$ pop$
867 ""
868 }
869 { duplicate$ empty$
870 {
871 swap$ "empty " swap$ * " in " * cite$ * warning$
872 }
873 { swap$
874 "\bibinfo{" swap$ * "}{" * swap$ * "}" *
875 }
876 if$
877 }
878 if$
879 }
880 FUNCTION {format.eprint}
881 { eprint duplicate$ empty$
882 'skip$
883 { "\eprint"
884 archive empty$
885 'skip$
886 { "[" * archive * "]" * }
887 if$
888 "{" * swap$ * "}" *
889 }
890 if$
891 }
892 FUNCTION {format.url}
893 { url empty$
894 { "" }
895 { "\urlprefix\url{" url * "}" * }
896 if$
897 }
898
899 STRINGS { bibinfo}
900 INTEGERS { nameptr namesleft numnames }
901
902 FUNCTION {format.names}
903 { 'bibinfo :=
904 duplicate$ empty$ 'skip$ {
905 's :=
906 "" 't :=
907 #1 'nameptr :=
908 s num.names$ 'numnames :=
909 numnames 'namesleft :=
910 { namesleft #0 > }
911 { s nameptr
912 nameptr #1 >
913 { "{f.}" format.name$ duplicate$ empty$ 'skip$
914 { tie.or.space.prefix bib.fname.font swap$ * }
915 if$
916 s nameptr
917 "{vv~}{ll}" format.name$ bib.name.font *
918 s nameptr
919 "{jj}" format.name$ duplicate$ empty$ 'skip$
920 { bib.fname.font ", " swap$ * }
921 if$
922 }
923 { "{vv~}{ll}" format.name$ bib.name.font
924 s nameptr
925 "{f.}{, jj}"
926 format.name$ duplicate$ empty$ 'skip$
927 { bib.fname.font ", " swap$ * }
928 if$
929 }
930 if$
931 *
932 bibinfo bibinfo.check
933 't :=
934 nameptr #1 >
935 {
936 nameptr #2
937 #10 +
938 #1 + =
939 numnames #2
940 #10 +
941 > and
942 { "others" 't :=
943 #1 'namesleft := }
944 'skip$
945 if$
946 namesleft #1 >
947 { ", " * t * }
948 {
949 "," *
950 s nameptr "{ll}" format.name$ duplicate$ "others" =
951 { 't := }
952 { pop$ }
953 if$
954 t "others" =
955 {
956 " " * bbl.etal emphasize *
957 }
958 {
959 bbl.and
960 space.word * t *
961 }
962 if$
963 }
964 if$
965 }
966 't
967 if$
968 nameptr #1 + 'nameptr :=
969 namesleft #1 - 'namesleft :=
970 }
971 while$
972 } if$
973 }
974 FUNCTION {format.names.ed}
975 {
976 'bibinfo :=
977 duplicate$ empty$ 'skip$ {
978 's :=
979 "" 't :=
980 #1 'nameptr :=
981 s num.names$ 'numnames :=
982 numnames 'namesleft :=
983 { namesleft #0 > }
984 { s nameptr
985 "{f.}" format.name$ duplicate$ empty$ 'skip$
986 { tie.or.space.prefix bib.fname.font swap$ * }
987 if$
988 s nameptr
989 "{vv~}{ll}" format.name$ bib.name.font *
990 s nameptr
991 "{jj}" format.name$ duplicate$ empty$ 'skip$
992 { bib.fname.font ", " swap$ * }
993 if$
994 *
995 bibinfo bibinfo.check
996 't :=
997 nameptr #1 >
998 {
999 namesleft #1 >
1000 { ", " * t * }
1001 {
1002 numnames #2 >
1003 { "," * }
1004 'skip$
1005 if$
1006 s nameptr "{ll}" format.name$ duplicate$ "others" =
1007 { 't := }
1008 { pop$ }
1009 if$
1010 t "others" =
1011 {
1012
1013 " " * bbl.etal emphasize *
1014 }
1015 {
1016 bbl.and
1017 space.word * t *
1018 }
1019 if$
1020 }
1021 if$
1022 }
1023 't
1024 if$
1025 nameptr #1 + 'nameptr :=
1026 namesleft #1 - 'namesleft :=
1027 }
1028 while$
1029 } if$
1030 }
1031 FUNCTION {format.key}
1032 { empty$
1033 { key field.or.null }
1034 { "" }
1035 if$
1036 }
1037
1038 FUNCTION {format.authors}
1039 { author "author" format.names
1040 duplicate$ empty$ 'skip$
1041 { collaboration "collaboration" bibinfo.check
1042 duplicate$ empty$ 'skip$
1043 { " (" swap$ * ")" * }
1044 if$
1045 *
1046 }
1047 if$
1048 }
1049 FUNCTION {get.bbl.editor}
1050 { editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ }
1051
1052 FUNCTION {format.editors}
1053 { editor "editor" format.names duplicate$ empty$ 'skip$
1054 {
1055 " " *
1056 get.bbl.editor
1057 "(" swap$ * ")" *
1058 *
1059 }
1060 if$
1061 }
1062 FUNCTION {format.isbn}
1063 { isbn "isbn" bibinfo.check
1064 duplicate$ empty$ 'skip$
1065 {
1066 "ISBN " swap$ *
1067 }
1068 if$
1069 }
1070
1071 FUNCTION {format.issn}
1072 { issn "issn" bibinfo.check
1073 duplicate$ empty$ 'skip$
1074 {
1075 "ISSN " swap$ *
1076 }
1077 if$
1078 }
1079
1080 FUNCTION {format.note}
1081 {
1082 note empty$
1083 { "" }
1084 { note #1 #1 substring$
1085 duplicate$ "{" =
1086 'skip$
1087 { output.state mid.sentence =
1088 { "l" }
1089 { "u" }
1090 if$
1091 change.case$
1092 }
1093 if$
1094 note #2 global.max$ substring$ * "note" bibinfo.check
1095 }
1096 if$
1097 }
1098
1099 FUNCTION {format.title}
1100 { title
1101 duplicate$ empty$
1102 { skip$ }
1103 { "t" change.case$ }
1104 if$
1105 "title" bibinfo.check
1106 }
1107
1108 FUNCTION {format.full.names}
1109 {'s :=
1110 "" 't :=
1111 #1 'nameptr :=
1112 s num.names$ 'numnames :=
1113 numnames 'namesleft :=
1114 { namesleft #0 > }
1115 { s nameptr
1116 "{vv~}{ll}" format.name$
1117 't :=
1118 nameptr #1 >
1119 {
1120 nameptr #2
1121 #10 +
1122 #1 + =
1123 numnames #2
1124 #10 +
1125 > and
1126 { "others" 't :=
1127 #1 'namesleft := }
1128 'skip$
1129 if$
1130 namesleft #1 >
1131 { ", " * t * }
1132 {
1133 s nameptr "{ll}" format.name$ duplicate$ "others" =
1134 { 't := }
1135 { pop$ }
1136 if$
1137 t "others" =
1138 {
1139 cite.name.font
1140 " " * bbl.etal emphasize *
1141 }
1142 {
1143 numnames #2 >
1144 { "," * }
1145 'skip$
1146 if$
1147 bbl.and
1148 space.word * t *
1149 }
1150 if$
1151 }
1152 if$
1153 }
1154 't
1155 if$
1156 nameptr #1 + 'nameptr :=
1157 namesleft #1 - 'namesleft :=
1158 }
1159 while$
1160 t "others" =
1161 'skip$
1162 { cite.name.font }
1163 if$
1164 }
1165
1166 FUNCTION {author.editor.key.full}
1167 { author empty$
1168 { editor empty$
1169 { key empty$
1170 { cite$ #1 #3 substring$ }
1171 'key
1172 if$
1173 }
1174 { editor format.full.names }
1175 if$
1176 }
1177 { author format.full.names }
1178 if$
1179 }
1180
1181 FUNCTION {author.key.full}
1182 { author empty$
1183 { key empty$
1184 { cite$ #1 #3 substring$ }
1185 'key
1186 if$
1187 }
1188 { author format.full.names }
1189 if$
1190 }
1191
1192 FUNCTION {editor.key.full}
1193 { editor empty$
1194 { key empty$
1195 { cite$ #1 #3 substring$ }
1196 'key
1197 if$
1198 }
1199 { editor format.full.names }
1200 if$
1201 }
1202
1203 FUNCTION {make.full.names}
1204 { type$ "book" =
1205 type$ "inbook" =
1206 or
1207 'author.editor.key.full
1208 { type$ "proceedings" =
1209 'editor.key.full
1210 'author.key.full
1211 if$
1212 }
1213 if$
1214 }
1215
1216 FUNCTION {output.bibitem}
1217 { newline$
1218 "\bibitem[{" write$
1219 label write$
1220 ")" make.full.names duplicate$ short.list =
1221 { pop$ }
1222 { * }
1223 if$
1224 "}]{" * write$
1225 cite$ write$
1226 "}" write$
1227 newline$
1228 ""
1229 before.all 'output.state :=
1230 }
1231
1232 FUNCTION {n.dashify}
1233 {
1234 't :=
1235 ""
1236 { t empty$ not }
1237 { t #1 #1 substring$ "-" =
1238 { t #1 #2 substring$ "--" = not
1239 { "--" *
1240 t #2 global.max$ substring$ 't :=
1241 }
1242 { { t #1 #1 substring$ "-" = }
1243 { "-" *
1244 t #2 global.max$ substring$ 't :=
1245 }
1246 while$
1247 }
1248 if$
1249 }
1250 { t #1 #1 substring$ *
1251 t #2 global.max$ substring$ 't :=
1252 }
1253 if$
1254 }
1255 while$
1256 }
1257
1258 FUNCTION {word.in}
1259 { bbl.in
1260 " " * }
1261
1262 FUNCTION {format.date}
1263 { year "year" bibinfo.check duplicate$ empty$
1264 {
1265 "empty year in " cite$ * "; set to ????" * warning$
1266 pop$ "????"
1267 }
1268 'skip$
1269 if$
1270 extra.label *
1271 before.all 'output.state :=
1272 ", " swap$ *
1273 }
1274 FUNCTION {format.date.misc}
1275 {
1276 format.date "year" output.check
1277 }
1278 FUNCTION {format.btitle}
1279 { title "title" bibinfo.check
1280 duplicate$ empty$ 'skip$
1281 {
1282 emphasize
1283 }
1284 if$
1285 }
1286 FUNCTION {either.or.check}
1287 { empty$
1288 'pop$
1289 { "can't use both " swap$ * " fields in " * cite$ * warning$ }
1290 if$
1291 }
1292 FUNCTION {format.bvolume}
1293 { volume empty$
1294 { "" }
1295 { bbl.volume volume tie.or.space.prefix
1296 "volume" bibinfo.check * *
1297 series "series" bibinfo.check
1298 duplicate$ empty$ 'pop$
1299 { swap$ bbl.of space.word * swap$
1300 emphasize * }
1301 if$
1302 "volume and number" number either.or.check
1303 }
1304 if$
1305 }
1306 FUNCTION {format.number.series}
1307 { volume empty$
1308 { number empty$
1309 { series field.or.null }
1310 { series empty$
1311 { number "number" bibinfo.check }
1312 { output.state mid.sentence =
1313 { bbl.number }
1314 { bbl.number capitalize }
1315 if$
1316 number tie.or.space.prefix "number" bibinfo.check * *
1317 bbl.in space.word *
1318 series "series" bibinfo.check *
1319 }
1320 if$
1321 }
1322 if$
1323 }
1324 { "" }
1325 if$
1326 }
1327
1328 FUNCTION {format.edition}
1329 { edition duplicate$ empty$ 'skip$
1330 {
1331 output.state mid.sentence =
1332 { "l" }
1333 { "t" }
1334 if$ change.case$
1335 "edition" bibinfo.check
1336 " " * bbl.edition *
1337 }
1338 if$
1339 }
1340 INTEGERS { multiresult }
1341 FUNCTION {multi.page.check}
1342 { 't :=
1343 #0 'multiresult :=
1344 { multiresult not
1345 t empty$ not
1346 and
1347 }
1348 { t #1 #1 substring$
1349 duplicate$ "-" =
1350 swap$ duplicate$ "," =
1351 swap$ "+" =
1352 or or
1353 { #1 'multiresult := }
1354 { t #2 global.max$ substring$ 't := }
1355 if$
1356 }
1357 while$
1358 multiresult
1359 }
1360 FUNCTION {format.pages}
1361 { pages duplicate$ empty$ 'skip$
1362 { duplicate$ multi.page.check
1363 {
1364 bbl.pages swap$
1365 n.dashify
1366 }
1367 {
1368 bbl.page swap$
1369 }
1370 if$
1371 tie.or.space.prefix
1372 "pages" bibinfo.check
1373 * *
1374 }
1375 if$
1376 }
1377 FUNCTION {first.page}
1378 { 't :=
1379 ""
1380 { t empty$ not t #1 #1 substring$ "-" = not and }
1381 { t #1 #1 substring$ *
1382 t #2 global.max$ substring$ 't :=
1383 }
1384 while$
1385 }
1386
1387 FUNCTION {format.journal.pages}
1388 { pages duplicate$ empty$ 'pop$
1389 { swap$ duplicate$ empty$
1390 { pop$ pop$ format.pages }
1391 {
1392 ", " *
1393 swap$
1394 first.page
1395 "pages" bibinfo.check
1396 *
1397 }
1398 if$
1399 }
1400 if$
1401 }
1402 FUNCTION {format.journal.eid}
1403 { eid "eid" bibinfo.check
1404 duplicate$ empty$ 'skip$
1405 { swap$ duplicate$ empty$ 'skip$
1406 {
1407 ", " *
1408 }
1409 if$
1410 swap$
1411 numpages empty$ 'skip$
1412 { bbl.eidpp numpages tie.or.space.prefix
1413 "numpages" bibinfo.check * *
1414 " (" swap$ * ")" * *
1415 }
1416 if$
1417 }
1418 if$ *
1419 }
1420 FUNCTION {format.vol.num.pages}
1421 { volume field.or.null
1422 duplicate$ empty$ 'skip$
1423 {
1424 "volume" bibinfo.check
1425 }
1426 if$
1427 bolden
1428 number "number" bibinfo.check duplicate$ empty$ 'skip$
1429 {
1430 swap$ duplicate$ empty$
1431 { "there's a number but no volume in " cite$ * warning$ }
1432 'skip$
1433 if$
1434 swap$
1435 "(" swap$ * ")" *
1436 }
1437 if$ *
1438 }
1439
1440 FUNCTION {format.chapter.pages}
1441 { chapter empty$
1442 { "" }
1443 { type empty$
1444 { bbl.chapter }
1445 { type "l" change.case$
1446 "type" bibinfo.check
1447 }
1448 if$
1449 chapter tie.or.space.prefix
1450 "chapter" bibinfo.check
1451 * *
1452 }
1453 if$
1454 }
1455
1456 FUNCTION {format.booktitle}
1457 {
1458 booktitle "booktitle" bibinfo.check
1459 emphasize
1460 }
1461 FUNCTION {format.in.ed.booktitle}
1462 { format.booktitle duplicate$ empty$ 'skip$
1463 {
1464 editor "editor" format.names.ed duplicate$ empty$ 'pop$
1465 {
1466 bbl.edby
1467 " " * swap$ *
1468 swap$
1469 "," *
1470 " " * swap$
1471 * }
1472 if$
1473 word.in swap$ *
1474 }
1475 if$
1476 }
1477 FUNCTION {format.thesis.type}
1478 { type duplicate$ empty$
1479 'pop$
1480 { swap$ pop$
1481 "t" change.case$ "type" bibinfo.check
1482 }
1483 if$
1484 }
1485 FUNCTION {format.tr.number}
1486 { number "number" bibinfo.check
1487 type duplicate$ empty$
1488 { pop$ bbl.techrep }
1489 'skip$
1490 if$
1491 "type" bibinfo.check
1492 swap$ duplicate$ empty$
1493 { pop$ "t" change.case$ }
1494 { tie.or.space.prefix * * }
1495 if$
1496 }
1497 FUNCTION {format.article.crossref}
1498 {
1499 word.in
1500 " \cite{" * crossref * "}" *
1501 }
1502 FUNCTION {format.book.crossref}
1503 { volume duplicate$ empty$
1504 { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
1505 pop$ word.in
1506 }
1507 { bbl.volume
1508 swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word *
1509 }
1510 if$
1511 " \cite{" * crossref * "}" *
1512 }
1513 FUNCTION {format.incoll.inproc.crossref}
1514 {
1515 word.in
1516 " \cite{" * crossref * "}" *
1517 }
1518 FUNCTION {format.org.or.pub}
1519 { 't :=
1520 ""
1521 address empty$ t empty$ and
1522 'skip$
1523 {
1524 add.blank "(" *
1525 t empty$
1526 { address "address" bibinfo.check *
1527 }
1528 { t *
1529 address empty$
1530 'skip$
1531 { ", " * address "address" bibinfo.check * }
1532 if$
1533 }
1534 if$
1535 ")" *
1536 }
1537 if$
1538 }
1539 FUNCTION {format.publisher.address}
1540 { publisher "publisher" bibinfo.warn format.org.or.pub
1541 }
1542
1543 FUNCTION {format.organization.address}
1544 { organization "organization" bibinfo.check format.org.or.pub
1545 }
1546
1547 FUNCTION {article}
1548 { output.bibitem
1549 format.authors "author" output.check
1550 author format.key output
1551 format.date "year" output.check
1552 date.block
1553 crossref missing$
1554 {
1555 ""
1556 journal
1557 duplicate$ empty$
1558 { pop$ pop$ } {
1559 "journal" bibinfo.check
1560 * "journal" output.check
1561 add.blank
1562 } if$
1563 format.vol.num.pages output
1564 }
1565 { format.article.crossref output.nonnull
1566 }
1567 if$
1568 eid empty$
1569 { format.journal.pages }
1570 { format.journal.eid }
1571 if$
1572 format.issn output
1573 format.note output
1574 journal empty$ volume empty$ or {
1575 format.eprint output
1576 } {} if$
1577 format.url output
1578 fin.entry
1579 }
1580 FUNCTION {book}
1581 { output.bibitem
1582 author empty$
1583 { format.editors "author and editor" output.check
1584 editor format.key output
1585 }
1586 { format.authors output.nonnull
1587 crossref missing$
1588 { "author and editor" editor either.or.check }
1589 'skip$
1590 if$
1591 }
1592 if$
1593 format.date "year" output.check
1594 date.block
1595 format.btitle "title" output.check
1596 crossref missing$
1597 { format.bvolume output
1598 format.number.series output
1599 format.publisher.address output
1600 }
1601 {
1602 format.book.crossref output.nonnull
1603 }
1604 if$
1605 format.edition output
1606 format.isbn output
1607 format.note output
1608 format.eprint output
1609 format.url output
1610 fin.entry
1611 }
1612 FUNCTION {booklet}
1613 { output.bibitem
1614 format.authors output
1615 author format.key output
1616 format.date "year" output.check
1617 date.block
1618 format.title "title" output.check
1619 howpublished "howpublished" bibinfo.check output
1620 address "address" bibinfo.check output
1621 format.isbn output
1622 format.note output
1623 format.eprint output
1624 format.url output
1625 fin.entry
1626 }
1627
1628 FUNCTION {inbook}
1629 { output.bibitem
1630 author empty$
1631 { format.editors "author and editor" output.check
1632 editor format.key output
1633 }
1634 { format.authors output.nonnull
1635 crossref missing$
1636 { "author and editor" editor either.or.check }
1637 'skip$
1638 if$
1639 }
1640 if$
1641 format.date "year" output.check
1642 date.block
1643 format.btitle "title" output.check
1644 crossref missing$
1645 {
1646 format.publisher.address output
1647 format.bvolume output
1648 format.chapter.pages "chapter and pages" output.check
1649 format.number.series output
1650 }
1651 {
1652 format.chapter.pages "chapter and pages" output.check
1653 format.book.crossref output.nonnull
1654 }
1655 if$
1656 format.edition output
1657 crossref missing$
1658 { format.isbn output }
1659 'skip$
1660 if$
1661 format.pages "pages" output.check
1662 format.note output
1663 format.eprint output
1664 format.url output
1665 fin.entry
1666 }
1667
1668 FUNCTION {incollection}
1669 { output.bibitem
1670 format.authors "author" output.check
1671 author format.key output
1672 format.date "year" output.check
1673 date.block
1674 crossref missing$
1675 { format.in.ed.booktitle "booktitle" output.check
1676 format.publisher.address output
1677 format.bvolume output
1678 format.number.series output
1679 format.chapter.pages output
1680 format.edition output
1681 format.isbn output
1682 }
1683 { format.incoll.inproc.crossref output.nonnull
1684 format.chapter.pages output
1685 }
1686 if$
1687 format.pages "pages" output.check
1688 format.note output
1689 format.eprint output
1690 format.url output
1691 fin.entry
1692 }
1693 FUNCTION {inproceedings}
1694 { output.bibitem
1695 format.authors "author" output.check
1696 author format.key output
1697 format.date "year" output.check
1698 date.block
1699 crossref missing$
1700 { format.in.ed.booktitle "booktitle" output.check
1701 publisher empty$
1702 { format.organization.address output }
1703 { organization "organization" bibinfo.check output
1704 format.publisher.address output
1705 }
1706 if$
1707 format.bvolume output
1708 format.number.series output
1709 format.pages output
1710 format.isbn output
1711 format.issn output
1712 }
1713 { format.incoll.inproc.crossref output.nonnull
1714 format.pages output
1715 }
1716 if$
1717 format.note output
1718 format.eprint output
1719 format.url output
1720 fin.entry
1721 }
1722 FUNCTION {conference} { inproceedings }
1723 FUNCTION {manual}
1724 { output.bibitem
1725 format.authors output
1726 author format.key output
1727 format.date "year" output.check
1728 date.block
1729 format.btitle "title" output.check
1730 organization "organization" bibinfo.check output
1731 address "address" bibinfo.check output
1732 format.edition output
1733 format.note output
1734 format.eprint output
1735 format.url output
1736 fin.entry
1737 }
1738
1739 FUNCTION {mastersthesis}
1740 { output.bibitem
1741 format.authors "author" output.check
1742 author format.key output
1743 format.date "year" output.check
1744 date.block
1745 format.btitle
1746 "title" output.check
1747 bbl.mthesis format.thesis.type output.nonnull
1748 school "school" bibinfo.warn output
1749 address "address" bibinfo.check output
1750 format.note output
1751 format.eprint output
1752 format.url output
1753 fin.entry
1754 }
1755
1756 FUNCTION {misc}
1757 { output.bibitem
1758 format.authors output
1759 author format.key output
1760 format.date.misc
1761 date.block
1762 format.title output
1763 howpublished "howpublished" bibinfo.check output
1764 format.note output
1765 format.eprint output
1766 format.url output
1767 fin.entry
1768 }
1769 FUNCTION {phdthesis}
1770 { output.bibitem
1771 format.authors "author" output.check
1772 author format.key output
1773 format.date "year" output.check
1774 date.block
1775 format.btitle
1776 "title" output.check
1777 bbl.phdthesis format.thesis.type output.nonnull
1778 school "school" bibinfo.warn output
1779 address "address" bibinfo.check output
1780 format.note output
1781 format.eprint output
1782 format.url output
1783 fin.entry
1784 }
1785
1786 FUNCTION {proceedings}
1787 { output.bibitem
1788 format.editors output
1789 editor format.key output
1790 format.date "year" output.check
1791 date.block
1792 format.btitle "title" output.check
1793 format.bvolume output
1794 format.number.series output
1795 publisher empty$
1796 { format.organization.address output }
1797 { organization "organization" bibinfo.check output
1798 format.publisher.address output
1799 }
1800 if$
1801 format.isbn output
1802 format.issn output
1803 format.note output
1804 format.eprint output
1805 format.url output
1806 fin.entry
1807 }
1808
1809 FUNCTION {techreport}
1810 { output.bibitem
1811 format.authors "author" output.check
1812 author format.key output
1813 format.date "year" output.check
1814 date.block
1815 format.btitle
1816 "title" output.check
1817 format.tr.number output.nonnull
1818 institution "institution" bibinfo.warn output
1819 address "address" bibinfo.check output
1820 format.note output
1821 format.eprint output
1822 format.url output
1823 fin.entry
1824 }
1825
1826 FUNCTION {unpublished}
1827 { output.bibitem
1828 format.authors "author" output.check
1829 author format.key output
1830 format.date "year" output.check
1831 date.block
1832 format.title "title" output.check
1833 format.note "note" output.check
1834 format.eprint output
1835 format.url output
1836 fin.entry
1837 }
1838
1839 FUNCTION {default.type} { misc }
1840 READ
1841 FUNCTION {sortify}
1842 { purify$
1843 "l" change.case$
1844 }
1845 INTEGERS { len }
1846 FUNCTION {chop.word}
1847 { 's :=
1848 'len :=
1849 s #1 len substring$ =
1850 { s len #1 + global.max$ substring$ }
1851 's
1852 if$
1853 }
1854 FUNCTION {format.lab.names}
1855 { 's :=
1856 "" 't :=
1857 s #1 "{vv~}{ll}" format.name$
1858 s num.names$ duplicate$
1859 #2 >
1860 { pop$
1861 cite.name.font
1862 " " * bbl.etal emphasize *
1863 "others" 't :=
1864 }
1865 { #2 <
1866 'skip$
1867 { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
1868 {
1869 " " * bbl.etal emphasize *
1870 "others" 't :=
1871 }
1872 { bbl.and space.word * s #2 "{vv~}{ll}" format.name$
1873 * }
1874 if$
1875 }
1876 if$
1877 }
1878 if$
1879 t "others" =
1880 'skip$
1881 { cite.name.font }
1882 if$
1883 }
1884
1885 FUNCTION {author.key.label}
1886 { author empty$
1887 { key empty$
1888 { cite$ #1 #3 substring$ }
1889 'key
1890 if$
1891 }
1892 { author format.lab.names }
1893 if$
1894 }
1895
1896 FUNCTION {author.editor.key.label}
1897 { author empty$
1898 { editor empty$
1899 { key empty$
1900 { cite$ #1 #3 substring$ }
1901 'key
1902 if$
1903 }
1904 { editor format.lab.names }
1905 if$
1906 }
1907 { author format.lab.names }
1908 if$
1909 }
1910
1911 FUNCTION {editor.key.label}
1912 { editor empty$
1913 { key empty$
1914 { cite$ #1 #3 substring$ }
1915 'key
1916 if$
1917 }
1918 { editor format.lab.names }
1919 if$
1920 }
1921
1922 FUNCTION {calc.short.authors}
1923 { type$ "book" =
1924 type$ "inbook" =
1925 or
1926 'author.editor.key.label
1927 { type$ "proceedings" =
1928 'editor.key.label
1929 'author.key.label
1930 if$
1931 }
1932 if$
1933 'short.list :=
1934 }
1935
1936 FUNCTION {calc.label}
1937 { calc.short.authors
1938 short.list
1939 "("
1940 *
1941 year duplicate$ empty$
1942 short.list key field.or.null = or
1943 { pop$ "" }
1944 'skip$
1945 if$
1946 *
1947 'label :=
1948 }
1949
1950 FUNCTION {sort.format.names}
1951 { 's :=
1952 #1 'nameptr :=
1953 ""
1954 s num.names$ 'numnames :=
1955 numnames 'namesleft :=
1956 { namesleft #0 > }
1957 { s nameptr
1958 "{ll{ }}{ f{ }}{ jj{ }}"
1959 format.name$ 't :=
1960 nameptr #1 >
1961 {
1962 nameptr #2
1963 #10 +
1964 #1 + =
1965 numnames #2
1966 #10 +
1967 > and
1968 { "others" 't :=
1969 #1 'namesleft := }
1970 'skip$
1971 if$
1972 " " *
1973 namesleft #1 = t "others" = and
1974 { "zzzzz" * }
1975 { t sortify * }
1976 if$
1977 }
1978 { t sortify * }
1979 if$
1980 nameptr #1 + 'nameptr :=
1981 namesleft #1 - 'namesleft :=
1982 }
1983 while$
1984 }
1985
1986 FUNCTION {sort.format.title}
1987 { 't :=
1988 "A " #2
1989 "An " #3
1990 "The " #4 t chop.word
1991 chop.word
1992 chop.word
1993 sortify
1994 #1 global.max$ substring$
1995 }
1996 FUNCTION {author.sort}
1997 { author empty$
1998 { key empty$
1999 { "to sort, need author or key in " cite$ * warning$
2000 ""
2001 }
2002 { key sortify }
2003 if$
2004 }
2005 { author sort.format.names }
2006 if$
2007 }
2008 FUNCTION {author.editor.sort}
2009 { author empty$
2010 { editor empty$
2011 { key empty$
2012 { "to sort, need author, editor, or key in " cite$ * warning$
2013 ""
2014 }
2015 { key sortify }
2016 if$
2017 }
2018 { editor sort.format.names }
2019 if$
2020 }
2021 { author sort.format.names }
2022 if$
2023 }
2024 FUNCTION {editor.sort}
2025 { editor empty$
2026 { key empty$
2027 { "to sort, need editor or key in " cite$ * warning$
2028 ""
2029 }
2030 { key sortify }
2031 if$
2032 }
2033 { editor sort.format.names }
2034 if$
2035 }
2036
2037 FUNCTION {presort}
2038 { calc.label
2039 label sortify
2040 " "
2041 *
2042 type$ "book" =
2043 type$ "inbook" =
2044 or
2045 'author.editor.sort
2046 { type$ "proceedings" =
2047 'editor.sort
2048 'author.sort
2049 if$
2050 }
2051 if$
2052 #1 entry.max$ substring$
2053 'sort.label :=
2054 sort.label
2055 *
2056 " "
2057 *
2058 title field.or.null
2059 sort.format.title
2060 *
2061 #1 entry.max$ substring$
2062 'sort.key$ :=
2063 mciteplustail.adj.sort.key
2064 }
2065
2066 ITERATE {presort}
2067 SORT
2068 STRINGS { last.label next.extra }
2069 INTEGERS { last.extra.num number.label }
2070 FUNCTION {initialize.extra.label.stuff}
2071 { #0 int.to.chr$ 'last.label :=
2072 "" 'next.extra :=
2073 #0 'last.extra.num :=
2074 #0 'number.label :=
2075 }
2076 FUNCTION {forward.pass}
2077 { last.label label =
2078 { last.extra.num #1 + 'last.extra.num :=
2079 last.extra.num int.to.chr$ 'extra.label :=
2080 }
2081 { "a" chr.to.int$ 'last.extra.num :=
2082 "" 'extra.label :=
2083 label 'last.label :=
2084 }
2085 if$
2086 number.label #1 + 'number.label :=
2087 }
2088 FUNCTION {reverse.pass}
2089 { next.extra "b" =
2090 { "a" 'extra.label := }
2091 'skip$
2092 if$
2093 extra.label 'next.extra :=
2094 extra.label
2095 duplicate$ empty$
2096 'skip$
2097 { "{\natexlab{" swap$ * "}}" * }
2098 if$
2099 'extra.label :=
2100 label extra.label * 'label :=
2101 }
2102 EXECUTE {initialize.extra.label.stuff}
2103 ITERATE {forward.pass}
2104 REVERSE {reverse.pass}
2105 FUNCTION {bib.sort.order}
2106 { sort.label
2107 " "
2108 *
2109 year field.or.null sortify
2110 *
2111 " "
2112 *
2113 title field.or.null
2114 sort.format.title
2115 *
2116 #1 entry.max$ substring$
2117 'sort.key$ :=
2118 mciteplustail.adj.sort.key
2119 }
2120 ITERATE {bib.sort.order}
2121 SORT
2122 FUNCTION {begin.bib}
2123 { preamble$ empty$
2124 'skip$
2125 { preamble$ write$ newline$ }
2126 if$
2127 "\ifx\mcitethebibliography\mciteundefinedmacro"
2128 write$ newline$
2129 "\PackageError{apsrmpM.bst}{mciteplus.sty has not been loaded}"
2130 write$ newline$
2131 "{This bibstyle requires the use of the mciteplus package.}\fi"
2132 write$ newline$
2133 "\begin{mcitethebibliography}{" number.label int.to.str$ * "}" *
2134 write$ newline$
2135 "\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi"
2136 write$ newline$
2137 "\expandafter\ifx\csname bibnamefont\endcsname\relax"
2138 write$ newline$
2139 " \def\bibnamefont#1{#1}\fi"
2140 write$ newline$
2141 "\expandafter\ifx\csname bibfnamefont\endcsname\relax"
2142 write$ newline$
2143 " \def\bibfnamefont#1{#1}\fi"
2144 write$ newline$
2145 "\expandafter\ifx\csname citenamefont\endcsname\relax"
2146 write$ newline$
2147 " \def\citenamefont#1{#1}\fi"
2148 write$ newline$
2149 "\expandafter\ifx\csname url\endcsname\relax"
2150 write$ newline$
2151 " \def\url#1{\texttt{#1}}\fi"
2152 write$ newline$
2153 "\expandafter\ifx\csname urlprefix\endcsname\relax\def\urlprefix{URL }\fi"
2154 write$ newline$
2155 "\providecommand{\bibinfo}[2]{#2}"
2156 write$ newline$
2157 "\providecommand{\eprint}[2][]{\url{#2}}"
2158 write$ newline$
2159 }
2160 EXECUTE {begin.bib}
2161 EXECUTE {init.state.consts}
2162 ITERATE {call.type$}
2163 FUNCTION {end.bib}
2164 { newline$
2165 "\end{mcitethebibliography}" write$ newline$
2166 }
2167 EXECUTE {end.bib}
2168 %% End of customized bst file
2169 %%
2170 %% End of file `apsrmpM.bst'.