From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Examples in numbered lists Date: Thu, 26 Aug 2010 23:56:50 +0200 Message-ID: <87wrrd6nrx.wl%n.goaziou@gmail.com> References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from [140.186.70.92] (port=54073 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OokS9-00035H-OU for emacs-orgmode@gnu.org; Thu, 26 Aug 2010 17:57:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OokRw-00023t-MB for emacs-orgmode@gnu.org; Thu, 26 Aug 2010 17:57:33 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:54192) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OokRw-00023m-Ho for emacs-orgmode@gnu.org; Thu, 26 Aug 2010 17:57:32 -0400 Received: by wwc33 with SMTP id 33so32339wwc.30 for ; Thu, 26 Aug 2010 14:57:30 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andrei Jirnyi Cc: emacs-orgmode@gnu.org Hello, >>>>> Andrei Jirnyi writes: > Is there any way to make a numbered list preserve its' numbering > when there are intervening code or example blocks? For example, if I > have smth like this: * testing auto numbering 1. First do > something #+begin_example here is an example how to do > something #+end_example 2. Then do something else > and try to export, it will give me number (1.) for both items. Also > if I press M-RET on the last line, it will be re-numbered as 1. > Is there any way to avoid this? Indent your list like this: * testing auto numbering 1. First do something #+begin_example here is an example how to do something #+end_example 2. Then do something else Regards, -- Nicolas