From 00d5fa5690c495463275dc2126db6188cb848d9d Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Wed, 29 Jan 2020 15:28:53 +0100 Subject: [PATCH] Update from mathjax 2 to mathjax 3 --- dotfiles/doom.org | 53 ++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 28 deletions(-) diff --git a/dotfiles/doom.org b/dotfiles/doom.org index 513dda9..bdd6a4f 100644 --- a/dotfiles/doom.org +++ b/dotfiles/doom.org @@ -640,33 +640,32 @@ https://emacs.stackexchange.com/questions/30575/adding-latex-newpage-before-a-he **** MathJax #+begin_src emacs-lisp (setq org-html-mathjax-template - " - + ") #+end_src +#+begin_src emacs-lisp + (setq org-html-mathjax-options + '((path "https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js") + (scale "100") + (align "center") + (font "TeX") + (linebreaks "false") + (autonumber "AMS") + (indent "0em") + (multlinewidth "85%") + (tagindent ".8em") + (tagside "right"))) +#+end_src + **** Export with css class instead of inline css #+begin_src emacs-lisp (setq org-html-htmlize-output-type 'css) @@ -1423,13 +1422,11 @@ https://emacs.stackexchange.com/questions/22430/rebind-org-babel-execute-src-blo :n "" #'tdh/ctrl-shit-ret) #+end_src -** Library of Babel +** TODO [#A] Library of Babel Add all named source blocks to =org-babel-library-of-babel=. #+begin_src emacs-lisp - (after! org-babel - (org-babel-lob-ingest "~/Cloud/thesis/org-mode/org-babel-tutorial/org-babel-library.org") - ) + ; (org-babel-lob-ingest "~/Cloud/thesis/org-mode/org-babel-tutorial/org-babel-library.org") #+end_src ** Org-Babel Matlab