emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Mikhail Titov" <mlt@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Is LaTeX pdf export that uses pgfSweave possible?
Date: Thu, 15 Sep 2011 18:07:24 -0500	[thread overview]
Message-ID: <009d01cc73fc$3bd10a50$b3731ef0$@us> (raw)

Hello!

First of all I’m not good at lisp as of now. I’d like to have an extra export option when I press C-c C-e that would create <dot>Rnw file instead of <dot>tex, pass it through pgfSweave in running R session.

I have the following to use pgfSweave in R session:

-------8<--------------------------------------------------------------->8------- 
(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

<<stuff>>=
stuff
@

untouched into <dot>Rnw file.

I'm aware of babel for R but I can't use LaTeX in plots with it :(

Mikhail

             reply	other threads:[~2011-09-15 23:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-15 23:07 Mikhail Titov [this message]
2011-09-19  4:12 ` Is LaTeX pdf export that uses pgfSweave possible? Charles Berry

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='009d01cc73fc$3bd10a50$b3731ef0$@us' \
    --to=mlt@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).