Hi all,
Can somebody with write permission for Emacs repository kindly apply the
attached patch to RefTeX?
Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine
diff -r 2672391e6055 lisp/textmodes/reftex-cite.el
--- a/lisp/textmodes/reftex-cite.el Sat Mar 27 02:34:27 2021 +0900
+++ b/lisp/textmodes/reftex-cite.el Tue Dec 20 22:58:10 2022 +0900
@@ -360,7 +360,7 @@
;; Parse the bibliography environment
(defun reftex-extract-bib-entries-from-thebibliography (files)
- "Extract bib-entries from the \begin{thebibliography} environment.
+ "Extract bib-entries from the \\begin{thebibliography} environment.
Parsing is not as good as for the BibTeX database stuff.
The environment should be located in FILES."
(let* (start end buf entries re re-list file default)
@@ -580,7 +580,7 @@
(concat key "\n " authors " " year " " extra "\n " title "\n\n")))
(defun reftex-parse-bibitem (item)
- "Parse a \bibitem entry in ITEM."
+ "Parse a \\bibitem entry in ITEM."
(let ((key "") (text ""))
(when (string-match "\\`{\\([^}]+\\)}\\([^\000]*\\)" item)
(setq key (match-string 1 item)
@@ -596,7 +596,7 @@
(cons "&entry" (concat key " " text)))))
(defun reftex-format-bibitem (item)
- "Format a \bibitem entry in ITEM so that it is (relatively) nice to look at."
+ "Format a \\bibitem entry in ITEM so that it is (relatively) nice to look at."
(let ((text (reftex-get-bib-field "&text" item))
(key (reftex-get-bib-field "&key" item))
(lines nil))
diff -r 2672391e6055 lisp/textmodes/reftex-vars.el
--- a/lisp/textmodes/reftex-vars.el Sat Mar 27 02:34:27 2021 +0900
+++ b/lisp/textmodes/reftex-vars.el Tue Dec 20 22:58:10 2022 +0900
@@ -2090,7 +2090,7 @@
(defcustom reftex-allow-detached-macro-args nil
"Non-nil means, allow arguments of macros to be detached by whitespace.
-When this is t, `aaa' will be considered as argument of \\bb in the following
+When this is t, `aaa' will be considered as argument of \\bbb in the following
construct: \\bbb [xxx] {aaa}."
:group 'reftex-miscellaneous-configurations
:type 'boolean)