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-escape
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
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
Aloha Shiyuan,
Shiyuan gshy2...@gmail.com 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
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 for
Shiyuan gshy2...@gmail.com 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