Re: [O] State of things: Email with orgmode?

2016-04-26 Thread Jeremie Juste
Hello,

>> Jeremie Juste writes:
>> Do you think Is it possible to invert the colors of the latex images? I use 
>> a black
>> background and it's impossible to see the latex images.

> John Kitchin  writes:

> See the variable org-format-latex-options . you might be able to change
> it. Maybe something like (untested)
>
> (plist-put org-format-latex-options :html-background "white")

It works fine. Thanks for the lead.

It you can tweak all the org-format-latex-options as well.

(plist-put org-format-latex-options :html-scale 1.5)
(plist-put org-format-latex-options :html-background "black")
(plist-put org-format-latex-options :html-foreground "white")


Best regards,
Jeremie Juste






Re: [O] State of things: Email with orgmode?

2016-04-26 Thread Tory S. Anderson
Gnorb looks really interesting, but is lacking a crucial "using 
it" section on the github [1], so I don't know what it can 
actually do or what a use-case would be. Does it do what org-mime 
does? 


Eric Abrahamsen  writes:


torys.ander...@gmail.com (Tory S. Anderson) writes:

For ages I've been hearing about people doing or wanting email 
with
orgmode. I've been using gnus for years, but am curious as to 
what is

possible with orgmode. My search engines aren't revealing any
explanations, but orgmode navigation combined with the 
composition
possiblities with things like html export and integration with 
orgmode
power seems like  nice potential. Orgmode already has a very 
useful
facility with taking links to Gnus messages, and the highly 
useful org
contacts; what else is out there? Is there a way to write and 
send
emails from orgmode, without just doing copy/paste/attach? 


I've got a package in Elpa called Gnorb, that provides some 
integration

between Org and Gnus. It also includes a function
`gnorb-org-email-subtree' that lets you export a subtree as a 
text or

file, and send it as an email. That might also be useful.






Footnotes: 
[1]  https://github.com/girzel/gnorb


--
Tory S. Anderson
Computational Cognitive Narratologist & Application Developer
http://toryanderson.com



Re: [O] State of things: Email with orgmode?

2016-04-26 Thread John Kitchin
See the variable org-format-latex-options . you might be able to change
it. Maybe something like (untested)

(plist-put org-format-latex-options :html-background "white")


Jeremie Juste writes:

> Hello,
>
> Many thanks for sharing this.
>
>> One of the links between org and email is using org-mime-htmlize which
>> will take your email buffer (using gnus in my case but a message
>> buffer) and create a text+html mime encoded email in which the plain
>> text is parsed as an org file and exported to HTML.
>
>> I don't use this often but I do use it now and again, for instance
>> when a table is a necessary element of the email or if I want to have
>> some LaTeX equations in the email.
>
> \begin{equation}
> y = \sqrt{x}
> \end{equation}
>
>
>
> Do you think Is it possible to invert the colors of the latex images? I use a 
> black
> background and it's impossible to see the latex images.
>
> Best regards,
>
> Jeremie


--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



Re: [O] State of things: Email with orgmode?

2016-04-26 Thread Jeremie Juste
Hello,

Many thanks for sharing this.

> One of the links between org and email is using org-mime-htmlize which
> will take your email buffer (using gnus in my case but a message
> buffer) and create a text+html mime encoded email in which the plain
> text is parsed as an org file and exported to HTML.

> I don't use this often but I do use it now and again, for instance
> when a table is a necessary element of the email or if I want to have
> some LaTeX equations in the email.

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



Do you think Is it possible to invert the colors of the latex images? I use a 
black
background and it's impossible to see the latex images.

Best regards,

Jeremie



Re: [O] State of things: Email with orgmode?

2016-04-26 Thread Eric Abrahamsen
Alan Schmitt  writes:

> On 2016-04-26 09:24, Eric Abrahamsen  writes:
>
>> Alan Schmitt  writes:
>>
>>> On 2016-04-26 04:03, Eric Abrahamsen  writes:
>>>
 I'm using Org from Melpa -- how do we get contrib packages in this case?
>>>
>>> I think you need to get the org-plus-contrib package then.
>>
>> I've got Elpa and Melpa, but no org-plus-contrib -- I did look first!
>> Where did you get that?
>
> Did you add the org repo to package-archives:
> ("org" . "http://orgmode.org/elpa/;)
> ?

I did not, and that's the first I heard of it! I'll give it a shot now,
thanks.

E




Re: [O] State of things: Email with orgmode?

2016-04-26 Thread Stig Brautaset
Eric Abrahamsen  writes:
>>> 1) do I have to load something to have this function? I don't seem to
>>> have it
>>
>> org-mime.el is in org contrib package.  I am not sure how you might be
>> able to get this as it will depend on how you get org in the first
>> place.  Are you using org from git or melpa or from the web site
>> directly?
>
> I'm using Org from Melpa -- how do we get contrib packages in this case?

You need to install Org from their special Elpa:

http://orgmode.org/elpa.html

Stig




Re: [O] State of things: Email with orgmode?

2016-04-26 Thread Alan Schmitt
On 2016-04-26 09:24, Eric Abrahamsen  writes:

> Alan Schmitt  writes:
>
>> On 2016-04-26 04:03, Eric Abrahamsen  writes:
>>
>>> I'm using Org from Melpa -- how do we get contrib packages in this case?
>>
>> I think you need to get the org-plus-contrib package then.
>
> I've got Elpa and Melpa, but no org-plus-contrib -- I did look first!
> Where did you get that?

Did you add the org repo to package-archives:
("org" . "http://orgmode.org/elpa/;)
?

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂ (2016-03, Mauna Loa Obs.): 404.83


signature.asc
Description: PGP signature


Re: [O] State of things: Email with orgmode?

2016-04-26 Thread Eric Abrahamsen
Alan Schmitt  writes:

> On 2016-04-26 04:03, Eric Abrahamsen  writes:
>
>> I'm using Org from Melpa -- how do we get contrib packages in this case?
>
> I think you need to get the org-plus-contrib package then.

I've got Elpa and Melpa, but no org-plus-contrib -- I did look first!
Where did you get that?




Re: [O] State of things: Email with orgmode?

2016-04-26 Thread Eric S Fraga
On Monday, 25 Apr 2016 at 21:02, Marcin Borkowski wrote:
> On 2016-04-25, at 19:41, Eric S Fraga  wrote:
>> I simply change to org mode (e.g. M-x org-mode RET) to compose and then
>> back to message mode (M-x message-mode RET) when ready to htmlize the
>> buffer and send the email.
>
> Wouldn't Lentic help with this?  (https://github.com/phillord/lentic)

Good idea.  But ", t o" to switch into org-mode and ", t m" to switch
back to message mode (I use evil) is not really onerous.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-739-g789412



Re: [O] State of things: Email with orgmode?

2016-04-26 Thread Alan Schmitt
On 2016-04-26 04:03, Eric Abrahamsen  writes:

> I'm using Org from Melpa -- how do we get contrib packages in this case?

I think you need to get the org-plus-contrib package then.

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂ (2016-03, Mauna Loa Obs.): 404.83


signature.asc
Description: PGP signature


Re: [O] State of things: Email with orgmode?

2016-04-25 Thread Eric Abrahamsen
torys.ander...@gmail.com (Tory S. Anderson) writes:

> For ages I've been hearing about people doing or wanting email with
> orgmode. I've been using gnus for years, but am curious as to what is
> possible with orgmode. My search engines aren't revealing any
> explanations, but orgmode navigation combined with the composition
> possiblities with things like html export and integration with orgmode
> power seems like  nice potential. Orgmode already has a very useful
> facility with taking links to Gnus messages, and the highly useful org
> contacts; what else is out there? Is there a way to write and send
> emails from orgmode, without just doing copy/paste/attach? 

I've got a package in Elpa called Gnorb, that provides some integration
between Org and Gnus. It also includes a function
`gnorb-org-email-subtree' that lets you export a subtree as a text or
file, and send it as an email. That might also be useful.




Re: [O] State of things: Email with orgmode?

2016-04-25 Thread Eric Abrahamsen
Eric S Fraga  writes:

> On Monday, 25 Apr 2016 at 19:33, Rainer M Krug wrote:
>> Eric S Fraga  writes:
>>
>>> Table of Contents
>>>
>>> * 1. An example 
>>>
>>> One of the links between org and email is using org-mime-htmlize which
>>
>> Very nice - but I have two question:
>>
>> 1) do I have to load something to have this function? I don't seem to
>> have it
>
> org-mime.el is in org contrib package.  I am not sure how you might be
> able to get this as it will depend on how you get org in the first
> place.  Are you using org from git or melpa or from the web site
> directly?

I'm using Org from Melpa -- how do we get contrib packages in this case?




Re: [O] State of things: Email with orgmode?

2016-04-25 Thread Marcin Borkowski

On 2016-04-25, at 19:41, Eric S Fraga  wrote:

> On Monday, 25 Apr 2016 at 19:33, Rainer M Krug wrote:
>> Eric S Fraga  writes:
>>
>>> Table of Contents
>>>
>>> * 1. An example 
>>>
>>> One of the links between org and email is using org-mime-htmlize which
>>
>> Very nice - but I have two question:
>>
>> 1) do I have to load something to have this function? I don't seem to
>> have it
>
> org-mime.el is in org contrib package.  I am not sure how you might be
> able to get this as it will depend on how you get org in the first
> place.  Are you using org from git or melpa or from the web site
> directly?
>
>>
>> 2) What is the easiest way of writing a mail in gnus in org format? I
>> would like to have all features of org if possible?
>
> I simply change to org mode (e.g. M-x org-mode RET) to compose and then
> back to message mode (M-x message-mode RET) when ready to htmlize the
> buffer and send the email.

Wouldn't Lentic help with this?  (https://github.com/phillord/lentic)

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



Re: [O] State of things: Email with orgmode?

2016-04-25 Thread Rainer M Krug
Eric S Fraga  writes:

> On Monday, 25 Apr 2016 at 19:33, Rainer M Krug wrote:
>> Eric S Fraga  writes:
>>
>>> Table of Contents
>>>
>>> * 1. An example 
>>>
>>> One of the links between org and email is using org-mime-htmlize which
>>
>> Very nice - but I have two question:
>>
>> 1) do I have to load something to have this function? I don't seem to
>> have it
>
> org-mime.el is in org contrib package.  I am not sure how you might be
> able to get this as it will depend on how you get org in the first
> place.  Are you using org from git or melpa or from the web site
> directly?

git - found it. Thanks.

>
>>
>> 2) What is the easiest way of writing a mail in gnus in org format? I
>> would like to have all features of org if possible?
>
> I simply change to org mode (e.g. M-x org-mode RET) to compose and then
> back to message mode (M-x message-mode RET) when ready to htmlize the
> buffer and send the email.

I thought there might be an easier way, but this one definitely gives the
most complete feature set.

Thanks,

Rainer
-- 
Rainer M. Krug
email: Rainerkrugsde
PGP: 0x0F52F982


signature.asc
Description: PGP signature


Re: [O] State of things: Email with orgmode?

2016-04-25 Thread Eric S Fraga
On Monday, 25 Apr 2016 at 19:33, Rainer M Krug wrote:
> Eric S Fraga  writes:
>
>> Table of Contents
>>
>> * 1. An example 
>>
>> One of the links between org and email is using org-mime-htmlize which
>
> Very nice - but I have two question:
>
> 1) do I have to load something to have this function? I don't seem to
> have it

org-mime.el is in org contrib package.  I am not sure how you might be
able to get this as it will depend on how you get org in the first
place.  Are you using org from git or melpa or from the web site
directly?

>
> 2) What is the easiest way of writing a mail in gnus in org format? I
> would like to have all features of org if possible?

I simply change to org mode (e.g. M-x org-mode RET) to compose and then
back to message mode (M-x message-mode RET) when ready to htmlize the
buffer and send the email.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-739-g789412



Re: [O] State of things: Email with orgmode?

2016-04-25 Thread Rainer M Krug
Eric S Fraga  writes:

> Table of Contents
>
> * 1. An example 
>
> One of the links between org and email is using org-mime-htmlize which

Very nice - but I have two question:

1) do I have to load something to have this function? I don't seem to
have it

2) What is the easiest way of writing a mail in gnus in org format? I
would like to have all features of org if possible?

Rainer

> will take your email buffer (using gnus in my case but a message
> buffer) and create a text+html mime encoded email in which the plain
> text is parsed as an org file and exported to HTML.
>
>
> I don't use this often but I do use it now and again, for instance when a 
> table is a necessary element of the email or if I want to have some LaTeX 
> equations
> in the email.
>
>
> 1 An example
>
> For instance, the following equation may appear in the email, depending on 
> what you are using to view your emails:
>
>
> \begin{equation}
> y = \sqrt{x}
> \end{equation}
>
>
> eric
>
>
> –
>
>
>
> Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-739-g789412
>

-- 
Rainer M. Krug
email: Rainerkrugsde
PGP: 0x0F52F982


signature.asc
Description: PGP signature


Re: [O] State of things: Email with orgmode?

2016-04-25 Thread John Kitchin
That is nice!

John

---
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu


On Mon, Apr 25, 2016 at 12:48 PM, Eric S Fraga  wrote:

> Table of Contents
>
>- 1. An example <#m_973296144810500413_orgf4147a8>
>
> One of the links between org and email is using org-mime-htmlize which
> will take your email buffer (using gnus in my case but a message buffer)
> and create a text+html mime encoded email in which the plain text is parsed
> as an org file and exported to HTML.
>
> I don't use this often but I do use it now and again, for instance when a
> table is a necessary element of the email or if I want to have some LaTeX
> equations in the email.
> 1 An example
>
> For instance, the following equation *may* appear in the email, depending
> on what you are using to view your emails:
>
> [image: \begin{equation} y = \sqrt{x} \end{equation}]
>
> eric
>
> –
>
> Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-739-g789412
>
>


Re: [O] State of things: Email with orgmode?

2016-04-25 Thread Eric S Fraga
One of the links between org and email is using org-mime-htmlize which will 
take your email buffer (using gnus in my case but a message buffer) and create 
a text+html mime encoded email in which the plain text is parsed as an org file 
and exported to HTML.

I don't use this often but I do use it now and again, for instance when a table 
is a necessary element of the email or if I want to have some LaTeX equations 
in the email.

* An example

For instance, the following equation *may* appear in the email, depending on 
what you are using to view your emails:

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

eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-739-g789412