[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] R src block not highlighted in pdf
From: |
Thomas S. Dye |
Subject: |
Re: [O] R src block not highlighted in pdf |
Date: |
Fri, 27 Jun 2014 08:39:29 -1000 |
Aloha Shiyuan,
Shiyuan <address@hidden> 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-07/msg00379.html
> <https://lists.gnu.org/archive/html/emacs-orgmode/2010-07/msg00379.html> which
> suggests setting the variable org-export-latex-listings. This variable
> seems no longer exist in Org 8.2.6. What variables shall I set so that the
> R code is syntax highlighted when exported to pdf in Org mode 8.2.6?
> Thanks.
>
> 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
> which suggests setting the variable org-export-latex-listings. This
> variable seems no longer exist in Org 8.2.6. What variables shall I
> set so that the R code is syntax highlighted when exported to pdf in
> Org mode 8.2.6? Thanks.
That variable was renamed org-latex-listings in v. 8.
hth,
Tom
--
Thomas S. Dye
http://www.tsdye.com