From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lawrence Subject: Re: Zotero csl file that uses parenthetical style for citations Date: Sat, 07 Mar 2015 08:48:23 -0800 Message-ID: <87zj7ozrc8.fsf@berkeley.edu> References: <87h9tyntm6.fsf@gmx.us> <54F9B014.3020901@gmail.com> <87y4namdnu.fsf@gmx.us> <54F9C5E3.5000301@gmail.com> <877fuu0yy4.fsf@berkeley.edu> <54FA9D93.6010101@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUHum-00005B-88 for emacs-orgmode@gnu.org; Sat, 07 Mar 2015 11:49:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUHuh-0007wf-DC for emacs-orgmode@gnu.org; Sat, 07 Mar 2015 11:49:24 -0500 Received: from plane.gmane.org ([80.91.229.3]:52858) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUHuh-0007wX-5z for emacs-orgmode@gnu.org; Sat, 07 Mar 2015 11:49:19 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YUHuf-0002YM-Sp for emacs-orgmode@gnu.org; Sat, 07 Mar 2015 17:49:18 +0100 Received: from c-67-169-117-151.hsd1.ca.comcast.net ([67.169.117.151]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Mar 2015 17:49:17 +0100 Received: from richard.lawrence by c-67-169-117-151.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Mar 2015 17:49:17 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Vaidheeswaran C writes: > On Friday 06 March 2015 11:51 PM, Richard Lawrence wrote: >> >> Vaidheeswaran C writes: >> >>> I got the subject and also text wrong. (But I hope my intention was >>> clear.) I am really looking for EXISTING in-text CSL styles. >> >> Rasmus pointed you to a relevant style: >> >> https://github.com/citation-style-language/styles/blob/master/chicago-author-date.csl >> ... >> So there is not really any such thing as an "in-text CSL style". >> Rather, there are CSL styles that support both in-text and parenthetical >> citations (which is most of them, I'd guess). > > Your guess is just a guess. You haven't looked at chicago-author-date > style, have you? Have I read the XML? No. But see below. > You can prove yourself right by > > (a) producing an "off-the-shelf" CSL file that uses BOTH "in-text" AND > "parenthetical" citations. Here is a Pandoc document that demonstrates that chicago-author-date.csl can process both types of citations: #+BEGIN_QUOTE --- references: - id: Fenner2012a title: One-click science marketing author: - family: Fenner given: Martin container-title: Nature Materials volume: 11 URL: 'http://dx.doi.org/10.1038/nmat3283' DOI: 10.1038/nmat3283 issue: 4 publisher: Nature Publishing Group page: 261-263 type: article-journal issued: - year: 2012 csl: /tmp/chicago-author-date.csl --- One-click science marketing has recently been discussed. [@Fenner2012a] As @Fenner2012a [p. 10] showed, there is indeed such a thing as one-click science marketing. # References #+END_QUOTE Processing that with $ pandoc -F pandoc-citeproc -t plain $FILE yields: #+BEGIN_QUOTE One-click science marketing has recently been discussed. (Fenner 2012) As Fenner (2012, 10) showed, there is indeed such a thing as one-click science marketing. REFERENCES Fenner, Martin. 2012. “One-Click Science Marketing.” _Nature Materials_ 11 (4). Nature Publishing Group: 261–63. doi:10.1038/nmat3283. #+END_QUOTE As you can see, both types of citation render fine. > (b) producing a csl-based tool that ORG CAN INTERFACE WITH that > produces "in-text" AND "parenthetical" styles. Actually, I am working on exactly that. I will post here when I've got something to share. Best, Richard