CSL 'if' statement
I'm writing a CSL, and need an 'if' statement to check if the number of authors is >= 6. I'm not yet CSL fluent, so I would be grateful for any assistance.
Regards,
Trevor
Regards,
Trevor
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
what exactly are you trying to do, though? There might be another way to handle this.
Hilasvuori E, Berninger F, Sonninen E, Tuomenvirta H (2006)...
But in cases when there are more than 7 authors, the list should be shortened to 3 authors followed by 'et al.' (and no delimiter before the 'et al.'):
Gaudinski JB, Dawson TE, Quideau S et al. (2005)...
If you have a work-around, that would be great.
delimiter-precedes-et-al="never"
to the bibliography options.
You can already use csl 1.0.1 functions in Zotero (and Mendeley and papers afaik), so for your personal use you can just include this in your csl and it will work, though we currently won't accept it to the style repository.