[Tex/LaTex] Change period after the title

bibtexpunctuation

I will loose my nerves here… Please help me with this crazzy bibtex style code.
I want to change my bibtex style file in order to change the dot after the authors and the title with the comma:

H. H. McAdams in A. Arkin. Stochastic mechanisms in gene expression.
Proceedings of the National Academy of Sciences, 94 (3) 814-819
(1997).

with

H. H. McAdams in A. Arkin, Stochastic mechanisms in gene expression,
Proceedings of the National Academy of Sciences, 94 (3) 814-819
(1997).

How can I do that on this file https://www.dropbox.com/s/hog42r9fa669uzt/physicsFNM.bst ?

Also I would need to make a Misc or Electronic source which looks like that:

N. FAMILYNAME, TITLE. Pridobljeno DATE iz LINK.

How can I manage to do that?

Thank you very much!
Vito

Best Answer

The separator is defined under FUNCTION {output.nonnull} in the bst file. Specifically, in your file physicsFNM, locate these lines:

...
FUNCTION {output.nonnull}
{ 's :=
  output.state mid.sentence =
    { ", " * write$ }
    { output.state after.block =
        { add.period$ write$
...

The last line (which corresponds to line 83 on your file) should be changed to:

        { ", " * write$

which yields:

output

Hope it helps!