emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Lawrence <richard.lawrence@berkeley.edu>
To: emacs-orgmode@gnu.org
Subject: Re: Zotero csl file that uses parenthetical style for citations
Date: Sat, 07 Mar 2015 08:48:23 -0800	[thread overview]
Message-ID: <87zj7ozrc8.fsf@berkeley.edu> (raw)
In-Reply-To: 54FA9D93.6010101@gmail.com

Vaidheeswaran C <vaidheeswaran.chinnaraju@gmail.com> writes:

> On Friday 06 March 2015 11:51 PM, Richard Lawrence wrote:
>> 
>> Vaidheeswaran C <vaidheeswaran.chinnaraju@gmail.com> 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

  reply	other threads:[~2015-03-07 16:49 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-06 13:03 Zotero csl file that uses parenthetical style for citations Vaidheeswaran C
2015-03-06 13:18 ` Vaidheeswaran C
2015-03-06 13:29   ` Rasmus
2015-03-06 13:51     ` Vaidheeswaran C
2015-03-06 13:51     ` Vaidheeswaran C
2015-03-06 14:55       ` Rasmus
2015-03-06 15:27         ` Vaidheeswaran C
2015-03-06 13:27 ` Rasmus
2015-03-06 13:48   ` Vaidheeswaran C
2015-03-06 13:57     ` Rasmus
2015-03-06 15:21       ` Vaidheeswaran C
2015-03-06 18:21         ` Richard Lawrence
2015-03-07  6:41           ` Vaidheeswaran C
2015-03-07 16:48             ` Richard Lawrence [this message]
2015-03-07 18:22               ` Vaidheeswaran C
2015-03-07 17:25             ` Thomas S. Dye
2015-03-07 18:49               ` Vaidheeswaran C
2015-03-07 19:31                 ` Thomas S. Dye
     [not found]                   ` <54FB5E02.9080003@gmail.com>
2015-03-07 21:31                     ` Thomas S. Dye
2015-03-08  2:59                       ` Vaidheeswaran C
2015-03-08  3:59                         ` Thomas S. Dye
2015-03-08  5:49                           ` Vaidheeswaran C
2015-03-08 17:34                             ` Thomas S. Dye
2015-03-09  5:21                               ` Vaidheeswaran C
2015-03-09  6:34                                 ` Thomas S. Dye
2015-03-09  7:13                                   ` Vaidheeswaran C
2015-03-06 15:32       ` Vaidheeswaran C
2015-03-07  7:37       ` Vaidheeswaran C
2015-03-07 17:32         ` Thomas S. Dye

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zj7ozrc8.fsf@berkeley.edu \
    --to=richard.lawrence@berkeley.edu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).