From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Re: Latex export to documentclass beamer Date: Mon, 17 Aug 2009 14:19:38 -0400 Message-ID: <7974.1250533178@alphaville.usa.hp.com> References: <4A896CA3.6050003@sift.info> <4A898285.9040205@sift.info> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Md6pJ-0000KT-EF for emacs-orgmode@gnu.org; Mon, 17 Aug 2009 14:21:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Md6pE-0000Ir-O0 for emacs-orgmode@gnu.org; Mon, 17 Aug 2009 14:21:00 -0400 Received: from [199.232.76.173] (port=40698 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Md6pE-0000Io-I7 for emacs-orgmode@gnu.org; Mon, 17 Aug 2009 14:20:56 -0400 Received: from g5t0009.atlanta.hp.com ([15.192.0.46]:48140) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Md6pE-0003ae-8r for emacs-orgmode@gnu.org; Mon, 17 Aug 2009 14:20:56 -0400 In-Reply-To: Message from Robert Goldman of "Mon, 17 Aug 2009 11:17:09 CDT." <4A898285.9040205@sift.info> 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: Robert Goldman Cc: Org Mode Robert Goldman wrote: > Here's another challenge --- is there a good way to handle this in the > exporter? > > If you use VERBATIM in a beamer frame, then you need to add the optional > argument "fragile" to the environment, like this: > > \begin{frame}[fragile] > > instead of just > > \begin{frame} > > I'd be surprised if there was a good method for this, but thought I'd ask... > Have you tried adding it unconditionally in the org-export-latex-classes alist? I don't think it hurts to have it on by default (it costs a bit of performance maybe, but it should not be noticeable.) OTOH, verbatim is a can of worms: it should be avoided if at all possible. It cannot be used in moving arguments (at all: see http://www.tex.ac.uk/cgi-bin/texfaq2html?label=verbwithin for details.) - and what beamer does with it is a mystery to me - hence the "avoid at all costs" statement. HTH, Nick