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
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Upgrade Storage
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.