Explorar el Código

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.
Nicolas Goaziou hace 14 años
padre
commit
c01c2ad035
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      lisp/org-latex.el

+ 2 - 1
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)