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

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] 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 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] 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 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} >