From: "Eric Schulte" <firstname.lastname@example.org>
To: Nicolas Goaziou <email@example.com>
Cc: Org Mode List <firstname.lastname@example.org>
Subject: Re: [PATCH] babel: delaying call to block preprocessing
Date: Fri, 12 Nov 2010 16:44:39 -0700 [thread overview]
Message-ID: <email@example.com> (raw)
Thanks for making this change, I agree it is appropriate now that Babel
is included in Org-mode. I've just pushed it up.
Best -- Eric
Nicolas Goaziou <firstname.lastname@example.org> writes:
> I'm having a little problem when I want to insert a code block inside
> a list. Here is an example:
> 1. Drawing is following:
> #+BEGIN_SRC asymptote :file drawing.pdf
> Now find its center with compass only.
> 2. Another item.
> Upon exporting this, as the code is removed, the blank lines
> surrounding it join together, creating a 2-blank-lines combo very bad
> for the list processing taking place a few lines later. Indeed, when
> `org-export-preprocess-string' proceeds marking list endings in the
> export string, it sees there two separates lists instead of one.
> So, the following patch moves `org-export-blocks-preprocess' out of
> its hook (now babel is in Org core this isn't needed anymore), and
> make it called somewhat later, after list processing (and after
> removing excluded and archived trees).
prev parent reply other threads:[~2010-11-13 0:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-12 2:15 [PATCH] babel: delaying call to block preprocessing Nicolas Goaziou
2010-11-12 23:44 ` Eric Schulte [this message]
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:
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
* 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
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).