From: "David Chadd" <d.chadd@uea.ac.uk>
To: emacs-orgmode@gnu.org
Subject: Links to BibTeX data files
Date: Thu, 20 Apr 2006 22:08:42 +0100 [thread overview]
Message-ID: <17479.63578.510248.710138@David-Chadds-Computer.local> (raw)
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:
@Book{wright:sociophilological,
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:
[[file:~/path/to/file.bib::Book%20wright%20sociophilological]]
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 ;-)
David
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Professor David Chadd
Faculty of Arts & Humanities,
University of East Anglia, Norwich NR4 7TJ, UK
d [dot] chadd [at] uea [dot] ac [dot] uk
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
next reply other threads:[~2006-04-21 15:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-20 21:08 David Chadd [this message]
2006-04-27 8:28 ` Links to BibTeX data files Carsten Dominik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17479.63578.510248.710138@David-Chadds-Computer.local \
--to=d.chadd@uea.ac.uk \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.