% rle.bst modified by S. Uetake for the Review of Laser Engineering % % BibTeX custamized bibliography style `_jpsj.bst' % This style is a modification of "plain.bst". % Nov 15, 1996 by Shinsaku Fujita. % It aims at preparing a format for citing an article % in J. Physical Society of Japan. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Released on Nov 15, 1996: Version 1.00 % Copyright (C) 1996 by Shinsaku Fujita, all rights reserved. % This bibliography style file is created for submitting a manuscript to % J. Physical Society of Japan (journal name). % This style file is to be contained in the ``chemist'' directory % which is an input directory for TeX. % % This bibliography style is for BibTeX version 0.99a. % (No counterpart for BibTeX version 0.98i) % % <<< % This style does not support the following reference types: % manual, masterthesis, proceedings, unpublished, and others % The cross reference functions are not supported. % >>> % % For using this file, see % Shinsaku Fujita, ``LaTeX for Chemists and Biochemists'' % Tokyo Kagaku Dojin, Tokyo (1993), Chapter 19. % このスタイル・ファイルの使用法は、 % 藤田 眞作 著 『化学者・生化学者のためのLaTeX』 % 東京化学同人、東京 (1993)、第19章をご覧下さい。 % % Copying of this file is authorized only if either % (1) you make absolutely no changes to your copy, including name and % directory name % (2) if you do make changes, % (a) you name it something other than the names included in the % ``chemist'' directory and % (b) you acknowledge the original name. % This restriction ensures that all standard styles are identical. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ENTRY { address author booktitle chapter edition editor howpublished institution journal key month note number organization pages publisher school series title type volume year ayear anumber bpage epage } {} { label } INTEGERS { output.state before.all mid.sentence after.sentence after.block } INTEGERS {after.cln after.semicln after.space} FUNCTION {init.state.consts} { #0 'before.all := #1 'mid.sentence := #2 'after.sentence := #3 'after.block := %%%%%%%%%%%%%%%%%%% #4 'after.cln := #5 'after.semicln := #6 'after.space := %%%%%%%%%%%%%%%%%%%% } STRINGS { s t } FUNCTION {output.nonnull} { 's := output.state mid.sentence = { ", " * write$ } { output.state after.space = { " " * write$ } {output.state after.semicln = { "; " * write$ } {output.state after.cln = { ": " * write$ } { output.state after.block = { add.period$ write$ newline$ "\newblock " write$ } { output.state before.all = 'write$ { add.period$ " " * write$ } if$ after.space 'output.state := } if$ after.space 'output.state := } if$ after.space 'output.state := } if$ after.space 'output.state := } if$ after.space 'output.state := } if$ s } FUNCTION {output} { duplicate$ empty$ 'pop$ 'output.nonnull if$ } FUNCTION {output.check} { 't := duplicate$ empty$ { pop$ "empty " t * " in " * cite$ * warning$ } 'output.nonnull if$ } FUNCTION {output.bibitem} { newline$ "\bibitem{" write$ cite$ write$ "}" write$ newline$ "" before.all 'output.state := } FUNCTION {fin.entry} { add.period$ write$ % newline$ } FUNCTION {new.block} { output.state before.all = 'skip$ { after.block 'output.state := } if$ } FUNCTION {space.block} { output.state before.all = 'skip$ { after.space 'output.state := } if$ } FUNCTION {semicln.block} { output.state before.all = 'skip$ { after.semicln 'output.state := } if$ } FUNCTION {cln.block} { output.state before.all = 'skip$ { after.cln 'output.state := } if$ } FUNCTION {comma.block} { output.state before.all = 'skip$ { mid.sentence 'output.state := } if$ } FUNCTION {new.sentence} { output.state after.block = 'skip$ { output.state before.all = 'skip$ { after.sentence 'output.state := } if$ } if$ } FUNCTION {not} { { #0 } { #1 } if$ } FUNCTION {and} { 'skip$ { pop$ #0 } if$ } FUNCTION {or} { { pop$ #1 } 'skip$ if$ } FUNCTION {new.block.checka} { empty$ 'skip$ 'new.block if$ } FUNCTION {new.block.checkb} { empty$ swap$ empty$ and 'skip$ 'new.block if$ } FUNCTION {new.sentence.checka} { empty$ 'skip$ 'new.sentence if$ } FUNCTION {new.sentence.checkb} { empty$ swap$ empty$ and 'skip$ 'new.sentence if$ } FUNCTION {field.or.null} { duplicate$ empty$ { pop$ "" } 'skip$ if$ } FUNCTION {emphasize} { duplicate$ empty$ { pop$ "" } { "{\em " swap$ * "}" * } if$ } FUNCTION {romanize} { duplicate$ empty$ { pop$ "" } { "{\rm " swap$ * "}" * } if$ after.space 'output.state := } INTEGERS { nameptr namesleft numnames } %for Bull. Chem. Soc. Japan %for J. Math. Chem. %for J. Phys. Soc. Jpn. FUNCTION {format.names} { 's := #1 'nameptr := s num.names$ 'numnames := numnames 'namesleft := { namesleft #0 > } { s nameptr "{f. }{vv~}{ll}{, jj}" format.name$ 't := nameptr #1 > { namesleft #1 > { ", " * t * } { numnames #2 > { "," * } 'skip$ if$ t "others" = { " et~al." * } { " and " * t * } if$ } if$ } 't if$ nameptr #1 + 'nameptr := namesleft #1 - 'namesleft := } while$ } FUNCTION {format.authors} { author empty$ { "" } { author format.names * ": " } if$ } FUNCTION {format.editorss} { editor empty$ { "" } { editor format.names } if$ } FUNCTION {format.editors} { editor empty$ { "" } { editor format.names editor num.names$ #1 > { " (ed.): " * } { " (ed.): " * } if$ } if$ } FUNCTION {format.title} { title empty$ { "" } { title "t" change.case$ } if$ } FUNCTION {format.title.incoll} { title empty$ { "" } { title } if$ } FUNCTION {format.title.intech} { title empty$ { "" } { "{\em " title * "}" * } % { "``" title * "\char'42\relax " * } if$ } FUNCTION {n.dashify} { 't := "" { t empty$ not } { t #1 #1 substring$ "-" = { t #1 #2 substring$ "--" = not { "--" * t #2 global.max$ substring$ 't := } { { t #1 #1 substring$ "-" = } { "-" * t #2 global.max$ substring$ 't := } while$ } if$ } { t #1 #1 substring$ * t #2 global.max$ substring$ 't := } if$ } while$ } % copied from prsty.bst by S. Uetake FUNCTION {first.page} { 't := "" { t empty$ not t #1 #1 substring$ "-" = not and } { t #1 #1 substring$ * t #2 global.max$ substring$ 't := } while$ } % end of copy FUNCTION {format.date} { year empty$ { month empty$ { "" } { "there's a month but no year in " cite$ * warning$ month } if$ } { month empty$ 'year { month " " * year * } if$ } if$ } FUNCTION {format.dates} { year empty$ { month empty$ { "" } { "there's a month but no year in " cite$ * warning$ month } if$ } { month empty$ % 'year { "(" year * ")" * } { "" month * " (" * year * ")" * } if$ } if$ } FUNCTION {format.datess} {"" year empty$ { month empty$ { "" } { "there's a month but no year in " cite$ * warning$ month } if$ } { month empty$ { " (" * year * ")" * } { " " * month * " (" * year * ")" * } if$ } if$ } FUNCTION {romaniza} { duplicate$ empty$ { pop$ "" } { "{\rm ``" swap$ * ",\char'42} " * } if$ } FUNCTION {format.btitle} { title emphasize } FUNCTION {format.proctitle} { booktitle emphasize} FUNCTION {tie.or.space.connect} { duplicate$ text.length$ #3 < { "~" } { " " } if$ swap$ * * } FUNCTION {either.or.check} { empty$ 'pop$ { "can't use both " swap$ * " fields in " * cite$ * warning$ } if$ } FUNCTION {format.bbvolume} { volume empty$ { "" after.space 'output.state := } { "Vol." volume tie.or.space.connect series empty$ 'skip$ { " of " * series * } if$ "volume and number" number either.or.check %%% after.space 'output.state := } if$ } FUNCTION {format.bvolume} { volume empty$ { "" } { "Vol." volume tie.or.space.connect series empty$ 'skip$ { " of " * series emphasize * } if$ "volume and number" number either.or.check } if$ } FUNCTION {format.number.series} { volume empty$ { %%%%% after.semicln 'output.state := number empty$ { series field.or.null } { output.state after.space = { "no." } { "No." } if$ number tie.or.space.connect series empty$ { "there's a number but no series in " cite$ * warning$ } { " In " * series * } if$ } if$ } { "" } if$ } FUNCTION {format.edition} { edition empty$ { "" } { output.state after.space = { edition "l" change.case$ " ed." * } { edition "t" change.case$ " ed." * } if$ } if$ } INTEGERS { multiresult } FUNCTION {multi.page.check} { 't := #0 'multiresult := { multiresult not t empty$ not and } { t #1 #1 substring$ duplicate$ "-" = swap$ duplicate$ "," = swap$ "+" = or or { #1 'multiresult := } { t #2 global.max$ substring$ 't := } if$ } while$ multiresult } FUNCTION {format.pages} { pages empty$ { "" } { pages multi.page.check { "pp." pages n.dashify tie.or.space.connect } { "p." pages tie.or.space.connect } if$ } if$ } FUNCTION {format.vol.num.pages} { volume field.or.null number empty$ 'skip$ { "(" number * ")" * * volume empty$ { "there's a number but no volume in " cite$ * warning$ } 'skip$ if$ } if$ pages empty$ 'skip$ { duplicate$ empty$ { pop$ format.pages } { ":" * pages n.dashify * } if$ } if$ } FUNCTION {format.chapter.pages} { chapter empty$ 'format.pages { type empty$ { "Chapter" } { type "l" change.case$ } if$ chapter tie.or.space.connect pages empty$ 'skip$ { ", " * format.pages * } if$ } if$ } FUNCTION {format.in.ed.booktitle} { booktitle empty$ { "" } { editor empty$ { "" * " {\em " booktitle * edition empty$ { "}, " * } { "}, " * edition * " ed." * } if$ } { "{\em " * booktitle * "}, ed. " * format.editorss * "" } if$ } if$ } FUNCTION {format.in.ed.proctitle} { booktitle empty$ { "" } { editor empty$ { "" * "in ``" * booktitle * edition empty$ { ",\char'42\ " * } { ",\char'42\ " * edition * " ed." * } if$ } { "" * "in ``" * booktitle * edition empty$ { ",\char'42\ ed. by " * format.editorss *} { ",\char'42\ " * edition * " ed., ed. by " * format.editorss * } if$ } if$ } if$ } FUNCTION {format.in.booktitle.ed} { booktitle empty$ { "" } { editor empty$ { "In " booktitle emphasize * } { "In " booktitle emphasize * edition empty$ { "; " * format.editors * } { ", " * edition * " ed.; " * format.editors * } if$ } if$ } if$ } FUNCTION {empty.misc.check} { author empty$ title empty$ howpublished empty$ month empty$ year empty$ note empty$ and and and and and key empty$ not and { "all relevant fields are empty in " cite$ * warning$ } 'skip$ if$ } FUNCTION {format.thesis.type} { type empty$ 'skip$ { pop$ type "t" change.case$ } if$ } FUNCTION {format.tr.number} { type empty$ { "Technical Report" } 'type if$ number empty$ 'skip$ { "No.~" * number *} if$ } FUNCTION {format.article.crossref} { key empty$ { journal empty$ { "need key or journal for " cite$ * " to crossref " * crossref * warning$ "" } { "In {\em " journal * "\/}" * } if$ } { "In " key * } if$ " \cite{" * crossref * "}" * } FUNCTION {format.crossref.editor} { editor #1 "{vv~}{ll}" format.name$ editor num.names$ duplicate$ #2 > { pop$ " et~al." * } { #2 < 'skip$ { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = { " et~al." * } { " and " * editor #2 "{vv~}{ll}" format.name$ * } if$ } if$ } if$ } FUNCTION {format.book.crossref} { volume empty$ { "empty volume in " cite$ * "'s crossref of " * crossref * warning$ "In " } { "Volume" volume tie.or.space.connect " of " * } if$ editor empty$ editor field.or.null author field.or.null = or { key empty$ { series empty$ { "need editor, key, or series for " cite$ * " to crossref " * crossref * warning$ "" * } { "{\em " * series * "\/}" * } if$ } { key * } if$ } { format.crossref.editor * } if$ " \cite{" * crossref * "}" * } FUNCTION {format.incoll.inproc.crossref} { editor empty$ editor field.or.null author field.or.null = or { key empty$ { booktitle empty$ { "need editor, key, or booktitle for " cite$ * " to crossref " * crossref * warning$ "" } { "In {\em " booktitle * "\/}" * } if$ } { "In " key * } if$ } { "In " format.crossref.editor * } if$ " \cite{" * crossref * "}" * } FUNCTION {format.vnpy.a} { after.space 'output.state := "" volume empty$ { number empty$ 'skip$ { "(" * number * ") " * "there's a number but no volume in " cite$ * warning$ } if$ } { "{\bf " * volume * "} " * } if$ year empty$ { " " } { "(" * year * ") " * } if$ bpage empty$ { pages empty$ 'skip$ { "" * pages first.page * } % modified by S. Uetake if$ } { "" * bpage * } if$ } FUNCTION {format.vnpy.pat} { mid.sentence 'output.state := "" volume empty$ { anumber empty$ 'skip$ { "(" * anumber * "), " * "there's an anumber but no volume in " cite$ * warning$ } if$ } { "{\rm " * volume * "} " * } if$ ayear empty$ { "" } { "(" * ayear * ") " * } if$ bpage empty$ { pages empty$ 'skip$ { "" * pages n.dashify * } if$ } { "" * bpage * } if$ } FUNCTION {format.publishers.year} { "" * " (" * publisher * ", " * address * ", " * year * ")" * after.space 'output.state := } FUNCTION {article} { output.bibitem format.authors "author" output.check journal "journal" output.check format.vnpy.a "jmc format" output.check comma.block note output fin.entry } FUNCTION {book} { output.bibitem author empty$ { format.editors "author and editor" output.check } { format.authors output.nonnull} if$ format.btitle "title" output.check format.bbvolume output format.publishers.year format.edition output.nonnull note output fin.entry } FUNCTION {booklet} { output.bibitem format.authors output new.block format.title "title" output.check howpublished address new.block.checkb howpublished output address output format.date output new.block note output fin.entry } FUNCTION {inbook} { output.bibitem author empty$ { format.editors "author and editor" output.check } { format.authors output.nonnull} if$ comma.block format.in.ed.booktitle "booktitle" output.check format.publishers.year format.edition output.nonnull format.bbvolume output format.chapter.pages "chapter and pages" output.check comma.block note output fin.entry } FUNCTION {incollection} { output.bibitem format.authors "author" output.check space.block % format.title.incoll "title" output.check % comma.block format.in.ed.booktitle "booktitle" output.check format.publishers.year format.edition output.nonnull format.bbvolume output format.chapter.pages "chapter and pages" output.check comma.block note output fin.entry } FUNCTION {inproceedings} { output.bibitem format.authors "author" output.check space.block format.title.incoll "title" output.check comma.block format.in.ed.booktitle "booktitle" output.check comma.block organization "organizion" output.check space.block publisher empty$ {publisher "publisher" output.check comma.block address "adress" output.check space.block format.datess "year" output.check comma.block } {format.publishers.year} if$ format.edition output.nonnull format.bbvolume "volume" output.check format.chapter.pages "chapter and pages" output.check comma.block note output fin.entry } FUNCTION {conference} { inproceedings } FUNCTION {manual} { output.bibitem author empty$ { organization empty$ 'skip$ { organization output.nonnull address output } if$ } { format.authors output.nonnull } if$ new.block format.btitle "title" output.check author empty$ { organization empty$ { address new.block.checka address output } 'skip$ if$ } { organization address new.block.checkb organization output address output } if$ format.edition output format.date output new.block note output fin.entry } FUNCTION {mastersthesis} { output.bibitem format.authors "author" output.check space.block "Master Thesis" format.thesis.type output.nonnull comma.block school "school" output.check comma.block format.dates "year" output.check semicln.block note output fin.entry } FUNCTION {misc} { output.bibitem format.authors output title howpublished new.block.checkb format.title output howpublished new.block.checka howpublished output format.date output semicln.block note output fin.entry empty.misc.check } FUNCTION {phdthesis} { output.bibitem format.authors "author" output.check space.block "Ph.D. Thesis" format.thesis.type output.nonnull comma.block school "school" output.check comma.block format.dates "year" output.check semicln.block note output fin.entry } FUNCTION {proceedings} { output.bibitem author empty$ { "" } { format.authors output.nonnull} if$ space.block format.proctitle "booktitle" output.check comma.block organization output comma.block publisher "publisher" output.check comma.block address output comma.block format.date "year" output.check comma.block format.chapter.pages "chapter and pages" output.check comma.block note output fin.entry } FUNCTION {techreport} { output.bibitem format.authors "author" output.check space.block format.title.intech "title" output.check comma.block format.tr.number output.nonnull comma.block format.dates "year" output.check comma.block institution "institution" output.check comma.block address output comma.block note output fin.entry } FUNCTION {unpublished} { output.bibitem format.authors "author" output.check space.block format.title "title" output.check comma.block note "note" output.check space.block format.dates "year" output.check fin.entry } FUNCTION {format.pt.number} { type empty$ { "Patent" } 'type if$ number empty$ { "t" change.case$ } { number tie.or.space.connect } if$ } FUNCTION {patent} { output.bibitem format.authors "author" output.check space.block format.pt.number output.nonnull space.block format.dates "year" output.check comma.block note output fin.entry } FUNCTION {patentabst} { output.bibitem format.authors "author" output.check space.block format.pt.number output.nonnull space.block format.dates "year" output.check semicln.block journal emphasize "journal" output.check comma.block format.vnpy.pat "jmc format" output.check comma.block note output fin.entry } FUNCTION {default.type} { misc } MACRO {jan} {"January"} MACRO {feb} {"February"} MACRO {mar} {"March"} MACRO {apr} {"April"} MACRO {may} {"May"} MACRO {jun} {"June"} MACRO {jul} {"July"} MACRO {aug} {"August"} MACRO {sep} {"September"} MACRO {oct} {"October"} MACRO {nov} {"November"} MACRO {dec} {"December"} MACRO {acmcs} {"ACM Computing Surveys"} MACRO {acta} {"Acta Informatica"} MACRO {cacm} {"Communications of the ACM"} MACRO {ibmjrd} {"IBM Journal of Research and Development"} MACRO {ibmsj} {"IBM Systems Journal"} MACRO {ieeese} {"IEEE Transactions on Software Engineering"} MACRO {ieeetc} {"IEEE Transactions on Computers"} MACRO {ieeetcad} {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"} MACRO {ipl} {"Information Processing Letters"} MACRO {jacm} {"Journal of the ACM"} MACRO {jcss} {"Journal of Computer and System Sciences"} MACRO {scp} {"Science of Computer Programming"} MACRO {sicomp} {"SIAM Journal on Computing"} MACRO {tocs} {"ACM Transactions on Computer Systems"} MACRO {tods} {"ACM Transactions on Database Systems"} MACRO {tog} {"ACM Transactions on Graphics"} MACRO {toms} {"ACM Transactions on Mathematical Software"} MACRO {toois} {"ACM Transactions on Office Information Systems"} MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"} MACRO {tcs} {"Theoretical Computer Science"} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% MACRO {acr} {"Acc. Chem. Res."} MACRO {ascand} {"Acta Chem. Scand."} MACRO {ahung} {"Acta Chim. Hung."} MACRO {acrys} {"Acta Cristallogr."} MACRO {ach} {"Angew. Chem."} MACRO {acheng} {"Angew. Chem. Int. Ed. Engl."} MACRO {ajc} {"Aust. J. Chem."} MACRO {bcsj} {"Bull. Chem. Soc. Japan"} MACRO {bscb} {"Bull. Soc. Chim. Belg."} MACRO {bscf} {"Bull. Soc. Chim. Fr."} MACRO {cjc} {"Can. J. Chem."} MACRO {ca} {"Chem. Abstr."} MACRO {cb} {"Chem. Ber."} MACRO {cc} {"Chem. Commun."} MACRO {cen} {"Chem. Eng. News"} MACRO {ci} {"Chem. Ind. (London)"} MACRO {cl} {"Chem. Lett."} MACRO {cpb} {"Chem. Pharm. Bull."} MACRO {cp} {"Chem. Phys."} MACRO {cpl} {"Chem. Phys. Lett."} MACRO {cr} {"C. R. S{\'{e}}ances Acad. Sci."} MACRO {gci} {"Gazz. Chim. Ital."} MACRO {hca} {"Helv. Chim. Acta"} MACRO {ic} {"Inorg. Chem."} MACRO {ica} {"Inorg. Chim. Acta"} MACRO {ijqc} {"Int. J. Quantum Chem."} MACRO {ijc} {"Isr. J. Chem."} MACRO {jacs} {"J. Am. Chem. Soc."} MACRO {jce} {"J. Chem. Educ."} MACRO {jced} {"J. Chem. Eng. Data"} MACRO {jcscc} {"J. Chem. Soc., Chem. Commun."} MACRO {jcsdt} {"J. Chem. Soc., Dalton Trans."} MACRO {jcsft} {"J. Chem. Soc., Faraday Trans."} MACRO {jcspti} {"J. Chem. Soc., Perkin Trans. I"} MACRO {jcsptii} {"J. Chem. Soc., Perkin Trans. II"} MACRO {jomc} {"J. Organomet. Chem."} MACRO {joc} {"J. Org. Chem."} MACRO {jmc} {"J. Math. Chem."} MACRO {jmedc} {"J. Med. Chem."} MACRO {jps} {"J. Phys. Chem."} MACRO {lac} {"Liebigs Ann. Chem."} MACRO {os} {"Org. Synth."} MACRO {or} {"Org. React."} MACRO {pac} {"Pure Appl. Chem."} MACRO {tet} {"Tetrahedron"} MACRO {tl} {"Tetrahedron Lett."} MACRO {tca} {"Theor. Chim. Acta"} MACRO {tfs} {"Trans. Faraday Soc."} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% MACRO {jpsj} {"J. Phys. Soc. Jpn."} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% READ STRINGS { longest.label } INTEGERS { number.label longest.label.width } FUNCTION {initialize.longest.label} { "" 'longest.label := #1 'number.label := #0 'longest.label.width := } FUNCTION {longest.label.pass} { number.label int.to.str$ 'label := number.label #1 + 'number.label := label width$ longest.label.width > { label 'longest.label := label width$ 'longest.label.width := } 'skip$ if$ } EXECUTE {initialize.longest.label} ITERATE {longest.label.pass} FUNCTION{punctuation} { "%%%%%%%%Bibiography Style File for JPSJ %%%%%%%%%%%%%" write$ newline$ "% Released on November 15, 1996: Version 1.00 %" write$ newline$ "% Copyright (C) 1996 by Shinsaku Fujita, %" write$ newline$ "% all rights reserved. %" write$ newline$ "%%%%%%%%%%Bibliography%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" write$ newline$ } EXECUTE {punctuation} FUNCTION {begin.bib} { preamble$ empty$ 'skip$ { preamble$ write$ newline$ } if$ "\begin{thebibliography}{" longest.label * "}" * write$ newline$ } EXECUTE {begin.bib} EXECUTE {init.state.consts} ITERATE {call.type$} FUNCTION {end.bib} { newline$ "\end{thebibliography}" write$ newline$ } EXECUTE {end.bib}