feat(emacs): BibTeX
This commit is contained in:
@@ -364,6 +364,8 @@ See https://lists.gnu.org/archive/html/emacs-orgmode/2019-07/msg00081.html."
|
|||||||
;; Stay out of my config dir!
|
;; Stay out of my config dir!
|
||||||
(org-id-locations-file (file-name-concat syd-cache-dir
|
(org-id-locations-file (file-name-concat syd-cache-dir
|
||||||
"org-id-locations"))
|
"org-id-locations"))
|
||||||
|
(org-cite-global-bibliography
|
||||||
|
(list (expand-file-name "~/liography.bib")))
|
||||||
;; New headings should be inserted /after/ the heading's contents.
|
;; New headings should be inserted /after/ the heading's contents.
|
||||||
(org-insert-heading-respect-content t)
|
(org-insert-heading-respect-content t)
|
||||||
;; Hide markup syntax and leave the markup.
|
;; Hide markup syntax and leave the markup.
|
||||||
@@ -532,9 +534,5 @@ In case of failure, fail gracefully."
|
|||||||
(use-package org-fragtog
|
(use-package org-fragtog
|
||||||
:hook (org-mode . org-fragtog-mode))
|
:hook (org-mode . org-fragtog-mode))
|
||||||
|
|
||||||
(with-eval-after-load 'org-cite
|
|
||||||
(setq org-cite-global-bibliography
|
|
||||||
(list (substitute-in-file-name "/persist/home/$USER/liography.bib"))))
|
|
||||||
|
|
||||||
(provide 'syd-org)
|
(provide 'syd-org)
|
||||||
;;; syd-org.el ends here
|
;;; syd-org.el ends here
|
||||||
|
|||||||
@@ -42,6 +42,9 @@ in lib.mkMerge [
|
|||||||
# under ~/.ssh, rather than the whole directory.
|
# under ~/.ssh, rather than the whole directory.
|
||||||
".ssh"
|
".ssh"
|
||||||
];
|
];
|
||||||
|
files = [
|
||||||
|
"liography.bib"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user