From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avram Lyon Subject: Re: Citation syntax: a revised proposal Date: Tue, 03 Mar 2015 17:56:12 +0000 Message-ID: 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> <87ioei7zzw.fsf@berkeley.edu> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11496d50ed69be0510660c65 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSr3I-0004Y7-QA for emacs-orgmode@gnu.org; Tue, 03 Mar 2015 12:56:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSr3G-0002AG-Sm for emacs-orgmode@gnu.org; Tue, 03 Mar 2015 12:56:16 -0500 Received: from mail-qg0-x22e.google.com ([2607:f8b0:400d:c04::22e]:51412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSr3G-000294-6p for emacs-orgmode@gnu.org; Tue, 03 Mar 2015 12:56:14 -0500 Received: by mail-qg0-f46.google.com with SMTP id z60so13364066qgd.5 for ; Tue, 03 Mar 2015 09:56:13 -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: Richard Lawrence , emacs-orgmode@gnu.org --001a11496d50ed69be0510660c65 Content-Type: text/plain; charset=UTF-8 On Tue, Mar 3, 2015 at 9:28 AM Richard Lawrence < richard.lawrence@berkeley.edu> wrote: > > 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. > I know that citeproc-js has tried to be engine-agnostic, so perhaps it can work with Guile. If not, you may also want to look at citeproc-hs and citeproc-rb, both of which are quite complete (they, I believe, pass the entire test suite) and which may be easier to bring in as dependencies (JS engines are still a rarer dependency than Ruby or Haskell). --001a11496d50ed69be0510660c65 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Tue, Mar 3, 2015 at 9:28 AM = Richard Lawrence <richa= rd.lawrence@berkeley.edu> wrote:
That sounds right.=C2=A0 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.=C2=A0 On the other hand, as Aaron points out, citeproc-java<= br> 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??=C2=A0 Maybe that would be t= he
easiest way to turn citeproc-js into a lightweight command line utility
that Org (and hence Emacs) could feel good about depending on.

I know that citeproc-js has tried to be engine-agno= stic, so perhaps it can work with Guile. If not, you may also want to look = at citeproc-hs and citeproc-rb, both of which are quite complete (they, I b= elieve, pass the entire test suite) and which may be easier to bring in as = dependencies (JS engines are still a rarer dependency than Ruby or Haskell)= .=C2=A0

=C2=A0
--001a11496d50ed69be0510660c65--