modifying citation styles
Hey,
I am working on a text that references primary sources such as letters/telegrams from various archives. I am currently using Chicago (full note with bibliography) which seems like an okay match most of the time. The referenced letters i am referring to looks like this when it appears for the first time in the text, which is perfect:
“Dow (Jerusalem) to FO, Memorandum of Conversation”, March 10, 1949, FO371/75054, PRO.
However, when the same document is cited again, it looks like this
“Dow (Jerusalem) to FO, Memorandum of Conversation”.
What I want is to have them always looking like when they first appear. I am no trying to experiment with modifying the citation style after this description http://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step, but my problem is that I dont know where in the code or what I should do to that line of code in order to make it do this.
Anybody got a clue?
Best,
Marte
I am working on a text that references primary sources such as letters/telegrams from various archives. I am currently using Chicago (full note with bibliography) which seems like an okay match most of the time. The referenced letters i am referring to looks like this when it appears for the first time in the text, which is perfect:
“Dow (Jerusalem) to FO, Memorandum of Conversation”, March 10, 1949, FO371/75054, PRO.
However, when the same document is cited again, it looks like this
“Dow (Jerusalem) to FO, Memorandum of Conversation”.
What I want is to have them always looking like when they first appear. I am no trying to experiment with modifying the citation style after this description http://www.zotero.org/support/dev/citation_styles/style_editing_step-by-step, but my problem is that I dont know where in the code or what I should do to that line of code in order to make it do this.
Anybody got a clue?
Best,
Marte
Dow (Jerusalem) to FO, Memorandum of Conversation, March 10, 1949, FO371/75054, PRO.
not:
“Dow (Jerusalem) to FO, Memorandum of Conversation”, March 10, 1949, FO371/75054, PRO.
Without the " ", that is.
<else-if position="subsequent">
if this is only for letters this will get a bit messy - you'd probably, within that else-if, do something like
<choose>
<if type="letter">
and then put in the whole code for full citations from further down
close with
</if>
and then put what's currently in the <else-if>
as
<else>
and close with
</else>
</choose>
but, I am afraid I need some more help on this one.
I have tried (or tried to try) what you suggested here and I have a problem in that I can for the life of me figure out what is the "whole code for full citations from further down"
Can you tell me how this looks?
And to be sure, this is the section of the code that you are refering to?
<else-if position="subsequent">
<group delimiter=", ">
<text macro="contributors-short"/>
<text macro="title-short"/>
<text macro="point-locators-subsequent"/>
</group>
</else-if>
<else>
<group delimiter=", ">
<text macro="contributors-note"/>
<text macro="title-note"/>
<text macro="description-note"/>
<text macro="secondary-contributors-note"/>
<text macro="container-title-note"/>
<text macro="container-contributors-note"/>
</group>
<text macro="locators-note"/>
<text macro="collection-title" prefix=", "/>
<text macro="issue-note"/>
<text macro="locators-newspaper" prefix=", "/>
<text macro="point-locators"/>
<text macro="access-note" prefix=", "/>
</else>
</choose>
<else-if position="subsequent">
<choose>
<if type="letter">
<group delimiter=", ">
<text macro="contributors-note"/>
<text macro="title-note"/>
<text macro="description-note"/>
<text macro="secondary-contributors-note"/>
<text macro="container-title-note"/>
<text macro="container-contributors-note"/>
</group>
<text macro="locators-note"/>
<text macro="collection-title" prefix=", "/>
<text macro="issue-note"/>
<text macro="locators-newspaper" prefix=", "/>
<text macro="point-locators"/>
<text macro="access-note" prefix=", "/>
</if>
<else>
<group delimiter=", ">
<text macro="contributors-short"/>
<text macro="title-short"/>
<text macro="point-locators-subsequent"/>
</group>
</else>
</choose>
</else-if>
<else>
<group delimiter=", ">
<text macro="contributors-note"/>
<text macro="title-note"/>
<text macro="description-note"/>
<text macro="secondary-contributors-note"/>
<text macro="container-title-note"/>
<text macro="container-contributors-note"/>
</group>
<text macro="locators-note"/>
<text macro="collection-title" prefix=", "/>
<text macro="issue-note"/>
<text macro="locators-newspaper" prefix=", "/>
<text macro="point-locators"/>
<text macro="access-note" prefix=", "/>
</else>
</choose>
I have another question though, when I cite these letters they look like this:
“Minutes of Meeting American Section of the Executive of the Jewish Agency for Palestine - 14 April”, April 14, 1947, Z5/2361, CZA.
Can I ask for some guidance on how I remove the quotation marks around the title? How does it look in the code where this modification has to be entered?
Thanks again.
https://github.com/citation-style-language/styles/blob/79ede4406349701aee34828dd06b02b7fe862aaa/chicago-fullnote-bibliography.csl#L231
<macro name="title-note">
<choose>
<if variable="title" match="none">
<text variable="genre"/>
</if>
<else-if type="letter" match="any">
</else-if>
<else>
<text variable="title" quotes="true"/>
</else>
</choose>
</macro>
And that only added an extra set of quotation marks...obviusly wrong. What needs to change?
Thanks again.
The Zotero "Letter" item type maps to "personal_communication" in CSL (http://gsl-nagoya-u.net/http/pub/csl-fields/letter.html), so you could use:
<else-if type="bill book graphic legal_case motion_picture report song" match="any">
<text variable="title" font-style="italic"/>
</else-if>
<else-if type="personal_communication">
<text variable="title"/>
</else-if>
<else>
<text variable="title" quotes="true"/>
</else>