Applied, thanks.
- Carsten
On May 19, 2008, at 12:52 PM, Madhu wrote:
[No need to forward to list if acted on]
Helu, the new nxml mode complained that footnotes in exported org
files don't have their paragraphs closed: Perhaps something like the
following would fix it? --Madhu
diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index 814515f..6f8d6b0 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -2924,7 +2924,8 @@ lang=\"%s\" xml:lang=\"%s\">
(org-close-par-maybe)
(let ((n (match-string 1 line)))
(setq line (replace-match
- (format "<p class=\"footnote\"><sup><a class=\"footnum\"
name=\"fn.%s\" href=\"#fnr.%s\">%s</a></sup>" n n n) t t line)))))
+ (format "<p class=\"footnote\"><sup><a class=\"footnum\"
name=\"fn.%s\" href=\"#fnr.%s\">%s</a></sup>" n n n) t t line))
+ (setq line (concat line "\n</p>")))))
;; Check if the line break needs to be conserved
(cond
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode