emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com>
Cc: "Liste-emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Math formatting in HTML export - The Org Manual
Date: Wed, 15 Oct 2014 08:21:57 +0100	[thread overview]
Message-ID: <871tq9ol0q.fsf@ucl.ac.uk> (raw)
In-Reply-To: CAD-VTcGv1tAbLTFrusZKKCCD=9AsLfuPf-yiCRWYe610+eyy2w@mail.gmail.com

[-- Attachment #1: Type: text/plain, Size: 1337 bytes --]

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

[-- Attachment #2.1: Type: text/html, Size: 2235 bytes --]

[-- Attachment #2.2: latex2910f8Z_c8b273a09cc52bc7773376bcf189a21d680017cb.png --]
[-- Type: image/png, Size: 704 bytes --]

      reply	other threads:[~2014-10-15  7:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-12  8:17 Math formatting in HTML export - The Org Manual Joseph Vidal-Rosset
2014-10-13  0:45 ` Grant Rettke
2014-10-13  7:45   ` Joseph Vidal-Rosset
2014-10-13 11:45     ` Eric S Fraga
2014-10-13 15:50       ` Joseph Vidal-Rosset
2014-10-14  7:25         ` Eric S Fraga
2014-10-14 17:23           ` Joseph Vidal-Rosset
2014-10-14 17:51             ` Nick Dokos
2014-10-15  5:54               ` Joseph Vidal-Rosset
2014-10-14 19:09             ` Eric S Fraga
2014-10-15  5:59               ` Joseph Vidal-Rosset
2014-10-15  7:21                 ` Eric S Fraga [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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871tq9ol0q.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=joseph.vidal.rosset@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).