mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-03 08:30:03 +00:00
org-latex: fix lists in footnotes.
* lisp/org-latex.el (org-export-latex-preprocess): last brace shouldn't be on the same line as a list end marker.
This commit is contained in:
parent
d5383b1769
commit
c01c2ad035
@ -2415,7 +2415,8 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER."
|
||||
(if (re-search-forward "^$\\|^#.*$\\|\\[[0-9]+\\]" nil t)
|
||||
(match-beginning 0) (point-max)))))
|
||||
(setq footnote (concat (org-trim (buffer-substring (point) end))
|
||||
" ")) ; prevent last } being part of a link
|
||||
; last } won't be part of a link or list.
|
||||
"\n"))
|
||||
(delete-region (point) end))
|
||||
(goto-char foot-beg)
|
||||
(delete-region foot-beg foot-end)
|
||||
|
Loading…
Reference in New Issue
Block a user