From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Lawrence Subject: Re: State of the art in citations Date: Sun, 27 Apr 2014 18:53:29 -0700 Message-ID: <87lhuqqkx2.fsf@berkeley.edu> References: <87oazondzo.fsf@gaillac.origami> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Weamy-0002qK-KV for emacs-orgmode@gnu.org; Sun, 27 Apr 2014 21:55:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Weamt-0002u7-3O for emacs-orgmode@gnu.org; Sun, 27 Apr 2014 21:55:24 -0400 Received: from plane.gmane.org ([80.91.229.3]:56058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Weams-0002tt-TA for emacs-orgmode@gnu.org; Sun, 27 Apr 2014 21:55:19 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Weamp-00054a-IE for emacs-orgmode@gnu.org; Mon, 28 Apr 2014 03:55:15 +0200 Received: from c-67-164-45-159.hsd1.ca.comcast.net ([67.164.45.159]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Apr 2014 03:55:15 +0200 Received: from richard.lawrence by c-67-164-45-159.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Apr 2014 03:55:15 +0200 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 Clément and all, Clément B. writes: > As for citations, I find that the most flexible way is to define > my own link types, that allows control on both org formatting and > export... Replacing my inline \cite commands with custom link types is something I've been meaning to do for a while. Thanks for the implementation ideas! I have a setup that for some people may complement the one Clément describes. Rather than dealing with .bib files and RefTeX, I represent my bibliography in Org, and use org-bibtex to (re-)generate a .bib file as needed. Here's how it works, in brief; I described it more fully at: http://article.gmane.org/gmane.emacs.orgmode/79016/ 1) I store each reading as a TODO headline using a capture template. I use the post-capture hook to call org-bibtex-create-in-current-entry as appropriate. This allows me to keep notes, links, deadlines etc. associated with each reading in Org, as well as the bibliographic data. 2) I have a function that uses org-map-entries to walk over the headlines for my readings and export them to a .bib file. This regenerates my .bib file on an as-needed basis; the real bibliographic database is stored in Org. (I call this function from a Makefile, but it could just as easily be used from within the Org export process.) The next step, which I haven't yet implemented but which would connect this setup to one like Clément described, would be to add behavior to the custom link types so that *following* the link would jump to the associated TODO entry for the reading, rather than the entry in the .bib file. This should be straightforward, since org-bibtex uses the CUSTOM_ID property to store the cite key. And jumping to my own notes about a reference (which might further link to the original text), rather than to a .bib file, is usually what I want. -- Best, Richard