From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: a new csl - citation style lisp ;) Date: Fri, 11 Dec 2015 14:57:33 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7Toy-0003nf-GJ for emacs-orgmode@gnu.org; Fri, 11 Dec 2015 14:57:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a7Tou-00046q-EO for emacs-orgmode@gnu.org; Fri, 11 Dec 2015 14:57:40 -0500 Received: from mail-qk0-x22d.google.com ([2607:f8b0:400d:c09::22d]:35964) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7Tou-00046m-AO for emacs-orgmode@gnu.org; Fri, 11 Dec 2015 14:57:36 -0500 Received: by qkht125 with SMTP id t125so54763414qkh.3 for ; Fri, 11 Dec 2015 11:57:35 -0800 (PST) Received: from Johns-MacBook-Air.local (KITCHIN-TIMEMACHINE.CHEME.CMU.EDU. [128.2.54.215]) by smtp.gmail.com with ESMTPSA id s131sm8782840qhs.11.2015.12.11.11.57.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Dec 2015 11:57:34 -0800 (PST) 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: Org Mode Hi everyone, I got curious enough about citation processing to draft an elisp-based citeproc for orgmode. You can see the code here: https://github.com/jkitchin/org-ref/tree/master/citeproc It is loosely based on the xml-CSL file, but in lisp. The principle is the same, there is a csl file in lisp that contains formatting information, and a processor that works on my org-ref links to replace them with formatted citations and entries. The readme doesn't do it justice, check out https://github.com/jkitchin/org-ref/blob/master/citeproc/readme.html (in a browser) to see the formatted citations in an unsorted, numeric superscript style. There is also a working author-year style. It certainly isn't complete, bug-free, or stable yet and might still not solve note-based styles, but it is pretty powerful already. -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu