From: Neil Hepburn <nhepburn@ualberta.ca>
To: Andrei Jirnyi <a-jirnyi@northwestern.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: Examples in numbered lists
Date: Thu, 26 Aug 2010 11:26:47 -0600 [thread overview]
Message-ID: <05FEC053-4942-4717-99E2-9EB616C39E8A@ualberta.ca> (raw)
In-Reply-To: <i5644f$9l$3@dough.gmane.org>
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.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
next prev parent reply other threads:[~2010-08-26 17:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-26 16:18 Examples in numbered lists Andrei Jirnyi
2010-08-26 17:26 ` Neil Hepburn [this message]
2010-08-26 21:56 ` Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=05FEC053-4942-4717-99E2-9EB616C39E8A@ualberta.ca \
--to=nhepburn@ualberta.ca \
--cc=a-jirnyi@northwestern.edu \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.