comma before "et al" + parentheses in italic
Hi,
I am trying to modify a style. There are two things that I cannot resolve:
- add a comma before "et al" in the bibliography section. I have tried
<terms>
<locale xml:lang="fr">
<term name="et-al">, et al</term>
</locale>
</terms>
but now a space is staying between first author's name and "et al", just like that:
Toto A , et al (2010)
- i need to italicize both parentheses and citation number in the text. I have tried
<citation>
<option name="collapse" value="citation-number"/>
<sort>
<key variable="citation-number"/>
</sort>
<layout prefix="(" suffix=")" delimiter=", " font-style="italics">
<text variable="citation-number" font-style="italic"/>
</layout>
</citation>
but only the citation number is italicized, not the parentheses.
Thanks by advance
I am trying to modify a style. There are two things that I cannot resolve:
- add a comma before "et al" in the bibliography section. I have tried
<terms>
<locale xml:lang="fr">
<term name="et-al">, et al</term>
</locale>
</terms>
but now a space is staying between first author's name and "et al", just like that:
Toto A , et al (2010)
- i need to italicize both parentheses and citation number in the text. I have tried
<citation>
<option name="collapse" value="citation-number"/>
<sort>
<key variable="citation-number"/>
</sort>
<layout prefix="(" suffix=")" delimiter=", " font-style="italics">
<text variable="citation-number" font-style="italic"/>
</layout>
</citation>
but only the citation number is italicized, not the parentheses.
Thanks by advance
For the second one, if you do:
<layout delimiter=", " font-style="italic">
<text variable="citation-number" prefix="(" suffix=")"/>
</layout>
you'll get all in italics, but then citations with two elements are (2)(3) instead of (2, 3)
(more than two work correctly again.
I know that the first one will be possible with csl 1.0 and I'd figure the 2nd one is, too, but not sure about that.
You can test if you want - but are strongly discouraged from using this with real work or important data.