emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Goldman <rpgoldman@sift.info>
To: nicholas.dokos@hp.com
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Re: Latex export to documentclass beamer
Date: Mon, 17 Aug 2009 13:35:58 -0500	[thread overview]
Message-ID: <4A89A30E.6030308@sift.info> (raw)
In-Reply-To: <7974.1250533178@alphaville.usa.hp.com>

Nick Dokos wrote:
> Robert Goldman <rpgoldman@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

  reply	other threads:[~2009-08-17 18:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-17 14:43 Latex export to documentclass beamer Robert Goldman
2009-08-17 16:17 ` Robert Goldman
2009-08-17 18:19   ` Nick Dokos
2009-08-17 18:35     ` Robert Goldman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-08-09 13:05 RC
2009-08-09 14:17 ` Carsten Dominik
2009-08-09 15:45   ` RC
2009-08-10 11:46     ` Carsten Dominik
2009-08-11  4:14       ` William Henney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A89A30E.6030308@sift.info \
    --to=rpgoldman@sift.info \
    --cc=emacs-orgmode@gnu.org \
    --cc=nicholas.dokos@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).