Cosmetic fixes.

master
Stéphane Adjemian (Charybdis) 2022-02-23 15:19:24 +01:00
parent 5c28dd4c9c
commit e6c3ce16f2
Signed by: stepan
GPG Key ID: 295C1FE89E17EB3C
1 changed files with 16 additions and 35 deletions

View File

@ -12,14 +12,23 @@
:init
(setq org-html-validation-link nil
make-backup-files nil
org-src-fontify-natively t)
(defun sa-filter-local-links (link backend info)
"Filter that converts all the /index.html links to /"
(if (org-export-derived-backend-p backend 'html)
(replace-regexp-in-string "/index.html" "/" link)))
org-src-fontify-natively nil
org-confirm-babel-evaluate nil
org-src-tab-acts-natively t
org-html-htmlize-output-type nil
org-babel-python-command "python3")
:config
(org-babel-do-load-languages
'org-babel-load-languages
'(
(emacs-lisp . t)
(org . t)
(shell . t)
(python . t)
(gnuplot . t)
(matlab . t)
(R . t)
))
(setq org-publish-project-alist
'(
;; Content that should be processed.
@ -111,32 +120,4 @@
;; Combine the two previous components in a single one
("site" :components ("pages" "blog" "static-pages" "static-blog"))))
(add-to-list 'org-export-filter-link-functions 'sa-filter-local-links)
)
;(use-package htmlize
; :ensure t);
;
;(setq org-export-htmlize-output-type 'css);
(org-babel-do-load-languages
'org-babel-load-languages
'(
(emacs-lisp . t)
(org . t)
(shell . t)
(python . t)
(gnuplot . t)
(matlab . t)
(R . t)
(lilypond . t)
))
(setq org-confirm-babel-evaluate nil)
;(setq org-src-fontify-natively t)
(setq org-src-tab-acts-natively t)
(setq org-babel-python-command "python3")
(setq org-html-htmlize-output-type 'css)
(setq org-html-head-include-default-style nil)