From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Org-beamer problems Date: Fri, 21 Jan 2011 23:25:45 +0000 Message-ID: <87y66d2612.fsf@pinto.chemeng.ucl.ac.uk> References: <8762ti2c8n.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=59528 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PgQMi-0007zh-Uh for emacs-orgmode@gnu.org; Fri, 21 Jan 2011 18:26:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PgQMh-000870-8E for emacs-orgmode@gnu.org; Fri, 21 Jan 2011 18:26:00 -0500 Received: from vscani-e.ucl.ac.uk ([144.82.108.33]:46249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PgQMh-00086l-0G for emacs-orgmode@gnu.org; Fri, 21 Jan 2011 18:25:59 -0500 In-Reply-To: <8762ti2c8n.fsf@pinto.chemeng.ucl.ac.uk> (Eric S. Fraga's message of "Fri, 21 Jan 2011 21:11:36 +0000") 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: Bill Moran Cc: emacs-orgmode@gnu.org Eric S Fraga writes: > Bill Moran writes: > >> I have installed the latest (git) version of org-mode and have stripped out all >> customizations from I think. I've copied Eric's two column example from here >> >> http://orgmode.org/worg/org-tutorials/org-beamer/tutorial.html >> >> with the headers given there. And I can't get either blocks or columns to work. >> There is no block or column command in the latex produced from the org >> file. > > I have no idea what is going on but I can confirm that something is > missing. If I start emacs with -Q, execute the following > > #+begin_src emacs-lisp > (add-to-list 'load-path "~/git/org-mode/lisp") > (require 'org-install) > (require 'org-latex) > #+end_src > > visit the small beamer test file I sent to the list earlier today and > export to latex, I get only the title page and the empty outline. > Nothing else. Playing with the following org file: --8<---------------cut here---------------start------------->8--- #+title: Testing Beamer in Org #+author: Eric S Fraga #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en #+OPTIONS: H:5 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:nil #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+startup: beamer #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [presentation] #+BEAMER_FRAME_LEVEL: 2 #+startup: fninline #+COLUMNS: %40ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args) %4BEAMER_col(Col) %10BEAMER_extra(Extra) * Introduction ** A slide with two + 1 colums *** Some notes :BMCOL:B_block: :PROPERTIES: :BEAMER_col: 0.5 :BEAMER_env: block :END: - some text - and some more - and yet more *** More notes :BMCOL:B_ignoreheading: :PROPERTIES: :BEAMER_col: 0.5 :BEAMER_env: ignoreheading :BEAMER_envargs: c<2-> :END: - some important notes - and even more important ones - and some maths: $\sin^{2}(x)$ *** a concluding block below the columns :BMCOL: :PROPERTIES: :BEAMER_env: example :BEAMER_col: 1 :END: This slide should have two columns above this block. --8<---------------cut here---------------end--------------->8--- everything works just fine with "emacs -Q" and the emacs lisp code I gave in the previous email. The change is a subtle one: I got rid of the "#+STARTUP: oddonly" customisation in the org file and indented all the headlines to use both odd and even levels. I have no idea why the =oddonly= setting causes problems. However, I do note that the documentation for =org-odd-levels-only= only mentions =odd= and =oddeven= for possible values of =#+STARTUP= so maybe my use of =oddonly= is the issue? I'll leave this to others to comment on hopefully. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.231.ge879)