clean up latex article preamble

This commit is contained in:
2022-04-14 21:06:17 +02:00
parent 4ca87469a6
commit 146f6b1d2b
3 changed files with 602 additions and 574 deletions

View File

@@ -27,6 +27,7 @@
:load-path (lambda() (concat config-dir "lisp/citeproc"))
:defer t) ;; used by org-ref
;; !in a org document run org-ref to test the installation
(use-package org-ref ;; used with some preamble defs and \printbibliography (biblatex/biber, no html export), see also ox-bibtex
:load-path (lambda() (concat config-dir "lisp/org-ref"))
:after (org)
@@ -35,7 +36,13 @@
;; specify completion backends
(defvar org-ref-completion-library 'org-ref-ivy-cite) ;; requires ivy-bibtex, must be set before requiring org-ref otherwise helm will be loaded
:config
(setq bibtex-dialect 'biblatex)) ;; biblatex also for biber
;; TODO: version 3 not working (with article-latex), the tex file still has the from cite:&... -> \cite{&...}
(setq org-ref-cite-insert-version 2) ;; org-ref-citation-links.el
(setq bibtex-dialect 'biblatex) ;; biblatex also for biber
(setq org-latex-prefer-user-labels t)) ;; reference to headings ref:section-name
(use-package org-ref-ivy
:after (org-ref))
(use-package ox-bibtex ;; used with #+BIBLIOGRAPHY: ... (bibtex, with html export), see also org-ref
:after (org)