emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Bug: Cannot include orgmode source code block [7.7]


From: Eric Schulte
Subject: Re: [O] Bug: Cannot include orgmode source code block [7.7]
Date: Fri, 11 Nov 2011 14:25:11 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux)

"Sebastien Vauban" <address@hidden> writes:

> Hi Truong,
>
> Truong Nghiem wrote:
>> I created a following simple org file, in which a source code block of
>> language "org" contains orgmode code:
>> ======= BEGIN CODE ========
>> #+TITLE: A Test
>>
>> #+BEGIN_SRC org
>>   ,#+begin_src python
>> #+END_SRC
>>
>> End of test.
>> ======= END CODE ==========
>>
>> However, when I exported this file, either to HTML or LaTeX/PDF, it
>> caused an error:
>>
>> ad-Orig-error: unbalanced begin/end_src blocks with #("#+BEGIN_SRC org
>>   ,#+begin_src python
>> #+END_SRC" 0 15 (fontified nil font-lock-fontified t) 15 16 (fontified
>>   nil font-lock-fontified t) 16 37 (fontified nil font-lock-fontified t)
>>   37 38 (fontified nil font-lock-fontified t) 38 47 (fontified nil
>>   font-lock-fontified t))
>>
>> I'm using the latest development version of orgmode.  Also, if I
>> recall correctly, I did succeed to export this kind of code in the
>> past (don't remember which version of orgmode though).
>>
>> If I included #+end_src in the body of the org code block, it would export
>> the file, but the result was not what I expected: it was blank.
>
> I do confirm this, in a very recent Org version, and consider it as a bug too.
>

I've just pushed up a fix, thanks for the catch. -- Eric

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



reply via email to

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