diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2011-03-18 16:11:51 +0100 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2011-03-18 16:12:27 +0100 |
commit | c01c2ad03588b01bdaa019ad32c79988fa782fa7 (patch) | |
tree | eb4124d38a01beeaf181581115d866c1714755c2 | |
parent | d5383b1769a1e70ae8e220490a75cd1b4f0d7cc4 (diff) | |
download | org-mode-c01c2ad03588b01bdaa019ad32c79988fa782fa7.tar.gz |
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.
-rw-r--r-- | lisp/org-latex.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 3c3869e..fbdeb5e 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -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) |