fix loading issues with org-babel

This commit is contained in:
Peter Tillemans 2025-09-12 14:11:39 +02:00
parent 63ed08a9c6
commit cc53df4a47

View file

@ -406,19 +406,23 @@ testing in my [[file:~/org/snamellit/testfile.org::*User Journey Graph][org babe
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package ob-mermaid (use-package ob-mermaid
:ensure t :ensure t
:demand t) :demand t
:config
(setq org-babel-load-languages (cons '(mermaid . t) org-babel-load-languages))
(org-babel-do-load-languages 'org-babel-load-languages org-babel-load-languages))
#+END_SRC #+END_SRC
#+RESULTS:
: [nil 26817 38923 492671 nil elpaca-process-queues nil nil 702000 nil]
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package ob-latex (use-package ob-latex
:ensure nil :ensure nil
:demand t :demand t
:custom :custom (org-preview-latex-default-process "lualatex"))
(org-preview-latex-default-process "lualatex"))
#+END_SRC #+END_SRC
@ -426,24 +430,24 @@ testing in my [[file:~/org/snamellit/testfile.org::*User Journey Graph][org babe
: [nil 26768 38911 12050 nil elpaca-process-queues nil nil 97000 nil] : [nil 26768 38911 12050 nil elpaca-process-queues nil nil 97000 nil]
#+BEGIN_SRC emacs-lisp :tangle yes #+BEGIN_SRC emacs-lisp :tangle yes
;; configure babel languages (;; configure babel languages
(use-package ob use-package ob
:ensure nil :ensure nil
:after org :config
:custom (setq org-babel-load-languages '((emacs-lisp . t)
(org-babel-load-languages '((emacs-lisp . t) (shell . t)
(shell . t) (python . t)
(python . t) (scheme . t)
(scheme . t) (plantuml . t)
(plantuml . t) ;(mermaid . t)
(mermaid . t) (sql . t)
(sql . t) (sqlite . t)
(sqlite . t) (dot . t)))
(dot . t))) (org-babel-do-load-languages 'org-babel-load-languages org-babel-load-languages))
)
#+END_SRC #+END_SRC
#+RESULTS: #+RESULTS:
: t
***** Example Emacs Lisp ***** Example Emacs Lisp