From mboxrd@z Thu Jan 1 00:00:00 1970 From: Spike Spiegel Subject: Re: questions about exporting to latex using beamer documentclass Date: Sun, 5 Jul 2009 12:52:32 +0100 Message-ID: References: <14503.1246765215@gamaville.dokosmarshall.org> 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 1MNQGp-0003Vw-1c for emacs-orgmode@gnu.org; Sun, 05 Jul 2009 07:52:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MNQGo-0003VO-GN for emacs-orgmode@gnu.org; Sun, 05 Jul 2009 07:52:34 -0400 Received: from [199.232.76.173] (port=49821 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNQGo-0003VI-Bm for emacs-orgmode@gnu.org; Sun, 05 Jul 2009 07:52:34 -0400 Received: from fg-out-1718.google.com ([72.14.220.158]:59635) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MNQGn-0008TN-PT for emacs-orgmode@gnu.org; Sun, 05 Jul 2009 07:52:34 -0400 Received: by fg-out-1718.google.com with SMTP id l27so384277fgb.7 for ; Sun, 05 Jul 2009 04:52:32 -0700 (PDT) In-Reply-To: <14503.1246765215@gamaville.dokosmarshall.org> 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org Hi Nicholas, On Sun, Jul 5, 2009 at 4:40 AM, Nick Dokos wrote: > Spike Spiegel wrote: > >> ... >> - 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. >> > > This can be done using beamer's \titlegraphic command. Add > > #+LaTeX_HEADER: \titlegraphic{\includegraphics{foo.png}} > Both answers spot on, thanks, with just a minor problem: adding \titlegraphic won't make the spacing between \title \author \data as produced by \maketitle shrink so the entire slide is pretty much used up and the image doesn't fit in. Is there a way to override that? Wrt your reply in pvt to my other question, sorry if I wasn't clear. Your suggestion of using \includegraphics straight into the heading works just fine, my issue is that I was trying to do it the org way and use a link (as in C-u C-c C-l) which would have then requried a #+ATTR_LaTeX header to pass in the width parameter. I did some more work last night and came across another issues: - #BEGIN_VERBATIM won't work because to use the \begin{verbatim} environment the \being{frame} requires [fragile] Also, given a variable like org-export-latex-image-default-option, is there any way to override it per file or per document class? Last thing, if you're gonna use latex commands requiring paths to files, how do you insert the path? using C-u C-l isn't really an option as that will add a link and not just the path to the file so then you have to delete the [[ ]]. thanks again for all the help -- "Behind every great man there's a great backpack" - B.