So ASME provides asmems4.bst
to generate a citation style which contradicts their requirement online: https://libraryguides.missouri.edu/mae/asmecitation.
I was trying to tinker the bst
file, i.e. change the FUNCTION {output.nonnull}
to following. Although it did not work quite right as shown in the pictures.
FUNCTION {output.nonnull}
{ 's :=
output.state mid.sentence =
{ ", " * write$ }
{ output.state after.block =
{ ", " * write$
newline$
"\newblock " write$
}
{ output.state before.all =
'write$
{ ", " * write$ }
if$
}
if$
mid.sentence 'output.state :=
}
if$
s
}
I really need the commas inside the quotes. Does anyone know how to do it? Thanks