Compare commits

...

2 Commits

Author SHA1 Message Date
Gerard Vermeulen
20958c10f5 Use citar' also outside org' 2022-11-20 12:15:32 +01:00
Gerard Vermeulen
3ecb23dd42 Fix typo 2022-11-20 12:13:26 +01:00

View File

@ -2390,6 +2390,12 @@ configuration.
(when (fboundp 'citar-embark-mode)
(citar-embark-mode +1)))
(when (require 'citar nil 'noerror)
(custom-set-variables
'(citar-bibliography '("~/VCS/research/refs.bib"))
'(citar-library-file-extensions '("djvu" "pdf"))
'(citar-library-paths '("~/VCS/research/papers/"))))
(with-eval-after-load 'oc
(custom-set-variables
'(org-cite-export-processors '((latex biblatex)
@ -2400,14 +2406,7 @@ configuration.
(custom-set-variables
'(org-cite-activate-processor 'citar)
'(org-cite-follow-processor 'citar)
'(org-cite-insert-processor 'citar))))
(with-eval-after-load 'org
(when (require 'citar nil 'noerror)
(custom-set-variables
'(citar-bibliography '("~/VCS/research/refs.bib"))
'(citar-library-file-extensions '("djvu" "pdf"))
'(citar-library-paths '("~/VCS/research/papers/"))))))
'(org-cite-insert-processor 'citar)))))
#+end_src
Ref. [cite:@Schulte.MCSE.2011.41] shows that [[https://orgmode.org/][Org-mode]] is a simple, plain-text
@ -4670,7 +4669,7 @@ code formatter for Python]].
#+begin_src emacs-lisp
(when (and (ensure-package-installation 'electric-operator)
(fboundp 'electric-operator-mode))
(add-hook 'c-mode-common #'electric-operator-mode)
(add-hook 'c-mode-common-hook #'electric-operator-mode)
(add-hook 'python-mode-hook #'electric-operator-mode))
#+end_src