[Tex/LaTex] How to enclose titles with quotation marks through changing the .bst file

bibtex

I want to enclose the title of articles in journal:
Replacing

Amihud, Y., Mendelson, H.. Asset pricing and the bid-ask spread.
Journal of Financial Economics 1986;17:223–249.

to

Amihud, Y., Mendelson, H.. "Asset pricing and the bid-ask spread."
Journal of Financial Economics 1986;17:223–249.

Now, I'm using model4-names.bst, which can be obtained from the following site(hyperlink).

Best Answer

Try adding the following function:

FUNCTION {quote}
{ duplicate$ empty$
    { pop$ "" }
    { "``" swap$ * "''" * }
  if$
}

Then, in the function FUNCTION {format.title}, change the following line from

{ "t" change.case$ }

to

{ "t" change.case$ quote}

Let me know if it works ;) .