From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Beamer support in Org-mode Date: Fri, 27 Nov 2009 08:01:48 +0000 Message-ID: <87fx808kgj.wl%ucecesf@ucl.ac.uk> References: <6A790953-D036-4BAE-8833-E5B343A15331@gmail.com> <87638xgriq.fsf@stats.ox.ac.uk> Reply-To: e.fraga@ucl.ac.uk Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDvmD-0008Oa-Nk for emacs-orgmode@gnu.org; Fri, 27 Nov 2009 03:02:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDvm8-0008L4-OQ for emacs-orgmode@gnu.org; Fri, 27 Nov 2009 03:02:01 -0500 Received: from [199.232.76.173] (port=35436 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDvm8-0008Kx-GF for emacs-orgmode@gnu.org; Fri, 27 Nov 2009 03:01:56 -0500 Received: from mx20.gnu.org ([199.232.41.8]:62533) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NDvm8-0007B8-0r for emacs-orgmode@gnu.org; Fri, 27 Nov 2009 03:01:56 -0500 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NDvm7-0004uT-Cn for emacs-orgmode@gnu.org; Fri, 27 Nov 2009 03:01:55 -0500 In-Reply-To: <87638xgriq.fsf@stats.ox.ac.uk> 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: Dan Davison Cc: mailing-list-org-mode list 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{\\usetheme{progressbar}} \\mode{\\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!