emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] inline src_R also in latex src block


From: Eric Schulte
Subject: Re: [O] inline src_R also in latex src block
Date: Mon, 02 Jan 2012 10:49:33 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Michael Bach <address@hidden> writes:

> Hello,
>
> I am using org-mode version 7.8.02
>
> I can successfully do inline `src_R' e.g. via
>
> \begin{equation}
>   src_R{4 + 4}
> \end{equation}
>
> where `8' is put into the equation environment on export.  Sadly, there
> is no LaTeX font lock in the org file this way.  But when I do it inside
> a latex src block providing font lock, e.g.
>
> #+name: test
> #+begin_src latex
>   \begin{equation}
>     src_R{4 + 4}
>   \end{equation}
> #+end_src
>
> the `src_R' is put in literally on latex export.
>
> Is there a way of preprocessing this latex src block with babel for R
> prior to exporting?
>

I don't know of a way to evaluate inline code blocks which are already
inside of regular code blocks.  You could try direct begin_latex code
blocks, but in-buffer font lock support may simply not be possible in
this situation.

Best,

>
> Thanks in advance,
> Michael
>
>

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]