Fix bibliography formatted export
This commit is contained in:
parent
fd0aac478a
commit
d90760eebd
1 changed files with 9 additions and 4 deletions
13
init.el
13
init.el
|
@ -761,19 +761,23 @@
|
||||||
bibtex-autokey-titlewords 2
|
bibtex-autokey-titlewords 2
|
||||||
bibtex-autokey-titlewords-stretch 1))
|
bibtex-autokey-titlewords-stretch 1))
|
||||||
|
|
||||||
|
(use-package oc
|
||||||
|
:straight nil
|
||||||
|
:init
|
||||||
|
(require 'oc-csl)
|
||||||
|
(require 'oc-biblatex))
|
||||||
|
|
||||||
(use-package citar
|
(use-package citar
|
||||||
:straight t
|
:straight t
|
||||||
:custom
|
:custom
|
||||||
(org-cite-global-bibliography '("~/notes/bibliography/bibliography.bib"))
|
(org-cite-global-bibliography '("~/notes/bibliography/bibliography.bib"))
|
||||||
(org-cite-export-processors '((beamer . biblatex)
|
(org-cite-export-processors '((beamer . biblatex)
|
||||||
(latex . biblatex)
|
(latex . biblatex)
|
||||||
(t . (csl "~/notes/bibliography/chicago-author-date.csl"))))
|
(t . (csl "chicago-author-date.csl"))))
|
||||||
(org-cite-insert-processor 'citar)
|
(org-cite-insert-processor 'citar)
|
||||||
(org-cite-follow-processor 'citar)
|
(org-cite-follow-processor 'citar)
|
||||||
(org-cite-activate-processor 'citar)
|
(org-cite-activate-processor 'citar)
|
||||||
(citar-bibliography org-cite-global-bibliography)
|
(citar-bibliography org-cite-global-bibliography)
|
||||||
(citar-at-point-function 'embark-act)
|
|
||||||
(citar-format-reference-function 'citar-citeproc-format-reference)
|
|
||||||
(citar-citeproc-csl-styles-dir "~/notes/bibliography/")
|
(citar-citeproc-csl-styles-dir "~/notes/bibliography/")
|
||||||
(citar-citeproc-csl-locales-dir "~/notes/bibliography/")
|
(citar-citeproc-csl-locales-dir "~/notes/bibliography/")
|
||||||
(citar-notes-paths '("~/notes/notes"))
|
(citar-notes-paths '("~/notes/notes"))
|
||||||
|
@ -784,7 +788,8 @@
|
||||||
(use-package citar-embark
|
(use-package citar-embark
|
||||||
:straight t
|
:straight t
|
||||||
:after citar embark
|
:after citar embark
|
||||||
:no-require
|
:init
|
||||||
|
(setq citar-at-point-function 'embark-act)
|
||||||
:config (citar-embark-mode))
|
:config (citar-embark-mode))
|
||||||
|
|
||||||
(use-package org-roam
|
(use-package org-roam
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue