;;; 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
;; 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)
(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
"
_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
("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)
("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: "