From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Beamer and org-language source blocks? Date: Fri, 01 Nov 2013 12:08:22 +0900 Message-ID: <0acb8682-f719-4227-be17-7fe5d4a95216@dewdrop-world.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vc56D-0004pK-JQ for emacs-orgmode@gnu.org; Thu, 31 Oct 2013 23:08:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vc564-00039j-T7 for emacs-orgmode@gnu.org; Thu, 31 Oct 2013 23:08:37 -0400 Received: from mail-pd0-x22b.google.com ([2607:f8b0:400e:c02::22b]:53265) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vc564-00039S-LD for emacs-orgmode@gnu.org; Thu, 31 Oct 2013 23:08:28 -0400 Received: by mail-pd0-f171.google.com with SMTP id w10so3244170pde.16 for ; Thu, 31 Oct 2013 20:08:27 -0700 (PDT) Received: from localhost ([183.98.126.191]) by mx.google.com with ESMTPSA id bt1sm7499671pbb.2.2013.10.31.20.08.26 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 31 Oct 2013 20:08:27 -0700 (PDT) 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: orgmode Maybe there is something obvious I'm missing, but I'm having considerable=20 trouble using org-language source code blocks in Beamer export. The objective is to show a little of the org code that made the=20 presentation. This means including some headers. I had thought that=20 declaring the source code block to be in org mode would cause it to ignore=20= headings inside, but I haven't found the incantation to make it do that. I've customized org-babel-load-languages to include Org. ** What I mean and what I see #+begin_src org :exports code ** Overview *** This talk will cover: - bla bla #+end_src --> And in the output, you can see that it takes "** Overview" as a new=20 frame and treats the #+begin/end_src markers as regular text. Huh? \begin{frame}[label=3Dsec-2-3]{What I mean and what I see} \#+begin$_{\text{src}}$ org :exports code \end{frame} \begin{frame}[label=3Dsec-2-4]{Overview} \begin{block}{This talk will cover:} \begin{itemize} \item bla bla \end{itemize} \#+end$_{\text{src}}$ \end{block} \end{frame} I hope there's a way to do this. Or, do I have to use a screenshot from=20 Emacs? (Screenshot? Of source code?) hjh