From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shiyuan Subject: R src block not highlighted in pdf Date: Fri, 27 Jun 2014 10:23:33 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b342d30a2303e04fcd491f8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0Zs7-0001aB-ND for emacs-orgmode@gnu.org; Fri, 27 Jun 2014 13:23:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X0Zs6-0005rd-SP for emacs-orgmode@gnu.org; Fri, 27 Jun 2014 13:23:35 -0400 Received: from mail-vc0-x22e.google.com ([2607:f8b0:400c:c03::22e]:46864) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X0Zs6-0005rT-Dp for emacs-orgmode@gnu.org; Fri, 27 Jun 2014 13:23:34 -0400 Received: by mail-vc0-f174.google.com with SMTP id hy4so5433145vcb.33 for ; Fri, 27 Jun 2014 10:23:33 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --047d7b342d30a2303e04fcd491f8 Content-Type: text/plain; charset=UTF-8 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. Shiyuan --047d7b342d30a2303e04fcd491f8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,=C2=A0
=C2=A0 =C2=A0 I have a R code src block= in a org file. When exported to html, the R code is correctly syntax highl= ighted. But when exported to pdf(latex), the R code is not highlighted. I f= ound this thread https://lists.gnu.org/archive/html/emacs-orgmode/2= 010-07/msg00379.html=C2=A0=C2=A0=C2=A0which suggests setting the variab= le org-export-latex-listings. This variabl= e seems no longer exist in Org 8.2.6. =C2=A0What variables shall I set so t= hat the R code is syntax highlighted when exported to pdf in Org mode 8.2.6= ? Thanks.=C2=A0

Shiyuan=C2=A0
--047d7b342d30a2303e04fcd491f8--