aboutsummaryrefslogtreecommitdiffstats
path: root/doom
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2022-04-06 14:25:43 +0100
committerYann Herklotz <git@yannherklotz.com>2022-04-06 14:25:43 +0100
commitc2ed3843d514c1b12808ce18200fd953a52fa98d (patch)
tree52d4dcce84dc9ac17aa75cb1ca4e158771b25795 /doom
parentb45e7a9e95a530910512227f811c69c6b69c58c4 (diff)
downloaddotfiles-c2ed3843d514c1b12808ce18200fd953a52fa98d.tar.gz
dotfiles-c2ed3843d514c1b12808ce18200fd953a52fa98d.zip
Add new email filter
Diffstat (limited to 'doom')
-rw-r--r--doom/config.org15
-rw-r--r--doom/packages.el2
2 files changed, 13 insertions, 4 deletions
diff --git a/doom/config.org b/doom/config.org
index bbcfa08..b99b2b2 100644
--- a/doom/config.org
+++ b/doom/config.org
@@ -266,10 +266,10 @@
org-return-follows-link t
org-confirm-babel-evaluate nil
org-use-speed-commands t
- org-hide-emphasis-markers t
+ org-hide-emphasis-markers nil
org-adapt-indentation nil
org-cycle-separator-lines 2
- org-goto-interface 'outline-path-completion
+ org-startup-folded 'content
org-structure-template-alist '(("a" . "export ascii")
("c" . "center")
("C" . "comment")
@@ -395,6 +395,9 @@
;;<link rel=\"stylesheet\" type=\"text/css\" href=\"file:///Users/yannherklotz/Projects/orgcss/src/css/org.css\"/>"
(setq org-html-head-include-default-style nil
org-html-head-include-scripts nil
+ org-html-doctype "html5"
+ org-html-html5-fancy t
+ org-html-container-element "section"
org-html-postamble-format
'(("en" ""))
org-html-postamble t
@@ -701,7 +704,7 @@
(defun sci-hub-pdf-url (doi)
"Get url to the pdf from SCI-HUB using DOI."
(setq *doi-utils-pdf-url* (concat "https://sci-hub.do/" doi) ;captcha
- *doi-utils-waiting* t
+ ,*doi-utils-waiting* t
)
;; try to find PDF url (if it exists)
(url-retrieve (concat "https://sci-hub.do/" doi)
@@ -716,7 +719,7 @@
(setq *doi-utils-pdf-url* (concat "https:" foundurl))))
(setq *doi-utils-waiting* nil))))
(while *doi-utils-waiting* (sleep-for 0.1))
- *doi-utils-pdf-url*)
+ ,*doi-utils-pdf-url*)
(defun download-pdf-from-doi (doi key)
"Download pdf from doi with KEY name."
@@ -1003,4 +1006,8 @@ https://yannherklotz.com")
:config
(map! :map alectryon-mode-map
"C-c u t" #'alectryon-toggle))
+
+(use-package! ox-tufte
+ :after org
+ :config)
#+end_src
diff --git a/doom/packages.el b/doom/packages.el
index 4503783..a1627fb 100644
--- a/doom/packages.el
+++ b/doom/packages.el
@@ -6,6 +6,8 @@
;; `org-bullets' replacement
(package! org-superstar)
(package! ox-gfm)
+(package! ox-tufte
+ :recipe (:host nil :repo "https://git.sr.ht/~ymherklotz/ox-tufte"))
(package! org-transclusion
:recipe (:host github :repo "nobiot/org-transclusion"))
(package! org-zettelkasten