emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Color of exported R code results using LaTeX listings
@ 2010-09-17  7:31 Steven Delean
  2010-09-17  8:00 ` Rainer M Krug
  2010-09-17 12:24 ` Eric Schulte
  0 siblings, 2 replies; 14+ messages in thread
From: Steven Delean @ 2010-09-17  7:31 UTC (permalink / raw)
  To: emacs-orgmode

Hi everyone,

I am using org-mode to make a beamer presentation that includes blocks of R code and wish to export the source code and results to pdf in color (using the listings package).

The source code block syntax is highlighted successfully, but the output results of the executed R code are not colored at all. 

The results are presented in \begin{verbatim}...\end{verbatim}, whereas the source code is presented within \begin{lstlisting}...\end{lstlisting}. I can affect changes to the fontsize and color of the source code using \lstset in the .org document header, but not the results output from evaluating the code.

Is there some way I can export these results in color?

Thanks for any suggestions,

Regards,
Steve

PS I have the follwing in my .emacs
(require 'org-latex)
(setq org-export-latex-listings t)
(add-to-list 'org-export-latex-packages-alist '("" "listings"))
(add-to-list 'org-export-latex-packages-alist '("" "color"))

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

end of thread, other threads:[~2011-01-04 10:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-17  7:31 Color of exported R code results using LaTeX listings Steven Delean
2010-09-17  8:00 ` Rainer M Krug
2010-09-17  8:28   ` Steven Delean
2010-09-17  8:52     ` Sébastien Vauban
2010-09-17  9:13       ` Rainer M Krug
2010-09-17 13:14         ` Steven Delean
2010-09-17 13:20           ` Rainer M Krug
2010-09-17 13:30             ` Sébastien Vauban
2010-09-17 14:15               ` Rainer M Krug
2010-09-17  9:05     ` Rainer M Krug
2011-01-04 10:06       ` Bastien
2010-09-17 12:24 ` Eric Schulte
2010-09-18  2:39   ` Steven Delean
2010-09-18  7:10     ` Sébastien Vauban

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