From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: List number resetting when using anchor tag in exported HTML Date: Tue, 26 Jan 2010 16:01:23 +0000 Message-ID: <87ljfkonxo.wl%ucecesf@ucl.ac.uk> References: Reply-To: e.fraga@ucl.ac.uk Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NZpOi-0003tw-FE for emacs-orgmode@gnu.org; Tue, 26 Jan 2010 12:40:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZpOd-0003o1-FW for emacs-orgmode@gnu.org; Tue, 26 Jan 2010 12:40:15 -0500 Received: from [199.232.76.173] (port=55000 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZpOd-0003ni-7G for emacs-orgmode@gnu.org; Tue, 26 Jan 2010 12:40:11 -0500 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:60071) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NZpMh-0000So-HQ for emacs-orgmode@gnu.org; Tue, 26 Jan 2010 12:40:10 -0500 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: Jere McDevitt Cc: emacs-orgmode@gnu.org At Tue, 26 Jan 2010 08:59:37 -0500, Jere McDevitt wrote: > I came across an odd behavior while using org-mode to create some web pages > where list numbers get reset if you insert anchor tags. Consider the > following example document: > > * This is the first header line > > 1. This is line number 1 > 2. This is line number 2 > 3. This is line number 3 > #<> > 1. This should be line number 4, but is reset by the anchor tag > 2. This should be line number 5. [...] The following works just fine (at least for HTML export, not sure about anything else): --8<---------------cut here---------------start------------->8--- * This is the first header line 1. This is line number 1 2. This is line number 2 3. This is line number 3 <> 1. This should be line number 4, but is reset by the anchor tag 2. This should be line number 5. --8<---------------cut here---------------end--------------->8--- Note the indentation in particular. HTH, eric