From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-exp.el: html export does not close footnote paragraph tag Date: Mon, 19 May 2008 14:25:27 +0200 Message-ID: References: <20080519105231.13406A689D@moon.robolove.meer.net> Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jy4Qk-0006CN-B7 for emacs-orgmode@gnu.org; Mon, 19 May 2008 08:25:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jy4Qi-0006BB-R9 for emacs-orgmode@gnu.org; Mon, 19 May 2008 08:25:30 -0400 Received: from [199.232.76.173] (port=38173 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jy4Qi-0006B1-Ne for emacs-orgmode@gnu.org; Mon, 19 May 2008 08:25:28 -0400 Received: from korteweg.uva.nl ([146.50.98.70]:10924) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jy4Qi-0002K4-IL for emacs-orgmode@gnu.org; Mon, 19 May 2008 08:25:28 -0400 In-Reply-To: <20080519105231.13406A689D@moon.robolove.meer.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: enometh@meer.net Cc: emacs-orgmode@gnu.org 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 "

name=\"fn.%s\" href=\"#fnr.%s\">%s" n n n) t t line))))) > + (format "

name=\"fn.%s\" href=\"#fnr.%s\">%s" n n n) t t line)) > + (setq line (concat line "\n

"))))) > > ;; 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