update of packages
This commit is contained in:
@@ -1005,7 +1005,7 @@ keywords. Optional argument ARG prefix arg to replace keywords."
|
||||
(if (listp keywords)
|
||||
(mapconcat 'identity keywords ", ")
|
||||
keywords)
|
||||
;; else concatentate
|
||||
;; else concatenate
|
||||
(concat
|
||||
(if (listp keywords)
|
||||
(mapconcat 'identity keywords ", ")
|
||||
@@ -1209,13 +1209,13 @@ will clobber the file."
|
||||
;;** Clean a bibtex entry
|
||||
;; These functions operate on a bibtex entry and "clean" it in some way.
|
||||
|
||||
(defun orcb-clean-nil (arg)
|
||||
(defun orcb-clean-nil (&optional arg)
|
||||
"Remove nil from some article fields.
|
||||
The removal is conditional. Sometimes it is useful to have nil
|
||||
around, e.g. for ASAP articles where the fields are not defined
|
||||
yet but will be in the future.
|
||||
|
||||
With \\[univeral-argument], run `bibtex-clean-entry' after."
|
||||
With \\[universal-argument], run `bibtex-clean-entry' after."
|
||||
(interactive "P")
|
||||
(bibtex-beginning-of-entry)
|
||||
(let* ((entry (bibtex-parse-entry))
|
||||
@@ -1405,6 +1405,16 @@ If not, issue a warning."
|
||||
(doi-utils-get-bibtex-entry-pdf))))
|
||||
|
||||
|
||||
(defun orcb-clean-<>-tags ()
|
||||
"Try removing <tags> from the entry."
|
||||
(sgml-mode)
|
||||
(ignore-errors
|
||||
(while (sgml-skip-tag-forward 1)
|
||||
(sgml-skip-tag-backward 1)
|
||||
(sgml-delete-tag 1)))
|
||||
(bibtex-mode))
|
||||
|
||||
|
||||
;;;###autoload
|
||||
(defun org-ref-clean-bibtex-entry ()
|
||||
"Clean and replace the key in a bibtex entry.
|
||||
|
||||
Reference in New Issue
Block a user