From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: [BUG] LaTeX subtree export gives spurious "unbalanced begin/end_%s blocks" error Date: Mon, 12 Dec 2011 09:54:18 +0100 Message-ID: <4EE5C13A.9080900@christianmoe.com> Reply-To: mail@christianmoe.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ra1ZV-0004xW-5r for emacs-orgmode@gnu.org; Mon, 12 Dec 2011 03:49:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ra1ZP-0000My-O7 for emacs-orgmode@gnu.org; Mon, 12 Dec 2011 03:49:17 -0500 Received: from b1.hitrost.net ([91.185.211.67]:19372) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ra1ZP-0000Jr-J8 for emacs-orgmode@gnu.org; Mon, 12 Dec 2011 03:49:11 -0500 Received: from lk.92.63.17.213.dc.cable.static.lj-kabel.net ([92.63.17.213] helo=Celebrian-2.local) by b1.hitrost.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Ra1Yn-003xdI-4n for emacs-orgmode@gnu.org; Mon, 12 Dec 2011 09:48:33 +0100 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: Org Mode Hi, Here's a minimal document: ----BEGIN EXAMPLE---- #+title: Testing * Src blocks Here's some Lisp: #+begin_src emacs-lisp (message "Hello world!") #+end_src ----END EXAMPLE---- When I try to export the "Src blocks" subtree to PDF via LaTeX, I get the error: "unbalanced begin/end_src blocks" Export of the whole document to PDF via LaTeX is not affected. Neither, initially, is HTML export, including subtree export to HTML. However, after getting an error by trying to export the subtree to LaTeX, I get the same error when trying to export to HTML (whether subtree or the whole document). I can "clear" the HTML export error by exporting the whole document via LaTeX again. I'm using Org 7.7 (pulled this morning) on GNU Emacs 23.3.1 on a Mac. Yours, Christian