Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In Endnote, to get name suffixes to display correctly (e.g., First Last, Jr. or First Last, III) you have to enter it as "Last, First, Jr." in the author field. I imported such an entry into biblio the other day and it did not result in "First Last, Jr." being displayed (unfortunately, I don't remember exactly how it was displayed instead).
Comments
Comment #1
rjerome CreditAttribution: rjerome commentedI would have expected that to work. Is that the exact formating (Lastname, Firstname, Jr.)?
Ron.
Comment #2
jonmower CreditAttribution: jonmower commentedIn Endnote I usually use an output format like "F. Last". With a suffix, it should generally be "F. Last, Suffix":
If I enter "W.A. Goddard, III" Endnote displays "I. W. A. Goddard"
If I enter "W.A. Gaddard III" Endnote displays "W. A. G. III"
If I enter "Goddard III, W.A." Endnote displays "W. A. Goddard III" (but I've had to give up the comma between Goddard and III)
If I enter "Goddard, W.A., III" Endnote displays "W. A. Goddard, III" (which is the correct name)
In biblio, "Goddard, W.A., III" is displayed as "Goddard, W.A." (i.e. the suffix is not displayed)
Comment #3
rjerome CreditAttribution: rjerome commentedOk, that doesn't surprise me since the only suffixes I'm looking for are... Jr|Sr|Snr
Ron.
Comment #4
tatien CreditAttribution: tatien commentedI have a similar issue here. Writing it as "Lastname, Firstname, Jr" displays it as "Lastname, Jr , Jr" (no firstname... and a strange space after the first "Jr").
Comment #5
tatien CreditAttribution: tatien commentedI have coded a fix to the _biblio_get_prefix function, here:
Comment #6
rjerome CreditAttribution: rjerome commentedStrangely, If I enter the exact same string, it works fine and I get "Lastname, F. , Jr".
Comment #7
rjerome CreditAttribution: rjerome commentedI have committed the the changes suggested in #5.
Comment #8
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #9
scottrigby@rjerome: is there no suffix support (on submission) in D6? biblio_parse_contributors()
Comment #10
rjerome CreditAttribution: rjerome commentedYes, there should be. Are you saying it's not working? There is a function called biblio_parse_author() in the biblio.contributors.inc file which handles this.
Comment #11
scottrigbyyes, biblio_parse_contributors() calls biblio_parse_author(), and the latter doesn't account for suffix AFAICT?
The help text doesn't mention suffix at all, and after trying many different possible entry formats I could never get it to work (which led me to looking at the functions).
Maybe this is a better question -- is there any way to enter a name (with prefix, first, middle, last and suffix) that will populate those author fields correctly?
As it stands now, the user has to edit each author and correct the entry data so first name is in first, last name last, suffix is really recognized as suffix etc.
Comment #12
Lanae CreditAttribution: Lanae commentedEven directly entering the suffix in the Suffix field when editing an author, doesn't work. The only way I could get the suffix to be displayed at all is to enter "Doe, Jr." as the last name.
Comment #13
rjerome CreditAttribution: rjerome commentedSorry, I didn't get a chance to address this issue prior the the 1.7 release since there was some urgency to get that out. I will look into it soon though.
Ron.
Comment #14
rjerome CreditAttribution: rjerome commentedfixed
http://drupal.org/cvs?commit=273022