Reorganize citation handling

This commit is contained in:
Gerard Vermeulen 2021-12-14 10:13:22 +01:00
parent 5085d5438b
commit 0087086b74

View File

@ -731,17 +731,6 @@ below corrects this by advising to override ~TeX-brace-count-line~ with
("v" . "verse"))))
#+end_src
*** [[info:org#Citation export processors][Citation export processors (info)]]
:PROPERTIES:
:CUSTOM_ID: sec:citation-export-processors
:END:
#+begin_src emacs-lisp
(with-eval-after-load 'oc
(require 'oc-biblatex)
(require 'oc-csl))
#+end_src
*** [[info:org#External Links][Export external links (info)]]
:PROPERTIES:
:CUSTOM_ID: sec:export-external-links
@ -1004,14 +993,27 @@ Stolen from [[https://git.sr.ht/~bzg/org-contrib/tree/master/item/lisp/ox-extra.
'(apply 'my-org-eval-blocks-named '("python-setup")))
#+end_src
** Citing bibliography
*** [[info:org#Citation export processors][Citation export processors (info)]]
:PROPERTIES:
:CUSTOM_ID: sec:citation-export-processors
:END:
#+begin_src emacs-lisp
(with-eval-after-load 'oc
(custom-set-variables
'(citar-bibliography '("~/VCS/research/refs.bib")))
(require 'oc-biblatex)
(require 'oc-csl))
#+end_src
*** [[https://github.com/bdarcus/citar][Citar: citing bibliography]]
:PROPERTIES:
:CUSTOM_ID: sec:citing-bibliography
:END:
[[https://github.com/bdarcus/citar][Citar]] provides a completing-read front-end to browse and act on BibTeX,
BibLaTeX, and CSL JSON bibliographic data, and LaTeX, markdown, and org-cite
editing support.
BibLaTeX, as well as CSL JSON bibliographic data with LaTeX, markdown, and
org-cite editing support.
[[https://github.com/bdarcus/citar][Citar]] -- in combination with vertico, embark, and marginalia -- provides quick
filtering and selecting of bibliographic entries from the minibuffer, and the
@ -1026,11 +1028,17 @@ option to run different commands on those selections.
(custom-set-variables
'(org-cite-activate-processor 'citar)
'(org-cite-follow-processor 'citar)
'(org-cite-insert-processor 'citar))
'(org-cite-insert-processor 'citar)
`(citar-bibliography ,org-cite-global-bibliography))
(global-set-key (kbd "C-c b") #'citar-insert-citation)
(define-key minibuffer-local-map (kbd "M-b") #'citar-insert-preset))
#+end_src
**** TODO Compare bibtex and biblatex
1. [[https://www.economics.utoronto.ca/osborne/latex/BIBTEX.HTM][Using bibtex: a short guide]]
2. [[https://www.tug.org/texlive//devsrc/Master/texmf-dist/doc/latex/biblatex/biblatex.pdf][The biblatex package]]
3. [[https://github.com/yuchenlin/rebiber][Rebiber: A tool for normalizing bibtex with official info]]
4. [[https://github.com/josephwright/biblatex-phys][A biblatex implementation of the AIP and APS bibliography style]]
* Editing
** [[https://www.emacswiki.org/emacs/DisabledCommands][Enable disabled commands and inform]]