Update the citar configuration

This commit is contained in:
Gerard Vermeulen 2022-07-13 05:16:00 +02:00
parent b7531d5a8c
commit 24ac7c01d4

View File

@ -1996,7 +1996,7 @@ configuration.
(when (require 'citar nil 'noerror) (when (require 'citar nil 'noerror)
(custom-set-variables (custom-set-variables
'(citar-bibliography '("~/VCS/research/refs.bib")) '(citar-bibliography '("~/VCS/research/refs.bib"))
'(citar-file-extensions '("djvu" "pdf")) '(citar-library-file-extensions '("djvu" "pdf"))
'(citar-library-paths '("~/VCS/research/papers/"))) '(citar-library-paths '("~/VCS/research/papers/")))
(when (fboundp 'citar-embark-mode) (when (fboundp 'citar-embark-mode)
(citar-embark-mode +1))) (citar-embark-mode +1)))
@ -2009,10 +2009,11 @@ markup language for hierarchical documents allowing intermingling of data, code,
and prose. It serves as an example link to to show how to use [[https://github.com/bdarcus/citar][Citar]] within this and prose. It serves as an example link to to show how to use [[https://github.com/bdarcus/citar][Citar]] within this
setup, provided that =citar-bibliography= and =citar-library-paths= point to setup, provided that =citar-bibliography= and =citar-library-paths= point to
valid directories and files. In an [[https://orgmode.org/][Org-mode]] buffer this setup allows to: valid directories and files. In an [[https://orgmode.org/][Org-mode]] buffer this setup allows to:
1. Insert an [[https://orgmode.org/][Org-mode]] cite link: 1. Insert one or more [[https://orgmode.org/][Org-mode]] cite links:
1. Type {{{kbd(C-c b)}}} or {{{kbd(M-x org-cite-insert)}}}. 1. Type {{{kbd(C-c b)}}} or {{{kbd(M-x org-cite-insert)}}}.
2. Navigate to the bibliographic entry to insert. 2. Navigate to a bibliographic entry to insert:
3. Select it. 1. Select it with {{{kbd(TAB)}}} to select more entries.
2. Select it with {{{kbd(RET)}}} to select the last entry.
2. View an electronic copy of an [[https://orgmode.org/][Org-mode]] cite link: 2. View an electronic copy of an [[https://orgmode.org/][Org-mode]] cite link:
1. Move point to the [[https://orgmode.org/][Org-mode]] cite link. 1. Move point to the [[https://orgmode.org/][Org-mode]] cite link.
2. Type {{{kbd(C-:)}}} or {{{kbd(M-x embark-dwim)}}}. 2. Type {{{kbd(C-:)}}} or {{{kbd(M-x embark-dwim)}}}.