Modifying APA style and non-USA dates format
I'm currently modifying (or lets say more customizing) APA style to my faculty's requirements of quoting (and for a Journal they publish). I have used Slovenian (sl-SL) locale preference to start with and then fixed the rest that was not yet ok (using http://editor.citationstyles.org/about/). The biggest problems I have encountered are dates. Even by using numerical and SL locale they are in form 2013-5-1 but should be 1. 5. 2013. I tried numerous codes and at different places but with no success.
In short I'm traying to do this:
in text citation:
(Zotero forum, 2013)
bibliographic citation
Zotero forum. (2015) [Slovenian word for retrieved] 1. 5. 2013 [Slovenian word for from] https://forums.zotero.org/post/category/11/
(the Slovenian words parts is taken care of and the fix works, just the date is bunging me)
In short I'm traying to do this:
in text citation:
(Zotero forum, 2013)
bibliographic citation
Zotero forum. (2015) [Slovenian word for retrieved] 1. 5. 2013 [Slovenian word for from] https://forums.zotero.org/post/category/11/
(the Slovenian words parts is taken care of and the fix works, just the date is bunging me)
Until then, you can put
<locale xml:lang="sl-SI">
<date form="numeric">
<date-part name="day" suffix=". "/>
<date-part name="month" suffix=". " range-delimiter="/"/>
<date-part name="year" prefix="-" range-delimiter="/"/>
</date>
</locale>
in the code right after the info section (i.e. after
</info>
you'll have to use the code editor for that, I don't think it's easily possible in the visual editor.
Code does work partly. It's now 1. may 2013,... trying to figure how to tweak it to be stated "5" instead of "may". It doesn't do that despite the: date form = numeric.
Well I don't know if all Slovenian institutions use this form, but for now I haven't find any that does not. It is custom to put year last. In some cases form as 1. May 2013 is also used.
there are also some other tweaks that should be changed in locale I can submit them if someone can fixes them.
<date-part name="month" suffix=". " form="numeric" range-delimiter="/"/>
Probably I'll mess up some other parts of the code till I'm finished, but for now this was a real big nut to crack for a beginner like me :)
I believe I can fly (Kelly, 1996, str 53).
But should be like
I believe I can fly (Kelly, 1996: 53)
Everything else should remains as it is. I have searched the web and found a few instructions that you gave to others with similar problems, but i cannot fund them to work.
<group delimiter=", ">
<text macro="author-short"/>
<text macro="issued-year"/>
<text macro="citation-locator"/>
</group>
to
<group delimiter=": ">
<group delimiter=", ">
text macro="author-short"/>
<text macro="issued-year"/>
</group>
<text variable="locator"/>
</group>
I'm in a need for some advice. The style which you helped me modify works well, but i have a problem with one "comma" that is placed improperly. Until now, this didn't present a problem, since i have simply manualy deleted in it the final version of the text. However now i have a bigger text that will be reviewed several times and i would like that Zotero would automatically cite correctly. The problem is with the comma before the last author when there is more two authors:
(Dorn, Levi, in King, 2005)
while it should be just
(Dorn, Levi in King, 2005).
In Slovenian language normally , should not appear before "in". How do i fix this.
delimiter-precedes-last="never"
to the line(s) starting with<name ...
Here is my case.
I have developed the following example to use in Zotero editor.
[
{
"id": " XXXXXX "
"type": "legislation",
"title": "Law on Zotero is awesome (LoZ) ",
"container-title": "Official gazette",
"volume": "1",
"URL": "",
"number": "2",
"issued": {
"date-parts": [
[
"2006"
]
]
}
}
]
The form that we use is the following
In text citation:
First citation ("Law on Zotero is awesome [LoZ]", 2006) all the next (''LoZ'', 2006) –I managed to add '' and abbreviations (namely delete the text and change the brackets to [ ) I just enter/correct manually.
The problem is with the bibliography, where the form should be:
Law on Zotero is awesome (LoZ). (2006). Official gazette, (2). [Official gazette is in italics. the style is like for a journal. I can cheat by using this category, but for other papers i would like to have a proper database - to have paper categorised as papers and legislation as legislation.
I managed to get so far:
Law on Zotero is awesome (LoZ). (2006). Official gazette, 1 – I can get the volume to appear, but not the issue, yet I need number/issue and no volume.
Can I get some help?
Tnx
link is here:
https://gist.github.com/anonymous/5cf34b72188a516297dcc75318118d57
https://gist.github.com/anonymous/5cf34b72188a516297dcc75318118d57#file-code-json-L284
Presumably you'll want to have a separate condition for legislation, i.e. remove legilsation from that line and then do something like
<else-if type="legislation">
<text variable="number" prefix=" (" suffix=")"/>
</else-if>
inserted between lines 292 and 293
(note this will work only so well with other styles, though; we otherwise assume that "number" is the public law number as used in the US for legislation, so perhaps using issue would be better)
The thing is that that when i use Sl locale i only get "Statut" as an option for categorising source that is the most close to legislation (legal bill or act). And translations of Zotero and offered fields for entering info on the legislation are not that useful for Slovenians settings. On this account there is probably the difference for number and issue and i assumed that if using different style that there will be a problem :).