From: Carsten Dominik <carsten.dominik@gmail.com>
To: d.chadd@uea.ac.uk
Cc: emacs-orgmode@gnu.org
Subject: Re: Links to BibTeX data files
Date: Thu, 27 Apr 2006 10:28:08 +0200 [thread overview]
Message-ID: <19761aa36da576d041c9f475149c23e8@science.uva.nl> (raw)
In-Reply-To: <17479.63578.510248.710138@David-Chadds-Computer.local>
On Apr 20, 2006, at 23:08, David Chadd wrote:
> 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,
>
> 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.
This was a bug in the function executing the search, which is fixed in
4.27. This does now work out if the box, so you can use the standard
links if the line is in the "@entrytype{key," line. However, you are
right that it is much better to always link to the key even if the
cursor is not in the line.
> 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 ;-)
Appealing to my vanity as a strategy to get me to work? It works :-)
In org.el 4.27, C-c l does link to the correct key no matter where the
cursor is. It also creates a nice descriptive text for the article,
using author names, year and the first few title words.
For this stuff to work smoothly, BibTeX files should be preselected to
be visited by Emacs and not another application when visited through an
org-mode link. This is so by default now, but if you have customized
the variable `org-file-apps', you are overruling this change.
- Carsten
prev parent reply other threads:[~2006-04-27 8:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-20 21:08 Links to BibTeX data files David Chadd
2006-04-27 8:28 ` Carsten Dominik [this message]
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=19761aa36da576d041c9f475149c23e8@science.uva.nl \
--to=carsten.dominik@gmail.com \
--cc=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.