From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mikhail Titov" Subject: Is LaTeX pdf export that uses pgfSweave possible? Date: Thu, 15 Sep 2011 18:07:24 -0500 Message-ID: <009d01cc73fc$3bd10a50$b3731ef0$@us> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R4L1n-0007jI-8y for emacs-orgmode@gnu.org; Thu, 15 Sep 2011 19:07:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R4L1m-0008M3-DE for emacs-orgmode@gnu.org; Thu, 15 Sep 2011 19:07:31 -0400 Received: from mailout-us.gmx.com ([74.208.5.67]:42165 helo=mailout-us.mail.com) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1R4L1m-0008L8-7C for emacs-orgmode@gnu.org; Thu, 15 Sep 2011 19:07:30 -0400 Content-Language: en-us 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! First of all I=E2=80=99m not good at lisp as of now. I=E2=80=99d like to = have an extra export option when I press C-c C-e that would create = Rnw file instead of tex, pass it through pgfSweave in running = R session. I have the following to use pgfSweave in R session: -------8<--------------------------------------------------------------->= 8-------=20 (defun ess-swv-pgfweave () "Run pgfSweave on the current .Rnw file." (interactive) (ess-execute "library(pgfSweave)") (ess-swv-run-in-R "pgfSweave")) (define-key noweb-minor-mode-map "\M-ns" 'ess-swv-pgfweave) (easy-menu-add-item noweb-minor-mode-menu '("Sweaving, Tangling, ...") = ["pgfSweave" ess-swv-pgfweave t]) -------8<--------------------------------------------------------------->= 8------- So I thought I'd somehow hook up altogether as I like an idea of folding = things while make Beamer slides, but same time I like neatness of = pgfSweave... I don't know if there might be problems passing through constructs like <>=3D stuff @ untouched into Rnw file. I'm aware of babel for R but I can't use LaTeX in plots with it :( Mikhail