From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Bach Subject: inline src_R also in latex src block Date: Fri, 30 Dec 2011 19:13:23 +0100 Message-ID: <4efdfe43.c9330e0a.78cb.ffff9b12@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RggtC-0000bK-VY for emacs-orgmode@gnu.org; Fri, 30 Dec 2011 13:09:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RggtC-00062e-3C for emacs-orgmode@gnu.org; Fri, 30 Dec 2011 13:09:10 -0500 Received: from mail-ee0-f41.google.com ([74.125.83.41]:63262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RggtB-00062Z-UA for emacs-orgmode@gnu.org; Fri, 30 Dec 2011 13:09:10 -0500 Received: by eekc41 with SMTP id c41so14889347eek.0 for ; Fri, 30 Dec 2011 10:09:08 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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