From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-export-as-html: Does not increment index values Date: Tue, 11 May 2010 09:20:09 +0200 Message-ID: <8AA2DE70-7BF1-4380-A959-7FA1CCFF7F2C@gmail.com> References: <4BE8ED67.7090803@globaledgesoft.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=34876 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBkXu-000233-Vl for emacs-orgmode@gnu.org; Tue, 11 May 2010 04:10:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBkP3-00012d-WF for emacs-orgmode@gnu.org; Tue, 11 May 2010 04:01:25 -0400 Received: from mail-ww0-f41.google.com ([74.125.82.41]:64760) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBjlI-0002Kz-Nd for emacs-orgmode@gnu.org; Tue, 11 May 2010 03:20:16 -0400 Received: by wwf26 with SMTP id 26so457398wwf.0 for ; Tue, 11 May 2010 00:20:13 -0700 (PDT) In-Reply-To: <4BE8ED67.7090803@globaledgesoft.com> 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: chandan Cc: emacs-orgmode@gnu.org Hi Chandan, list structure is governed by indentation, so you need to indent the source code snippets. - Carsten On May 11, 2010, at 7:38 AM, chandan wrote: > Hi all, > Consider the following org file: > > * list > 1. First item. > #+BEGIN_SRC txt > Some text. > #+END_SRC > 2. Second item. > #+BEGIN_SRC txt > Some more text. > #+END_SRC > > Exporting an org file with the above listed contents generates an > HTML page with non-incrementing indicies for "First item" and > "Second item". Both have "1" as their indicies. > > I am using GNU/Emacs 23.2. > > Regards, > chandan r > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten