Re: [O] how do you compose mails in Gnus with org-mode

2018-03-07 Thread Uwe Brauer
> Uwe Brauer writes: > Wow, emacs 27 ... I'm on Archlinux and always thought packages a pretty > up-to-date. Right Ubuntu officially only ships 24, which is pretty old. Well it is directly form git master, so it is a pre release. The official release is 26. > Maybe outline has cha

Re: [O] Adding an item to the agenda from the agenda view

2018-03-07 Thread Manuel Hermenegildo
I enclose some code that I find quite useful for this purpose (i.e., to get a similar "feel" to inserting tasks in a traditional agenda). It basically uses capture but speeds things up a bit and allows taking times from an agenda time grid. Cheers, --Manuel ;;

[O] Exporting Latex fragment both rendered and verbatim

2018-03-07 Thread Jarmo Hurri
Greetings all. I have been using Org for years, but just bumped into a very simple thing I don't know how to achieve. Let's say I have a Latex fragment, and to illustrate the use of Latex, I want to 1. write that fragment in an Org file 2. export the file so that the fragment is exported both ve

Re: [O] Exporting Latex fragment both rendered and verbatim

2018-03-07 Thread Eric S Fraga
On Wednesday, 7 Mar 2018 at 16:49, Jarmo Hurri wrote: [...] > It is easy to export it verbatim as follows: > > #+name: fragment > #+BEGIN_SRC latex > > Here is an interesting (and true) equation: > \begin{equation} > \int uv' = uv - \int u'v \label{int}. > \end{equation} >

Re: [O] Exporting Latex fragment both rendered and verbatim

2018-03-07 Thread Jarmo Hurri
>> It is easy to export it verbatim as follows: >> >> #+name: fragment >> #+BEGIN_SRC latex >> >> Here is an interesting (and true) equation: >> \begin{equation} >> \int uv' = uv - \int u'v \label{int}. >> \end{equation} >> And that happens to be equation \eqref{int} on

Re: [O] Exporting Latex fragment both rendered and verbatim

2018-03-07 Thread Eric S Fraga
On Wednesday, 7 Mar 2018 at 18:53, Jarmo Hurri wrote: > Tried this before: for some weird (?) reason I am getting the verbatim > output only. And ":exports results" produces blank. Very strange. Attached are the org file I used to try this out and the result of exporting to LaTeX. * test #+name:

Re: [O] how do you compose mails in Gnus with org-mode

2018-03-07 Thread Thorsten Jolitz
Uwe Brauer writes: >> Uwe Brauer writes: > >> Wow, emacs 27 ... I'm on Archlinux and always thought packages a >> pretty >> up-to-date. > > Right Ubuntu officially only ships 24, which is pretty old. > > Well it is directly form git master, so it is a pre release. > The official

Re: [O] Exporting Latex fragment both rendered and verbatim

2018-03-07 Thread Jarmo Hurri
Eric S Fraga writes: > On Wednesday, 7 Mar 2018 at 18:53, Jarmo Hurri wrote: >> Tried this before: for some weird (?) reason I am getting the verbatim >> output only. And ":exports results" produces blank. > > Very strange. Attached are the org file I used to try this out and the > result of ex

Re: [O] Exporting Latex fragment both rendered and verbatim

2018-03-07 Thread Jarmo Hurri
Eric S Fraga writes: > Very strange. Attached are the org file I used to try this out and the > result of exporting to LaTeX. Got it: I did not have latex in my org-babel-do-load-languages. Thanks! Jarmo

Re: [O] how do you compose mails in Gnus with org-mode

2018-03-07 Thread Tim Cross
Uwe Brauer writes: >> Uwe Brauer writes: > >> Wow, emacs 27 ... I'm on Archlinux and always thought packages a pretty >> up-to-date. > > Right Ubuntu officially only ships 24, which is pretty old. > > Well it is directly form git master, so it is a pre release. > The official releas

Re: [O] Exporting Latex fragment both rendered and verbatim

2018-03-07 Thread Eric S Fraga
On Wednesday, 7 Mar 2018 at 20:21, Jarmo Hurri wrote: [...] > Even the document classes are different. Now I am running org 9.1.7, by > the way, just did a git pull and all. Ah, that's because I do modify the default LaTeX class for export... sorry! But I see that you've sorted the problem ou