-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Properly support personal communications in APA #3005
Conversation
APA specifies that personal communications should be cited with a unique in-text style and should be omitted from the bibliography. This change supports that. The in-text format is: (J. P. Campbell, personal communication, August 16, 2010) To get the “personal communication” term, I applied a locale to “interview”, which fits conceptually and is not otherwise used in APA. This could be changed if a “personal-communication” term is added in a future CSL update (which has been suggested). If there is a better way to do that, let me know. If this works, I can make parallel changes to the other APA styles.
Awesome! You've created a pull request to the Citation Styles Language styles repository. We'll get in touch soon (usually within a day or two). In the meantime, our automated test system will go ahead and run some checks on your pull request. In a few minutes you'll be notified of the test results. If you haven't done so yet, please make sure your style validates and follows all our other Style Requirements. To update the current pull request, visit the "Files changed" tab above, and click on the pencil icon (see below) in the top-right corner of your style to start editing. If you need assistance at any point, please leave a comment and we'll get back to you (feel free to write in Dutch, English, French, German, Portuguese, or Spanish). |
😃 Your submission passed all our automated tests. |
I'm pretty sure this will throw an error in the bibliography -- CSL (or rather: citeproc-js) doesn't like empty references. |
But even if citeproc-js can handle this, it's not behavior that's addressed at all in the CSL 1.0.1 spec. Also, documents can currently quite reliably switch between numeric and author-date styles. But in my experience, numeric styles still want authors to use full in-text descriptions of personal communication, which we (currently) can't support. (see e.g. http://aem.asm.org/site/misc/journal-ita_org.xhtml#04: "In the text, references are cited parenthetically by number in sequential order. Data that are not published or not peer reviewed are simply cited parenthetically in the text") |
If the spec doesn’t support it, then this change probably shouldn’t be merged obviously (Though I think we should consider it for a future CSL version). I’m not sure I follow your second comment. Seems to me the solution would be for a similar change to be made to numeric styles with such a requirement? I’m not sure how this change here impacts changing between styles in a meaningful way? |
The problem with numeric styles v would be that they then skip a number in the reference list where the blank citation is (since every item has a citation - number |
I see, so supporting reference-free citations in numeric styles would involve a bigger change to CSL. |
Yes. It's worth leaving this pull request open if people have thoughts on how to best implement this, but to properly support this for numeric styles we'd need quite big changes to CSL. And we don't want styles that break documents in a weird way when users switch from an author-date to a numeric format.
Yeah, for numeric styles these in-text personal-communication entries are typically entirely detached from the bibliography. |
At present, I think most users who want to enter in-text personal-communication entries just manually type them, but I think it would be nice for these citations of this sort to be handled by CSL. When you say this style would break documents in a weird way, that is because a person-communication item would go from being cited in text as (J. Campbell, personal communication, 2017) with no bibliography entry to a number with a bibliography entry (rather than staying as parenthetical in-text note)? |
The choices you have for numeric styles currently are Both fall under "weird failure," I'd say, the latter more so than the former. |
It seems like there would need to be an option to specify "no-number" for these types of citations in numeric styles (which might also be needed for history/religious studies--not sure how common numeric styles are in those fields?). |
It seems like adding a "no-number" property to the citation layout (which skips number for the citations it is applied to) would be a relatively straightforward way to address these types of citations without much in the way of side effects. |
This issue hasn't seen any activity in the past 30 days. It will be automatically closed if no further activity occurs in the next two weeks. |
@adam3smith Do we want to move this issue about no-Number items somewhere else? |
@bwiernik could you clarify the no-number proposal? By property on the citation layout, do you mean an attribute somewhere within the scope of |
So, for example, a journal might require that unpublished data or personal communications be cited in text as “(Author, Year, unpublished data)” and not included in the bibliography. For author-date styles, this produces no real problem—the item can just be be excluded from the For numeric styles, it is more complex. The items need to both be excluded from the bibliography and not take up a citation number in the list. Thinking about this issue, I think a general solution might be best. Another common request is to be able to have separate bibliography layouts for different types of items (primary vs secondary, cases vs articles, etc.). Both the no-number issue and the separate bibliography issue could be addressed by allowing multiple layouts to be specified. |
That sounds pretty complicated, but setting aside the specifics, it sounds like the idea would be to implement citation-only items in the CSL of the style. Got that - it makes sense (since in a numeric style a non-bib citation would need to be something descriptive instead of a number). Thinking about implementation, though, this would take a lot of work. To skip item numbers, the processor would need to maintain a separate numbering sequence for display purposes, which is doable, but not trivial. We would also have a problem with styling on There would also be the possibility that a non-bib descriptive item ends up placed in the middle of a series of numeric-ref items in a single citation. That would raise some tough problems. If the layout switched mid-citation, which affixes should be applied, and where should they go? Should the items be reordered by layout? If so, in what order should they be presented? I see the attraction of managing and citing non-bib items in the usual way, but an attempt at full automation would hit a bunch of tough issues. As a second-best alternative, though, perhaps the target type (like |
After sleeping on it, I've come up with a workaround for the number-sequence issue, by pushing to-be-excluded items to the bottom of the bibliography before applying
Then the
With that code, the In many numeric styles, you would still have the problem that formatting and affixes set on [1] In testing, I get an error string for entries with no content in the bibliography. If no-output entries are just disappearing in Zotero, there's probably something else going on there. |
What you are describing using a sorting macro is the current approach which is functional, but obviously limited in a lot of ways. The issue you raise about "non-numbered" entries being mixed in a citation with standard entries is problematic, and I am not sure the best way to deal with that. I thought that this sort of multiple layouts setup might be similar to something you had developed for Juris-M (maybe for Myles?). Regarding entries with no content in the bibliography, in the past Zotero produced error text, but it hasn't (for me at least) for some time. I'm not sure when or why this changed. In terms of usability, I don't think that the processor should produce an error if an entry produces no content in the bibliography (though it should if it produces no content in the citation). |
Sure will do. |
APA specifies that personal communications should be cited with a
unique in-text style and should be omitted from the bibliography. This
change supports that.
The in-text format is:
(J. P. Campbell, personal communication, August 16, 2010)
To get the “personal communication” term, I applied a locale to
“interview”, which fits conceptually and is not otherwise used in APA.
This could be changed if a “personal-communication” term is added in a
future CSL update (which has been suggested). If there is a better way
to do that, let me know.
If this works, I can make parallel changes to the other APA styles.