[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Examples in numbered lists
From: |
Neil Hepburn |
Subject: |
Re: [Orgmode] Examples in numbered lists |
Date: |
Thu, 26 Aug 2010 11:26:47 -0600 |
you could revert to raw latex code in your document and use
\begin{enumerate}..\end{enumerate} with something like this:
* testing auto numbering
\begin{enumerate}
\item First do something
#+begin_example
here is an example how to do something
#+end_example
\item Then do something else
\end{enumerate}
It's not as elegant as the org-mode approach but it works.
-Neil
On 2010-08-26, at 10:18 AM, Andrei Jirnyi wrote:
> Hi --
>
> 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?
>
> --aj
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>