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"))
(add-hook 'message-mode-hook (lambda ()
(define-key message-mode-map (kbd "C-c [")
(lambda () (interactive)
(require 'reftex)
(let ((reftex-cite-format 'locally))
(reftex-citation))))))
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.
HTH,
olli
--
GnuPG-Key: http://www.sopos.org/pgp/olli.asc
GnuPG-Fingerprint: F27A BA8C 1CFB B905 65A8 2544 0F07 B675 9A00 D827
NP: LARD - "I Wanna Be A Drug Sniffing Dog"
pgpcWHvGmuXlb.pgp
Description: PGP signature
_______________________________________________ info-gnus-english mailing list [email protected] http://lists.gnu.org/mailman/listinfo/info-gnus-english
