From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: #+BEGIN_HTML in beamer export Date: Mon, 15 Jul 2013 16:15:38 -0400 Message-ID: <87r4ezeg0l.fsf@gmail.com> References: <87vc4beky2.fsf@gmail.com> <87ip0bfwk3.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UypBa-0000hV-F3 for emacs-orgmode@gnu.org; Mon, 15 Jul 2013 16:16:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UypBX-0004Jr-FO for emacs-orgmode@gnu.org; Mon, 15 Jul 2013 16:15:54 -0400 Received: from plane.gmane.org ([80.91.229.3]:51390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UypBX-0004J7-74 for emacs-orgmode@gnu.org; Mon, 15 Jul 2013 16:15:51 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UypBV-0007kB-FA for emacs-orgmode@gnu.org; Mon, 15 Jul 2013 22:15:49 +0200 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Jul 2013 22:15:49 +0200 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Jul 2013 22:15:49 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Nicolas Goaziou writes: >> >> Bug or confusion on my part? > > It's an over-zealous `org-babel-remove-result' function, which removes > both newline character before and after the block. > > Try calling `org-export-execute-babel-code' from your buffer. It will > give you > > #+BEGIN_HTML#+END_HTML > > instead of > > #+BEGIN_HTML > #+END_HTML > > Cc'ing Eric for is insight. > > Thanks! So the easy workaround is to add an extra newline before the end line, so org-babel-remove-result will have something extra to munch on :-) -- Nick