From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Goldman Subject: Re: Re: Latex export to documentclass beamer Date: Mon, 17 Aug 2009 13:35:58 -0500 Message-ID: <4A89A30E.6030308@sift.info> References: <4A896CA3.6050003@sift.info> <4A898285.9040205@sift.info> <7974.1250533178@alphaville.usa.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Md741-000103-2e for emacs-orgmode@gnu.org; Mon, 17 Aug 2009 14:36:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Md73w-0000xb-0u for emacs-orgmode@gnu.org; Mon, 17 Aug 2009 14:36:12 -0400 Received: from [199.232.76.173] (port=56963 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Md73v-0000xW-Pz for emacs-orgmode@gnu.org; Mon, 17 Aug 2009 14:36:07 -0400 Received: from outbound-mail-123.bluehost.com ([67.222.38.23]:59048) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Md73v-0006n3-9q for emacs-orgmode@gnu.org; Mon, 17 Aug 2009 14:36:07 -0400 In-Reply-To: <7974.1250533178@alphaville.usa.hp.com> 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: Org Mode Nick Dokos wrote: > 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. I don't think the "avoid at all costs" is tenable when using beamer, because of the need to insert code. I have used alltt as well as verbatim, but it seems just as fragile. I hope to provide a proposed beamer template sometime soon. best, Robert