[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: Latex export to documentclass beamer
From: |
Robert Goldman |
Subject: |
Re: [Orgmode] Re: Latex export to documentclass beamer |
Date: |
Mon, 17 Aug 2009 13:35:58 -0500 |
User-agent: |
Thunderbird 2.0.0.22 (Macintosh/20090605) |
Nick Dokos wrote:
> Robert Goldman <address@hidden> 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