Too many commas appearing after author names in bibliography
Hi
I am having a bit of trouble with a custom style I developed for my thesis.
Where I have references with three or more authors, all but the last two authors have an extra comma after their name in the bibliography.
For example, the citation (Abrahamse, Steg, Vlek and Rothengatter, 2007) produces the following list of authors in the bibliography:
Abrahamse, W.,, Steg, L.,, Vlek, C., and Rothengatter, T., 2007.
Please note the double commas after W. and L.
I am not sure what part of the code to examine to find out where it has gone wrong so any help would be most welcome.
Please also let me know if I can provide you with any further details.
Thanks
Alex
I am having a bit of trouble with a custom style I developed for my thesis.
Where I have references with three or more authors, all but the last two authors have an extra comma after their name in the bibliography.
For example, the citation (Abrahamse, Steg, Vlek and Rothengatter, 2007) produces the following list of authors in the bibliography:
Abrahamse, W.,, Steg, L.,, Vlek, C., and Rothengatter, T., 2007.
Please note the double commas after W. and L.
I am not sure what part of the code to examine to find out where it has gone wrong so any help would be most welcome.
Please also let me know if I can provide you with any further details.
Thanks
Alex
Copy&paste to gist.github.com --> Create public gist and post the URL here. You won't need to register for a github account if you don't want to.
https://gist.github.com/anonymous/cbd84eba6d459684da08/
Thanks
https://gist.github.com/anonymous/cbd84eba6d459684da08/#file-code-csl-L26
I looked at line 38 and found it had a delimiter but not a suffix so I decided to remove the suffix from line 26.
However I would like to understand where I went wrong and I am having trouble with this. As far as I understand it:
* Line 26 puts a suffix after all but the last two authors when there are three or more authors, the suffix is a comma
* The delimiter goes between all but the last author name
I had a read of a couple of csl websites but I still cannot get my head round where I went wrong, if you have a spare moment please could you point me in the right direction?
Thanks
you basically never want to use a suffix on cs:name
What it does is, it adds the suffix after each listed name. So this: is incorrect. None of these qualifiers apply: it's a comma after every name. And since your description of what the delimiter does is correct, that means, in total, you get 2 commas after each but the last two authors.