emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andrei Jirnyi <a-jirnyi@northwestern.edu>
To: emacs-orgmode@gnu.org
Subject: Examples in numbered lists
Date: Thu, 26 Aug 2010 16:18:24 +0000 (UTC)	[thread overview]
Message-ID: <i5644f$9l$3@dough.gmane.org> (raw)

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

             reply	other threads:[~2010-08-26 16:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-26 16:18 Andrei Jirnyi [this message]
2010-08-26 17:26 ` Examples in numbered lists Neil Hepburn
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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='i5644f$9l$3@dough.gmane.org' \
    --to=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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).