emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Bill Moran <bill1moran@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Org-beamer problems
Date: Fri, 21 Jan 2011 23:25:45 +0000	[thread overview]
Message-ID: <87y66d2612.fsf@pinto.chemeng.ucl.ac.uk> (raw)
In-Reply-To: <8762ti2c8n.fsf@pinto.chemeng.ucl.ac.uk> (Eric S. Fraga's message of "Fri, 21 Jan 2011 21:11:36 +0000")

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> Bill Moran <bill1moran@gmail.com> 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)

  parent reply	other threads:[~2011-01-21 23:26 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-21  2:31 Org-beamer problems Bill Moran
2011-01-21 21:11 ` Eric S Fraga
2011-01-21 22:29   ` Bill Moran
2011-01-21 23:25   ` Eric S Fraga [this message]
2011-01-22  2:52     ` Bill Moran
  -- strict thread matches above, loose matches on Subject: below --
2011-01-19  7:03 Bill Moran
2011-01-19 15:55 ` Jeff Horn
2011-01-19 22:22   ` Henri-Paul Indiogine
2011-01-19 22:33     ` Chris Malone
2011-01-20  8:57     ` Eric S Fraga
     [not found] ` <AANLkTi=7TkcFBVGc90SkTBHFjKx5j7PgHbia=ZkNRxYS@mail.gmail.com>
2011-01-19 15:58   ` John Hendy
2011-01-19 16:36 ` Eric S Fraga
2011-01-19 21:34   ` Bill Moran
2011-01-19 22:02     ` Chris Malone
2011-01-19 22:43       ` Bill Moran

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y66d2612.fsf@pinto.chemeng.ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=bill1moran@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).