emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Zotero csl file that uses parenthetical style for citations


From: Richard Lawrence
Subject: Re: [O] Zotero csl file that uses parenthetical style for citations
Date: Sat, 07 Mar 2015 08:48:23 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Vaidheeswaran C <address@hidden> writes:

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

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 via email to

[Prev in Thread] Current Thread [Next in Thread]