[Top][All Lists]

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

Re: Gnus and RefTeX

From: Reiner Steib
Subject: Re: Gnus and RefTeX
Date: Tue, 12 Sep 2006 22:20:31 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

On Tue, Sep 12 2006, Oliver Heins wrote:

> I recently read the RefTeX manual and discovered the possibility to hook
> ReTeX into Emacs mail.  I changed that so it now works with Gnus
> resp. Message mode.  Even if I didn't find this anywhere on the net, I
> could imagine that someone might find it useful.
> So here's the lisp:
> (setq reftex-default-bibliography 
>       '("/path/to/your/default/bibliography"))

[ See (info "(reftex)Citations Outside LaTeX"). ]

> (add-hook 'message-mode-hook (lambda ()
>           (define-key message-mode-map (kbd "C-c [")
>              (lambda () (interactive)
>                (require 'reftex)

This line isn't required.  I've fixed it in Emacs CVS.

>                (let ((reftex-cite-format 'locally))
>                  (reftex-citation))))))

Bye, Reiner.
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |

reply via email to

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