emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Erik Hetzner <egh@e6h.org>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: zotero plain, org-odt, and citations in general
Date: Thu, 10 Nov 2011 09:48:53 -0800	[thread overview]
Message-ID: <87k477hnqy.wl%egh@e6h.org> (raw)
In-Reply-To: <81mxc4ovlh.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3263 bytes --]

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:
> 
> I think I now have some understanding of what Erik's library does[1]. 
> 
> 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
“works for me”, 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.

> 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].
> 
> 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.

> […]
>
> Footnotes: 
> 
> [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.
>
> […]

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

[-- Attachment #2: Type: text/plain, Size: 53 bytes --]

Sent from my free software system <http://fsf.org/>.

  parent reply	other threads:[~2011-11-10 17:49 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-09  2:06 zotero plain, org-odt, and citations in general Matt Price
2011-11-09  5:26 ` Jambunathan K
2011-11-10 15:17   ` Jambunathan K
2011-11-10 15:50     ` Thomas S. Dye
2011-11-10 17:48     ` Erik Hetzner [this message]
2011-11-11 15:51       ` Matt Price
2011-11-11 16:12         ` Erik Hetzner
2011-11-11 18:45           ` Matt Price
2011-11-12  0:07             ` Erik Hetzner
2011-11-12 23:45           ` Christian Moe
2011-11-12 23:46             ` Christian Moe
2011-11-11 20:34       ` zotero-cite (A Proposal) Jambunathan K
2011-11-14 15:38         ` Matt Price
2011-11-16  5:25         ` Erik Hetzner
2011-11-11 21:13       ` zotero plain, org-odt, and citations in general Jambunathan K
2011-11-12  7:21         ` Christian Moe
2011-11-12 14:20           ` Matt Price
2011-11-16  5:30         ` Erik Hetzner
2011-11-09  7:03 ` Erik Hetzner
2011-11-09  7:25   ` Jambunathan K
2011-11-09 14:13     ` Ken Williams
2011-11-09 19:39       ` Christian Moe
2011-11-10  4:53         ` Erik Hetzner
2011-11-10  9:01           ` Christian Moe
2011-11-11 15:37         ` Matt Price
2011-11-11 17:51           ` Erik Hetzner
2011-11-11 18:34             ` Matt Price
2011-11-09 15:28     ` Matt Price
2011-11-10  4:40       ` Erik Hetzner
2011-11-13 22:47 ` Christian Moe
2011-11-14 15:38   ` Matt Price

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k477hnqy.wl%egh@e6h.org \
    --to=egh@e6h.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=kjambunathan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).