emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Org-beamer problems


From: Eric S Fraga
Subject: Re: [Orgmode] Org-beamer problems
Date: Fri, 21 Jan 2011 23:25:45 +0000
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Eric S Fraga <address@hidden> writes:

> Bill Moran <address@hidden> 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)



reply via email to

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