bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] reftex-cite.el and LNCS


From: Markus Triska
Subject: [Bug-AUCTeX] reftex-cite.el and LNCS
Date: Wed, 14 Nov 2007 07:39:53 +0100

To improve `reftex-citation' on the Springer LNCS demo file (
ftp://ftp.springer.de/pub/tex/latex/llncs/latex2e/llncs2e.zip ):

diff --git a/lisp/textmodes/reftex-cite.el b/lisp/textmodes/reftex-cite.el
index 46becd2..c786de2 100644
--- a/lisp/textmodes/reftex-cite.el
+++ b/lisp/textmodes/reftex-cite.el
@@ -560,7 +560,7 @@
 (defun reftex-parse-bibitem (item)
   ;; Parse a \bibitem entry
   (let ((key "") (text ""))
-    (when (string-match "\\`{\\([^}]+\\)}\\([^\000]*\\)" item)
+    (when (string-match "\\`\\s *{\\([^}]+\\)}\\([^\000]*\\)" item)
       (setq key (match-string 1 item)
             text (match-string 2 item)))
     ;; Clean up the text a little bit




reply via email to

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