From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: code blocks inside enumerations Date: Fri, 31 Jan 2014 15:01:46 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9EfO-0002qL-TL for emacs-orgmode@gnu.org; Fri, 31 Jan 2014 09:02:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9EfH-00014K-L3 for emacs-orgmode@gnu.org; Fri, 31 Jan 2014 09:01:58 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:13790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9EfH-000148-Eg for emacs-orgmode@gnu.org; Fri, 31 Jan 2014 09:01:51 -0500 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 Hello, I'm writing a series of exercises where I need to write some code in the middle of an enumeration. Unfortunately the following does not work: --8<---------------cut here---------------start------------->8--- 1. This is how one write an empty list #+BEGIN_SRC emacs-lisp nil #+END_SRC 2. And this is a second item --8<---------------cut here---------------end--------------->8--- When I export this, the source block is interpreted as closing the enumerate environment. Is there a way to say that the source block should be nested in the enclosing enumerating item? Thanks, Alan