BibTeX, biblatex and biberComma located inside Article Title of Bibiography Item

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
azizever83
Posts: 41
Joined: Sun Apr 08, 2012 4:31 pm

Comma located inside Article Title of Bibiography Item

Post by azizever83 »

Hello everybody here,

I have a problem with my reference list. When I generate the output of my file the comma in the article name is inside of the quotation as shown in the attachment. Is there any way to solve this problem? Please note that I am using the "ieeetr" bibliography style.

Code: Select all

\bibliographystyle{ieeetr} 
\bibliography{NbnList}
thanks in advance
Attachments
bibliography-sample.jpg
bibliography-sample.jpg (47.17 KiB) Viewed 8773 times
Last edited by localghost on Wed Jul 11, 2012 9:39 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

Comma located inside Article Title of Bibiography Item

Post by CrazyHorse »

azizever83 wrote:Hello everybody here,

I have a problem with my reference list. When I generate the output of my file the comma in the article name is inside of the quotation as shown in the attachment. Is there any way to solve this problem? Please note that I am using the "ieeetr" bibliography style.

Code: Select all

\bibliographystyle{ieeetr} 
\bibliography{NbnList}
thanks in advance
Copy the file "ieeetr.bst" into your documents folder. Then rename it to "myieeetr.bst". Now find the following code in that file (simply search for tile):

Code: Select all

FUNCTION {format.title}
{ title empty$
    { "" }
    { "``" title "t" change.case$ * ",''" * }<---- edit this line
  if$
}

FUNCTION {format.title.p}
{ title empty$
    { "" }
    { "``" title "t" change.case$ * ".''" * }<---- edit this line
  if$
}
Change it to

Code: Select all

FUNCTION {format.title}
{ title empty$
    { "" }
    { "``" title "t" change.case$ * "''," * }
  if$
}

FUNCTION {format.title.p}
{ title empty$
    { "" }
    { "``" title "t" change.case$ * "''." * }
  if$
}
and it should work if you use \bibliographystyle{myieeetr}.
azizever83
Posts: 41
Joined: Sun Apr 08, 2012 4:31 pm

Re: Comma located inside Article Title of Bibiography Item

Post by azizever83 »

Thanks very much for the reply.
I ahve attached my file. Can you please edit it for my? it is a bit confusing or can you please upload your ieeetr file for me? Sorry I have downloaded some files but they have the same issue.
Thanks again,
Attachments
ieeetr.bst
(16.54 KiB) Downloaded 688 times
azizever83
Posts: 41
Joined: Sun Apr 08, 2012 4:31 pm

Re: Comma located inside Article Title of Bibiography Item

Post by azizever83 »

Thanks CrazyHorse , very much. It is working fine. I have downloaded a file from the Internet and modified it using ur code. Thanks a lot
Post Reply