% ASME Transactions bibliography style (25-Aug-03 version)
% Adapted from parts of unsrt, acm, and apalike, but:
%    Author names come out "Last, initials" as in acm and apalike;
%    Author name(s) are in \rm like apalike, not \sc as in acm;
%    Year follows name(s) of author(s) as in apalike, but not inside parentheses;
%    Periodical volume number is in \bf;
%    Periodical number is inside parentheses as in unsrt;
%    Pages use pp as in acm.
%
%    History
%     2/ 6/86	(HWT)	 Original `acm' version, by Howard Trickey.
%     3/ 5/86	(HWT)	 Put in pp. everywhere but articles, as per ACM style.
%     1/24/88	(OP&HWT) Updated for BibTeX version 0.99a, Oren Patashnik;
%                        corrected the abbreviations to "Mar." and "Sept.";
%                        SINCE THE `acm' VERSION ON WHICH THIS 'asmems4'
%                        version WAS BASED DOES NOT WORK WITH BIBTEX 0.98i, 
%                        DON"T EXPECT 'asmems4' TO WORK WITH 
%                        BIBTEX 0.98i EITHER.
%     1/1/03    (GRS)   `acm' blended with 'unsrt' and 'apalike' to create
%                       'asmems4'
%     8/25/03   (GRS)   removed brackets surrounding month in article citations

%     1/9/05    (GRS)   modified article to:

%                          remove space between volume and (number)

%                          adjust spaces and commas for all number/month combinations

%                          ensure journal is always italicized
%                       put Thesis Title within quotes instead of italics
%                       modified proceedings and inproceedings to
%                          capitalize Vol.
%                          uncapitalize ed. and eds.

ENTRY
  { address
    author
    booktitle
    chapter
    edition
    editor
    howpublished
    institution
    journal
    key
    month
    note
    number
    organization
    pages
    publisher
    school
    series
    title
    type
    volume
    year
  }
  {}
  { label }

INTEGERS { output.state before.all mid.sentence after.sentence after.block }

FUNCTION {init.state.consts}
{ #0 'before.all :=
  #1 'mid.sentence :=
  #2 'after.sentence :=
  #3 'after.block :=
}

STRINGS { s t }

FUNCTION {output.nonnull}
{ 's :=
  output.state mid.sentence =
    { ", " * write$ }
    { output.state after.block =
	{ add.period$ write$
	  newline$
	  "\newblock " write$
	}
	{ output.state before.all =
	    'write$
	    { add.period$ " " * write$ }
	  if$
	}
      if$
      mid.sentence '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$
}

% asmems4 uses this function to
% put the year after the author(s);
% asmems4 ignores the month
FUNCTION {output.year.check}
{ year empty$
    { "empty year in " cite$ * warning$ }
    { write$
      ", " year * "." *
      mid.sentence 'output.state :=
    }
  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 {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 {field.or.null}
{ duplicate$ empty$
    { pop$ "" }
    'skip$
  if$
}

FUNCTION {emphasize}
{ duplicate$ empty$
    { pop$ "" }
    { "{\em " swap$ * "}" * }
  if$
}

FUNCTION {emphasizeic}
{ duplicate$ empty$
    { pop$ "" }
    { "{\em " swap$ * "\/}" * }
  if$
}

FUNCTION {scapify}
{ duplic/|˗5�WU����`aO�:�r�����m3��ec<��w]׃
��k[��HGG�����򃟗t�.�E���bx���1���;���[������R�����4�<$��<VF�Z����<>�|9b؞�h8���,����x\�k�S���3z#�#@r`l���3�Pq�Q�ntP>ٝ�8�%
���g#�Ƀ
} X��\�%�x����8Bbo�B���!p��-réۈV��NNMU���u{�s�zӓ�&��S�Qo��y�!޻Wy�9j��X�
��R�TVa���v�]��16_��k�0��aƅ���#Y��3�c�&�B�mD�UB%؅�!�K�7[+x+Ɂ�)Ь�ht#��j��}�:���t^k����r��e����v%����X$V�F�@�]�����>��4V�{*�Ya�+�ѱ|"R�p���D�+�v��,x�뒳����62��.rOٓ�Cj���r0�%�	���y"j7E����F(ZMp�8[<�
9��)pNi�������G��3H�c��h>'�7ɷ�,�����A�i �|e*[�#�>`�nn:�����f��Z]��n�U�ԿDQ����¥��&<;nJFGߋ�5�g(�����ɝ�V�P�Z«F�A��Z:�"p58Wv3 �����;����8/t�#  ��(�����
L�@U��|�&%XE8��"�0���09S�Q���f������|È�Yϥ�8-��"��@�K�#SM{�Z(-O
Ѷm̡����,ɏ-�F��[�?/�e��V��ZB��P/v4����5��AA.���He�N���up��
*���͠ǥ�zͣ�%Dkc"��w����pf�f��k�h�B�b�_�'b0�+�Ě��=�S/W��j	wy���=��%,�
� �>�U�S���V/!\V\}�q5�I�-�����ڹ��z��+���F��H�lt��T��U�����6X���\��1�G��֮�5_Kf��J�S�fG1(J�׆���}
���ij��\��g�e�i�A�/�?�-z����B%������v3��}��.zk\��p�Z
��R	U���9��Wߡ>���M�FY��8�)O��<Ƞ��f�劮Z�Ǌ)'�c�q�Mᒰ��;磩��>���e�~���YM�D��C ���/b5�4�5�A:��7=ff�ZFDg��(�#ԓ���Q�,�=�So�|"���Ôfw��m��3\-A���q����n5|���ߜ"o@
�1�d��A�kH����C���N��B�f�����H,�$�G����$(����J���N�)����+�>��9���.u�%�|��%����̛��B���#C~��8 ]'Y��i!�Yv��(�n���-����6��5�Q�jd�B����H�0�
w�V��qJ�w��7b�֧�R}fLuli�FGX�Κ��PfڈXI�=�ۚ�l:��}��
�>�5���aMya#iV��n�E�V�Ń-��T������x���(���V�������
���>�o�*��̉U�!��F�/t���&N<W��W��ɭ�9j��@F5ߍ�+h�H�s�[N	�>U��1	�۫��Y�	�G�������p�<�?bk�7�>�5���n�\}8��4��9��W^<r�5��\{��k�D�J��a���(�?���fр�R
�j�X��X	�Y7�h�
�ִŊ5jč`1aw!㸈���z����U�PQ��Y��b����V���Նp˾�{�3��I�������G2;�ܟ�����7��	�+%^�y����U�hl�����AK���%�X�Eڻ��W���W�}"cx���~�T��q;˧��-Z�v�v��z����E&�V5D��qC���V`�+�tL���c���j�R��
��U2�iu%�#<YM��F7!|B�]�yrl�c�d
n�W�`�7�1BOX�-o��1-�HID)7�ph�-��^ȕc^b@����.N´]

�����&B���X��Q�,�d���X�4�q��^��LN�\F����։�DL�?����[�$�`�Q�=vC���6PC��Y�mq���k�	;rb��HHC^���W���͈��R��$x3��_�d�H�k�8^��S��e����J!d%]W~�~����Ln���갍ݬ����F�d{V+��{�G��r�H_Of'����n�[0ו˵z��^iעҰ9��B/:���w�.(�>�^��w�!��[���[*P�&=�ewu:��7���`���E�Ηp\�u�?\%KO�)�-�lO5>5�����p�qr�E�QKb
=<^��z���m���{��+��s�My�S�Zϙ�B+4��_���B(��~}�ݯ�����>���`��.�?1��m��0���c�7]��m�f-��ݼ��ʥ�vsu�<|�p�I~�+���"uWU���dnG���!z��b�ī���:*����������:���~zF�������b��q����ϲ��,�١��������w[|��k�ĵ*§�����/�?y��`l��?����
�d�G�ń �*7�~�����FĒߔ�MՍ4l�:�bp/���-,Ǔ��C�̏#�h뮸��\�W�˝��
�t�ˉz������K��]��]A��εn ����L�z�ފ?����[����A�B��
��+�:]���b�#Jj�)7M!����-�-�m ln�?�:�3�4����3JA�T����n��7���=}�#9�}��mԘ)i4}��\�gB�2T��h�c��(�$^���dm��i�
h$q�&v0�eƙ,�Y��BKb����"g�s 
"�f&���3��1�J��gqg��Θ�����L���2�S2�:A��ϰ"
�'���	�o�+h�}���MͮU�,�!P��L,ߝ�n�&�=�P�e�2FhJ�5$��ǐl7��f^������3a��xd�y���x8v����s�9|�S��_Vc��L�q�-�{�q�uXְTS��������6N!��D��1�%��3鑴g�|��Y�M1�QQ�	G~*��g����E-����W�;��L�TX��S�����I��sJ�Bu�\�4"��ȰO�}��B:y0�b��I���#Dp��[�8�_�����x�#+ݪ���㕜?���GV:"_%C�l���ʻ2��c���X�*�y�/w�!��,J��V9Su{�l\�;�R�176��aD�N�S5}�����_��1(���^�� RS_"8U�j���s�.ǩ=�=u�9�^�Q�R[V�TӜ,Xʸ��8w�k�(N��y�1��V��K~F��:�M��uy���q���3g�����38K�@�>���˾R<�b*��x+��Ffl�o�s`�_��=!\��LG�H�U:P:�����%��[����;^��;�-���r���rV(�;{�c0�\��58���5�c�6���,ZjՀ���J�]L���/�$�k��f��}�Xm��ß�h�c1�@�{ҦW7��4��j�Ɠ�?/�9��N�~���ۙ�Ρs��	u֦��c���3�G��~�`��ҝ{"��O���9�{�$���� L-g^���ɂ
a=��[*ɓ�ȳѻB^��W���j��L�c��\)+W����~W�bͳ��LN��dz3O�=�U�M�eӾ�&�o�o��q�(r�;LS�g2K��l��/c�(�Ow�Z�f^CP�(�#�^�v|F���ɪS�R�=��teթ�ʧ�~uD������t�d�;��i�
��_��8�t��噜�,5^��uo��c��baM�V���9^x�-\�+�j*9��0z%�#��-�h�<�>@�i�Si�E�{�5���E�Z�qѷ��A-J{�I'��<a6��UF!�>>���Z�8MR�m?MҦE��ˡ��F�M��i�� P/<<#"2tC��8��mVf�ru��{�pe_�>I�60$�[R��;�{m�2(
c�}
:+��c?v��j�'�f�>��pd}�4�J貣B:�X�1N��u��mj�i|�[��x���ԍ��$ET�+��=�ҳ�r��$�W�ink�8�ݽ.I�9��#7X�����!nM���r�#������u O1C�7w��*���T5Q�_�����Z(T5��zW�\i�w�̅湍;��{Ӽ��J�����
��]i����l �>R�:��b���d�#��h�1��2�Fj�L�i���������8��o�+ۋ㮺��=�eE���Y�]�첾����y~�ف�M�ћm2�R�B��T¬0����N����Me�3;�S�4� 
4JM��"i`�4���t?(��GX�?���1��
s�ӫC��3�/��n�%x.�|��*�e>��s�ʏ�w���a���ʛ[����|ȅڿ���J�Q%�;���0	^��SC�������`���c+V�?8${���0�k~�l�#Ƴ�b����������/������M�}��������?�J7�%ȑ:���v����W����F%_��_���/X�xG�s�Fϧ;������֕�#�~�̰+�AJ��S]��!��o���qe�|��],4����O8Oi�.���\�x�f�}���j52���1*��y{�s�v�����r<Z4�G�2�8���όލg�/�H9$�ԓ�S��9L��3g~��Ya��ǮE����z
0�E6��$��]�%����$@bPZ��rB����m�J�o�{!;⸕��ݱ�/F-��x�Ǹ�����^�9R��5�u<�N�a���@C�(��1N���ҕ��ɜ7V� .<�����d�;Yby����T^�mlIH��'�;�b�~�+r
� "��w�;G~��?�У[xoC�Zy�w~�J?K^���9+�?�������˛��YPk|��.٤	�n���dW6$�M����
MɐB�p��h͒�j��
��|*U|�:b�k�bJ����)ÖI�0��2l,����T(�w2���C��&=Fk����"`��iÇx�t��4�r�er�-�Tb�V���%V*N�I�Ħ����%l�3�~G�y_	�˔��=�L%ւE$9�
�#�g&U����{���F�x-�#nH��H�pC��؀��N�M_*�8A+�j;sDzWw�{\���J�6�w��@t��9�����%��FQfj�2ܨ�?=s3U^zb��*��p����R
1?s��??���Qg?�T B��1�Np�����"brAw�[솻톷�
o����L�~o7��n��8�KB��8�(���"�2p�Jt���Lh�R����|xLV,�/�^��BnКN�3D��<�`%���b��s�\��	��p��I�{S�yhO���`
VM{A'�J��ťۇ�0�+Nhz��TOiU�������k���.)�x΂��$e����ʑ�v�����Ž�^���]{�^�
���zخ=f�M��o��z�=�����w��o���f��{�qj3���h��d��Ʌ��
�hnfPmWp�Dre�����nWR����qJm�gw�����*��1�
�
Va�����tE�<�t�0�ˈv�f����h���9�l��C���X.����(�!}�~n�r�S(���_lk�ؕ(7SPm9^.�N����X��a�B�;�F׸�e���,�F��"�v���{8)��}�f�%ْ��jWM/�{����.�B�%Ѿl�}+�����ɽ��.��yy׎r��V*��J�S���n��klP��0g�#AE�C2~-�iG\�RؗY�$�t)l�����͡�r���_qA��+�U�$�������LD�<��f����t��c�/���xJ�?wDYza!R"p�@�o�*��GϽԺ���^��������}{�+���ҟ�%�Ԧ/���-�M�<Ne�/�c�+1�����ﳕ�qMc�8�='�,�,�T3p�e7���e+Z.���W_w�5ĳ�]͉0�X��y�r��s���_���r^",�e���{��Fz�J�Vh�n�n,�ac����{F�Ś�����+�t�1u���p�����;����
�n[��G�
��l(�Y����O�����mf����jW 6��`}������U��wh/1��\U�r��5���f!�~�>�A�;��X�2�t�3g;2�� 7s��Ff�7��2���l��	H�@�=��r�����c�Ȍ/x,r������a���=�eq,O�$ m����"-uD
���C�?���_?����
�����_m3�����e�,w�^n�:x�J��<o�[�YEjy��%�o��`�|�/qE�����S��6=�6?_f���~���Jp�!'�<V��a!/a����)	�C���^��d�$`�X�늈s��}3����⇸?�?�Z�����ֈ�V��eH
9Fi��˧��&�&����%��b��!�_ذ3sė3�'��*^����V/��9��2b<o�7���x���s����+z���]���kį��h"�#�e!�*;n,��A�d�b?���M�5��Vc鋔W�#���[�!�cGN��C8�	���.�x6+ԅ�Y�L�a ��j�grgp1�	�[V>�����S7(r[��,�E3E�����`gU��N\;�C@��Zޓ/I�z$�!�'}U0�ߵ�	6e��J,�:�|%장�(k�U�@�h�ʏ:����RJ�Btq����r�rOlQ	��T<�D�8E��y����Z_p�+�
�v�i}n%���"K�lu�&hY�<u�e�o���?*K��EHߧ��AV= k6�e�f{��W��N׆�g�n!w;�C
��J�Y�l8��Vd�.��NX��AK
nW�׫G=���r�\K<.����p�⒒��ZQ�SR�#�ǤM���Di�t����$~�D����/�k{	a�N�`���R���؝x�%'+�fl�zn��Y[��u�N�Y0�`Pb���*;�K|���|��*9R,�/�s���uԒ���t��ۙ?�|���X�����k*vP^�/I^�����[��}�|�c�F.0�)�o�;[B���x��q�j=�>:��$��?��������Mt��ir,����gzZ�教L�Y�����\^�m߆q�Ri؆��@UK
�j$�|G.��(#�i$K�b��UGZY��0�"�gr�q���QZ~�P�1}���5$d9!Z4$=U��'�b��6��Ǯͳ(�}�K�&!xY��Gm!����2L�
Vt�'ug�XG�oc�;�a�.�_ο�T>Z�pybC��U@��,�h����3���7�z����2��*I�V"�V�ٶ�3(`�v��;(

�X+�EXc��_��!�
����&;��>`�K���V�'r}�
ڏ���>��: d�(��k��w�V_^���7�����>�;���xة�q�Q/f�
�m({��%�x�r2�}�F����xnx:Nh�ǆ�P�Z��z��#��=�އ_�ia�e��[`ds���D�
�;#�؂ݧTەtM�Ùk�r�ɷDP5J��w_&��8-��ԊF�8-7���SG�aTS;�w6�j��<��\���+�%-7�=�G<�H��X'Z��J!�����@��o>0������ã����W���3ՄQ��F�ҫ��Tuu�6�ʷ�^�'R��G��1�tu���~���0���3̆Կ�_�FMa�˂!��dY2$��5�_��I����J�9ס۱�Q�T/�R��bd����o�J�"KV�-"����T��
�@7]<B�[_i��f��_�dۉ�$��Cz#��^���%�EĽy
�=��O_]��^�ʷ[�8�ET�@�%��*�����lJ���.k N�f�*�wٴ�	z��/�'����ݓy�GM�Cy���p�+Z��$��L�ѐVA�U�Ǐ�94���@�up�F��m!j��R�3��n8�
��p�h2�LU��% �eg�!xvO�m&�5�W�I���H��ģ����A�9��ԐK~name$ * }
	  if$
	}
      if$
    }
  if$
}

FUNCTION {format.book.crossref}
{ volume empty$
    { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
      "In "
    }
    { "Vol.~" volume *
      " 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 {article}
{ output.bibitem
  format.authors "author" output.check
  author format.key output				% ASME puts year
  output.year.check					    % after author(s)
  new.block
  format.title "title" output.check inquotes % enclose title within quotes
  new.block
  crossref missing$
    { format.journal.vol.num.date output
%      format.pages output               % ASME wants pp pages
      format.pp.pages output             % so add the pp
    }
    { format.article.crossref output.nonnull
      format.pp.pages output
    }
  if$
  new.block
  note output
  fin.entry
}

FUNCTION {book}
{ output.bibitem
  author empty$
    { format.editors "author and editor" output.check }
    { format.authors output.nonnull
      crossref missing$
	{ "author and editor" editor either.or.check }
	'skip$
      if$
    }
  if$
  output.year.check					    % ASME puts year after author(s)
  new.block
  format.btitle "title" output.check
  format.edition output
  crossref missing$
    { format.bvolume output
      new.block
      format.number.series output
      new.sentence
      publisher "publisher" output.check
      address output
    }
    { new.block
      format.book.crossref output.nonnull
    }
  if$
%  format.date "year" output.check      % don't check for year here because
  format.date output                    % ASME puts year after author(s)
  new.block
  note output
  fin.entry
}

FUNCTION {booklet}
{ output.bibitem
  format.authors output
  author format.key output				% ASME puts year
  output.year.check					    % after author(s)
  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
      crossref missing$
	{ "author and editor" editor either.or.check }
	'skip$
      if$
    }
  if$
  output.year.check					    % ASME puts year after author(s)
  new.block
  format.btitle "title" output.check
  format.edition output
  crossref missing$
    { format.bvolume output
      new.block
      format.number.series output
      new.sentence
      publisher "publisher" output.check
      address output
    }
    { new.block
      format.book.crossref output.nonnull
    }
  if$
%  format.date "year" output.check      % don't check for year here because
  format.date  output                   % ASME puts year after author(s)
  format.chapter.pages "chapter and pages" output.check
  new.block
  note output
  fin.entry
}

FUNCTION {incollection}
{ output.bibitem
  format.authors "author" output.check
  author format.key output				% ASME puts year
  output.year.check					    % after author(s)
  new.block
  format.title "title" output.check inquotes % enclose title within quotes
  new.block
  crossref missing$
    { format.in.ed.booktitle "booktitle" output.check
      format.edition output
      format.bvolume output
      format.number.series output
      new.sentence
      publisher "publisher" output.check
      address output
%     format.date "year" output.check      % don't check for year here because
      format.date  output                  % ASME puts year after author(s)
    }
    { format.incoll.inproc.crossref output.nonnull }
  if$
  format.chapter.pages output
  new.block
  note output
  fin.entry
}

FUNCTION {inproceedings}
{ output.bibitem
  format.authors "author" output.check
  author format.key output				% ASME puts year
  output.year.check					    % after author(s)
  new.block
  format.title "title" output.check inquotes % enclose title within quotes
  new.block
  crossref missing$
    { format.in.proc.date "booktitle" output.check
      format.ineditors output
      format.bvolume output
      format.number.series output
      organization output
      publisher output
    }
    { format.incoll.inproc.crossref output.nonnull }
  if$
  format.pp.pages output
  new.block
  note output
  fin.entry
}

FUNCTION {conference} { inproceedings }

FUNCTION {manual}
{ output.bibitem
  author empty$
    { organization scapify output }
    { format.authors output.nonnull }
  if$
  author format.key output				% ASME puts year
  output.year.check					    % after author(s)
  new.block
  format.btitle "title" output.check
  format.edition output
  author empty$
    { address new.block.checka }
    { organization address new.block.checkb
      organization output
    }
  if$
  address output
  format.date output
  new.block
  note output
  fin.entry
}

FUNCTION {mastersthesis}
{ output.bibitem
  format.authors "author" output.check
  author format.key output				% ASME puts year
  output.year.check					    % after author(s)
  new.block
%  format.title "title" output.check
  format.title "title" output.check inquotes % ASME wants title within quotes
  new.block
  "Master's thesis" format.thesis.type output.nonnull
  school "school" output.check
  address output
%  format.date "year" output.check      % don't check for year here because
  format.date  output                   % ASME puts year after author(s)
  new.block
  note output
  fin.entry
}

FUNCTION {misc}
{ output.bibitem
  format.authors output
  author format.key output				% ASME puts year
  output.year.check					    % after author(s)
  title howpublished new.block.checkb
  format.title output
  howpublished new.block.checka
  howpublished output
  format.date output
  new.block
  note output
  fin.entry
  empty.misc.check
}

FUNCTION {phdthesis}
{ output.bibitem
  format.authors "author" output.check
  author format.key output				% ASME puts year
  output.year.check					    % after author(s)
  new.block
%  format.btitle "title" output.check
  format.title "title" output.check inquotes % ASME wants title within quotes
  new.block
  "PhD thesis" format.thesis.type output.nonnull
  school "school" output.check
  address output
%  format.date "year" output.check      % don't check for year here because
  format.date  output                   % ASME puts year after author(s)
  new.block
  note output
  fin.entry
}

FUNCTION {proceedings}
{ output.bibitem
  editor empty$
    { organization scapify output }
    { format.editors output.nonnull }
  if$
  author format.key output				% ASME puts year
  output.year.check					    % after author(s)
  new.block
%  title format.proc.date "title" output.check % ASME doesn't want date here
  title "title" output.check                   % so leave out the date part
  format.bvolume output
  format.number.series output
  editor empty$
    'skip$
    { organization output }
  if$
  publisher output
  new.block
  note output
  fin.entry
}

FUNCTION {techreport}
{ output.bibitem
  format.authors "author" output.check
  author format.key output				% ASME puts year
  output.year.check					    % after author(s)
  new.block
  format.title "title" output.check
  new.block
  format.tr.number output.nonnull
  institution "institution" output.check
  address output
%  format.date "year" output.check      % don't check for year here because
  format.date  output                   % ASME puts year after author(s)
  new.block
  note output
  fin.entry
}

FUNCTION {unpublished}
{ output.bibitem
  format.authors "author" output.check
  author format.key output				% ASME puts year
  output.year.check					    % after author(s)
  new.block
  format.title "title" output.check
  new.block
  note "note" output.check
  format.date output
  fin.entry
}

FUNCTION {default.type} { misc }

MACRO {jan} {"Jan."}

MACRO {feb} {"Feb."}

MACRO {mar} {"Mar."}

MACRO {apr} {"Apr."}

MACRO {may} {"May"}

MACRO {jun} {"June"}

MACRO {jul} {"July"}

MACRO {aug} {"Aug."}

MACRO {sep} {"Sept."}

MACRO {oct} {"Oct."}

MACRO {nov} {"Nov."}

MACRO {dec} {"Dec."}

MACRO {acmcs} {"ACM Comput. Surv."}

MACRO {acta} {"Acta Inf."}

MACRO {cacm} {"Commun. ACM"}

MACRO {ibmjrd} {"IBM J. Res. Dev."}

MACRO {ibmsj} {"IBM Syst.~J."}

MACRO {ieeese} {"IEEE Trans. Softw. Eng."}

MACRO {ieeetc} {"IEEE Trans. Comput."}

MACRO {ieeetcad}
 {"IEEE Trans. Comput.-Aided Design Integrated Circuits"}

MACRO {ipl} {"Inf. Process. Lett."}

MACRO {jacm} {"J.~ACM"}

MACRO {jcss} {"J.~Comput. Syst. Sci."}

MACRO {scp} {"Sci. Comput. Programming"}

MACRO {sicomp} {"SIAM J. Comput."}

MACRO {tocs} {"ACM Trans. Comput. Syst."}

MACRO {tods} {"ACM Trans. Database Syst."}

MACRO {tog} {"ACM Trans. Gr."}

MACRO {toms} {"ACM Trans. Math. Softw."}

MACRO {toois} {"ACM Trans. Office Inf. Syst."}

MACRO {toplas} {"ACM Trans. Program. Lang. Syst."}

MACRO {tcs} {"Theoretical Comput. Sci."}

READ

% % % % % % % % % % % % % % % % % % % % % % % % % % % %
% % % % % % % % % % % % % % % % % % % % % % % % % % % %

% The following functions are for sorting the entries
% Since ASME doesn't want the entries sorted, we'll
% just ignore this entire section.

%FUNCTION {sortify}
%{ purify$
%  "l" change.case$
%}
%
%INTEGERS { len }

%FUNCTION {chop.word}
%{ 's :=
%  'len :=
%  s #1 len substring$ =
%    { s len #1 + global.max$ substring$ }
%    's
%  if$
%}

%FUNCTION {sort.format.names}
%{ 's :=
%  #1 'nameptr :=
%  ""
%  s num.names$ 'numnames :=
%  numnames 'namesleft :=
%    { namesleft #0 > }
%    { nameptr #1 >
%	{ "   " * }
%	'skip$
%      if$
%      s nameptr "{vv{ } }{ll{ }}{  f{ }}{  jj{ }}" format.name$ 't :=
%      nameptr numnames = t "others" = and
%	{ "et al" * }
%	{ t sortify * }
%      if$
%      nameptr #1 + 'nameptr :=
%      namesleft #1 - 'namesleft :=
%    }
%  while$
%}

%FUNCTION {sort.format.title}
%{ 't :=
%  "A " #2
%    "An " #3
%      "The " #4 t chop.word
%    chop.word
%  chop.word
%  sortify
%  #1 global.max$ substring$
%}

%FUNCTION {author.sort}
%{ author empty$
%    { key empty$
%	{ "to sort, need author or key in " cite$ * warning$
%	  ""
%	}
%	{ key sortify }
%      if$
%    }
%    { author sort.format.names }
%  if$
%}

%FUNCTION {author.editor.sort}
%{ author empty$
%    { editor empty$
%	{ key empty$
%	    { "to sort, need author, editor, or key in " cite$ * warning$
%	      ""
%	    }
%	    { key sortify }
%	  if$
%	}
%	{ editor sort.format.names }
%      if$
%    }
%    { author sort.format.names }
%  if$
%}

%FUNCTION {author.organization.sort}
%{ author empty$
%    { organization empty$
%	{ key empty$
%	    { "to sort, need author, organization, or key in " cite$ * warning$
%	      ""
%	    }
%	    { key sortify }
%	  if$
%	}
%	{ "The " #4 organization chop.word sortify }
%      if$
%    }
%    { author sort.format.names }
%  if$
%}

%FUNCTION {editor.organization.sort}
%{ editor empty$
%    { organization empty$
%	{ key empty$
%	    { "to sort, need editor, organization, or key in " cite$ * warning$
%	      ""
%	    }
%	    { key sortify }
%	  if$
%	}
%	{ "The " #4 organization chop.word sortify }
%      if$
%    }
%    { editor sort.format.names }
%  if$
%}

%FUNCTION {presort}
%{ type$ "book" =
%  type$ "inbook" =
%  or
%    'author.editor.sort
%    { type$ "proceedings" =
%	'editor.organization.sort
%	{ type$ "manual" =
%	    'author.organization.sort
%	    'author.sort
%	  if$
%	}
%      if$
%    }
%  if$
%  "    "
%  *
%  year field.or.null sortify
%  *
%  "    "
%  *
%  title field.or.null
%  sort.format.title
%  *
%  #1 entry.max$ substring$
%  �TeK}��z�UK_n�4�D7���	���{%���Yz�#��9v��u�)�Z���KK����±R]hX�d�8"�QLy��s�'u�$�P �(k�W|9M���k�*�!Kl-IYH7�{9)B��R�+�R���Z��@��w�e�,Ǟ���|�Q��BB�.�:?Es�u�\�u܈�����h�=c��TK���M����<'�f�#g���T������d�k��4
!g�C���4TA�r�x�2��wҥf4&o¡\�533�C����#_�lgtħ���9L�_m�` gY�MJ9��w���=�Җ:
-�ۋE'���|�D��Zf�m�h2���p�6K۔H�킡U
Ս���=S-F"z�R�9�X�ġhܾ�K�����"��F�i4�e|Jc�r}HJ�x\���,��6�3_J�de��jxD�-U�ݗ���t)��Vu����Aj�#���WNS�F�5Pf{�+�4|ޫM*s�#O!~���/���e]�����jel&U�皎T���B3�7�dˡ=�Y%ڡq$ͤ�z���J1h�\�D{6��~��\]�BDg�E@Oұ��c��*a��)�MQIL��b$�sz�
�䃤]�xÖsK�8d1��S����aJ�^eku�%Iۯ���~t��������~���9���P���bk�H7`K-���\K-�=צ�Z��������X��B�/�h�s�wY���ꚸV�1{��Q��48�k����;ϱ,�ͯ{�(����o8�M�<��px����o/g��FH󶈷��}0�c�`��[�粽F�vK�*��m�S��!���q-��.A�K�=Z{�	��n� }Z،\7znk�s�K���y��i֊�>_r�e񙄷�	3��&Nba���'$d[�k	,1���B	z�t���;;7��S�3O��O%h9���`~�IW�����;��v�z��:+_��yS�����`�rU�F�f����gIC\�19