forked from mirrors/org-mode
ox-latex: Tiny refactoring
* lisp/ox-latex.el (org-latex-footnote-reference): Tiny refactoring.
This commit is contained in:
parent
408eaccf1c
commit
fbb5c97bd6
|
@ -1883,8 +1883,8 @@ CONTENTS is nil. INFO is a plist holding contextual information."
|
||||||
((or (org-element-lineage footnote-reference
|
((or (org-element-lineage footnote-reference
|
||||||
'(footnote-reference footnote-definition
|
'(footnote-reference footnote-definition
|
||||||
table-cell))
|
table-cell))
|
||||||
(and (org-element-lineage footnote-reference '(item))
|
(eq 'item (org-element-type
|
||||||
(org-element-secondary-p footnote-reference)))
|
(org-export-get-parent-element footnote-reference))))
|
||||||
"\\footnotemark")
|
"\\footnotemark")
|
||||||
;; Otherwise, define it with \footnote command.
|
;; Otherwise, define it with \footnote command.
|
||||||
(t
|
(t
|
||||||
|
|
Loading…
Reference in New Issue