Browse Source

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.
Nicolas Goaziou 9 years ago
parent
commit
66686f69a5
1 changed files with 1 additions and 2 deletions
  1. 1 2
      lisp/ox-latex.el

+ 1 - 2
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