Mendeley: et al problem
Hi everyone!
I have done new *.csl, but here is one problem with et al.
(Edited)
I need when quantity of authors is <4 the first author is used at beginning:
Author1. Article / Author1, Author2 // Journal. - Year. - Vol., No. - Pages.
when quantity of authors is 4 and more no author is used at beginning:
Article / Author1, Author2, Author3 et al // Journal. - Year. - Vol., No. - Pages.
(Edited)
For example in 1st case:
1. Gima K. Ionic Current Basis of Electrocardiographic Waveforms: A Model Study / K. Gima, Y. Rudy // Circulation Research. — 2002. — Vol. 90. — P. 889–896.
In 2nd case:
1. Molecular cloning, expression and potential functions of the human proteinase-activated receptor-2 / S. K. Bo, W. Kong, D. Bro et al // Biochem. J. — 1996. — Vol. 314. — P. 1009–1016.
I realized this way:
<macro name="author_beginning">
<names variable="author">
<name et-al-min="4" et-al-use-first="0" name-as-sort-order="all" sort-separator=" " initialize-with=". " delimiter=", " delimiter-precedes-last="never"/>
</names>
</macro>
<macro name="author_middle">
<names variable="author">
<name et-al-min="4" et-al-use-first="3" initialize-with=". " delimiter=", " delimiter-precedes-last="never"/>
</names>
</macro>
<bibliography entry-spacing="0" second-field-align="flush">
<layout suffix=".">
<text variable="citation-number" suffix=". "/>
<group delimiter=". — ">
<group>
<group delimiter=". ">
<text macro="author_beginning"/>
<group delimiter=" / ">
<text macro="title"/>
<text macro="author_middle"/>
</group>
</group>
<text macro="type-number" prefix=": "/>
<text variable="container-title" form="short" prefix=" // "/>
<text macro="edition" prefix=". "/>
<text macro="editor-translator" prefix=" / "/>
</group>
<group delimiter=", ">
<text macro="publisher"/>
<text macro="issued-year"/>
</group>
<text macro="locators"/>
<text macro="page"/>
</group>
</layout>
</bibliography>
Result in 1st case:
1. Gima K., Rudy Y. Ionic Current Basis of Electrocardiographic Waveforms: A Model Study / K. Gima, Y. Rudy // Circulation Research. — 2002. — Vol. 90. — P. 889–896.
In 2nd case:
1. Molecular cloning, expression and potential functions of the human proteinase-activated receptor-2 / S. K. Bo, W. Kong, D. Bro // Biochem. J. — 1996. — Vol. 314. — P. 1009–1016.
Help me plz. Any idea how to solve the problem?
Another problem is with the comma before et al. I need no comma before et al, but in CSL Specification:
With a single name (et-al-use-first="1"), the "et-al" term is preceded by a space (e.g. "Doe et al."). With multiple names, the "et-al" term is preceded by the name delimiter (e.g. "Doe, Smith, et al.").
Is it real to make "Doe, Smith et al."?
I have done new *.csl, but here is one problem with et al.
(Edited)
I need when quantity of authors is <4 the first author is used at beginning:
Author1. Article / Author1, Author2 // Journal. - Year. - Vol., No. - Pages.
when quantity of authors is 4 and more no author is used at beginning:
Article / Author1, Author2, Author3 et al // Journal. - Year. - Vol., No. - Pages.
(Edited)
For example in 1st case:
1. Gima K. Ionic Current Basis of Electrocardiographic Waveforms: A Model Study / K. Gima, Y. Rudy // Circulation Research. — 2002. — Vol. 90. — P. 889–896.
In 2nd case:
1. Molecular cloning, expression and potential functions of the human proteinase-activated receptor-2 / S. K. Bo, W. Kong, D. Bro et al // Biochem. J. — 1996. — Vol. 314. — P. 1009–1016.
I realized this way:
<macro name="author_beginning">
<names variable="author">
<name et-al-min="4" et-al-use-first="0" name-as-sort-order="all" sort-separator=" " initialize-with=". " delimiter=", " delimiter-precedes-last="never"/>
</names>
</macro>
<macro name="author_middle">
<names variable="author">
<name et-al-min="4" et-al-use-first="3" initialize-with=". " delimiter=", " delimiter-precedes-last="never"/>
</names>
</macro>
<bibliography entry-spacing="0" second-field-align="flush">
<layout suffix=".">
<text variable="citation-number" suffix=". "/>
<group delimiter=". — ">
<group>
<group delimiter=". ">
<text macro="author_beginning"/>
<group delimiter=" / ">
<text macro="title"/>
<text macro="author_middle"/>
</group>
</group>
<text macro="type-number" prefix=": "/>
<text variable="container-title" form="short" prefix=" // "/>
<text macro="edition" prefix=". "/>
<text macro="editor-translator" prefix=" / "/>
</group>
<group delimiter=", ">
<text macro="publisher"/>
<text macro="issued-year"/>
</group>
<text macro="locators"/>
<text macro="page"/>
</group>
</layout>
</bibliography>
Result in 1st case:
1. Gima K., Rudy Y. Ionic Current Basis of Electrocardiographic Waveforms: A Model Study / K. Gima, Y. Rudy // Circulation Research. — 2002. — Vol. 90. — P. 889–896.
In 2nd case:
1. Molecular cloning, expression and potential functions of the human proteinase-activated receptor-2 / S. K. Bo, W. Kong, D. Bro // Biochem. J. — 1996. — Vol. 314. — P. 1009–1016.
Help me plz. Any idea how to solve the problem?
Another problem is with the comma before et al. I need no comma before et al, but in CSL Specification:
With a single name (et-al-use-first="1"), the "et-al" term is preceded by a space (e.g. "Doe et al."). With multiple names, the "et-al" term is preceded by the name delimiter (e.g. "Doe, Smith, et al.").
Is it real to make "Doe, Smith et al."?
What results are you getting? I would guess that et-al-use-first="0" would disable et-al truncation, but I'm not sure.
(Edit: sorry, I misread. Post to follow.)
According to specs this should work, but it obviously wasn't intended to be used this way so this likely has never been tested.
As for the other issue - csl 1.0.1 will have an delimiter-precedes-et-al option that you can set to true or false. While we won't currently accept 1.0.1 styles for the repository, they should work with the processor version included in Mendeley (they do with Zotero) so you can make this work. We're hoping to release 1.0.1 relatively soon.
http://forums.zotero.org/discussion/9141/display-only-the-first-author-in-a-homemade-citation-style/
Hope solution will come in CSL 1.0.1. It is a problem for Ukrainian, Russian and Belorussian scintists.
<macro name="author_middle">
<names variable="author">
<name et-al-min="4" et-al-use-first="3" initialize-with=". " delimiter=", " delimiter-precedes-last="never"/>
</names>
</macro>
<macro name="author_first">
<names variable="author">
<name et-al-min="1" et-al-use-first="1" name-as-sort-order="all" sort-separator=" " initialize-with=". " delimiter=", " delimiter-precedes-last="never"/>
</names>
</macro>
I got:
Author1. Article / Author2 (???) // Journal. - Year. - Vol., No. - Pages.
For exmaple:
1. Gima K. Ionic Current Basis of Electrocardiographic Waveforms: A Model Study / Y. Rudy // Circulation Research. — 2002. — Vol. 90. — P. 889–896.
Moreover, I need a list of authors in two places: at the beginning of bibliograohy and after article name. When the quantity of authors is 4 and more I need a list of authors with et al in the middle and no list of authors at the beginning of bibliography.
Maybe I`m doing smth wrong?