emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Is LaTeX pdf export that uses pgfSweave possible?
@ 2011-09-15 23:07 Mikhail Titov
  2011-09-19  4:12 ` Charles Berry
  0 siblings, 1 reply; 2+ messages in thread
From: Mikhail Titov @ 2011-09-15 23:07 UTC (permalink / raw)
  To: emacs-orgmode

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

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

end of thread, other threads:[~2011-09-19  4:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-15 23:07 Is LaTeX pdf export that uses pgfSweave possible? Mikhail Titov
2011-09-19  4:12 ` Charles Berry

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).