From 66686f69a5f7209542009f54d8aadbe1cd2fbd65 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 23 Jun 2015 15:31:09 +0200 Subject: [PATCH] ox-latex: Remove useless call to `org-latex--wrap-latex-math-block' * lisp/ox-latex.el (org-latex-footnote-reference): Remove call to `org-latex--wrap-latex-math-block' since definitions are already taken care of at the filter parse tree level, since 47265b31cab8d7c019cbd144a0a46657ab33bf1d. --- lisp/ox-latex.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index 5fb5d9ee4..d0bc3b4cb 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -1553,8 +1553,7 @@ CONTENTS is nil. INFO is a plist holding contextual information." "\\footnotemark") ;; Otherwise, define it with \footnote command. (t - (let ((def (org-latex--wrap-latex-math-block - (org-export-get-footnote-definition footnote-reference info) info))) + (let ((def (org-export-get-footnote-definition footnote-reference info))) (concat (format "\\footnote{%s}" (org-trim (org-export-data def info))) ;; Retrieve all footnote references within the footnote and