Compare commits

...

2 Commits

1 changed files with 26 additions and 19 deletions

View File

@ -1336,6 +1336,16 @@ nicer user experience.
:config (pdf-tools-install))
#+end_src
** Epub Viewer
There is not built in way to render epubs, so leverage the cleverly named nov-el package for
this (which can be used with org-noter).
#+begin_src emacs-lisp
(use-package nov
:config (add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode)))
#+end_src
* TODO Editing :needs_review:
This section should be reviewed as this has grown over time. Also, some if not many of these
@ -1983,15 +1993,21 @@ Use [[http://gnuplot.sourceforge.net/][gnuplot]] alongside org-mode to generate
(file+olp "~/.org/roam/agenda/capture.org" "Triage")
"* PHONE %?\n %U\n" :clock-in t :clock-resume t)
;; ;; TODO: these should likely be moved into org-roam-dailies capture templates
;; ("l" "Templates for logging")
;; ("ll" "Log" entry
;; (file+datetree "~/.org/logbook.org")
;; "* %?\n Entered on %U\n %i\n")
;; ("lf" "Log with file link" entry
;; (file+datetree "~/.org/logbook.org")
;; "* %?\n Entered on %U\n %i\n %a")
))
;; Note: it would be preferred to reference these by id instead of file, but this
;; causes headlines to be inserted at the wrong level. Namely, if the file being
;; inserted into ends with a level n node, if id is used to select the node, a n+1
;; level node will be inserted instead of a level 0 (top-level) node.
("k" "Templates for knowledge base")
("kp" "person" entry
(file "~/.org/roam/20220515230259-people.org")
"* %^{name}%?\n")
("kb" "book" entry
(file "~/.org/roam/20220804144029-books.org")
"* %^{title}%?\n")
("ks" "software" entry
(file "~/.org/roam/20220908170736-software.org")
"* %^{name}
%?")))
;; Automatically give all capture entries an id
(add-hook 'org-capture-mode-hook #'org-id-get-create)
@ -2114,20 +2130,11 @@ Use [[http://gnuplot.sourceforge.net/][gnuplot]] alongside org-mode to generate
(org-roam-node-display-template
(concat "${title:*} " (propertize "${tags:45}" 'face 'org-tag)))
(org-roam-capture-templates
;; TODO: ROAM_ref (formally roam_key) can not be set in the file PROPERTIES in roam v2
;; See: https://github.com/org-roam/org-roam/issues/1920
'(("d" "default" plain "%?"
:target (file+head "%<%Y%m%d%H%M%S>-${slug}.org"
"#+title: ${title}
")
:unnarrowed t)
("p" "person" entry "* %^{name}%?"
:target (node "863ddb0b-ed30-4cf6-86c7-915afda0c0d1"))
("b" "book" entry "* %^{name}%?"
:target (node "64a98813-bdf8-4813-9f4e-e1153170ffa9"))
("s" "software" entry "* %^{name}
%?"
:target (node "d0c93085-3e96-4f4b-ad83-ced92cf4de33"))))
:unnarrowed t)))
(org-roam-dailies-directory "")
(org-roam-dailies-capture-templates
'(("d" "default" entry "* %?" :target (file+datetree "dailies.org.gpg" week))))