From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: #+BEGIN_SRC export in Latex Date: Wed, 30 Apr 2014 23:03:47 +0100 Message-ID: <87lhumiif0.fsf@ucl.ac.uk> References: <87wqe6io8u.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wfcbg-0007Hi-2C for emacs-orgmode@gnu.org; Wed, 30 Apr 2014 18:04:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WfcbZ-0001Bb-LY for emacs-orgmode@gnu.org; Wed, 30 Apr 2014 18:03:59 -0400 Received: from mail-db3lp0078.outbound.protection.outlook.com ([213.199.154.78]:8971 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfcbZ-0001B7-F0 for emacs-orgmode@gnu.org; Wed, 30 Apr 2014 18:03:53 -0400 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: Luke Crook Cc: emacs-orgmode@gnu.org On Wednesday, 30 Apr 2014 at 20:28, Luke Crook wrote: [...] > Found the culprit. I have the following in my emacs.org file > > ** Fontify source blocks in Latext > #+BEGIN_SRC emacs-lisp > (setq org-latex-listings t) > #+END_SRC > > Setting org-latex-listings back to NIL fixed the problem. I have this variable set to t. Of course, I also have this: #+begin_src emacs-lisp (add-to-list 'org-latex-packages-alist '("" "listings")) #+end_src If you have the variable set to t, does the LaTeX export work but maybe not PDF export? That is, do you get a LaTeX source file that has the source code block in it using the listings package? -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-923-g233c11