emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Examples in numbered lists


From: Nicolas Goaziou
Subject: Re: [Orgmode] Examples in numbered lists
Date: Thu, 26 Aug 2010 23:56:50 +0200
User-agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/23.2 Mule/6.0 (HANACHIRUSATO)

Hello,
>>>>> Andrei Jirnyi writes:

> Is there any way to make a numbered list preserve its' numbering
> when there are intervening code or example blocks? For example, if I
> have smth like this: * testing auto numbering 1. First do
> something #+begin_example here is an example how to do
> something #+end_example 2. Then do something else

> and try to export, it will give me number (1.) for both items. Also
> if I press M-RET on the last line, it will be re-numbered as 1.

> Is there any way to avoid this?


Indent your list like this:

* testing auto numbering
1. First do something
   #+begin_example
   here is an example how to do something
   #+end_example
2. Then do something else


Regards,

-- Nicolas



reply via email to

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