On May 28, 2010, at 10:39 PM, Ali Tofigh wrote:

hi,

i use ebib to manage my bibtex references. it would be really cool if
orgmode could follow links to bibtex entries using ebib. what i would
like is to be able to follow a link such as [[bib:bibentry]] and end
up in ebib, with my standard bibtex database opened, and entry
positioned at the bibentry. can this be achieved without adding
functionality to orgmode?

Very likely, this is very simple to implement - but I don't know ebib and what API it offers to find and display entries. If someone is interested to hack this, look at org-bibtex.e and at the manual:

http://orgmode.org/manual/Adding-hyperlink-types.html#Adding-hyperlink-types


The basic code for this will be very simple indeed, like

(org-add-link-type "ebib" 'org-ebib-open)
(defun org-bib-open (path)
     ;; PATH will be the bibentry key here
     (some-ebib-function-to-find-and-display path))     

HTH

- Carsten

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to