X-Git-Url: https://git.donarmstrong.com/?p=org-ref.git;a=blobdiff_plain;f=jmax-bibtex.el;h=7c866d4bfde031adce52e9740d7a9446af6f99c3;hp=ba04a3207821ab3f294daf55275b899d768f1601;hb=7962d01339735d7a28d75c4f34afc1f4819575d7;hpb=1c45886a2ac35e2b10f7c1b8cbd3a4949d88f090 diff --git a/jmax-bibtex.el b/jmax-bibtex.el index ba04a32..7c866d4 100644 --- a/jmax-bibtex.el +++ b/jmax-bibtex.el @@ -27,13 +27,18 @@ ;;; Commentary: -;; ;; jmax-bibtex-generate-longtitles ;; jmax-bibtex-generate-shorttitles -;; jmax-stringify-journal-name :: replace a journal name with a string in `jmax-bibtex-journal-abbreviations' -;; jmax-set-journal-string :: in a bibtex entry run this to replace the journal with a string +;; jmax-stringify-journal-name :: replace a journal name with a string in +;; `jmax-bibtex-journal-abbreviations' +;; jmax-set-journal-string :: in a bibtex entry run this to replace the +;; journal with a string ;; -;; jmax-replace-nonascii :: replace nonascii characters in a bibtex entry +;; jmax-title-case-article :: title case the title in an article +;; jmax-sentence-case-article :: sentence case the title in an article. + +;; jmax-replace-nonascii :: replace nonascii characters in a bibtex +;; entry. Replacements are in `jmax-nonascii-latex-replacements'. ;; ;; jmax-title-case-article ;; jmax-sentence-case-article @@ -41,10 +46,13 @@ ;; jmax-bibtex-next-entry :: bound to M-n ;; jmax-bibtex-previous-entry :: bound to M-p ;; -;; Functions to act on an entry +;; Functions to act on a bibtex entry or file ;; jmax-bibtex-hydra/body gives a hydra menu to a lot of useful functions. ;; jmax-bibtex-new-entry/body gives a hydra menu to add new bibtex entries. +;; jmax-bibtex-file/body gives a hydra menu of actions for the bibtex file +;; ;; jmax-bibtex :: a deprecated menu of actions + (require 'hydra) (require 'key-chord) @@ -396,8 +404,6 @@ all the title entries in articles." (bibtex-fill-entry)))) - - (defun jmax-bibtex-next-entry (&optional n) "Jump to the beginning of the next bibtex entry. N is a prefix argument. If it is numeric, jump that many entries @@ -499,7 +505,7 @@ functions with a DOI argument." " _p_: Open pdf _y_: Copy key _n_: New entry _w_: WOS _b_: Open url _f_: Copy formatted entry _o_: Copy entry _c_: WOS citing -_r_: Refile entry _k_: Add keywords _d_: delete entry _r_: WOS related +_r_: Refile entry _k_: Add keywords _d_: delete entry _a_: WOS related _e_: Email entry _K_: Edit keywords _L_: clean entry _P_: Pubmed _U_: Update entry _N_: Open notes _R_: Crossref _g_: Google Scholar _s_: Sort entry _a_: Remove nonascii _h_: helm-bibtex _q_: quit @@ -509,7 +515,7 @@ _u_: Update field _f_: file funcs ("P" jmax-bibtex-pubmed) ("w" jmax-bibtex-wos) ("c" jmax-bibtex-wos-citing) - ("r" jmax-bibtex-wos-related) + ("a" jmax-bibtex-wos-related) ("R" jmax-bibtex-crossref) ("g" jmax-bibtex-google-scholar) ("n" jmax-bibtex-new-entry/body) @@ -575,6 +581,7 @@ _u_: Update field _f_: file funcs ("c" bibtex-InCollection "Article in collection") ("q" nil "quit")) + ;; a hydra menu of functions to act on a bibtex file. (defhydra jmax-bibtex-file (:color blue) "Bibtex file functions: "