update packages
This commit is contained in:
@@ -48,6 +48,9 @@
|
||||
;;
|
||||
;;; Code:
|
||||
|
||||
(declare-function org-ref-get-cite-links "org-ref-core" ())
|
||||
(declare-function org-ref-parse-cite-path "org-ref-core" (path))
|
||||
|
||||
(defvar org-ref-natmove) ;silence compiler
|
||||
|
||||
(defun org-bbl-clean-string (s)
|
||||
@@ -141,7 +144,7 @@ cover any math (yet)."
|
||||
"Return natbib-options (including the brackets).
|
||||
Defaults to [numbers,super,sort]"
|
||||
(goto-char (point-min))
|
||||
(if (re-search-forward "\\usepackage\\(?1:\\[.*\\]\\)?{natbib}")
|
||||
(if (re-search-forward "\\\\usepackage\\(?1:\\[.*\\]\\)?{natbib}")
|
||||
(match-string 1)
|
||||
"[numbers,super,sort]"))
|
||||
|
||||
@@ -475,10 +478,10 @@ bibliography.
|
||||
natbib-options bibdata org-ref-natmove
|
||||
buf)
|
||||
|
||||
(when-let (buf (find-buffer-visiting tex-file))
|
||||
(when-let* (buf (find-buffer-visiting tex-file))
|
||||
(kill-buffer buf))
|
||||
|
||||
(when-let (buf (find-buffer-visiting bbl-file))
|
||||
(when-let* (buf (find-buffer-visiting bbl-file))
|
||||
(kill-buffer buf))
|
||||
|
||||
;; refresh these
|
||||
|
||||
Reference in New Issue
Block a user