From: Carsten Dominik <C.Dominik@uva.nl>
To: enometh@meer.net
Cc: emacs-orgmode@gnu.org
Subject: Re: org-exp.el: html export does not close footnote paragraph tag
Date: Mon, 19 May 2008 14:25:27 +0200 [thread overview]
Message-ID: <EC74BCCC-F288-4D61-8F8A-1FA9632A3B7E@uva.nl> (raw)
In-Reply-To: <20080519105231.13406A689D@moon.robolove.meer.net>
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
prev parent reply other threads:[~2008-05-19 12:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-19 10:52 org-exp.el: html export does not close footnote paragraph tag Madhu
2008-05-19 12:25 ` Carsten Dominik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=EC74BCCC-F288-4D61-8F8A-1FA9632A3B7E@uva.nl \
--to=c.dominik@uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=enometh@meer.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.