From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernd Weiss Subject: Customizing LaTeX-export, Beamer, \institute, and BEAMER_envargs Date: Tue, 22 Mar 2011 11:08:58 -0400 Message-ID: <4D88BB8A.50901@uni-koeln.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=56075 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q23Cj-0001RV-Lp for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 11:09:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q23Ci-00029W-HP for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 11:09:05 -0400 Received: from smtp-out.rrz.uni-koeln.de ([134.95.19.53]:48883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q23Ci-00029P-8s for emacs-orgmode@gnu.org; Tue, 22 Mar 2011 11:09:04 -0400 Received: from smtp-auth.rrz.uni-koeln.de (smtp-auth.rrz.uni-koeln.de [134.95.19.93]) by smtp-out.rrz.uni-koeln.de (8.13.8/8.13.8) with ESMTP id p2MF9109012465 for ; Tue, 22 Mar 2011 16:09:01 +0100 Received: from [10.0.0.2] ([199.44.252.34]) (authenticated as user ahf34 using CRAM-MD5 bits=0) by smtp-auth.uni-koeln.de (8.13.8/8.13.8) with ESMTP id p2MF8x3n019542 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Tue, 22 Mar 2011 16:09:00 +0100 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: emacs-orgmode@gnu.org Dear all, I am preparing a Beamer presentation and I am having some trouble with side effects (?) due to my attempt to customize the LaTeX-export. My minimum example can be found below. The default LaTeX-export does not recognise the '\institute'-option (I mean, as far as I know). For that reason, I run "(add-to-list 'org-export-latex-classes ...)". Unfortunately, the export-function does no longer recognice ":BEAMER_envargs: [plain]" (or ":BEAMER_envargs: [shrink=5]")[1]. Thanks, Bernd [1] Which is obviously due to "\\begin{frame}[fragile]\\frametitle{%s} ...". #+begin_src emacs-lisp :results silent :exports none (add-to-list 'org-export-latex-classes ;; beamer class, for presentations '("beamer" "\\documentclass[11pt]{beamer}\n [NO-DEFAULT-PACKAGES] [EXTRA] \\mode<{{{beamermode}}}>\n \\usetheme{{{{beamertheme}}}}\n \\institute{{{{beamerinstitute}}}}\n \\subject{{{{beamersubject}}}}\n" ("\\section{%s}" . "\\section*{%s}") ("\\begin{frame}[fragile]\\frametitle{%s}" "\\end{frame}" "\\begin{frame}[fragile]\\frametitle{%s}" "\\end{frame}"))) #+end_src #+LaTeX_CLASS: beamer #+MACRO: BEAMERMODE presentation #+MACRO: BEAMERTHEME Madrid #+MACRO: BEAMERINSTITUTE Research Institute for ??? #+TITLE: xxxxxxxx #+AUTHOR: Arthur Mueller #+DATE: March, 28th 2011 #+BEAMER_FRAME_LEVEL: 2 #+latex_header: \mode{\usetheme{Madrid}} * Introduction ** A simple slide :PROPERTIES: :BEAMER_env: frame :BEAMER_envargs: [plain] :END: This slide consists of some text with a number of bullet points: - the first, very @important@, point! - the previous point shows the use of the special markup which translates to the Beamer specific /alert/ command for highlighting text. The above list could be numbered or any other type of list and may include sub-lists.