From c2ed3843d514c1b12808ce18200fd953a52fa98d Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Wed, 6 Apr 2022 14:25:43 +0100 Subject: Add new email filter --- doom/config.org | 15 +++++++++++---- doom/packages.el | 2 ++ 2 files changed, 13 insertions(+), 4 deletions(-) (limited to 'doom') 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 @@ ;;" (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 -- cgit