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


_______________________________________________
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

Reply via email to