Transforming the .bib file to get upper cases

With the following entry in the `.bib` file

``````@ARTICLE{a1,
AUTHOR="M., J. J.",
TITLE="My Sample Title",
JOURNAL="Journal Name",
pages="132--234",
YEAR=2000`
}
``````

and with `\bibliographystyle{plain}` in the preamble, my PDF output displays the reference title with lower case, except for the first letter: "My sample title". How could I state that the title should be shown in PDF as I write it in the `.bib` file?

-
Afaik you could enclose the first letter into `{}` like `My {S}ample {T}itle`. But I haven't tried it and I really doubt that this is the best way ... –  Thorsten Apr 23 '12 at 14:25
Of course I could do so. The problem is that the .bib file I have on disposal has around 600 entries. –  boy Apr 23 '12 at 14:42
If you're a Vim user, you could add the braces with `:g/^TITLE=/ s/\<\([A-Z]\)\([a-z]*\)\>/{\1}\2/g`. –  Martin Apr 23 '12 at 15:22

of course, this isn't an answer to "how do i modify my .bib file"...

make a "myplain.bst" that is a copy of plain.bst, but replaces

``````FUNCTION {format.title}
{ title empty\$
{ "" }
{ title "t" change.case\$ }
if\$
}
``````

by

``````FUNCTION {format.title}
{ title empty\$
{ "" }
{ title }
if\$
}
``````

do not, under any circumstances, change your plain.bst file! ... changing a fundamental part of the distribution will lead to tears, later.

-
Thanks. Could you be more specific on 1) where I could find plain.bst file, and 2) where do I specify that my .tex file uses "myplain.bst" file instead of "plain.bst"? –  boy Apr 23 '12 at 20:07
I suppose that changing \bibliographystyle{plain} to \bibliographystyle{myplain} would suffice for the second part, but I still need access to plain.bst file. Where could I find it, and should I place myplain.bst in the same directory with plain.bst? –  boy Apr 24 '12 at 15:28
The answer found here: tex.stackexchange.com/questions/31747/… –  boy Apr 24 '12 at 19:41