Shortening forenames does not use betweenInitialsDelim option
Stefan Freudenberg - April 23, 2009 - 15:26
| Project: | Bibliography Module |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
The function theme_biblio_format_authors in biblio_theme.inc does not respect the option betweenInitialsDelim when shortening author's forenames (can be more than one).
My attached patch fixes this and also replaces dashes by the delimiter character. I am using Vancouver style i.e. initials are concatenated without a delimiter. I am not sure if it makes sense to replace the dashes in other cases.
| Attachment | Size |
|---|---|
| format_authors.patch | 849 bytes |

#1
Could you give me an example of an forename you where having trouble with?
#2
All persons with more than one forename produce the problem like "Ko, Han Seok". It was displayed as Ko H S instead of Ko HS using Vancouver style. As for the dashes: Lu, Xiao-Hong is displayed as Lu XH in PubMed citations but Lu X-H with Biblio, Vancouver style.
#3
Ok, I've committed it.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.