diff --git a/compose-publish.el b/compose-publish.el index e8f46dd49dc46381fe9ef4b72c06bee21abef185..f25c1fdd9e0875c0676750bc0aead2fb39d20511 100644 --- a/compose-publish.el +++ b/compose-publish.el @@ -49,9 +49,19 @@ (org-map-entries '(org-toggle-tag "noexport" "on") "+texonly"))) (add-hook 'org-export-before-parsing-hook 'filter-export) -;; Add an entry format to org-ref for @misc bibtex entries. -;; The other values are left unchanged. +;; Refinement for the two main available citation management tools: org-cite +;; (oc.el) and org-ref + +;; org-cite (oc.el): we choose the biblatex export processor for latex (and +;; derived back-ends) documents and csl otherwise (in particular for html +;; export) +(setq org-cite-export-processors + '((latex biblatex) + (t csl))) + +;; org-ref: add an entry format to org-ref for @misc bibtex entries; the other +;; values are left unchanged. (setq org-ref-bibliography-entry-format '(("article" . "%a, %t, <i>%j</i>, <b>%v(%n)</b>, %p (%y). <a href=\"%U\">link</a>. <a href=\"http://dx.doi.org/%D\">doi</a>.") ("book" . "%a, %t, %u (%y).")