Friday, March 31, 2017

bibtex bst abbreviated first names (initials) without spaces

Now, find the line in the BST file that formats author names. Again, you already did this if you followed the advice in the previous question. In the case of abbrvnamed.bst, it looks like this:

{ s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't :=
 
Change it to this:

{ s nameptr "{f{.}.~}{vv~}{ll}{, jj}" format.name$ 't :=
 
That extra {.} tells the built-in BibTeX function format.name$ to replace the default “.␣” that appears between initials within the abbreviated first name with “.”. And that’s all there is to it!
If you’d like to learn how to hack BST files yourself, there’s a nice guide called Tame the BeaST.

Src: http://tex.stackexchange.com/questions/124990/abbreviated-first-names-without-spaces-in-between

No comments:

Post a Comment