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:
parent
47265b31ca
commit
66686f69a5
|
@ -1553,8 +1553,7 @@ CONTENTS is nil. INFO is a plist holding contextual information."
|
||||||
"\\footnotemark")
|
"\\footnotemark")
|
||||||
;; Otherwise, define it with \footnote command.
|
;; Otherwise, define it with \footnote command.
|
||||||
(t
|
(t
|
||||||
(let ((def (org-latex--wrap-latex-math-block
|
(let ((def (org-export-get-footnote-definition footnote-reference info)))
|
||||||
(org-export-get-footnote-definition footnote-reference info) info)))
|
|
||||||
(concat
|
(concat
|
||||||
(format "\\footnote{%s}" (org-trim (org-export-data def info)))
|
(format "\\footnote{%s}" (org-trim (org-export-data def info)))
|
||||||
;; Retrieve all footnote references within the footnote and
|
;; Retrieve all footnote references within the footnote and
|
||||||
|
|
Loading…
Reference in New Issue