Nick Dokos wrote:
> Robert Goldman <rpgold...@sift.info> 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


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to