emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Brown <brown@fastmail.com>
To: John Kitchin <jkitchin@andrew.cmu.edu>
Cc: "Emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>,
	John Kitchin <johnrkitchin@gmail.com>
Subject: Re: html-email in org-mode
Date: Sat, 05 Nov 2016 19:27:11 -0500	[thread overview]
Message-ID: <8737j53128.fsf@air.ericcbrown.com> (raw)
In-Reply-To: <m2k2cnyyct.fsf@andrew.cmu.edu> (John Kitchin's message of "Tue, 01 Nov 2016 12:10:58 -0400")

John Kitchin <jkitchin@andrew.cmu.edu> writes:

> htmlize-mail.org
>
>
> * Send org files by html email so they look like org files.
>   :PROPERTIES:
>   :MAIL_FMT: html
>   :END:
>
> We might not always want a full export of an org heading to html for sending an email. Eric Brown would like to just send something that looks like what he sees in org-mode. There is another way to get html from emacs: htmlize! Here is an example. Eric: if this is what you mean, see my modified org-mime.el at https://github.com/jkitchin/scimax/blob/master/org-mime.el. 
>
> The command to send a subtree is: elisp:org-mime-subtree-htmlize
>
>
> #+BEGIN_EXAMPLE
> My comment was motivated by other usage where I wish that I could simply
> wrap an entire simple text, whitespace-formatted email message,
> e.g. generated from org export to a plain text buffer, with a Monospace
> directive so that webmail users could appreciate what I see with Sans
> Mono.
> #+END_EXAMPLE
>
> | a | b | c |
> | 4 | 5 | 6 |
>
> An equation 
> \(e^{i\pi} + 1 = 0\)
>
>
> A figure: 
>
> #+name: fig-particle
> #+attr_org: :width 30%
> ./images/Au-icosahedron-3.png
>
>
> A code block:
> #+BEGIN_SRC python :results output org drawer
> for i in range(5):
>     print(i)
> #+END_SRC
>
> ** A subtree
>
> An orgmode reference: cite:Dominik201408. A figure reference: ref:fig-particle.


Thanks John. This is very helpful!

  reply	other threads:[~2016-11-06  0:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-01 16:10 (no subject) John Kitchin
2016-11-06  0:27 ` Eric Brown [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-10-30 15:44 html-email in org-mode tbanelwebmin
2016-10-29 18:37 John Kitchin
2016-10-30 14:34 ` Eric Brown
2016-10-30 15:09   ` Marcin Borkowski
2016-10-30 21:45   ` John Kitchin
2016-11-01 11:58     ` Eric Brown
2016-11-01 19:25 ` Alan Schmitt
2016-11-05  0:13   ` Matt Price
2016-11-07  2:55     ` John Kitchin
2016-11-07 15:37 ` Joseph Vidal-Rosset

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=8737j53128.fsf@air.ericcbrown.com \
    --to=brown@fastmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    --cc=johnrkitchin@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).