On Wednesday, 15 Oct 2014 at 07:59, Joseph Vidal-Rosset wrote:

[...]

> Yes, I'm using precisely org-mime-htmlize with gnus when want to send
> messages with png images. But with minted in my setup (to export correctly
> html), the preview function does not work and then org-mime-htmlize
> fails...

Interesting.  The following has three LaTeX equations, one without any org 
LaTeX directives, one for inline use and one for LaTeX blocks.  Only the first 
works.

(please accept my apologies for sending an HTML formatted email to this list ;-)

* test

This is a test of the equations:

\begin{equation}
y = \sqrt{x}
\end{equation}

Alternatively, using LaTeX directives: first, the single line ~#+latex~ 
directive for an equation inline, say,
#+LATEX: y = f(x)
followed by a begin/end latex block:

* summary

The last one has disappeared completely.  The second is there in the raw email 
but has not been translated.  Only the first case works.  The export engine 
must work differently when exporting as a string?  It is indeed surprising that 
the whole begin/end latex block is removed from the raw text version, as you 
indicated in your OP.

This behaviour does seem rather strange.  Looking at org-mime.el, it is not 
obvious (to me) what is wrong.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-450-gbc9a58

Reply via email to