Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
2  
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
1  
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
add comment

1 Answer

up vote 13 down vote accepted

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$
}

and then change your document to use myplain.bst instead of plain.bst

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

share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.