From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Hetzner Subject: Re: zotero plain, org-odt, and citations in general Date: Thu, 10 Nov 2011 09:48:53 -0800 Message-ID: <87k477hnqy.wl%egh@e6h.org> References: <81hb2drhmu.fsf@gmail.com> <81mxc4ovlh.fsf@gmail.com> Reply-To: Erik Hetzner Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Thu_Nov_10_09:48:53_2011-1" Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROYkf-0007qb-HO for emacs-orgmode@gnu.org; Thu, 10 Nov 2011 12:49:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ROYkd-0006Q5-UO for emacs-orgmode@gnu.org; Thu, 10 Nov 2011 12:49:25 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:42282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ROYkd-0006Px-PT for emacs-orgmode@gnu.org; Thu, 10 Nov 2011 12:49:23 -0500 Received: by eye4 with SMTP id 4so3028428eye.0 for ; Thu, 10 Nov 2011 09:49:22 -0800 (PST) In-Reply-To: <81mxc4ovlh.fsf@gmail.com> 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: Jambunathan K Cc: Org Mode --Multipart_Thu_Nov_10_09:48:53_2011-1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Jambunathan, Thanks for the very detailed reply. Some responses below. In your previous message, you asked who the author of zotero.el is. I am. I will add author info. At Thu, 10 Nov 2011 20:47:30 +0530, Jambunathan K wrote: >=20 > I think I now have some understanding of what Erik's library does[1].=20 >=20 > It creates a bibliographic entry (as in Footnotes) using Quick Copy. It > doesn not create a footnote reference. One can use the Firefox Zotero > and see how Quick Copy works with both RTF and HTML formats[2]. This is correct. I should note that this method is totally inadequate, as Frank Bennett showed me, for the generation of documents formatting according to the various style guides. It cannot handle in-text citations, bibliographies, or cross references. To get some idea of how this happens in zot4rst (part of zotero-plain), see [1]. I should also note that this process is complicated, involving a number of steps. Have a look at the python dir in zotero-plain to get an idea. > [Question to Erik: Can one not use "Copy from Clipboard" from elisp > instead of going the mozrepl route to create a biblio.text] Yes, but then one cannot select an item in Zotero and insert a link into an org doc from org itself. I should note that while the org/zotero integration in zotero-plain =E2=80=9Cworks for me=E2=80=9D, I would welcome changes to make it more rob= ust and feature-full. But I use org for notes and todo lists, not for document production. > 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]. >=20 > 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 =20 > 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. > [=E2=80=A6] > > Footnotes:=20 >=20 > [1] With Mozrepl 1.1 beta2 on Firefox 3.6.23, I am unable to make > org-zotero.el work. It hangs and I have to C-g out (Christian! you are > not alone). I am able to get as far as creating the LIBRARY_KEY for the > selected item in the zotero pane and not further. > > [=E2=80=A6] Have you started MozRepl from Firefox? I re-installed mozrepl, checked that I am using the latest (and unmodified) versions of moz.el and zotero-plain. Everything seems fine. This is with Emacs 23 - perhaps Emacs 24 changes things? best, Erik 1. http://gsl-nagoya-u.net/http/pub/citeproc-doc.html 2. http://www.zotero.org/styles --Multipart_Thu_Nov_10_09:48:53_2011-1 Content-Type: text/plain; charset=US-ASCII Sent from my free software system . --Multipart_Thu_Nov_10_09:48:53_2011-1--