[Top][All Lists]

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

Gnus and RefTeX

From: Oliver Heins
Subject: Gnus and RefTeX
Date: Tue, 12 Sep 2006 15:59:02 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

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 

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

Setting reftex-cite-format to locally is supposed by the RefTeX manual.
However, I prefer to set it to this string:
         "(%2a: %t, %j %v, %p, %2e: %b, %v, %r: %u, %s %d %y%<)"

This gives me more reasonable results.  But perhaps that's specific to
the humanities and users of jurabib.


GnuPG-Fingerprint: F27A BA8C 1CFB B905 65A8  2544 0F07 B675 9A00 D827
NP: LARD - "I Wanna Be A Drug Sniffing Dog"

Attachment: pgpBq_N7JtAXr.pgp
Description: PGP signature

reply via email to

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