emacs-orgmode
[Top][All Lists]

## Re: [Orgmode] Beamer support in Org-mode

 From: Eric S Fraga Subject: Re: [Orgmode] Beamer support in Org-mode Date: Fri, 27 Nov 2009 08:01:48 +0000 User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.1 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

At Thu, 26 Nov 2009 11:49:49 -0500,
Dan Davison wrote:

[...]

>
> I'm trying to test out Carsten's example, but I have a question that
> probably just reveals that I haven't understood the discussion: what
> exactly are we supposed to use for the "beamer" entry in
> org-export-latex-classes?  Are we using the version in Eric Fraga's
> original post unmodified? (But that doesn't seem to have the initial
> header-string entry?) [Would someone like to make the start of a Worg
> page where we can keep the documentation and configuration code etc as
> it evolves? I can do it, but only very ignorantly.]

Dan,

sorry I didn't include everything in those earlier posts.  Here is the
full class definition I have been using (and this works with the
current version of org mode prior to Carsten's proposed changes):

--8<---------------cut here---------------start------------->8---
("beamer"

"\\documentclass[bigger]{beamer}\n\\usepackage[utf8]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{hyperref}\n\\usepackage{verbatim}\n
\\definecolor{verylightgray}{rgb}{0.93,0.93,1.0}
\\mode<beamer>{\\usetheme{progressbar}}
\\mode<handout>{\\usecolortheme[rgb={0.5,0.5,0.5}]{structure}\\usepackage{pgfpages}\\pgfpagesuselayout{4
on 1}[a4paper,landscape,border shrink=5mm]}
\\usepackage[absolute,overlay]{textpos}\\setlength{\\TPHorizModule}{1mm}\\setlength{\\TPVertModule}{1mm}
"
("\\section{%s}" . "\\section*{%s}")
("\\begin{frame}\\frametitle{%s}" "\\end{frame}"
"\\begin{frame}\\frametitle{%s}" "\\end{frame}")
("\\begin{columns}%s" "\\end{columns}"
"\\begin{columns}%s" "\\end{columns}")
("\\begin{column}{%s\\textwidth}" "\\end{column}"
"\\begin{column}{%s\\textwidth}" "\\end{column}")
("\\begin{block}{%s}" "\\end{block}"
"\\begin{block}{%s}" "\\end{block}")
)
--8<---------------cut here---------------end--------------->8---

You may need to change the beamer theme as I am not sure the progress
bar theme is in the standard beamer distribution (and I've hacked mine
in any case...).

I also have a "beamerhandout" class which looks identical to this one
except that the "handout" option has been passed to the documentclass
statement.  This begs the question: is there any way in org mode to
specify options to the document class?  It would greatly simplify
things!



reply via email to