summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRavi R Kiran <aine.marina@gmail.com>2021-05-18 03:04:27 (GMT)
committerRavi R Kiran <aine.marina@gmail.com>2021-05-18 03:04:27 (GMT)
commit44ae54d96459fb8e747902a5debc0c60d5f609c9 (patch)
tree6e6c98681f284f66ef322c794d078967c27e68ef
parentee383b2b2fa542b64d131700de0d48b08370ca78 (diff)
downloaddotemacs-44ae54d96459fb8e747902a5debc0c60d5f609c9.zip
dotemacs-44ae54d96459fb8e747902a5debc0c60d5f609c9.tar.gz
dotemacs-44ae54d96459fb8e747902a5debc0c60d5f609c9.tar.bz2
Use org-reveal with mathjax 3
-rw-r--r--lisp/ravi-init-org.el18
1 files changed, 11 insertions, 7 deletions
diff --git a/lisp/ravi-init-org.el b/lisp/ravi-init-org.el
index 6539174..fb1dabc 100644
--- a/lisp/ravi-init-org.el
+++ b/lisp/ravi-init-org.el
@@ -30,6 +30,11 @@
jupyter-run-repl
jupyter-server-list-kernels))
+(defconst ravi/mathjax-v3-file "./MathJax/tex-chtml-full.js"
+ "MathJax file for v3")
+(defconst ravi/mathjax-v2-file "./MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
+ "MathJax file for v2")
+
(use-package org
:ensure org-plus-contrib
:mode ("\\.org\\'" . org-mode)
@@ -43,14 +48,13 @@
(use-package htmlize :ensure t)
(use-package ox-reveal
:config
- (progn
- (setq org-reveal-slide-number nil)
- (setq org-reveal-theme "night")
- (setq org-reveal-transition "linear")
- (setq org-reveal-mathjax t)
- (setq org-reveal-mathjax-url "./MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML")))
+ (setq org-reveal-slide-number nil)
+ (setq org-reveal-theme "night")
+ (setq org-reveal-transition "linear")
+ (setq org-reveal-mathjax t)
+ (setq org-reveal-mathjax-url ravi/mathjax-v3-file))
(use-package ox-rst)
- (use-package ox-impress-js)
+ (use-package ox-impress-js :disabled t)
;; Default file locations
(setq org-directory "~/Documents/org")