italic year-suffix?
I'm trying to create a style for Journal of Experimental Botany but I couldn't manade to get year-suffices italic without having also year in italics. Could anyone help?
The style is here:
https://gist.github.com/4760934.git
For articles in press that have no page numbers the journal name should be in italics (otherwise journal name should be normal) and DOI-number should be added. Is this possible?
Thanks
johan
The style is here:
https://gist.github.com/4760934.git
For articles in press that have no page numbers the journal name should be in italics (otherwise journal name should be normal) and DOI-number should be added. Is this possible?
Thanks
johan
<date date-parts="year" variable="issued" font-style="normal">
<date-part name="year" font-style="normal"/>
<text variable="year-suffix" font-style="italic"/>
</date>
(and same change in cs:bibliography)
Cf. specs under "disambiguate-add-year-suffix [Step (3)]":
https://gist.github.com/4761808.git
You've to put
<text variable="year-suffix" font-style="italic"/>
outside cs:date and add a cs:group, i.e.:<layout prefix="(" suffix=")" delimiter="; ">
<group delimiter=", ">
<text macro="author-short"/>
<group>
<date date-parts="year" variable="issued" font-style="normal">
<date-part name="year" font-style="normal"/>
</date>
<text variable="year-suffix" font-style="italic"/>
</group>
and
<text macro="author" suffix="." font-weight="bold"/>
<group suffix=".">
<date variable="issued" font-weight="normal" prefix=" ">
<date-part name="year"/>
</date>
<text variable="year-suffix" font-style="italic"/>
</group>