emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Schulte <eric.schulte@gmx.com>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-mime-htmlize: visual representation (thunderbird)
Date: Sat, 31 Mar 2012 13:13:50 -0400	[thread overview]
Message-ID: <8762dky9pt.fsf@gmx.com> (raw)
In-Reply-To: <87ehsei9zj.fsf@gilgamesch.quim.ucm.es> (Uwe Brauer's message of "Tue, 27 Mar 2012 13:01:04 +0200")

Uwe Brauer <oub@mat.ucm.es> writes:

> Hello
>
> Now that the bug in org-mime-htmlize is fixed, I would like
> to comment on the visual representation. Most likely this
> has to do with the mml package.
>
> When I write the following message 
> Integral
>
>
> $$\int fdx=0$$
> And
>
>
> \begin{equation} 
> \sum_{\alpha} 
> \end{equation}
>
> and apply org-preview-latex-fragment and then
> org-mime-htmlize and send this message to gmail. 
> The 'gmail-reader' displays them fine.
>
> However thunderbird does not and I apply the resulting eml 
> file below (I presume a screenshot is not appropriated)
>

This sounds like a thunderbird bug -- not properly displaying multi-part
messages.

>
> Now tunderbird itself has an extension (latex-it) which does
> something similar to org-mime-htmlize, it sends latex math
> as png. However there are "better* displayed, I attach the
> relevant eml file below.
>

The difference between org-mime-htmlize and latex-it is that the former
converts each formulas to its own png image, while the later converts
the entire message to one large pdf file which is then attached as a
single image.

>
> Could org-mime-htmlize use the structure of latex-it?
>

The ability to convert the entire message to one monolithic image
(through latex and pdf) could certainly be added as an export option
(patches welcome), but I would not want this behavior to be the default,
as sending messages as large images is not (to my mind at least) a
desirable option.

Best,

>
> Thanks
>
> Uwe Brauer 
>
> Attachments: first org, then latex-it
>
>
> From: Uwe Brauer <oub@mat.ucm.es>
> Subject: test-org-mime
> To: Uwe Brauer <oub.oub.oub@gmail.com>
> Date: Tue, 27 Mar 2012 12:55:48 +0200 (4 days, 6 hours, 13 minutes ago)
> Reply-To: Uwe Brauer <oub@mat.ucm.es>
>
> Integral 
>
> $$\int fdx=0$$ 
> And
>
> \begin{equation}
> \sum_{\alpha}
> \end{equation}
>
>
> ----------
>
>
> From: Uwe Brauer <oub.oub.oub@gmail.com>
> Subject: test latex
> To: Uwe Brauer <oub.oub.oub@gmail.com>
> Date: Tue, 27 Mar 2012 12:43:30 +0200 (4 days, 6 hours, 26 minutes ago)
>
>    \documentclass{article} \usepackage[utf8x]{inputenc} \pagestyle{empty}
>    \begin{document} Integral $$\int f dx=0$$ And \begin{equation}
>    \sum_{\alpha} \end{equation} \end{document}
> ----------
>

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/

  reply	other threads:[~2012-03-31 19:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-27 11:01 org-mime-htmlize: visual representation (thunderbird) Uwe Brauer
2012-03-31 17:13 ` Eric Schulte [this message]
2012-04-01 15:19   ` Uwe Brauer
2012-04-01 16:38     ` Eric Schulte
2012-04-10 13:00       ` Uwe Brauer
2012-04-11  4:23         ` Eric Schulte
2012-04-11  9:44           ` Uwe Brauer
2012-04-11 13:38             ` Eric Schulte
2012-04-12 11:59               ` Uwe Brauer
2012-04-12 12:21                 ` Eric Schulte

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=8762dky9pt.fsf@gmx.com \
    --to=eric.schulte@gmx.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=oub@mat.ucm.es \
    /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).