added bibliography to org-roam
This commit is contained in:
@@ -31,6 +31,8 @@
|
|||||||
- [[#org-agenda-setup][Org Agenda Setup]]
|
- [[#org-agenda-setup][Org Agenda Setup]]
|
||||||
- [[#caldav-sync][CalDAV Sync]]
|
- [[#caldav-sync][CalDAV Sync]]
|
||||||
- [[#org-roam][Org Roam]]
|
- [[#org-roam][Org Roam]]
|
||||||
|
- [[#org-transclusion][Org Transclusion]]
|
||||||
|
- [[#bibliography][Bibliography]]
|
||||||
|
|
||||||
* Config File Headers
|
* Config File Headers
|
||||||
We start by simply defining the standard headers used by the three files. These headers come from the initial files generated by =doom install=, and contain either some Emacs-LISP relevant indicators like =lexical-binding=, or instructions about the contents of the file.
|
We start by simply defining the standard headers used by the three files. These headers come from the initial files generated by =doom install=, and contain either some Emacs-LISP relevant indicators like =lexical-binding=, or instructions about the contents of the file.
|
||||||
@@ -256,7 +258,7 @@ We start by simply defining the standard headers used by the three files. These
|
|||||||
|
|
||||||
:tools
|
:tools
|
||||||
;;ansible
|
;;ansible
|
||||||
;;biblio ; Writes a PhD for you (citation needed)
|
biblio ; Writes a PhD for you (citation needed)
|
||||||
;;collab ; buffers with friends
|
;;collab ; buffers with friends
|
||||||
;;debugger ; FIXME stepping through code, to help you add bugs
|
;;debugger ; FIXME stepping through code, to help you add bugs
|
||||||
;;direnv
|
;;direnv
|
||||||
@@ -270,7 +272,7 @@ We start by simply defining the standard headers used by the three files. These
|
|||||||
magit ; a git porcelain for Emacs
|
magit ; a git porcelain for Emacs
|
||||||
;;make ; run make tasks from Emacs
|
;;make ; run make tasks from Emacs
|
||||||
;;pass ; password manager for nerds
|
;;pass ; password manager for nerds
|
||||||
;;pdf ; pdf enhancements
|
pdf ; pdf enhancements
|
||||||
;;prodigy ; FIXME managing external services & code builders
|
;;prodigy ; FIXME managing external services & code builders
|
||||||
;;rgb ; creating color strings
|
;;rgb ; creating color strings
|
||||||
;;taskrunner ; taskrunner for all your projects
|
;;taskrunner ; taskrunner for all your projects
|
||||||
@@ -513,16 +515,35 @@ Both the org files themselves and the database should be located in the same dir
|
|||||||
(org-roam-db-autosync-mode))
|
(org-roam-db-autosync-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Note Templates
|
*** Note Templates
|
||||||
|
This contains all the capture templates I am using.
|
||||||
|
Adding the "#+category: " tag improves the Org Agenda View for tasks captured in Org Roam
|
||||||
#+begin_src emacs-lisp :tangle config.el
|
#+begin_src emacs-lisp :tangle config.el
|
||||||
(after! org-roam
|
(after! org-roam
|
||||||
(setq org-roam-capture-templates
|
(setq org-roam-capture-templates
|
||||||
'(("d" "default" plain
|
'(("d" "default" plain
|
||||||
"%?"
|
"%?"
|
||||||
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
|
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n#+category: ${title}\n")
|
||||||
:unnarrowed t)
|
:unnarrowed t)
|
||||||
("b" "Besprechung Templates")
|
("m" "Meeting Templates")
|
||||||
("bm" "Besprechung Masterarbeit" plain
|
("mm" "Besprechung Masterarbeit" plain
|
||||||
"* Aktueller Stand\n\n* Offene Fragen\n\n* TODOs\n"
|
"* Aktueller Stand\n\n* Offene Fragen\n\n* TODOs\n"
|
||||||
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: Masterarbeitsbesprechung ${title}\n")
|
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: Masterarbeitsbesprechung ${title}\n#+category: Masterarbeit\n")
|
||||||
:unnarrowed t))))
|
:unnarrowed t))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
*** Misc
|
||||||
|
**** Follow Links on RET
|
||||||
|
Because the normal shortcut for `org-open-at-point` is quite cumbersome I want it to just follow links when clicking the RET button
|
||||||
|
#+begin_src emacs-lisp :tangle config.el
|
||||||
|
(after! org
|
||||||
|
(setq return-follows-link t))
|
||||||
|
#+end_src
|
||||||
|
** Org Transclusion
|
||||||
|
*** Installation
|
||||||
|
#+begin_src emacs-lisp :tangle packages.el
|
||||||
|
(package! org-transclusion)
|
||||||
|
#+end_src
|
||||||
|
** Bibliography
|
||||||
|
as per [[https://github.com/doomemacs/doomemacs/tree/master/modules/tools/biblio][Doom Emacs documentation]] the path to the .bib file needs to be defined
|
||||||
|
#+begin_src emacs-lisp :tangle config.el
|
||||||
|
(setq! citar-bibliography '("~/org/biblio.bib"))
|
||||||
|
#+end_src
|
||||||
|
|||||||
Reference in New Issue
Block a user