added bibliography to org-roam
This commit is contained in:
@@ -31,6 +31,8 @@
|
||||
- [[#org-agenda-setup][Org Agenda Setup]]
|
||||
- [[#caldav-sync][CalDAV Sync]]
|
||||
- [[#org-roam][Org Roam]]
|
||||
- [[#org-transclusion][Org Transclusion]]
|
||||
- [[#bibliography][Bibliography]]
|
||||
|
||||
* 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.
|
||||
@@ -256,7 +258,7 @@ We start by simply defining the standard headers used by the three files. These
|
||||
|
||||
:tools
|
||||
;;ansible
|
||||
;;biblio ; Writes a PhD for you (citation needed)
|
||||
biblio ; Writes a PhD for you (citation needed)
|
||||
;;collab ; buffers with friends
|
||||
;;debugger ; FIXME stepping through code, to help you add bugs
|
||||
;;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
|
||||
;;make ; run make tasks from Emacs
|
||||
;;pass ; password manager for nerds
|
||||
;;pdf ; pdf enhancements
|
||||
pdf ; pdf enhancements
|
||||
;;prodigy ; FIXME managing external services & code builders
|
||||
;;rgb ; creating color strings
|
||||
;;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))
|
||||
#+end_src
|
||||
*** 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
|
||||
(after! org-roam
|
||||
(setq org-roam-capture-templates
|
||||
'(("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)
|
||||
("b" "Besprechung Templates")
|
||||
("bm" "Besprechung Masterarbeit" plain
|
||||
("m" "Meeting Templates")
|
||||
("mm" "Besprechung Masterarbeit" plain
|
||||
"* 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))))
|
||||
#+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