From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lawrence Subject: Re: Citation syntax: a revised proposal Date: Tue, 03 Mar 2015 09:27:31 -0800 Message-ID: <87ioei7zzw.fsf@berkeley.edu> References: <87k2zjnc0e.fsf@berkeley.edu> <87bnkvm8la.fsf@berkeley.edu> <87zj8co3se.fsf@berkeley.edu> <87ioezooi2.fsf@berkeley.edu> <87mw4bpaiu.fsf@nicolasgoaziou.fr> <8761aznpiq.fsf@berkeley.edu> <87twyjnh0r.fsf@nicolasgoaziou.fr> <87oaopx24e.fsf@berkeley.edu> <87k2zd4f3w.fsf@nicolasgoaziou.fr> <87egpkv8g9.fsf@berkeley.edu> <877fv6xfaq.fsf@gmail.com> <87twya2ak0.fsf@berkeley.edu> <87zj81aa97.fsf@nicolasgoaziou.fr> <87ioep2r6p.fsf@berkeley.edu> <87y4ngbgm7.fsf@nicolasgoaziou.fr> <87h9u4csln.fsf@gmx.us> <8761aji5a3.fsf@gmail.com> <874mq2ai1k.fsf@berkeley.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSqcK-0006dV-Et for emacs-orgmode@gnu.org; Tue, 03 Mar 2015 12:28:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSqcH-0006Go-Nm for emacs-orgmode@gnu.org; Tue, 03 Mar 2015 12:28:24 -0500 Received: from plane.gmane.org ([80.91.229.3]:46937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSqcH-0006Gc-HY for emacs-orgmode@gnu.org; Tue, 03 Mar 2015 12:28:21 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YSqcF-00029l-Fb for emacs-orgmode@gnu.org; Tue, 03 Mar 2015 18:28:19 +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 ; Tue, 03 Mar 2015 18:28:19 +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 ; Tue, 03 Mar 2015 18:28:19 +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 Hi Avram, Avram Lyon writes: > On Mon, Mar 2, 2015 at 7:16 PM Richard Lawrence < > richard.lawrence@berkeley.edu> wrote: >> >> Is there any reason to go with citeproc-java over a different CSL >> implementation, like citeproc-js or pandoc-citeproc? I am a little >> nervous about shelling out to something that sounds it like it requires >> loading the JVM... > > citeproc-java just calls citeproc-js from Rhino or Nashorn, so there's > little reason to go with citeproc-java for any application not already > running on the JVM. Hmm, good to know. > Zotero is indeed using citeproc-js directly from XULrunner/Firefox, and > that is the best-supported usage of the library. > > If you're looking for something with citation management and CSL proessing, > perhaps zotxt is best. If you just want CSL processing, it would be best to > run citeproc-js by itself (there is a citeproc-node, but it's not quite > plug-and-play). That sounds right. And I agree with Aaron that we probably don't want a hard dependency on Zotero on the output side, so maybe citeproc-js is the way to go. On the other hand, as Aaron points out, citeproc-java has a BibTeX parser, and citeproc-js doesn't look like it would be easy to run from the command line...some sort of JS engine is required in addition to citeproc-js itself. I wonder if citeproc-js would run under Guile?? Maybe that would be the easiest way to turn citeproc-js into a lightweight command line utility that Org (and hence Emacs) could feel good about depending on. Best, Richard