From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luke Crook Subject: Re: #+BEGIN_SRC export in Latex Date: Wed, 30 Apr 2014 20:28:45 +0000 (UTC) Message-ID: References: <87wqe6io8u.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wfb7m-0006gK-7Z for emacs-orgmode@gnu.org; Wed, 30 Apr 2014 16:29:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wfb7h-00052P-3I for emacs-orgmode@gnu.org; Wed, 30 Apr 2014 16:29:02 -0400 Received: from plane.gmane.org ([80.91.229.3]:45988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wfb7g-000524-SZ for emacs-orgmode@gnu.org; Wed, 30 Apr 2014 16:28:57 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wfb7e-0008Bp-Vx for emacs-orgmode@gnu.org; Wed, 30 Apr 2014 22:28:55 +0200 Received: from 147.21.8.1 ([147.21.8.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Apr 2014 22:28:54 +0200 Received: from luke by 147.21.8.1 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Apr 2014 22:28:54 +0200 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 Eric S Fraga ucl.ac.uk> writes: > > On Wednesday, 30 Apr 2014 at 18:00, Luke Crook wrote: > > The following example is not being exported in Latex as a code block. However > > it is exported correctly in HTML export. org-mode version 8.2.6 > > > > #+BEGIN_SRC emacs-lisp -n -r > > (save-excursion (ref:sc) > > (goto-char (point-min))) (ref:jump) > > #+END_SRC > > What do you actually get in your latex export? I have just tried this > and it works just fine. Mind you, my org is not quite up to date but it > *is* 8.2.6. > 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.