[Orgmode] Re: Color of exported R code results using LaTeX listings

2010-09-18 Thread Sébastien Vauban
Hi Steven, Steven Delean wrote: > Thanks again for all your assistance. I was not able to achieve the results > I was after exactly using any proposed solutions, but have found a way > forward and outline my solution below in case it benefits others. > > The following allows fontification and synt

Re: [Orgmode] Re: Color of exported R code results using LaTeX listings

2010-09-17 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17/09/10 15:30, Sébastien Vauban wrote: > Steven, > > Rainer M Krug wrote: >> On 17/09/10 15:14, Steven Delean wrote: >>> I am still unable to get color output for the _result_ of evaluating R code >>> blocks. >> >> You could redefine the verbatim

[Orgmode] Re: Color of exported R code results using LaTeX listings

2010-09-17 Thread Sébastien Vauban
Steven, Rainer M Krug wrote: > On 17/09/10 15:14, Steven Delean wrote: >> I am still unable to get color output for the _result_ of evaluating R code >> blocks. > > You could redefine the verbatim environment with > \renewenvironment{verbatim}[args]{begdef}{enddef} > > If verbatim is only used for

Re: [Orgmode] Re: Color of exported R code results using LaTeX listings

2010-09-17 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17/09/10 15:14, Steven Delean wrote: > Thanks very much Rainer and Sébastien for your comments and information. > > However, I am still unable to get color output for the _result_ of > evaluating R code blocks. > > #+source: Rcode > #+begin_src R

Re: [Orgmode] Re: Color of exported R code results using LaTeX listings

2010-09-17 Thread Steven Delean
Thanks very much Rainer and Sébastien for your comments and information. However, I am still unable to get color output for the _result_ of evaluating R code blocks. #+source: Rcode #+begin_src R :results output :exports both x <- 1:5 square <- function(x) { x^2 } square(x) #+end_src

Re: [Orgmode] Re: Color of exported R code results using LaTeX listings

2010-09-17 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17/09/10 10:52, Sébastien Vauban wrote: > Hi Steven and Rainer, > > Steven Delean wrote: >>> This is not an answer to your question, but rather a question to you: >>> I added your settings to my .emacs file, and I get fontification in the >>> pdf o

[Orgmode] Re: Color of exported R code results using LaTeX listings

2010-09-17 Thread Sébastien Vauban
Hi Steven and Rainer, Steven Delean wrote: >> This is not an answer to your question, but rather a question to you: >> I added your settings to my .emacs file, and I get fontification in the >> pdf output, but no color. Do I need any additional settings to get >> coloring of the source code? > > Y