From 7584268314c0a59be18dc959b4b9a5e85733aaac Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 14 Sep 2017 14:40:33 +0200 Subject: [PATCH] ox-html: Fix missing Mathjax config with maths elements in captions * lisp/ox-html.el (org-html--build-mathjax-config): Fix missing Mathjax config with maths elements in captions. Reported-by: Lawrence Bottorff --- lisp/ox-html.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index 48a3b3b79..3f0f0524d 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -1910,7 +1910,7 @@ INFO is a plist used as a communication channel." INFO is a plist used as a communication channel." (when (and (memq (plist-get info :with-latex) '(mathjax t)) (org-element-map (plist-get info :parse-tree) - '(latex-fragment latex-environment) 'identity info t)) + '(latex-fragment latex-environment) #'identity info t nil t)) (let ((template (plist-get info :html-mathjax-template)) (options (plist-get info :html-mathjax-options)) (in-buffer (or (plist-get info :html-mathjax) "")))