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: Wed, 27 Jan 2010 07:29:50 +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 16:01:23 +0000,
Eric S Fraga wrote:

> 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.

(responding to my own post... sorry!)

The above is a little misleading as it looks like org is confused with
respect to list numbering.  I should have said that the numbering
above was incorrect only because I hadn't given org a chance to update
the numbers.  Hitting, for instance, C-cC-c on the last line gives:

--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>>
  4. This should be line number 4, but is reset by the anchor tag
  5. This should be line number 5.
--8<---------------cut here---------------end--------------->8---

Apologies for any confusion caused!

eric




reply via email to

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