From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: [BUG] nested blocks aren't protected on export Date: Fri, 25 Jun 2010 19:18:35 -0700 Message-ID: <876316cz9g.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=33902 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSKye-0001XB-1m for emacs-orgmode@gnu.org; Fri, 25 Jun 2010 22:18:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OSKyd-0002kE-4W for emacs-orgmode@gnu.org; Fri, 25 Jun 2010 22:18:39 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:38248) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSKyc-0002k6-Tp for emacs-orgmode@gnu.org; Fri, 25 Jun 2010 22:18:39 -0400 Received: by pvg11 with SMTP id 11so999109pvg.0 for ; Fri, 25 Jun 2010 19:18:37 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode Hi, When exporting nested blocks, the results of the inner blocks are not fully protected from further exportation. For example, the following org-mode text --8<---------------cut here---------------start------------->8--- ** protecting block bodies #+begin_src org ,#+begin_src emacs-lisp , (message "something") ,#+end_src #+end_src --8<---------------cut here---------------end--------------->8--- exports to the following LaTeX --8<---------------cut here---------------start------------->8--- \section*{protecting block bodies} \label{sec-1} \begin{verbatim} (message "something") \end{verbatim} --8<---------------cut here---------------end--------------->8--- in which it looks like the "#+begin_src emacs-lisp" and the "#+end_src" lines are completely removed, and exports to the following html (newlines added for readability) --8<---------------cut here---------------start------------->8---
#+begin_src emacs-lisp
  (message "something")

--8<---------------cut here---------------end--------------->8--- in which the #+begin_src line is in tact, but it appears everything following the end_src line (including the ) is removed. I've played around with adding 'org-protected properties during export but to no avail. Any suggestions are much appreciated. Thanks -- Eric