Hi Nicolas, 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 <n.goaz...@gmail.com> writes: > Hello, > > 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 > unitsize(5cm); > draw(unitcircle); > #+END_SRC > > > 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). > > Regards, > > -- > Nicolas > _______________________________________________ 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