Mentions légales du service

Skip to content
Snippets Groups Projects
Commit e80259d6 authored by AGULLO Emmanuel's avatar AGULLO Emmanuel
Browse files

conditional back-end for org-cite

parent 92c09108
No related branches found
No related tags found
No related merge requests found
Pipeline #574498 failed
...@@ -49,9 +49,19 @@ ...@@ -49,9 +49,19 @@
(org-map-entries '(org-toggle-tag "noexport" "on") "+texonly"))) (org-map-entries '(org-toggle-tag "noexport" "on") "+texonly")))
(add-hook 'org-export-before-parsing-hook 'filter-export) (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 (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>.") '(("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).") ("book" . "%a, %t, %u (%y).")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment