Original-date / how to edit CSL
Hi there !
I wish to add the extra "original-date" in my personal Zotero style for my thesis by directly editing the file, but I have zero knowledge in that field.
How can I do, which line I am supposed to edit, and to write what ?
Right now, I have this :
Julia Kristeva, Soleil noir : dépression et mélancolie, Paris, Gallimard, coll. “Folio Essais” 123, 2006.
And I want this :
Julia Kristeva, Soleil noir : dépression et mélancolie, Paris, Gallimard, coll. “Folio Essais” 123, 2006 [1987].
In the notes and also in the bibliography.
I also put all the original dates in the extra field, but my Zotero Style (personnalized by someone else long time ago) doesn't take it in account.
Thanks you and have a nice day :)
I wish to add the extra "original-date" in my personal Zotero style for my thesis by directly editing the file, but I have zero knowledge in that field.
How can I do, which line I am supposed to edit, and to write what ?
Right now, I have this :
Julia Kristeva, Soleil noir : dépression et mélancolie, Paris, Gallimard, coll. “Folio Essais” 123, 2006.
And I want this :
Julia Kristeva, Soleil noir : dépression et mélancolie, Paris, Gallimard, coll. “Folio Essais” 123, 2006 [1987].
In the notes and also in the bibliography.
I also put all the original dates in the extra field, but my Zotero Style (personnalized by someone else long time ago) doesn't take it in account.
Thanks you and have a nice day :)
But as an example this includes the original date in a year-date macro.
<macro name="year-date">
<date variable="issued">
<date-part name="year"/>
</date>
<date form="text" variable="original-date" prefix=" [" suffix="]"/>
</macro>
Thank you for your response. I don't even know where to copy past your example in the text... Does your exemple give the result I am looking for (date [original date]) ?
here is my current style : https://pastebin.com/dmqsthfL
thank you :D
<macro name="date">
<choose>
<if variable="issued">
<date date-parts="year" form="text" variable="issued" prefix=", "/>
</if>
<else>
<text value="" prefix=", "/>
</else>
</choose>
<date date-parts="year" form="text" variable="original-date" prefix=" [" suffix="]"/>
</macro>
Note though that in your else you're rendering something weird. the text value is empty... Not sure what the purpose of that is.
Idk for the empty field, I wish I could master this knowledge but I don"t have time to learn it. Anyway, thank you very much, it helps me a lot :)
How to remove the "collection" field for books ? Which field should I edit and which lines should I remove/add ?
Thank you very much !
https://pastebin.com/dmqsthfL
Have a nice day !