[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-orgmode] Links to BibTeX data files

From: David Chadd
Subject: [Emacs-orgmode] Links to BibTeX data files
Date: Thu, 20 Apr 2006 22:08:42 +0100

This was mentioned recently --- the links to .bib files really don't
work very well (for me, anyway...).  If I want to link to the
following entry in the .bib file:

  author =    {Wright, Roger},
  title =        {A Sociophilological Study of Late Latin},
  publisher =    {Brepols},
  year =         2002,
  address =   {Turnhout},
  number =    5,
  series =    {Utrecht Studies in Medieval Literacy},

assuming point is in the top line I will get this link:


This doesn't find the entry.  The situation is worse if point is in
other lines of the entry ('year 2002' is not likely to be very
helpful!).  Nor is the use of the line-number if (like me) you keep
your .bib files sorted.

I have patched org-store-link so that, if a file is in bibtex-mode and
I am somewhere between the outer enclosing braces of an entry, then it
is the corresponding BibTeX key which is used (so, with the current
example, that would mean '...bib::wright:sociophililogical').  This
does what I want, which is to enable me to make notes on reading and
references in my org file.  Of course, the author of the wonderful
RefTeX will make a much better job of this than my Horrible Hack, and
probably include some other goodies too ;-)

Professor David Chadd
Faculty of Arts & Humanities,
University of East Anglia, Norwich NR4 7TJ, UK
d [dot] chadd [at] uea [dot] ac [dot] uk

reply via email to

[Prev in Thread] Current Thread [Next in Thread]