Re: [O] R src block not highlighted in pdf

2014-06-28 Thread Shiyuan
Thank you for the pointers. I got minted-pygments working using the following setup: (setq org-latex-listings 'minted) (add-to-list 'org-latex-packages-alist '("" "minted")) (setq org-latex-pdf-process '("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f" "pdflatex -shell-es

Re: [O] R src block not highlighted in pdf

2014-06-27 Thread Nick Dokos
Shiyuan writes: > I use the following setting. The keywords are correctly recognized and are in > bold face, but not in color. Are there any other > steps for colors.  > > (require 'ox-latex) >   (add-to-list 'org-latex-packages-alist '("" "listings")) >   (add-to-list 'org-latex-packages-alist

Re: [O] R src block not highlighted in pdf

2014-06-27 Thread Shiyuan
I use the following setting. The keywords are correctly recognized and are in bold face, but not in color. Are there any other steps for colors. (require 'ox-latex) (add-to-list 'org-latex-packages-alist '("" "listings")) (add-to-list 'org-latex-packages-alist '("" "color")) Also, thank you f

Re: [O] R src block not highlighted in pdf

2014-06-27 Thread Thomas S. Dye
Aloha Shiyuan, Shiyuan writes: > Hi, > I have a R code src block in a org file. When exported to html, the R > code is correctly syntax highlighted. But when exported to pdf(latex), the > R code is not highlighted. I found this thread > https://lists.gnu.org/archive/html/emacs-orgmode/2010-0

Re: [O] R src block not highlighted in pdf

2014-06-27 Thread Grant Rettke
Just ran apropos and it looks like org-latex-listings might be the one. Grant Rettke | ACM, ASA, FSF, IEEE, SIAM g...@wisdomandwonder.com | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates ((λ (x) (x x)) (λ (x) (x x))) “Life has become immeasurably better since I have been forc

[O] R src block not highlighted in pdf

2014-06-27 Thread Shiyuan
Hi, I have a R code src block in a org file. When exported to html, the R code is correctly syntax highlighted. But when exported to pdf(latex), the R code is not highlighted. I found this thread https://lists.gnu.org/archive/html/emacs-orgmode/2010-07/msg00379.html