emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] List number resetting when using anchor tag in exported HT


From: Eric S Fraga
Subject: Re: [Orgmode] List number resetting when using anchor tag in exported HTML
Date: Tue, 26 Jan 2010 16:01:23 +0000
User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.1 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

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
> #<<Anchor1>>
>   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
     <<Anchor1>>
  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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]