From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: zotero plain, org-odt, and citations in general Date: Fri, 11 Nov 2011 10:51:22 -0500 Message-ID: References: <81hb2drhmu.fsf@gmail.com> <81mxc4ovlh.fsf@gmail.com> <87k477hnqy.wl%egh@e6h.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d044470d3314fc204b1777ed2 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROtO2-0007QV-Ri for emacs-orgmode@gnu.org; Fri, 11 Nov 2011 10:51:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ROtO1-0007O8-9y for emacs-orgmode@gnu.org; Fri, 11 Nov 2011 10:51:26 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:44497) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROtO1-0007O3-2G for emacs-orgmode@gnu.org; Fri, 11 Nov 2011 10:51:25 -0500 Received: by faas10 with SMTP id s10so1899440faa.0 for ; Fri, 11 Nov 2011 07:51:24 -0800 (PST) In-Reply-To: <87k477hnqy.wl%egh@e6h.org> 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: Erik Hetzner Cc: Org Mode , Jambunathan K --f46d044470d3314fc204b1777ed2 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Responding to just a few of the excellent points raised by J 7 E On Thu, Nov 10, 2011 at 12:48 PM, Erik Hetzner wrote: > At Thu, 10 Nov 2011 20:47:30 +0530, > Jambunathan K wrote: > > > > > I should note that while the org/zotero integration in zotero-plain > =93works for me=94, I would welcome changes to make it more robust and > feature-full. But I use org for notes and todo lists, not for document > production. > I'm trying to switch to using org for most of my writing; among other things, I now use it for posting to wordpress and (hopefully soon) drupal, where most of my teaching work takes place. So I htink there's a case to make for org as a person's main workspace. > > > Instead of working with JS libraries, I think the right starting point > > would be to work with the underlying zotero.sqlite database itself. It > > is not difficult to get a key of the selected item in Zotero > > pane[3]. Once this is done the underlying zotero.sqlite database could > > be queried for the item properties[4]. > Wouldn't the rigt target be, not the sqlite db, but the Zoteor *service* that runs on port 50001 when Zotero is running? Aren't there some higher-level tools for working through that interface -- e.g., erik, your rst tool uses a python library, does it talk to Zotero that way? > > > > Fortunately there is already a GUI/Command line tool - Gnotero[5] -for > > accessing the sqlite database. > > This would certainly work. However, one problem would be that gnotero > cannot generate formatted citations from a reference, that is, it > cannot use CSL [2] style rules to generate arbitrary citation > formats. This might be fine; some simple c > > > As for exploiting the power of using zotero within libreoffice - which > > is to have the same citation presented in different citation styles - > > one need to look at how the reference marks are produced within > > OpenDocument XML. > > Not only that, but how the LibreOffice plugin communicates with > Zotero, specifically the citeproc-js [1] part of Zotero, to generate > in-text citations, bibliographies, etc. > so, couldn't one think of the problem as having three parts: (1) get emacs to talk to the zotero server; and (2) figure out how org/emacs should interact with citeproc (3) translate the org zotero links into a syntax that LibreOffice recognizes and can successfully manipulate and am I further right that, as an interim measure, solving (1) and (3) properly and throwing together a quick hack for (2) -- in which org supports exactly one, very simple citation style -- would make a workflow possible in which a person could compose in Org, and translate to ODT for the final processing of a document, and/or export to HTML using only the one citaqtion style that is supported by the aforementioned hack? thanks again for all the help, folks, matt --f46d044470d3314fc204b1777ed2 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Responding to just a few of the excellent points raised by J 7 E

On Thu, Nov 10, 2011 at 12:48 PM, Erik Hetzner <egh@e6h.org>= wrote:
At Thu, 10 Nov 2011 20:47:30 +0530,
Jambunathan K wrote:
>
>
I should note that while the org/zotero integration in zotero-plain
=93works for me=94, I would welcome changes to make it more robust and
feature-full. But I use org for notes and todo lists, not for document
production.
I'm trying to switch to using org for = most of my writing; among other things, I now use it for posting to wordpre= ss and (hopefully soon) drupal, where most of my teaching work takes place.= So I htink there's a case to make for org as a person's main works= pace.

> Instead of working with JS libraries, I think the right starting point=
> would be to work with the underlying zotero.sqlite database itself. It=
> is not difficult to get a key of the selected item in Zotero
> pane[3]. Once this is done the underlying zotero.sqlite database could=
> be queried for the item properties[4].

= Wouldn't the rigt target be, not the sqlite db, but the Zoteor *service= * that runs on port 50001 when Zotero is running?=A0 Aren't there some = higher-level tools for working through that interface -- e.g., erik, your r= st tool uses a python library, does it talk to Zotero that way?
=A0
>
> Fortunately there is already a GUI/Command line tool - Gnotero[5] -for=
> accessing the sqlite database.

This would certainly work. However, one problem would be that gnotero=
cannot generate formatted citations from a reference, that is, it
cannot use CSL [2] style rules to generate arbitrary citation
formats. This might be fine; some simple c

> As for exploiting the power of using zotero within libreoffice - which=
> is to have the same citation presented in different citation styles -<= br> > one need to look at how the reference marks are produced within
> OpenDocument XML.

Not only that, but how the LibreOffice plugin communicates with
Zotero, specifically the citeproc-js [1] part of Zotero, to generate
in-text citations, bibliographies, etc.

so, couldn= 't one think of the problem as having three parts:=A0
(1) get emacs= to talk to the zotero server; and
(2) figure out how org/emacs should i= nteract with citeproc
(3) translate the org zotero links into a syntax that LibreOffice recognize= s and can successfully manipulate

and am I further right that, as an= interim measure, solving (1) and (3) properly and throwing together a quic= k hack for (2)=A0 -- in which org supports exactly one, very simple citatio= n style -- would make a workflow possible in which a person could compose i= n Org, and translate to ODT for the final processing of a document, and/or = export to HTML using only the one citaqtion style that is supported by the = aforementioned hack?=A0

thanks again for all the help, folks,
matt


--f46d044470d3314fc204b1777ed2--