Michael Bach <pha...@gmail.com> 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/