diff options
author | Yann Herklotz <git@yannherklotz.com> | 2022-05-03 09:27:39 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2022-05-03 09:27:39 +0100 |
commit | c598a81efa9f125d777f4d2dc5e4f5f248f67629 (patch) | |
tree | 2fb4610b1b4d3affef16386edef1a2ac26a085cf | |
parent | b558d57cced857c6e441ee6fb7af6e19c1f2118b (diff) | |
download | dotfiles-c598a81efa9f125d777f4d2dc5e4f5f248f67629.tar.gz dotfiles-c598a81efa9f125d777f4d2dc5e4f5f248f67629.zip |
Add citation
-rw-r--r-- | doom/config.org | 6 |
1 files 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%,)]")))) |