From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: bug: html export, latex fragments and emphasize
Date: Fri, 12 Nov 2010 02:28:34 +0100 [thread overview]
Message-ID: <87y68z2uv1.wl%n.goaziou@gmail.com> (raw)
Hello,
Here is a problem when a latex fragment is split across two lines and
an emphasize follows. The text won't be italicized upon exporting to
HTML.
=====
* latex-fragments bug
Imagine we have a formula starting here $e^{i\pi} +
1 = 0$. Now we have a problem with /emphasize/.
=====
This is because the line starts with a char with 'org-protected
property and, thus, get caught by the "Protected HTML" (org-html.el
l. 1216) part of `org-export-as-html'. In others words, the line is
inserted as-is in the output buffer, before getting any
transformation.
I'm not sure how it should be done (I don't get yet the usefulness of
this "Protected HTML" part), but that piece of code may be moved after
the `org-html-expand' call, as long as every sub-function in
`org-html-expand' has a check to prevent modifying protected stuff
(this not yet the case for `org-export-with-emphasize' and
`org-html-protect' while others seem ok).
But even in this case, every function getting called after that would
be ignored. So, for example, links would not be inserted.
Couldn't the "Protected HTML" part be removed altogether?
Regards,
--
Nicolas
next reply other threads:[~2010-11-12 1:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-12 1:28 Nicolas Goaziou [this message]
2010-11-12 10:52 ` bug: html export, latex fragments and emphasize Eric S Fraga
2010-11-12 13:22 ` Carsten Dominik
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=87y68z2uv1.wl%n.goaziou@gmail.com \
--to=n.goaziou@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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.