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: Sat, 23 Apr 2011 20:40:28 -0400 Message-ID: <87ei4sa3cz.fsf@fastmail.fm> References: <87y6357q81.fsf@gmail.com> <027A8D96-05AB-452C-87D3-85D90D24AFB1@tsdye.com> <87vcy81xtv.fsf@gmail.com> <877hanwbyb.fsf@gmail.com> <89A178C3-C2E4-493D-BE84-12200512B766@tsdye.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QDnNL-0004Tp-H3 for emacs-orgmode@gnu.org; Sat, 23 Apr 2011 20:40:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QDnNG-00049R-N1 for emacs-orgmode@gnu.org; Sat, 23 Apr 2011 20:40:35 -0400 Received: from out4.smtp.messagingengine.com ([66.111.4.28]:53539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QDnNG-00049N-JC for emacs-orgmode@gnu.org; Sat, 23 Apr 2011 20:40:30 -0400 In-Reply-To: (Alan E. Davis's message of "Sun, 24 Apr 2011 08:59:32 +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: "Alan E. Davis" Cc: Org Mode "Alan E. Davis" writes: > This works to both store bibtex database entries and export to .bib > files.=C2=A0 I REALLY like the automagical harvesting of data using cb2Bi= b.=C2=A0 > It is unique, and I don't see how to recruit it to produce a database > in an org file, or pipe it into this org-bibtex tool.=C2=A0=C2=A0 Could one perhaps call org-bibtex-read on entries in harvested via cb2Bib? > I understand I may add to the types variable.=C2=A0 When using > org-bibtex-create, I can enter any arbitrary field as a PROPERTY; > however, org-bibtex ignores anything outside of the universe it knows > about.=C2=A0 Would it be bad practice to allow the export of any arbitrary > field type one has recorded?=C2=A0 I think the emacs bibtex-mode may > recognize erroneous bibtex entries.=C2=A0=C2=A0=20 Bibtex-mode does indeed allow for arbitrary fields, as do bibtex and biblatex. AFAIK, they are simply ignored when processing a bib file. One limitation that arises when storing bibtex data as org properties is that properties drawers are used for much more. For instance, one would probably not want to see "logging =3D {lognoterepeat}," in one's exported bibtex file. But for biblatex users, it would indeed be prohibitively expensive to have to inform org-mode ahead of time about the innumerable odd fields that various biblatex backends define. > I am confused by the duplication of file names, though I can see that > at some point one of the two will lose.=C2=A0 (Gauss's law of competitive > exclusion, referring to the biological case of two species occupying > the same ecological niche).=C2=A0 Eric, the more I think about this, the more my vote would be to package this new functionality separately. IMO, hyperlinking to external data in bib files is somewhat orthogonal to storing bib data within org files. In other words, the current org-bibtex.el complements bibtex-mode use, whereas the new org-bibtex functions, for the most part, are substitutes for bibtex-mode---i.e., they re-implement much of its configuration and basic functionality. By packaging the new functionality separately perhaps we could lay the groundwork for internal, backend agnostic bibliographical export and formatting---not unlike the way in which org-contacts.el replaces bbdb. Wishful thinking?... :) Best, Matt