From c598a81efa9f125d777f4d2dc5e4f5f248f67629 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Tue, 3 May 2022 09:27:39 +0100 Subject: Add citation --- doom/config.org | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doom/config.org b/doom/config.org index ba6eb47..842744b 100644 --- a/doom/config.org +++ b/doom/config.org @@ -566,7 +566,9 @@ (append '(("context" "context --purgeall %s" - TeX-run-command nil t :help "Run ConTeXt")) TeX-command-list))) + TeX-run-command nil t :help "Run ConTeXt")) TeX-command-list)) + (map! :map ConTeXt-mode-map + "C-c ]" #'ebib-insert-citation)) ;; Bibtex stuff (use-package! ebib @@ -586,7 +588,7 @@ (add-to-list 'ebib-citation-commands '(org-mode (("ref" "[cite:@%(%K%,)]")))) (add-to-list 'ebib-citation-commands '(context-mode (("cite" "\\cite[%(%K%,)]") ("authoryear" "\\cite[authoryear][%(%K%,)]") - ("authoryears" "\\cite[entry][%(%K%,)]") + ("authoryears" "\\cite[authoryears][%(%K%,)]") ("entry" "\\cite[entry][%(%K%,)]") ("authors" "\\cite[authors][%(%K%,)]")))) -- cgit