emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* inline src_R also in latex src block
@ 2011-12-30 18:13 Michael Bach
  2012-01-02 17:49 ` Eric Schulte
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Bach @ 2011-12-30 18:13 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I am using org-mode version 7.8.02

I can successfully do inline `src_R' e.g. via

--8<---------------cut here---------------start------------->8---
\begin{equation}
  src_R{4 + 4}
\end{equation}
--8<---------------cut here---------------end--------------->8---

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.

--8<---------------cut here---------------start------------->8---
#+name: test
#+begin_src latex
  \begin{equation}
    src_R{4 + 4}
  \end{equation}
#+end_src
--8<---------------cut here---------------end--------------->8---

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?

Thanks in advance,
Michael

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-01-12 11:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-30 18:13 inline src_R also in latex src block Michael Bach
2012-01-02 17:49 ` Eric Schulte
2012-01-10 12:25   ` Michael Bach
2012-01-10 13:00     ` Andreas Leha
2012-01-10 23:25       ` Michael Bach
2012-01-11  7:54         ` Sebastien Vauban
2012-01-12 11:57           ` Michael Bach
2012-01-11  8:41         ` Andreas Leha
2012-01-12 12:00           ` Michael Bach

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).