emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Aaron Ecay <aaronecay@gmail.com>
To: Mirko Vukovic <mirko.vukovic@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: preview beamer frame in org/beamer
Date: Wed, 18 Dec 2013 00:08:37 -0500	[thread overview]
Message-ID: <87sitqeofe.fsf@gmail.com> (raw)
In-Reply-To: <loom.20131214T173634-41@post.gmane.org>

Hi Mirko,

2013ko abenudak 14an, Mirko Vukovic-ek idatzi zuen:
> 
> Is there a command to generate a pdf output of a single beamer frame?
> 
> The command would generate the latex file with the correct header, and a
> single frame, and process it into a pdf file.

You could do this partially with the \includeonlyframes command
(Sec. 4.3.3 of the Beamer manual).  This will cut down on the Latex
compilation time needed, but not the time used by org to export the
document to Latex, so if the bottleneck is expensive babel computations
(for example) this won’t help – but other things (e.g. babel’s cache)
might.

Such a command isn’t currently implemented; what would be needed would
be to:
1) find out the label of the \frame corresponding to the current
   headline
2) perform the usual export
3) insert \includeonlyframes{the-label-from-step-1} into the generated
   latex (just above the \begin{document} line should be fine)
4) compile as usual

-- 
Aaron Ecay

      parent reply	other threads:[~2013-12-18  5:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-14 18:57 preview beamer frame in org/beamer Mirko Vukovic
2013-12-15 22:40 ` Eric S Fraga
2013-12-18  5:08 ` Aaron Ecay [this message]

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=87sitqeofe.fsf@gmail.com \
    --to=aaronecay@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mirko.vukovic@gmail.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).