From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: [ANN] org-bibtex.el --- convert between Org headings and bibtex entries Date: Wed, 20 Apr 2011 09:25:20 -0400 Message-ID: <8739ldawcf.fsf@fastmail.fm> References: <87y6357q81.fsf@gmail.com> <027A8D96-05AB-452C-87D3-85D90D24AFB1@tsdye.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCXPH-0000h9-1b for emacs-orgmode@gnu.org; Wed, 20 Apr 2011 09:25:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QCXPF-0005N8-S6 for emacs-orgmode@gnu.org; Wed, 20 Apr 2011 09:25:23 -0400 Received: from out4.smtp.messagingengine.com ([66.111.4.28]:56194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCXPF-0005N4-QH for emacs-orgmode@gnu.org; Wed, 20 Apr 2011 09:25:21 -0400 In-Reply-To: <027A8D96-05AB-452C-87D3-85D90D24AFB1@tsdye.com> (Thomas S. Dye's message of "Tue, 19 Apr 2011 21:54:19 -1000") 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: "Thomas S. Dye" Cc: Org Mode "Thomas S. Dye" writes: > This could be very useful and a significant enhancement to Org-mode > for note taking. With it, library time can be spent almost entirely > within Org-mode, capturing bibliographic information and taking > reading notes. It feels like the right level of functionality-- > lightweight and easy to use, with lots of prompting material. > > I created an entry with org-bibtex-create and then another with org- > bibtex-read/write. When I ran org-bibtex, only the second entry was > exported. Also, the org-bibtex-read/write process mangled the bibtex > entry a bit, so the resulting .bib file wasn't useful. Note the > addition of {} around the publisher and year, and the truncation of > multi-line entries. Just as with auto-generated keys, I wonder whether some of these problems might be remedied by plugging into existing bibtex-mode functions, especially bibtex-parse-entry and the bibtex string cleanup functions. I am always amazed by the ability of bibtex-mode to do the right thing when cleaning up entries (e.g., remove delimiters from dates, string abbreviations, etc.). Also, it might be nice to allow a way to one's existing bibtex entry type and field definitions---i.e., bibtex-entry-field-alist. Best, Mat