emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Philip J. Hollenback" <philiph@pobox.com>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: Baffled by beamer blocks
Date: Tue, 17 Aug 2010 15:11:10 -0700	[thread overview]
Message-ID: <1282083070.4606.1390417653@webmail.messagingengine.com> (raw)
In-Reply-To: <87y6c53rvf.wl%ucecesf@ucl.ac.uk>

On Tue, 17 Aug 2010 21:29 +0100, "Eric S Fraga" <ucecesf@ucl.ac.uk>
wrote:
> What have you defined in your org setup at the start of the tile.  In
> particular, this line in the example presentation on Worg is crucial:
> 
> #+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
> 
> specifically the H:3 bit that tells org to use up to 3 levels of
> headings or else level headlines get treated like lists, as far as I
> remember.
> 
> In any case, can you send me an example that doesn't work that I can
> try?

Sure, here's the presentation.org from the website, which does have that
OPTIONS line.  It produces no blocks for me:

#+LaTeX_CLASS: beamer
#+TITLE: Example Presentation
#+AUTHOR: Carsten Dominik
#+LaTeX_CLASS_OPTIONS: [presentation]
#+BEAMER_FRAME_LEVEL: 2
#+BEAMER_HEADER_EXTRA: \usetheme{Copenhagen}\usecolortheme{default}
#+COLUMNS: %35ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args)
%4BEAMER_col(Col) %8BEAMER_extra(Extra)
#+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t

* This is the first structural section

** Frame 1 \\ with a subtitle
*** Thanks to Eric Fraga                                           
:B_block:
    :PROPERTIES:
    :BEAMER_env: block
    :BEAMER_envargs: C[t]
    :BEAMER_col: 0.5
    :END:
    for the first viable beamer setup in Org
*** Thanks to everyone else                                        
:B_block:
    :PROPERTIES:
    :BEAMER_col: 0.5
    :BEAMER_env: block
    :BEAMER_envargs: <2->
    :END:
    for contributing to the discussion
** Frame 2 \\ Like 1, but now with explicit columns
    :PROPERTIES:
    :BEAMER_extra: \transblindsvertical[duration=1]
    :END:
*** columns                                                      
:B_columns:
    :PROPERTIES:
    :BEAMER_env: columns
    :END:
**** 0.5                                                          
:B_column:
     :PROPERTIES:
     :BEAMER_env: column
     :END:
***** Thanks to Eric Fraga                                         
:B_block:
      :PROPERTIES:
      :BEAMER_env: block
      :BEAMER_col:
      :END:
      for the first viable beamer setup in Org

**** 0.5                                                          
:B_column:
     :PROPERTIES:
     :BEAMER_env: column
     :END:

***** Thanks to everyone else                                      
:B_block:
      :PROPERTIES:
      :BEAMER_col:
      :BEAMER_env: block
      :BEAMER_envargs: <2->
      :END:
      for contributing to the discussion
** Frame 2 \\ where we will not use columns
*** Request                                                        
:B_block:
    Please test this stuff!


and here's the corresponding latex output:

% Created 2010-08-17 Tue 15:10
\documentclass[presentation]{beamer}

      \mode<{{{beamermode}}}>

      \usetheme{{{{beamertheme}}}}

      \usecolortheme{{{{beamercolortheme}}}}

      \beamertemplateballitem

      \usepackage[utf8]{inputenc}

      \usepackage[T1]{fontenc}

      \usepackage{hyperref}

      \usepackage{color}
      \usepackage{listings}
      \usepackage{verbatim}

      \institute{{{{beamerinstitute}}}}

      \subject{{{{beamersubject}}}}

\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{t1enc}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\providecommand{\alert}[1]{\textbf{#1}}

\title{Example Presentation}
\author{Carsten Dominik}
\date{17 August 2010}

\usetheme{Copenhagen}\usecolortheme{default}
\begin{document}

\maketitle

\begin{frame}
\frametitle{Outline}
\setcounter{tocdepth}{3}
\tableofcontents
\end{frame}

\section{This is the first structural section}
\label{sec-1}
\begin{frame}[fragile]\frametitle{Frame 1}
\label{sec-1_1}
\begin{itemize}

\item Thanks to Eric Fraga\\
\label{sec-1_1_1}%
for the first viable beamer setup in Org

\item Thanks to everyone else\\
\label{sec-1_1_2}%
for contributing to the discussion
\end{itemize} % ends low level
\end{frame}
\begin{frame}[fragile]\frametitle{Frame 2}
\label{sec-1_2}
\begin{itemize}

\item columns
\label{sec-1_2_1}%
\begin{itemize}

\item 0.5
\label{sec-1_2_1_1}%
\begin{itemize}

\item Thanks to Eric Fraga\\
\label{sec-1_2_1_1_1}%
for the first viable beamer setup in Org

\end{itemize} % ends low level

\item 0.5\\
\label{sec-1_2_1_2}%
\begin{itemize}

\item Thanks to everyone else\\
\label{sec-1_2_1_2_1}%
for contributing to the discussion
\end{itemize} % ends low level
\end{itemize} % ends low level
\end{itemize} % ends low level
\end{frame}
\begin{frame}[fragile]\frametitle{Frame 2}
\label{sec-1_3}
\begin{itemize}

\item Request\\
\label{sec-1_3_1}%
Please test this stuff!\end{itemize} % ends low level
\end{frame}

\end{document}
--  
Philip J. Hollenback
philiph@pobox.com
www.hollenback.net

  reply	other threads:[~2010-08-17 22:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-17  6:26 Baffled by beamer blocks Philip J. Hollenback
2010-08-17 20:29 ` Eric S Fraga
2010-08-17 22:11   ` Philip J. Hollenback [this message]
2010-08-17 22:24     ` John Hendy
2010-08-17 22:37     ` Eric S Fraga
2010-08-17 23:11       ` John Hendy
2010-08-18 10:08         ` [beamer] Worg tutorial link broken (was Re: Baffled by beamer blocks) Eric S Fraga
2010-08-17 23:29       ` Baffled by beamer blocks Philip J. Hollenback
2010-08-18 10:09         ` Eric S Fraga
     [not found]           ` <AANLkTikXaTqYPfegtBrZnTRoFrRnwVQxHR=3+5pzBNuO@mail.gmail.com>
2010-08-18 14:32             ` John Hendy
2010-08-18 14:40             ` Eric S Fraga
2010-08-18 15:04               ` Eric S Fraga
2010-08-18 10:36       ` [BUG] " Bastien
2010-08-18 10:46         ` Eric S Fraga
  -- strict thread matches above, loose matches on Subject: below --
2010-08-17 15:31 Philip J. Hollenback

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=1282083070.4606.1390417653@webmail.messagingengine.com \
    --to=philiph@pobox.com \
    --cc=e.fraga@ucl.ac.uk \
    --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).