From mboxrd@z Thu Jan 1 00:00:00 1970 From: Titus von der Malsburg Subject: Re: org-ref & helm-bibtex notes Date: Wed, 17 Jun 2015 17:08:08 -0700 Message-ID: <87egl9najb.fsf@posteo.de> References: <87mvzzm8c8.fsf@posteo.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42245) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5NNT-0006SX-10 for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 20:08:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5NNP-0004BE-6L for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 20:08:18 -0400 Received: from mx02.posteo.de ([89.146.194.165]:59870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5NNO-00049p-T8 for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 20:08:15 -0400 In-reply-to: <87mvzzm8c8.fsf@posteo.de> 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: Julian Burgos Cc: John Kitchin , emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2015-06-16 Tue 18:28, Titus von der Malsburg wrote: > On 2015-06-16 Tue 17:39, Julian Burgos wrote: >> Dear list, >> >> I have been using org-ref for a while, using reftex to insert citations = in >> my org documents. Now I am switching to helm-bibtex, which is pretty >> awesome. I have a couple of question about the note files. Org-ref uses >> a single file to keep notes (e.g. notes.org), but helm-bibtex assumes th= at >> notes are kept in separate files, one per article. My questions are: >> >> a) Do you have a preference in the single file vs multiple files questio= n? >> Are advantages/disadvantages? I tend to prefer the single file option, >> it makes search easy and also I can add TODO items that later I can pull >> out in the agenda view. With multiple files this would not be as easy.= =20 >> Do you agree? > > Hi, I=E2=80=99m the author of helm-bibtex. There was recently a discussi= on about > this on Github: > > https://github.com/tmalsburg/helm-bibtex/issues/40 > > Someone convinced me that storing all notes in one file is better and > there is an experimental (and incomplete) implementation in a topic > branch: > > https://github.com/tmalsburg/helm-bibtex/tree/note-files Update: I worked on the note-files branch and as far as I=E2=80=99m concern= ed it is ready to be merged into master. There are several changes: When one big notes file is used: =2D The new default template for notes is simpler than what org-ref uses but it should be compatible because it uses the Custom_ID property to store the key. =2D Note templates can be defined in `helm-bibtex-notes-template`. =2D The list of publications now shows a mark if notes are available for a publication. =2D Finding the correct entry is now robust because the code looks for `Custom_ID: key` not just for the key. Multiple note files (one for each publication): =2D The template for notes is used to populate new note files. (Previously it was only used in the case with one big notes file.) Julian, if you could test this branch, that would be fantastic! Here is the code: https://github.com/tmalsburg/helm-bibtex/tree/note-files Titus > > (Multiple note files will still be possible for users who prefer that.) > >> b) Helm-bibtex identifies which references have a note file, adding a >> symbol on the reference list. Can we make helm-bibtex look into a single >> file (say the "notes.org" file), look for the :Custom_ID: properties of >> the entries, and use that to mark the reference list? I am teaching >> myself emacs-lisp but this is above my capacity right now. > > Yes, something like that needs to be included. The unresolved question > is how BibTeX keys should be stored in the notes file. I find property > drawers incredibly clunky and in my experience they can considerably > slow down Emacs in large org files (that=E2=80=99s the reason why I don= =E2=80=99t use > org-contacts as much as a would like). > > My current favorite format for entries in the notes file is the > following: > > * Author: Title (year) :BibTeXkey: > Here are the notes =E2=80=A6 > > The only problem I see with this is that BibTeX allows keys to contain > colons, and a key with a colon would break org=E2=80=99s tag syntax. > > Suggestions welcome. > > Titus > > >> >> Many thanks, >> >> Julian --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVggvpAAoJEK40WfPGE2id6iMH+wYKFPjYSwNhNYVEP42XjIgx snpjQoD7BikeCwdQzUpLRsyMXRTMnb+nOdhlCbG2O0ViVlkJkaSJ0i1mAqJtvFAg BfZi1c3Hv3YoDUq0jcrv+Rgl6mdYLZ4GwNrbJXgJoPPJZZDT7QXwZdCma/HeB22j CNPltkJDCf6qdEWdBD0ZIB4+6DfyOguNlrkz8/5ZC9JwG8sW12JBzRk60TwxDJtJ F/+wf5LSGjtYoM4nXmus8uR/pmDLYv1deiQKwRvDX4N2SHazNdiHzNDQmQtcxDXX J81AJVU+WVz6HgIhUtlEak8gcADiBka38ccdtatk94WB/trcPmyT9Oluh9mjb48= =uBWF -----END PGP SIGNATURE----- --=-=-=--