From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Slade Subject: Re: orgmode/beamer - won't export blocks Date: Tue, 24 May 2011 19:05:25 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QP1bf-0005cy-6e for emacs-orgmode@gnu.org; Tue, 24 May 2011 20:05:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QP1be-0001LP-1y for emacs-orgmode@gnu.org; Tue, 24 May 2011 20:05:47 -0400 Received: from mail-vx0-f169.google.com ([209.85.220.169]:46571) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QP1bd-0001LL-RY for emacs-orgmode@gnu.org; Tue, 24 May 2011 20:05:46 -0400 Received: by vxk20 with SMTP id 20so6962635vxk.0 for ; Tue, 24 May 2011 17:05:45 -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: emacs-orgmode@gnu.org Thanks, Sebastien and Eric. I updated to org-mode v7.5 [stable], but I'm still having the same problem. I include below a minimal example and also the snippet of code in my .emacs config file which is relevant. Cheers, Ben. %%Minimal example begins%% #+startup: beamer #+LaTeX_CLASS: beamer #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+BEAMER_FRAME_LEVEL: 2 #+MACRO: BEAMERMODE presentation #+MACRO: BEAMERTHEME Madrid #+MACRO: BEAMERCOLORTHEME lily #+MACRO: BEAMERSUBJECT RMRF #+MACRO: BEAMERINSTITUTE Miskatonic University, Astrology Dept. #+TITLE: Presentation with Org-Mode and Beamer #+AUTHOR: Someone * My presentation ** Overview 1. Blocks 2. That's it ** Blocks Nothing to see here. *** A block :B_example: :PROPERTIES: :BEAMER_env: example :END: - Hello, world - I can't see any block here! %%Minimal example ends%% I have the following in my .emacs, in case there's something here that is causing a problem (taken from http://emacs-fu.blogspot.com/2009/10/writing-presentations-with-org-mode-and.html ) %%snippet from .emacs begins%% ;; #+LaTeX_CLASS: beamer in org files (unless (boundp 'org-export-latex-classes) (setq org-export-latex-classes nil)) (add-to-list 'org-export-latex-classes ;; beamer class, for presentations '("beamer" "\\documentclass[11pt]{beamer}\n \\mode<{{{beamermode}}}>\n \\usetheme{{{{beamertheme}}}}\n \\usecolortheme{{{{beamercolortheme}}}}\n \\beamertemplateballitem\n \\setbeameroption{show notes} \\usepackage[utf8]{inputenc}\n \\usepackage[T1]{fontenc}\n \\usepackage{hyperref}\n \\usepackage{color} \\usepackage{listings} \\lstset{numbers=none,language=[ISO]C++,tabsize=4, frame=single, basicstyle=\\small, showspaces=false,showstringspaces=false, showtabs=false, keywordstyle=\\color{blue}\\bfseries, commentstyle=\\color{red}, }\n \\usepackage{verbatim}\n \\institute{{{{beamerinstitute}}}}\n \\subject{{{{beamersubject}}}}\n" ("\\section{%s}" . "\\section*{%s}") ("\\begin{frame}[fragile]\\frametitle{%s}" "\\end{frame}" "\\begin{frame}[fragile]\\frametitle{%s}" "\\end{frame}"))) ;; letter class, for formal letters (add-to-list 'org-export-latex-classes '("letter" "\\documentclass[11pt]{letter}\n \\usepackage[utf8]{inputenc}\n \\usepackage[T1]{fontenc}\n \\usepackage{color}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) %%snippet from .emacs ends%% ________________________________ From: Eric S Fraga Subject: Re: [O] orgmode/beamer - won't export blocks Date: Tue, 24 May 2011 22:11:07 +0100 User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) ________________________________ > Benjamin Slade wrote: >> I'm having the same trouble which seems to be reported in this thread (I'm >> not running Aquamacs though, just GNU Emacs under Linux, with orgmode v7.4): >> http://www.mail-archive.com/address@hidden/msg28752.html Benjamin, But that is quite old. That thread ended inconclusively because the OP never got back to us with further details. And as Sebastien says: [...] "Sebastien Vauban" writes: > If you search for accurate help, please post an "ECM" (Example Complete and > Minimal), so that one can very quickly try your file, report if it works or > not, and try to spot the problem. > > Best regards, > Seb Please give us a small *complete* org file (say, one slide with one or two blocks) that doesn't work and we can see what is happening. It might also be worthwhile updating your version to org to the most recent stable release (7.5), if you can. In any case, I would suggest you look at the configuration options in your org file, specifically #+BEAMER_FRAME_LEVEL and the H: #+OPTIONS setting. I use org+beamer practically daily and it works just fine! -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.299.gb638.dirty)