3

I have problem with authors initials. I should have a period after a list of authors, but when there is an author, which has only an initial it looks like: "Smith, J.." There are two periods, one from initial and one from the end of the list of authors. How could I add a condition that if there is a period from initial there won't be any other from the end of the list? Many thanks.

Edit:

I have created bst file using bst generator online. However I changed a comma after the list of authors to a period (by replacing ", " with ". " in .bst). I haven't found any bst with period after the list. I now there exist "if" in the bst, I hoped it could solve the problem, but I don't know how to use it.

There is the bib entry:

@ARTICLE{historie_kniha,
   author = {Beekman, G.},
    title = "{I. O. Yarkovsky and the Discovery of 'his' Effect}",
  journal = {Journal for the History of Astronomy},
     year = 2006,
    month = feb,
   volume = 37,
    pages = {71-86},
   adsurl = {http://adsabs.harvard.edu/abs/2006JHA....37...71B},
  adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}

Edit #2: The bst file is there: http://pastebin.com/Ar0S3a27

2
  • 2
    If you use biblatex, this normally can't happen. Which bibliography style do you use?
    – Bernard
    Mar 12, 2014 at 22:31
  • Welcome to TeX.SE! Even with BibTeX (and any well-written style file...) you should not be getting double dots following a first initial. Please indicate which bibliography style you use. Please also consider posting the bib entry that's giving you this problem.
    – Mico
    Mar 12, 2014 at 22:49

1 Answer 1

2

Thanks for posting the link to the .bst file. From an examination of the function format.names and some of the other main syntax blocks, it would appear that (i) the style file is programmed to expect that full first names, rather than just initials, are provided for all authors and (ii) a "dot" (.) is inserted between all blocks of the bib entry.

You have two options at this stage -- other than engaging in a major rewrite of parts of the .bst file:

  • change the entry's name field to author = "Beekman, George"
  • change the entry's name field to author = "Beekman, G" -- no trailing dot (because the style file will furnish the dot for you)

Personally, I would recommend you pursue the former option. While it's more work up front, there are two benefits as well: (a) you'll be in full compliance with the style of whatever journal is making you use the bibgen bibliography style, possibly earning you Brownie points with the journal editors :-), and (b) you'll only have to do this once. And, should you decide in the future to submit a paper to some other journal that also expects that full first names are provided for authors and editors, you'll be all-set.

For your reference, here's what the typeset entry looks like if the author's first name is entered as "George" (by the way, which language renders "February" as "únor"?):

enter image description here

\RequirePackage{filecontents}
\documentclass{article}
\begin{filecontents*}{\jobname.bib}
@ARTICLE{historie_kniha,
   author = {Beekman, George},
    title = "{I. O. Yarkovsky and the Discovery of `his' Effect}",
  journal = {Journal for the History of Astronomy},
     year = 2006,
    month = feb,
   volume = 37,
    pages = {71-86},
   adsurl = {http://adsabs.harvard.edu/abs/2006JHA....37...71B},
  adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
\end{filecontents*}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\bibliographystyle{bibgen}
\begin{document}
\cite{historie_kniha}
\bibliography{\jobname}
\end{document}
2
  • Thanks for your reply. "Únor" is Czech term for February. I would like to ensure I'm understanding your reply right. By using the bibgen you mean using the default bst file generated by bst generator?
    – fales
    Mar 15, 2014 at 19:33
  • 1
    @user47866 -- Thanks for the language-related clarification. :-) On line 2 of the file you linked to, it says that the filename is bibgen.bst -- that's why I was using that filename. Obviously, if you've given it a different name, you should use it rather than bibgen.
    – Mico
    Mar 15, 2014 at 19:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .