APA 6th new style
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.
The problem seams to be that the macro returns am empty string for some reason. I tried changing the sort to only the issued-year macro and it would try to sort the items by an empty key. Both keyA and keyB are set to '{"format":"Sort","string":[]}' (JSON) by the macro. I'll try to look into the execution of the macro if I find some time but as I'm new to the Zotero code it might take a little until I can further localize the issue.
Inside csl.js:
1: if(formattedString.format == "Sort") {
2: variableString.append(date.getDateVariable("sort"));
3: } else {
This shows that dates will be handled differently if used as a sort key. Unfortunately, the variableString it is appended to is never returned. Adding the follow line between lines 2 and 3 resolves the problem: newString.concat(variableString);
This solution would continue the current procedure of handling dates as sort keys differently to regular dates. I'm not quite sure why this is in place and would actually remove this. After all sorting should be comprehensible for a reader and not use hidden variables such as a month for example that is not used in APA (for most sources).
Any ideas what to do with this finding?
Woodward, C. (2009, November 13). Fact check: Palin's book goes rogue on some facts. Newsday. Retrieved November 14, 2009, from http://www.newsday.com/news/nation/fact-check-palin-s-book-goes-rogue-on-some-facts-1.1587846
APA 6 (see example on page 200) wants only the newspaper's homepage URL (i.e., "http://www.newsday.com"). And they want the access date only for sources that change frequently. The newspaper article example on page 200 doesn't have that, so I presume APA editors believe that the fact newspaper articles online can and do change doesn't quite meet the criterion of changing frequently.
I'm not sure I can do anything about the formatting. You should be able to adjust the "standard" style/format/font (never sure about MS word terminology) in MS Word to do the margins right (Zotero automatically uses the standard formatting when you insert a reference).
I've pasted a style above that has retrieved dates only for webpages:
http://gist.github.com/226820
Use the "Raw" Link on the top right to download.
Install by dragging to an open FF window. It would be great if you could report back here.
I'll get that into the repository soon, forgot about that.
There's nothing I can do in the current Zotero about the URL: Zotero just saves one URL and I can't cut it short or anything.
AS for the item you suggest I install, I will need slightly more precise installation instructions. I'm pretty sure I did exactly what you described, and the result is that I get a lot of XML code appearing in a Firefox window. But I don't think anything got installed. Here's what I did: I right-clicked on the link and had it open in a new tab. At top of that tab, I found a "raw" link. I opened a new Firefox window. Then I dragged the "raw" link to the new window. I get an XML file that starts out like this:
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://xbiblio.svn.sourceforge.net/viewvc/*checkout*/xbiblio/csl/schema/trunk/csl.rnc" type="compact"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" xml:lang="en">
i.e. use right-click --> save as to download the file. You'll have a file apa.csl That file you drag to an open FF window.
You will still get the xml code (with a grey bar on top that looks a little like an error message, but that's OK) - but this time Zotero/FF will ask you if you want to update your style.
I don't know Word well enough to give you precise instructions, but Word, like Ooo, has "styles" (or format's or whatever it's known as). Those are comprehensive formatting instructions - including indentation, font type, font size etc. - which you can apply to entire sections. They have names such as "Heading 1", "Heading 2" "Footnote Text" etc.
One of them is the default style - it's the one that Word starts out with when you open an emptry document - once again, not sure about the precise name, I think it's "normal" or "standard".
Now, whenever you insert a citation using Zotero, it converts the entire paragraph back to said default style. So you want to change this default style to whatever you want your document to look like - 11pt Calibri font, 1 inch margins with .5inch indents etc.
I can't tell you exactly how to do that, I would start under format, but that's really all I can say. But I know for a fact that it works, because other people have gotten it to work.
If not, you can try opening a new thread with an informative title (because that part of your issue has nothing to do with APA and people might not find their way here), include your version of Word, and I'm sure someone will be able to help.
I'm an avid beta tester. Send me anything you want me to try, and I'll do my best to return precise feedback.
And yes, I'll go search for this faulty margin problem and then post something if I don't find the answer already in the forums.
Update your APA style by following
http://www.zotero.org/styles/apa/dev?install=1
(it will show up as American Psychological Association 6th Edition)
I'll wait a couple of more weeks before asking Dan to push this to the clients.
I hope you can help me out again. There seems to be no way to include the original publication date of a reprinted or republished chapter/book or translated works in Zotero.
Would it be possible to include a field (eg "Original Publication date")/fix for this?
Here are the formats:
Ref list:
Freud, S. (1961). The ego and the id. In J. Strachey (Ed. and Trans.), The standard edition of the complete psychological works of Sigmund Freud (Vol. 19, pp. 3-66). London: Hogarth Press. (Original work published 1923)
* Following the entry, enclose "Original work published" in parentheses, noting the original date, WITHOUT a "." at the end!
In-text citations should be:
bla bla bla (Author, original publication date/date of translation or republished work) bla bla
eg: the theory of gravity (Spearman, 1904/1972)…
Many thanks
FCL
I have tried tweaking it myself using all the CSL help on the site, but am admittedly not a programmer. I can get it to work for some things but not others. If I had to reckon a completely uneducated guess I would say try looking in the access macro? If I play with copying/pasting the date group and playing the with text variable="archive" and "archive_location" syntaxes I can get it to add the retrieval date to some, but not all citations. Getting it to add the word database appears to be a matter of finding the correct location to type "suffix= database, again a some not all types thing". Specifically, I have a thesis that simply won't cooperate and neither do many of my newspaper articles. Journal articles appear to be fine with my tweaks.
Programming is SO not my thing, but I have put in about 5 hours playing with the code on my end getting oh so close, but so far away... ha ha. I would do the favor of uploading my "mess/attempt" but I honestly don't know if pasting in the forum box would cause a problem or not. Darn rookies.. I know. :) The sad thing is I'm starting to understand it.
As a favor I will post everything between the <macro ="access"> tags, because they are the items I have been playing with (date and archive) in different locations of the CSL. If you look under 'if type=webpage' towards the bottom, you will see where I added the date and archive info. Adding it there gets only the archive part working, not the date, and only for some types - like newspapers. Adding it in the bibliography section at the end makes the citation repeat parts of itself. Also having this problem with book chapters.
Have I confused everyone yet? Thanks for any help and let me know if you want me to email a txt file that shows all my work to date. (Prevents accidental boo-boos) :) Kenzie
<choose>
<if type="thesis">
<choose>
<if variable="archive" match="any">
<group>
<text term="retrieved" text-case="capitalize-first" suffix=" "/>
<text term="from" suffix=" "/>
<text variable="archive" suffix="."/>
<text variable="archive_location" prefix=" (" suffix=")"/>
</group>
</if>
<else>
<group>
<text term="retrieved" text-case="capitalize-first" suffix=" "/>
<date variable="accessed" suffix=", ">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
<text term="from" suffix=" "/>
<text variable="URL"/>
</group>
</else>
</choose>
</if>
<else>
<choose>
<if variable="DOI">
<text variable="DOI" prefix="doi: "/>
</if>
<else>
<choose>
<if type="webpage">
<group>
<text term="retrieved" text-case="capitalize-first" suffix=" "/>
<date variable="accessed" suffix=", ">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
<group>
<text term="from" suffix=" "/>
<text variable="URL"/>
</group>
</group>
</if>
<else>
<group>
<text term="retrieved" text-case="capitalize-first" suffix=" "/>
<date variable="accessed" suffix=", ">
<date-part name="month" suffix=" "/>
<date-part name="day" suffix=", "/>
<date-part name="year"/>
</date>
<text term="from" suffix=" "/>
<text variable="archive" suffix=" database."/>
</group>
</else>
</choose>
</else>
</choose>
</else>
</choose>
Writing a manuscript for an American journal on an German computer the APA-style generates the following:
Alexander, L., & Luborsky, L. (1986). The Penn Helping Alliance Scales. In L. S. Greenberg & W. Pinsof (Hrsg.), The psychotherapeutic process: A research handbook (S. 325-366). New York: Guilford Press.
(Hrsg.)=Herausgeber, should be (Eds.)
(S.325-366) = Seite, shoud be (p. 325-366)
Switching the system language (MS-Windows XP) to EN-USA doesn't help.
Perhaps this is a problem for all styles. If there is already a solution, please give me a hint how to retrieve it in the forum.
Thx
Armin Hartmann
I created a German translation in the Wiki.
By the way: A restart of Firefox is required to activate the changes, a reload is not enough - right?
Armin Hartmann
doi: xxxxxx # but should be:
doi:xxxxxx
Example here but have checked the 6th edition manual itself.
Thanks for all the great work on this style!
Fixed, in the repository, use this link to update
http://www.zotero.org/styles/apa/dev?install=1
I've come across a couple of others, if you wouldn't mind taking a look (thesis finally nearing completion so doing a lot of tidying up!)
1. Manuscripts should have title italicised, e.g.
Author, A. A. (Year). Title of manuscript. Unpublished manuscript, Department of Psychology, University of Hats, Vancouver, Canada.
Manuscripts will often have a university as part of the citation - there isn't a field for this atm, but slotting it into the type field (after "Unpublished manucript" or "Manuscript submitted for publication" etc.) does the job.
2. Conference paper presentations or poster sessions - style given in the manual is:
Presenter, A. A. (Year, Month). Title of paper or poster. Paper or poster session presented at the meeting of Organization Name, Location.
There seem to be two item types in Zotero that could potentially be used for these in Zotero: Conference Paper, and Presentation. However, the Conference Paper item type does not provide a type field (for paper or poster session) and doesn't display the month of presentation. E.g., currently displays as:
Presenter, A. A. (Year). Title of paper or poster. Presented at the meeting of Organization Name, Location.
The Presentation item type might be a better possibility because it already includes a type field (it also already displays both year and month of presentation). It puts the presentation type after the conference/meeting name between commas, though:
Presenter, A. A. (Year, Month). Title of paper or poster. Presented at the meeting of Organization Name, Poster, Location.
Could this be switched to appear as "...Poster presented at..."?
For 2. I'll take a look - Presentation is definitely the way to go - conference paper is for papers published in proceedings.
So if I understand that correctly, the date should have a month (in what form? Should it be 2007, July ? Maybe you could post a sample? Should that be just in the bibliography, or in the citation, too? And the type should be moved up in front of "Presented" which should only capitalized if there is no type. Correct?
For 2 - the month should display as (2007, July). The month appears in the reference list only, not the citation. This already happens for the Presentation item type, not the Conference Paper item type, so no change is required if we focus on the Presentation type.
Ref list sample: Jackson, A. A. (2007, April). The cat and the hat. Poster session presented at the meeting of the American Society for Hats, Norway.
Citation in text: (Jackson, 2007). Exactly!
http://www.zotero.org/styles/apa/dev?install=1