diff --git a/config.el b/config.el index a4725f8..151e2f2 100644 --- a/config.el +++ b/config.el @@ -33,6 +33,15 @@ (setq org-directory "~/MyDocuments/qwan/essays/willem") (setq org-roam-directory "~/MyDocuments/qwan/essays/willem") +;; fix pdflatex for pdf export +(setenv "PATH" (concat (getenv "PATH") ":/Library/TeX/texbin")) + +;; html export configuration, assuming use in a CMS or static site gerator that +;; takes care of the layout +;; https://stackoverflow.com/questions/47508315/emacs-org-mode-export-to-html-without-syntax-highlighting +(setq org-html-htmlize-output-type `nil) +(setq org-html-preamble `nil) +(setq org-html-postamble `nil) ;; make screenshot and paste ;; https://zzamboni.org/post/how-to-insert-screenshots-in-org-documents-on-macos/