Cosmetic fixes.
parent
5c28dd4c9c
commit
e6c3ce16f2
51
publish.el
51
publish.el
|
@ -12,14 +12,23 @@
|
||||||
:init
|
:init
|
||||||
(setq org-html-validation-link nil
|
(setq org-html-validation-link nil
|
||||||
make-backup-files nil
|
make-backup-files nil
|
||||||
org-src-fontify-natively t)
|
org-src-fontify-natively nil
|
||||||
|
org-confirm-babel-evaluate nil
|
||||||
(defun sa-filter-local-links (link backend info)
|
org-src-tab-acts-natively t
|
||||||
"Filter that converts all the /index.html links to /"
|
org-html-htmlize-output-type nil
|
||||||
(if (org-export-derived-backend-p backend 'html)
|
org-babel-python-command "python3")
|
||||||
(replace-regexp-in-string "/index.html" "/" link)))
|
|
||||||
|
|
||||||
:config
|
: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
|
(setq org-publish-project-alist
|
||||||
'(
|
'(
|
||||||
;; Content that should be processed.
|
;; Content that should be processed.
|
||||||
|
@ -111,32 +120,4 @@
|
||||||
|
|
||||||
;; Combine the two previous components in a single one
|
;; Combine the two previous components in a single one
|
||||||
("site" :components ("pages" "blog" "static-pages" "static-blog"))))
|
("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)
|
|
||||||
|
|
Loading…
Reference in New Issue