From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: [BUG] new exporter and #+BEGIN_CENTER Date: Wed, 18 Jul 2012 05:20:19 +0530 Message-ID: <81ipdmymkk.fsf@gmail.com> References: <87zk6yynfo.fsf@tajo.ucsd.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrHXD-00054p-8z for emacs-orgmode@gnu.org; Tue, 17 Jul 2012 19:50:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrHXC-00052v-8n for emacs-orgmode@gnu.org; Tue, 17 Jul 2012 19:50:31 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:59867) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrHXC-00051a-2D for emacs-orgmode@gnu.org; Tue, 17 Jul 2012 19:50:30 -0400 Received: by pbbrp2 with SMTP id rp2so1860404pbb.0 for ; Tue, 17 Jul 2012 16:50:29 -0700 (PDT) In-Reply-To: <87zk6yynfo.fsf@tajo.ucsd.edu> (cberry@tajo.ucsd.edu's message of "Tue, 17 Jul 2012 16:31:39 -0700") 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: cberry@tajo.ucsd.edu Cc: emacs-orgmode@gnu.org Center within Src. I don't think you can nest the blocks. The cryptic message is org-export.el way of saying that there is a parse error or that the Org file doesn't to conform to schema. > This throws an error: > > ------------------------------ > * headline 1 > > #+BEGIN_CENTER > > #+BEGIN_SRC R :exports both > rnorm(10) > #+END_SRC > > #+END_CENTER > ------------------------------ > > M-: (org-export-to-buffer 'e-latex "latex buffer") RET > > It does not run the src block and the error is: > > (error "Invalid search bound (wrong side of point)") > re-search-forward("@@[-A-Za-z0-9]+:" 31 t) > [snip] > org-element-export-snippet-successor(31) > [rest deleted] > > Removing the whitespace between the BEGIN_CENTER and BEGIN_SRC lines > runs, but wrongly fails to execute the src block. > > Removing the CENTER results in running the src block and producing the > expected result. > > My last pull was yesterday: b7be665..69af091 > > HTH, > > Chuck --