managing both "et al", and "full names" in the bibliography
Hi,
For a conference, I'm trying to modify a CSL style to obtain that kind of citation and bibliography:
Citation: [Alexander et al., 1977]
Bibliography:
[Alexander et al., 1977] Alexander C., Ishikawa S., Silverstein M. A pattern language. [s.l.] : Oxford University Press US, 1977. 1217 p. ISBN : 0195019199, 9780195019193.
I am not very comfortable with CSL and I can't manage to have both "[Alexander et al., 1977]" and "Alexander C., Ishikawa S., Silverstein M." (all authors) in the bibliography.
When I use:
<option name="et-al-min" value="3"/>
<option name="et-al-use-first" value="1"/>
<option name="et-al-subsequent-min" value="3"/>
in the section <bibliography></bibliography> the result is:
[Alexander et al., 1977] Alexander C. et al. A pattern language. [s.l.] : Oxford University Press US, 1977. 1217 p. ISBN : 0195019199, 9780195019193.
("et al" is shown instead of the whole authors names)
If I remove the options concerning "et-al" from bibliography section I obtain:
[Alexander, Ishikawa, Silverstein, 1977] Alexander C., Ishikawa S., Silverstein M. A pattern language. [s.l.] : Oxford University Press US, 1977. 1217 p. ISBN : 0195019199, 9780195019193.
(And so, the reference to citation is not correct).
How can I manage to have both correct citation and extended names in bibliography?
For a conference, I'm trying to modify a CSL style to obtain that kind of citation and bibliography:
Citation: [Alexander et al., 1977]
Bibliography:
[Alexander et al., 1977] Alexander C., Ishikawa S., Silverstein M. A pattern language. [s.l.] : Oxford University Press US, 1977. 1217 p. ISBN : 0195019199, 9780195019193.
I am not very comfortable with CSL and I can't manage to have both "[Alexander et al., 1977]" and "Alexander C., Ishikawa S., Silverstein M." (all authors) in the bibliography.
When I use:
<option name="et-al-min" value="3"/>
<option name="et-al-use-first" value="1"/>
<option name="et-al-subsequent-min" value="3"/>
in the section <bibliography></bibliography> the result is:
[Alexander et al., 1977] Alexander C. et al. A pattern language. [s.l.] : Oxford University Press US, 1977. 1217 p. ISBN : 0195019199, 9780195019193.
("et al" is shown instead of the whole authors names)
If I remove the options concerning "et-al" from bibliography section I obtain:
[Alexander, Ishikawa, Silverstein, 1977] Alexander C., Ishikawa S., Silverstein M. A pattern language. [s.l.] : Oxford University Press US, 1977. 1217 p. ISBN : 0195019199, 9780195019193.
(And so, the reference to citation is not correct).
How can I manage to have both correct citation and extended names in bibliography?
What you have here is a rather odd "label" style, where you want a special algorithm for generating that label. CSL only has support now for a simple text label. I don't recall how you specify the label in Zotero. Anyone else know?
So, I will modify the bibliography by hand just before sending it...
But these kinds of bibliographic style are often used in France... So Zotero and CSL software, will fail on every of these cases. For insatnce, I tried to make this one: http://w3a.umons.ac.be/~eiah2011/eiah2011.doc
This requires Zotero 2.1 though.
Aside: there's an interesting implementation question here. In my python code, I essentially assume a variable can only print once. So once something gets printed, the variable goes away. This happens to be very convenient for handling common issues like substitutions. But it wouldn't work here.
edit: confirmed, see https://groups.google.com/d/topic/citeproc-js/n7aqhB-ORPE/discussion
No luck for my first attempt to edit a Zotero style...
I started with more aggressive behavior (allowing all variables to render only once), then dialed back to suppressing only repeated rendering of name variables, and then (fairly recently) restricted suppression to variables rendered through cs:substitute, for compatibility with the original Zotero processor (and, as Rintze notes below, to conform to the letter of the CSL specification).
Citation: [Alexander et al., 1977]
Bibliography:
[Alexander et al., 1977] Alexander C., Ishikawa S., Silverstein M. A pattern language. [s.l.] : Oxford University Press US, 1977. 1217 p. ISBN : 0195019199, 9780195019193.
As I'm not very comfortable with XML, I don't know how to deal with this case (having different rules for 'et-al' in the same context: label & bibliography)
<macro name="author-short">
<names variable="author">
<name et-al-min="3" et-al-use-first="1" form="short" and="symbol" delimiter=", " initialize-with=". "/>
<substitute>
<names variable="editor"/>
<names variable="translator"/>
</substitute>
</names>
</macro>
and then you call this first thing in the bibliography, with the brackets
<text macro="author-short" prefix="[" suffix="]"/>