Christian Moe <m...@christianmoe.com> writes:

> I use Reftex for inserting -- from the .bib file, not from ebib --
> thanks to the setup tips here:
>
> http://article.gmane.org/gmane.emacs.orgmode/2406/match=bibliography
>
> http://www.mfasold.net/blog/2009/02/using-emacs-org-mode-to-draft-papers/

I agree, reftex is very nice and Org will understand the
citations just fine.

Here is my setup, which might be (read `probably is') stolen from
somewhere:

,----[ Reftex ]
| It is nice to be able to access reftex to insert citations 
| 
| #+begin_src emacs-lisp
| 
| (defun org-mode-reftex-setup ()
|   (load-library "reftex")
|   (and (buffer-file-name)
|        (file-exists-p (buffer-file-name))
|        (reftex-parse-all))
|   (define-key org-mode-map (kbd "C-c )") 'reftex-citation))
| (add-hook 'org-mode-hook 'org-mode-reftex-setup)
| 
| #+end_src 
`----

–Rasmus

-- 
Sent from my Emacs


Reply via email to