emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [BUG] new exporter and #+BEGIN_CENTER


From: Jambunathan K
Subject: Re: [O] [BUG] new exporter and #+BEGIN_CENTER
Date: Wed, 18 Jul 2012 05:20:19 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (windows-nt)

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

-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]