update packages
This commit is contained in:
@@ -257,11 +257,11 @@ Returns `org-ref-bst-styles' or sets it and returns it."
|
||||
(setq org-ref-bst-styles
|
||||
(mapcar 'file-name-nondirectory
|
||||
(mapcar 'file-name-sans-extension
|
||||
(-flatten
|
||||
(org-ref--flatten-list
|
||||
(mapcar (lambda (path)
|
||||
(setq path (replace-regexp-in-string "!" "" path))
|
||||
(when (file-directory-p path)
|
||||
(f-entries path (lambda (f) (f-ext? f "bst")))))
|
||||
(org-ref--directory-files path (lambda (f) (org-ref--file-ext-p f "bst")))))
|
||||
(split-string
|
||||
;; https://tex.stackexchange.com/questions/431948/get-a-list-of-installed-bibliography-styles-with-kpsewhich?noredirect=1#comment1082436_431948
|
||||
(shell-command-to-string "kpsewhich -expand-path '$BSTINPUTS'")
|
||||
|
||||
Reference in New Issue
Block a user