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
  47265b31ca.
This commit is contained in:
Nicolas Goaziou 2015-06-23 15:31:09 +02:00
parent 47265b31ca
commit 66686f69a5
1 changed files with 1 additions and 2 deletions

View File

@ -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