From mboxrd@z Thu Jan 1 00:00:00 1970 From: Spike Spiegel Subject: questions about exporting to latex using beamer documentclass Date: Sun, 5 Jul 2009 00:31:41 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MNEhs-0003k6-Hd for emacs-orgmode@gnu.org; Sat, 04 Jul 2009 19:31:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MNEhr-0003jl-Pj for emacs-orgmode@gnu.org; Sat, 04 Jul 2009 19:31:43 -0400 Received: from [199.232.76.173] (port=51178 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNEhr-0003jg-Nz for emacs-orgmode@gnu.org; Sat, 04 Jul 2009 19:31:43 -0400 Received: from fg-out-1718.google.com ([72.14.220.152]:28922) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MNEhr-0001oS-6w for emacs-orgmode@gnu.org; Sat, 04 Jul 2009 19:31:43 -0400 Received: by fg-out-1718.google.com with SMTP id l27so313107fgb.7 for ; Sat, 04 Jul 2009 16:31:41 -0700 (PDT) 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 Hi, I have the following in my .emacs: (add-to-list 'org-export-latex-classes '("beamer" "\\documentclass[11pt]{beamer} \\usepackage[utf8]{inputenc} \\usepackage[T1]{fontenc} \\usepackage{hyperref} \\usepackage{verbatim} \\usetheme{Singapore} \\usecolortheme{dove}" ("\\begin{frame}{%s}" "\\end{frame}" "\\begin{frame}{%s}" "\\end{frame}"))) and I'm having a hard time to figure out the solution to the following problems: - there are no "section/subsection" tex commands added before the frame one and I don't see how to add it in there since a section and subsection can be in the same frame - I'm in the situation that I need to pass options to an image (\includegraphics) in a frame's title (frames are beamer's idea of slide). Based on the docs it seems I should be doing something like "#+ATTR_LaTeX: width=5cm,angle=90" but I can't put that within a headline before the image and it won't work if I put it before it because it'll end up outside of the frame - I also need to include an image in the titlepage but I don't see any way to override \maketitle other than maybe renewcommand'ing it, which I tried with #+LaTeX_HEADER, but kept getting errors, altho that might have been me. While poking around I noticed org-export-latex-title-command in org-latex.el but I'm unsure how I'd use that to achieve my goal. On a side note, a little feature request: would it be possible to produce an indented tex file? post editing is otherwise quite painful thanks -- "Behind every great man there's a great backpack" - B.